INT64 __fastcall MiGetVadCacheAttribute(INT64 a1){
INT64 result;
unsigned int v2;
result = 1i64;
v2 = (*(_DWORD *)(a1 + 48) >> 7) & 0x1F;
if( v2 >> 3 == 3 )
{
if( (v2 & 7) != 0 )
return 2i64;
}
else if( v2 >> 3 == 1 )
{
return 0i64;
}
return result;
}