The Ducati rider smashed his own pole record twice in Q2 to take his fourth pole in five years at the Sammarinese circuit