unsigned __int64 __fastcall ExpAeStopMeasurement(__int64 a1, unsigned __int64 *a2){
unsigned __int64 result;
result = __rdtsc();
if( *(_DWORD *)(*(_QWORD *)(a1 + 16) + 340i64) == *(_DWORD *)(a1 + 8) )
{
result -= *(_QWORD *)a1;
*a2 = result;
}
return result;
}