I've been lucky enough to figure out what's happening to me and only trade a few years of life for it. I'm quite sure many autistic people die like this without understanding, and often while blaming themselves.
for me, when I can access quiet & solitude for long enough, my cognitive ability recovers very predictably. the only issue keeping me in chronic burnout and thus housing, food, and healthcare-insecure is that I've been unable to consistently meet those needs since 2016. 🤷