HalFixInterruptLine

__int64 __fastcall HalFixInterruptLine(int *a1, __int128 *a2){
  unsigned int v3; 
  ULONG_PTR *Lines; 
  ULONG_PTR *v5; 
  _BYTE *v6; 
  __int128 v7; 
  __int128 v8; 
  ULONG_PTR v9; 
  __int128 v10; 
  v3 = 0;
  Lines = HalpInterruptFindLines(a1);
  v5 = Lines;
  if( Lines )
  {
    v6 = (_BYTE *)Lines[6];
    v7 = *a2;
    v8 = a2[1];
    ++HalpInterruptFixedLines;
    *v6 = 1;
    v9 = v5[5];
    *(_OWORD *)v9 = v7;
    v10 = a2[2];
    *(_OWORD *)(v9 + 16) = v8;
    *(_QWORD *)&v8 = *((_QWORD *)a2 + 6);
    *(_OWORD *)(v9 + 32) = v10;
    *(_QWORD *)(v9 + 48) = v8;
  }
  else
  {
    return(unsigned int)-1073741275;
  }
  return v3;
}

Referenced by:

HalpApicInitializeIoUnit