HalpIommuCheckExceptionList

CHAR __stdcall HalpIommuCheckExceptionList(INT64 a1){
  __int64 *v1; 

  if( *(_DWORD *)a1 != 1 )
    return 0;
  v1 = (__int64 *)qword_140C49B30;
  if( (_QWORD *)qword_140C49B30 == &qword_140C49B30 )
    return 0;
  while( *((_DWORD *)v1 + 4) != *(unsigned __int16 *)(a1 + 8) || v1[3] != *(unsigned __int16 *)(a1 + 12) )
  {
    v1 = (__int64 *)*v1;
    if( v1 == &qword_140C49B30 )
      return 0;
  }
  return 1;
}

Referenced by:

HalpDmaAllocateChildAdapterV3
HalpIommuUnblockDevice