>In the face of extreme anxiety, I literally become stupid.
You don't need to experience "extreme anxiety", or even have a diagnosis, to experience this effect. Most people that are just learning how to drive a car will at some point experience how acute stress causes you to fail even the most basic tasks, things you would never predict that you would fail doing before you actually do. When I was learning how to drive, I repeatedly forgot checking the rear view mirror before switching lanes (even though I knew this was extremely important), because I was so focused on manual gear shifting. I would switch to the wrong gear or forget turning the turn indicator off, because my stressed mind would filter out the noise of the indicator blinking.
Some even believe that the "experience of driving" in itself is detrimental, and that "each exposure elicits an acute stress response, and that repeated exposures may act as a chronic stressor".[1]
[1]: https://journals.plos.org/plosone/article?id=10.1371/journal...