sfnjipwe 345fjmmfasf njqefjknqwfe . . . sorry about that, was banging my head off the keyboard.

GUANTANAMO BAY NAVAL BASE — He’s an international terror mastermind — but he needs his beauty sleep!

Cranky mass murderer Khalid Sheikh Mohammed griped to the judge that the long days are making him too tired to concentrate – and actually won his bid to have court break at 4 p.m. every day.

The motion also prevents guards from waking him up before 6 a.m.

KSM claimed that the long days and lack of sleep were triggering flashbacks to his torture at the hands of the CIA. He said he’s extra tired because of all the prep time needed for strip searches, prayer and personal hygiene.

The motion was filed Sunday, and the earlier break time went into effect the next day.

“For Mr. Mohammad, the worst thing about sleep deprivation in the present is that it will almost inevitably trigger a re-traumatization and retriggering of the sleep deprivation torture techniques inflicted upon him in the past at the hands of other American guards,” wrote his attorneys.

His motion cited the arraignment of he and his fellow terrorists in May, where court proceedings in some cases lasted 13 hours.