Not completely related, but I've heard stories where people who have very strong talents had been given some sort of brain scan while they were exercising their talent eg. a math genius having a scan while doing hard math problems, and found that certain parts of their brain known for speed and effortlessness had taken over, and other parts of the brain adapted to allow that, and this allowed for the amazing performance. When they tested an average guy, the brain had to work a lot harder because his brain wasn't as adapted to the task. That was just one case, and everyone is different, but I found it interesting. I don't think you must have an ASD to do something like that, but a fair number of people on the spectrum do have a special interest that can in some cases lead them to become experts.
Maybe one day we'll have the knowledge and experience to find electrical patterns and connections in the brain suggestive of autism or other mental disorders. The more information we have, both scientific and observational, the better we may be able to treat these. The trouble is finding a treatment that works for the person but maybe we'll make strides in that too eventually. Perhaps we'll be able to figure out how talents and aversion happen, and understand how the brain really works one day. If a computer is slow you check hard drive, processor speed, ram, operating system and files etc. and that's of course mostly down to hard science. I'm optimistic anyway that in a few centuries perhaps we'll start to develop that kind of understanding of the brain, so that at least we'll have answers if not solutions. But I really have no idea what I'm talking about, I'm just being hopeful...