Intercept atomics

similar to xchg, I suspect it can be made simpler