CHAR __stdcall KxTryToAcquireSpinLock(INT32 *a1){ CHAR v1; v1 = 0; if( !_interlockedbittestandset64(a1, 0i64) ) return 1; _mm_pause(); return v1; }