<human>: Can you give me the gist of the text in a nutshell?

I bought a 2014 Mazda6 from a small dealership in February. It had had an accident during unloading (in January), and instead of fixing it Mazda sold it to this dealership. The owner fixed it and sold it to me. Obviously, I was worried that the car might be compromised, so I called Mazda and asked if it was still protected under warranty. They told me it was protected under the original 3/5 year warranty, and I went ahead and bought the car.

Fast-forward to April. I take the car into my local Mazda dealership to recharge the air conditioner, and they tell me it's no longer covered under warranty. I called Mazda; apparently their records aren't updated until 3 months after an accident, so they're not willing to admit any responsibility for telling me it still had warranty. The dealer told me it still had warranty, but just in passing, and I don't have any record of the conversation.

I've given up trying to get anything out of Mazda themselves, but the mechanic that recharged the air conditioning also had to fix a hole in the block heater, and he said the car shouldn't have passed safety with that kind of damage. I'm going to submit a claim to the American Motor Vehicle Association, but I don't know how much good that will do. Is there anything else I can do? I'm out $20k for the car and I'm really grasping at straws at this point, so any help is appreciated.
<bot>: Bought a car, Mazda told me it still had warranty, but only because their records hadn't been updated since its accident, and they refuse to take any responsibility.