Remove mag, lock slide to the rear, move the takedown lever into the correct position to remove the slide, pull the trigger & hold it back as you remove the slide from the frame.
I have a standard & a compact....................works just fine on both; might not be sanctioned & S&W, but it works nonetheless.