That's really good to hear. Another special skill we have is thinking things through, sometimes even overthinking. So the fact that you notice what you do is a good start. And I'm also really glad that you do have some support in your life.
Do mix this in with the experience that you will find here. There are a lot of social workers and aspies that have made it through dark times and have children of our own. It's always worth reading their experiences or take on a situation.
A lot of us even have violent thoughts and imagine shooting everyone in the office on a regular basis. But we don't toy with this side, or experiment, not even in small ways. Not on animals or humans. It's the side of me that I channel into making it through the day, it's the side of me that gives me strength and helps me write. But any dark thoughts are firmly under control.
Changing how we behave is not always easy and if our brains have been mentally damaged (by friends or family or just circumstance), then re-programming them takes time and commitment. You have still hurt this girl and you need to talk through your actions and the thoughts that you have with a counselor. Then as above, either stay away from the girl or if that is impossible, think about the example you want to set her and tune out the annoying parts until you can repair the damage you have done and I sincerely hope, stay out of jail and channel your passion into something wonderful.