Meh... Some "jokes" have a way of going too far. I'm pretty sure OP drew the line in the sand, and the line was crossed when the undesired behavior was continued. I wouldn't consider someone purposely trying to embarrass me in front of a potential romantic interest to really be a friend. It's called c-ck-blocking, and it's not cool. When exactly did people start thinking they are the only ones who have boundaries? I might also add that if OP allows this 'friend' to continue their disrespect, the lady friend might lose respect for them as well.
No offense to the ladies here, but I've found that women rarely voice what they really want, preferring to chase jackasses who treat them poorly in the end "because they're fun", returning to cry on the shoulder of the guy they passed up for said jackasses. Been there, done that, won the consolation prize T-shirt, not quite as nice a guy anymore.
Food for thought, across my life, I've found that a great deal of NTs tend to low-key make fun of NDs (known or unknown) because we quite often don't realize at the time that is the aim, if we realize it at all. And that says a lot about NTs who hang around NDs just for that purpose. No one needs friends like that. NTs need to stop this ableistic BS of expecting us to "not be so sensitive". It's who we are.
For example. I've had to distance myself from someone I've known for 30+ years (we are both ND for different reasons) because they don't seem to recognize that changes in my condition mean changes in our time together. Example -- I've had an ongoing and progressively sharpening sensitivity / allergy to a plethora of airborne irritants. To illustrate, in 2017, I had to give up a career driving commercial trucks because I couldn't be within 100 feet of smoke of any kind, and it's only worsened since then.
More recently, sharpening of that sensitivity means that when we order out for food, I need him to pick it up so I can stay out of the line of fire, since smokers don't respect anyone around them when in public. Even though I always drive when we go to restaurants, he doesn't understand why I can't pick up our takeout orders, and complains about it.
Apart from that, he constantly falls asleep (has sleep apnea and refuses to do anything about it) or plays with his phone (hmm, wonder why his battery is always dying?) when we hang out and seems to have lost any concept of reciprocation in the friendship, as in he has no problem asking me to do him favors, but there always seems to be an issue when I need one. Also, he doesn't listen to me about charging his phone while he's sleeping, so his battery is constantly running low. Then he gets ridiculously angry that others don't answer his calls, when he doesn't answer theirs because his phone is turned off to charge.
I try to give him a pass, as he has a learning disability (part of the reason we crossed paths), but as his folks live nearby and own the house he lives in, he seems content to let them run his life and trash my presence in it. So I've found that it's better to just minimize contact. Since all these revelations, I pretty much wait until he calls me, and he comes to me. I don't go over there anymore.
Should OP try such a tactic, I would wait until mention is made by the other party -- "Hey, we don't see you anymore.", to which I would reply, "I figured you wanted to hang out with more attractive people." They should get the hint then, but if they don't, you'll know what the "friendship" was worth to them.
_________________
.
I don't know how to act my age, I've never been this old before. Which begs the question....
Since ASD means various parts of the brain stop developing at various ages...
Just how the hell am I supposed to know WHICH age to act, anyway?