The very first step in this is destroy the brain that's wat faster than just cutting off the head and letting it slowly die of hypoxia. After the pithing everything is just dealing with autonomic systems to prevent muscles from working and building up lactic acid. After the first step there's nothing there to feel pain.