Look over your work contract or any policies pertaining to your position. I would get a doctor’s note stating your diagnosis and make several copies; send one to HR and your immediate supervisor as well as a copy for yourself. Now given that they are requesting you because of performance; they can and most likely will let you go, but you should be able to get unemployment benefits if that happens as long as you keep record of all documents and conversation.
Yes I have records and texts with my supervisor as well
Unfortunately Texas has very few laws protecting their employees… my friend there was fired by her last job *because* she was pregnant and they didn’t want to pay for her maternity leave. You can likely file for unemployment, but idk how much support they will provide. I’m sorry I can’t be more supportive or helpful. I hope you figure it out 🖤