In the short term, you really don't. Not everyone is like that, and nobody else is him. If you do have to deal with people like him,
then think it from an engineer standpoint: whats causing the issue, and what can be done to fix it.
When I first started out, I was fired more times than I care to count. Once it was for wearing the wrong shoes to work (I wear EMT duty boots almost religiously); another time it was because they changed the schedule on my day off and then called and asked why I wasn't on work. There was one boss who insisted on yelling at you 2 inches from your face. Assholes are everywhere. With the last guy, I was standing there shaking with a util. knife in my hand. After that I figured I had to find a new way, so I took up pool, and when possible, I took other crew members out for beer/dinner. It gave me a chance to work on my own social skills, and also let them get to know me, and my autism. I made it clear that I wasn't trying to use this as an excuse, and that I just functioned at the basic levels differently than everybody else. Things got MUCH better after that.
I know how easy it is let things get to you, when it feels like you are backed up against a wall without an escape, and the feeling as it just sits there and gnaws at you for reasons that you just cant put into words. Especially when that anger starts bubbling, you get shaky, panicked, and you know you are seconds away from going total apeshit on them. Don't let that feeling control you. That's how supervillans are made. As someone with autism, sometimes you need to pull them aside and let them know that your priority is to get the job done safely, well, and above what is expected of you.but because you are autistic, you might do things a little differently than others. Doesn't mean its wrong, it just means its different. If they cant accept that, start looking for a new job, because things will end badly.
Right now, start looking for another job and don't let one guy or experience get to you. If you harp on what happened and over think it or let the emotions get the better of you, you will destroy your own passion for the job. You live your life; don't let some asshat determine how you live.
In the mean time, find a way to distract yourself. Grab a culinary book, and start cooking at home. Use the time to work on your own skills. Keep that love going.
Also, sorry of I tend to ramble