cleanup spinlock registers to match hook ordering