__int64 __fastcall HalpInterruptLineToGsi(int *a1, _DWORD *a2){
ULONG_PTR *Lines;
int v4;
*a2 = -1;
Lines = HalpInterruptFindLines(a1);
if( !Lines )
return 3221225485i64;
v4 = *((_DWORD *)Lines + 7);
if( v4 == -1 )
return 3221225485i64;
*a2 = v4;
return 0i64;
}