Prosecutors said that the defendant's autism spectrum disorder did not significantly affect his motivation and that his acts were planned.