Sure. We're the same age and seem about the same socially. I don't have much advice, just to say you're not alone in your aloneness. And I don't think it's just ASD, assuming you have that, although it obviously makes socialising harder.
There's something of the age we're at to it too. As you mention, it takes repeated interaction to build a friendship and most people in their 30s and 40s just don't have the time, because they're working and raising families, or they don't have the inclination because they already have a social circle that meets their needs.
But I reckon many people find their social circles shrinking at this time of life as they outgrow people and neglect older friendships and maybe once in their 50s people have more space in their lives for new friendships.
If you want practical advice the only thing I can suggest is try to focus on hobbies and get involved in groups if you can. It helps, I think, if socialising is a by-product of an activity you enjoy anyway. If socialising itself is the aim, that puts a lot of pressure on you and anyone you're trying to socialise with.
I also recommend doing things on your own. Don't stay at home because you've no-one to do stuff with. I go to the cinema on my own, go to music festivals on my own, I've even eaten in restaurants on my own (but I don't recommend that). On a saturday morning I go to parkrun on my own. Occasionally I will get into a conversation with a stranger and that lifts the loneliness. It's not a great solution, but at least there's some chance you will meet someone interesting. There's no chance at all if you stay at home.
_________________
The world is a big place where things happen almost every day.