signed __int64 __fastcall sub_14065E8E4(volatile signed __int64 *a1){
UINT64 v1;
_LARGE_INTEGER v2;
VOID *v3;
signed __int64 v4;
UINT8 v6;
v4 = 0i64;
if( a1 )
{
v4 = _InterlockedDecrement64(a1 + 29);
if( !v4 )
WbFreeWarbirdProcess((_DMA_ADAPTER *)a1, v1, v2, v3, v6);
}
return v4;
}