
/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>
   _M_get_insert_unique_pos(_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>
   * this, key_type * __k) */

pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall
std::
_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>
::_M_get_insert_unique_pos
          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>
           *this,key_type *__k)

{
  bool bVar1;
  _Base_ptr p_Var2;
  _Rb_tree_node_base *p_Var3;
  _Rb_tree_node_base *p_Var4;
  _Rb_tree_color *in_ECX;
  _Rb_tree_color *extraout_ECX;
  _Rb_tree_node_base *p_Var5;
  _Rb_tree_node_base *p_Var6;
  _Rb_tree_node_base *p_Var7;
  undefined8 uVar8;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar9;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar10;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar11;
  
  uVar8 = __x86_get_pc_thunk_di();
  p_Var6 = (_Rb_tree_node_base *)((ulonglong)uVar8 >> 0x20);
  pVar9.first = (_Rb_tree_node_base *)uVar8;
  if (p_Var6->_M_left == (_Rb_tree_node_base *)0x0) {
    p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent;
    p_Var7 = p_Var6;
  }
  else {
    p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;
    p_Var2 = p_Var6->_M_left;
    do {
      p_Var3 = p_Var2;
      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;
      if (p_Var5 < p_Var7) {
        p_Var2 = p_Var3->_M_left;
LAB_001d3d8c:
        bVar1 = true;
      }
      else {
        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {
          p_Var2 = p_Var3->_M_left;
          goto LAB_001d3d8c;
        }
        p_Var2 = p_Var3->_M_right;
        bVar1 = false;
      }
    } while (p_Var2 != (_Base_ptr)0x0);
    p_Var4 = p_Var3;
    if (!bVar1) goto LAB_001d3d96;
  }
  if (p_Var3 == p_Var6->_M_right) {
    (pVar9.first)->_M_color = _S_red;
    (pVar9.first)->_M_parent = p_Var3;
    pVar11.second = p_Var7;
    pVar11.first = pVar9.first;
    return pVar11;
  }
  p_Var4 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var3);
  p_Var5 = (_Rb_tree_node_base *)*in_ECX;
  p_Var7 = (_Rb_tree_node_base *)p_Var4[1]._M_color;
LAB_001d3d96:
  if ((p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))) {
    (pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;
    (pVar9.first)->_M_parent = (_Base_ptr)0x0;
    pVar10.second = p_Var7;
    pVar10.first = pVar9.first;
    return pVar10;
  }
  (pVar9.first)->_M_parent = p_Var3;
  (pVar9.first)->_M_color = _S_red;
  pVar9.second = p_Var7;
  return pVar9;
}



int * FUN_001d3d40(void)

{
  bool bVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  uint *in_ECX;
  uint *extraout_ECX;
  uint uVar5;
  int iVar6;
  uint uVar7;
  undefined8 uVar8;
  
  uVar8 = FUN_00074f0a();
  iVar6 = (int)((ulonglong)uVar8 >> 0x20);
  piVar2 = (int *)uVar8;
  if (*(int *)(iVar6 + 8) == 0) {
    iVar3 = iVar6 + 4;
  }
  else {
    uVar5 = *extraout_ECX;
    iVar4 = *(int *)(iVar6 + 8);
    do {
      iVar3 = iVar4;
      uVar7 = *(uint *)(iVar3 + 0x10);
      if (uVar5 < uVar7) {
        iVar4 = *(int *)(iVar3 + 8);
LAB_001d3d8c:
        bVar1 = true;
      }
      else {
        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {
          iVar4 = *(int *)(iVar3 + 8);
          goto LAB_001d3d8c;
        }
        iVar4 = *(int *)(iVar3 + 0xc);
        bVar1 = false;
      }
    } while (iVar4 != 0);
    iVar4 = iVar3;
    if (!bVar1) goto LAB_001d3d96;
  }
  if (iVar3 == *(int *)(iVar6 + 0xc)) {
    *piVar2 = 0;
    piVar2[1] = iVar3;
    return piVar2;
  }
  iVar4 = FUN_003af6c0(iVar3);
  uVar5 = *in_ECX;
  uVar7 = *(uint *)(iVar4 + 0x10);
LAB_001d3d96:
  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {
    *piVar2 = iVar4;
    piVar2[1] = 0;
    return piVar2;
  }
  piVar2[1] = iVar3;
  *piVar2 = 0;
  return piVar2;
}


PUSH EBP
MOV EBP,ECX
PUSH EDI
CALL 0x00074f0a
ADD EDI,0x4162b7
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV ESI,dword ptr [EDX + 0x8]
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,EAX
TEST ESI,ESI
JZ 0x001d3de0
MOV ECX,dword ptr [ECX]
JMP 0x001d3d7d
JZ 0x001d3db0
MOV EAX,dword ptr [ESI + 0xc]
XOR EBX,EBX
TEST EAX,EAX
JZ 0x001d3d90
MOV ESI,EAX
MOV EDX,dword ptr [ESI + 0x10]
CMP EDX,ECX
JBE 0x001d3d70
MOV EAX,dword ptr [ESI + 0x8]
MOV EBX,0x1
TEST EAX,EAX
JNZ 0x001d3d7b
MOV EAX,ESI
TEST BL,BL
JNZ 0x001d3de3
CMP ECX,EDX
JBE 0x001d3dc8
MOV dword ptr [EDI + 0x4],EAX
MOV EAX,EDI
MOV dword ptr [EDI],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0x4]
CMP dword ptr [ESI + 0x14],EAX
JBE 0x001d3d72
MOV EAX,dword ptr [ESI + 0x8]
MOV EBX,0x1
JMP 0x001d3d8c
JZ 0x001d3e28
MOV dword ptr [EDI],ESI
MOV EAX,EDI
MOV dword ptr [EDI + 0x4],0x0
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA ESI,[EDX + 0x4]
MOV EAX,dword ptr [ESP + 0x8]
CMP ESI,dword ptr [EAX + 0xc]
JZ 0x001d3e10
SUB ESP,0xc
PUSH ESI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x003af6c0
ADD ESP,0x10
MOV ECX,dword ptr [EBP]
MOV EBX,EAX
MOV EDX,dword ptr [EAX + 0x10]
MOV EAX,ESI
MOV ESI,EBX
JMP 0x001d3d96
MOV dword ptr [EDI],0x0
MOV EAX,EDI
MOV dword ptr [EDI + 0x4],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EBX,dword ptr [EBP + 0x4]
CMP dword ptr [ESI + 0x14],EBX
JC 0x001d3d9a
JMP 0x001d3dca
(translation_unit "int * FUN_001d3d40(void)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}\n\n" (function_definition "int * FUN_001d3d40(void)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_001d3d40(void)" * (function_declarator "FUN_001d3d40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *in_ECX;" type_identifier (pointer_declarator "*in_ECX" * identifier) ;) (declaration "uint *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (expression_statement "uVar8 = FUN_00074f0a();" (assignment_expression "uVar8 = FUN_00074f0a()" identifier = (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)((ulonglong)uVar8 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar2 = (int *)uVar8;" (assignment_expression "piVar2 = (int *)uVar8" identifier = (cast_expression "(int *)uVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" if (parenthesized_expression "(*(int *)(iVar6 + 8) == 0)" ( (binary_expression "*(int *)(iVar6 + 8) == 0" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = iVar6 + 4;\n  }" { (expression_statement "iVar3 = iVar6 + 4;" (assignment_expression "iVar3 = iVar6 + 4" identifier = (binary_expression "iVar6 + 4" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" else (compound_statement "{\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" { (expression_statement "uVar5 = *extraout_ECX;" (assignment_expression "uVar5 = *extraout_ECX" identifier = (pointer_expression "*extraout_ECX" * identifier)) ;) (expression_statement "iVar4 = *(int *)(iVar6 + 8);" (assignment_expression "iVar4 = *(int *)(iVar6 + 8)" identifier = (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (do_statement "do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);" do (compound_statement "{\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    }" { (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (expression_statement "uVar7 = *(uint *)(iVar3 + 0x10);" (assignment_expression "uVar7 = *(uint *)(iVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" if (parenthesized_expression "(uVar5 < uVar7)" ( (binary_expression "uVar5 < uVar7" identifier < identifier) )) (compound_statement "{\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }" { (expression_statement "iVar4 = *(int *)(iVar3 + 8);" (assignment_expression "iVar4 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (labeled_statement "LAB_001d3d8c:\n        bVar1 = true;" statement_identifier : (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;)) }) (else_clause "else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" else (compound_statement "{\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" { (if_statement "if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }" if (parenthesized_expression "((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14)))" ( (binary_expression "(uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))" (parenthesized_expression "(uVar7 == uVar5)" ( (binary_expression "uVar7 == uVar5" identifier == identifier) )) && (parenthesized_expression "(in_ECX[1] < *(uint *)(iVar3 + 0x14))" ( (binary_expression "in_ECX[1] < *(uint *)(iVar3 + 0x14)" (subscript_expression "in_ECX[1]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }" { (expression_statement "iVar4 = *(int *)(iVar3 + 8);" (assignment_expression "iVar4 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_001d3d8c;" goto statement_identifier ;) })) (expression_statement "iVar4 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_001d3d96;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_001d3d96;" goto statement_identifier ;)) }))) (if_statement "if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }" if (parenthesized_expression "(iVar3 == *(int *)(iVar6 + 0xc))" ( (binary_expression "iVar3 == *(int *)(iVar6 + 0xc)" identifier == (pointer_expression "*(int *)(iVar6 + 0xc)" * (cast_expression "(int *)(iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }" { (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "iVar4 = FUN_003af6c0(iVar3);" (assignment_expression "iVar4 = FUN_003af6c0(iVar3)" identifier = (call_expression "FUN_003af6c0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "uVar5 = *in_ECX;" (assignment_expression "uVar5 = *in_ECX" identifier = (pointer_expression "*in_ECX" * identifier)) ;) (expression_statement "uVar7 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar7 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (labeled_statement "LAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" statement_identifier : (if_statement "if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" if (parenthesized_expression "((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14)))))" ( (binary_expression "(uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))" (parenthesized_expression "(uVar5 <= uVar7)" ( (binary_expression "uVar5 <= uVar7" identifier <= identifier) )) && (parenthesized_expression "((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))" ( (parenthesized_expression "(uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14)))" ( (binary_expression "uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))" (binary_expression "uVar5 != uVar7" identifier != identifier) || (parenthesized_expression "(in_ECX[1] <= *(uint *)(iVar4 + 0x14))" ( (binary_expression "in_ECX[1] <= *(uint *)(iVar4 + 0x14)" (subscript_expression "in_ECX[1]" identifier [ number_literal ]) <= (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" { (expression_statement "*piVar2 = iVar4;" (assignment_expression "*piVar2 = iVar4" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) }))) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>\n   _M_get_insert_unique_pos(_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n   * this, key_type * __k) */\n\npair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall\nstd::\n_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)\n\n{\n  bool bVar1;\n  _Base_ptr p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  _Rb_tree_node_base *p_Var4;\n  _Rb_tree_color *in_ECX;\n  _Rb_tree_color *extraout_ECX;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_node_base *p_Var7;\n  undefined8 uVar8;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar9;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar10;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar11;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  p_Var6 = (_Rb_tree_node_base *)((ulonglong)uVar8 >> 0x20);\n  pVar9.first = (_Rb_tree_node_base *)uVar8;\n  if (p_Var6->_M_left == (_Rb_tree_node_base *)0x0) {\n    p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent;\n    p_Var7 = p_Var6;\n  }\n  else {\n    p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;\n    p_Var2 = p_Var6->_M_left;\n    do {\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var2 != (_Base_ptr)0x0);\n    p_Var4 = p_Var3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (p_Var3 == p_Var6->_M_right) {\n    (pVar9.first)->_M_color = _S_red;\n    (pVar9.first)->_M_parent = p_Var3;\n    pVar11.second = p_Var7;\n    pVar11.first = pVar9.first;\n    return pVar11;\n  }\n  p_Var4 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var3);\n  p_Var5 = (_Rb_tree_node_base *)*in_ECX;\n  p_Var7 = (_Rb_tree_node_base *)p_Var4[1]._M_color;\nLAB_001d3d96:\n  if ((p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))) {\n    (pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;\n    (pVar9.first)->_M_parent = (_Base_ptr)0x0;\n    pVar10.second = p_Var7;\n    pVar10.first = pVar9.first;\n    return pVar10;\n  }\n  (pVar9.first)->_M_parent = p_Var3;\n  (pVar9.first)->_M_color = _S_red;\n  pVar9.second = p_Var7;\n  return pVar9;\n}\n\n" comment (ERROR "pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall\nstd::\n_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position," (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : : identifier * > (ms_call_modifier "__thiscall" __thiscall) type_identifier (ERROR "::\n_Rb_tree<(anonymous_namespace)::" : : identifier < ( identifier ) : :) identifier < number_literal , (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) ,) (labeled_statement "_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" statement_identifier (ERROR "::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace):" : : (binary_expression "pair<const_(anonymous_namespace)" identifier < (call_expression "const_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier )))) : : (comma_expression "AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std" (binary_expression "AArch64_relobj<32" identifier < number_literal) , (comma_expression "_true>::Mapping_symbol_position,_char>,_std" (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , (binary_expression "_char>,_std" identifier > (ERROR "," ,) identifier))) : : (binary_expression "_Select1st<std" identifier < identifier) : : (binary_expression "pair<const_(anonymous_namespace)" identifier < (call_expression "const_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier )))) : : (comma_expression "AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std" (binary_expression "AArch64_relobj<32" identifier < number_literal) , (comma_expression "_true>::Mapping_symbol_position,_char>_>,_std" (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , (binary_expression "_char>_>,_std" (binary_expression "_char>_" identifier > identifier) > (ERROR "," ,) identifier))) : : (binary_expression "less<(anonymous_namespace)" identifier < (parenthesized_expression "(anonymous_namespace)" ( identifier ))) : : (comma_expression "AArch64_relobj<32,_true>::Mapping_symbol_position>,_std" (binary_expression "AArch64_relobj<32" identifier < number_literal) , (binary_expression "_true>::Mapping_symbol_position>,_std" (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_(anonymous_namespace)" identifier < (call_expression "const_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier )))) :) : (expression_statement "AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" (comma_expression "AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" (binary_expression "AArch64_relobj<32" identifier < number_literal) , (comma_expression "_true>::Mapping_symbol_position,_char>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , (binary_expression "_char>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" (binary_expression "_char>_>_" (binary_expression "_char>_" identifier > identifier) > identifier) > (ERROR "::" : :) (call_expression "_M_get_insert_unique_pos\n          (_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" identifier (argument_list "(_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>\n           *this,key_type *__k)" ( (binary_expression "_Rb_tree<(anonymous_namespace)::AArch64_relobj<32" (binary_expression "_Rb_tree<(anonymous_namespace)" identifier < (parenthesized_expression "(anonymous_namespace)" ( identifier ))) (ERROR "::AArch64_relobj" : : identifier) < number_literal) , (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , (ERROR "_std::pair<const_(anonymous_namespace)::" identifier : : (binary_expression "pair<const_(anonymous_namespace)" identifier < (call_expression "const_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier )))) : :) (binary_expression "AArch64_relobj<32" identifier < number_literal) , (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , identifier (ERROR ">" >) , (ERROR "_std::_Select1st<std::pair<const_(anonymous_namespace)::" identifier : : (binary_expression "_Select1st<std" identifier < identifier) : : (binary_expression "pair<const_(anonymous_namespace)" identifier < (call_expression "const_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier )))) : :) (binary_expression "AArch64_relobj<32" identifier < number_literal) , (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , (binary_expression "_char>_" identifier > identifier) (ERROR ">" >) , (ERROR "_std::less<(anonymous_namespace)::" identifier : : (binary_expression "less<(anonymous_namespace)" identifier < (parenthesized_expression "(anonymous_namespace)" ( identifier ))) : :) (binary_expression "AArch64_relobj<32" identifier < number_literal) , (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) (ERROR ">" >) , (ERROR "_std::allocator<std::pair<const_(anonymous_namespace)::" identifier : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_(anonymous_namespace)" identifier < (call_expression "const_(anonymous_namespace)" identifier (argument_list "(anonymous_namespace)" ( identifier )))) : :) (binary_expression "AArch64_relobj<32" identifier < number_literal) , (binary_expression "_true>::Mapping_symbol_position" identifier > (ERROR "::" : :) identifier) , (binary_expression "_char>_>_>\n           *this" (binary_expression "_char>_>_" (binary_expression "_char>_" identifier > identifier) > identifier) > (pointer_expression "*this" * identifier)) , (binary_expression "key_type *__k" identifier * identifier) )))))) ;)) (compound_statement "{\n  bool bVar1;\n  _Base_ptr p_Var2;\n  _Rb_tree_node_base *p_Var3;\n  _Rb_tree_node_base *p_Var4;\n  _Rb_tree_color *in_ECX;\n  _Rb_tree_color *extraout_ECX;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_node_base *p_Var7;\n  undefined8 uVar8;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar9;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar10;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar11;\n  \n  uVar8 = __x86_get_pc_thunk_di();\n  p_Var6 = (_Rb_tree_node_base *)((ulonglong)uVar8 >> 0x20);\n  pVar9.first = (_Rb_tree_node_base *)uVar8;\n  if (p_Var6->_M_left == (_Rb_tree_node_base *)0x0) {\n    p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent;\n    p_Var7 = p_Var6;\n  }\n  else {\n    p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;\n    p_Var2 = p_Var6->_M_left;\n    do {\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var2 != (_Base_ptr)0x0);\n    p_Var4 = p_Var3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (p_Var3 == p_Var6->_M_right) {\n    (pVar9.first)->_M_color = _S_red;\n    (pVar9.first)->_M_parent = p_Var3;\n    pVar11.second = p_Var7;\n    pVar11.first = pVar9.first;\n    return pVar11;\n  }\n  p_Var4 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var3);\n  p_Var5 = (_Rb_tree_node_base *)*in_ECX;\n  p_Var7 = (_Rb_tree_node_base *)p_Var4[1]._M_color;\nLAB_001d3d96:\n  if ((p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))) {\n    (pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;\n    (pVar9.first)->_M_parent = (_Base_ptr)0x0;\n    pVar10.second = p_Var7;\n    pVar10.first = pVar9.first;\n    return pVar10;\n  }\n  (pVar9.first)->_M_parent = p_Var3;\n  (pVar9.first)->_M_color = _S_red;\n  pVar9.second = p_Var7;\n  return pVar9;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "_Base_ptr p_Var2;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "_Rb_tree_color *in_ECX;" type_identifier (pointer_declarator "*in_ECX" * identifier) ;) (declaration "_Rb_tree_color *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var6;" type_identifier (pointer_declarator "*p_Var6" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var7;" type_identifier (pointer_declarator "*p_Var7" * identifier) ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar9;" (binary_expression "_Rb_tree_node_base*> pVar9" identifier * (ERROR ">" >) identifier) ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar10;" (binary_expression "_Rb_tree_node_base*> pVar10" identifier * (ERROR ">" >) identifier) ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar11;" (binary_expression "_Rb_tree_node_base*> pVar11" identifier * (ERROR ">" >) identifier) ;) (expression_statement "uVar8 = __x86_get_pc_thunk_di();" (assignment_expression "uVar8 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "p_Var6 = (_Rb_tree_node_base *)((ulonglong)uVar8 >> 0x20);" (assignment_expression "p_Var6 = (_Rb_tree_node_base *)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(_Rb_tree_node_base *)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pVar9.first = (_Rb_tree_node_base *)uVar8;" (assignment_expression "pVar9.first = (_Rb_tree_node_base *)uVar8" (field_expression "pVar9.first" identifier . field_identifier) = (cast_expression "(_Rb_tree_node_base *)uVar8" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (p_Var6->_M_left == (_Rb_tree_node_base *)0x0) {\n    p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent;\n    p_Var7 = p_Var6;\n  }\n  else {\n    p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;\n    p_Var2 = p_Var6->_M_left;\n    do {\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var2 != (_Base_ptr)0x0);\n    p_Var4 = p_Var3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" if (parenthesized_expression "(p_Var6->_M_left == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var6->_M_left == (_Rb_tree_node_base *)0x0" (field_expression "p_Var6->_M_left" identifier -> field_identifier) == (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent;\n    p_Var7 = p_Var6;\n  }" { (expression_statement "p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent;" (assignment_expression "p_Var3 = (_Rb_tree_node_base *)&p_Var6->_M_parent" identifier = (cast_expression "(_Rb_tree_node_base *)&p_Var6->_M_parent" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var6->_M_parent" & (field_expression "p_Var6->_M_parent" identifier -> field_identifier)))) ;) (expression_statement "p_Var7 = p_Var6;" (assignment_expression "p_Var7 = p_Var6" identifier = identifier) ;) }) (else_clause "else {\n    p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;\n    p_Var2 = p_Var6->_M_left;\n    do {\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var2 != (_Base_ptr)0x0);\n    p_Var4 = p_Var3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" else (compound_statement "{\n    p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;\n    p_Var2 = p_Var6->_M_left;\n    do {\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var2 != (_Base_ptr)0x0);\n    p_Var4 = p_Var3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" { (expression_statement "p_Var5 = (_Rb_tree_node_base *)*extraout_ECX;" (assignment_expression "p_Var5 = (_Rb_tree_node_base *)*extraout_ECX" identifier = (cast_expression "(_Rb_tree_node_base *)*extraout_ECX" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*extraout_ECX" * identifier))) ;) (expression_statement "p_Var2 = p_Var6->_M_left;" (assignment_expression "p_Var2 = p_Var6->_M_left" identifier = (field_expression "p_Var6->_M_left" identifier -> field_identifier)) ;) (do_statement "do {\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    } while (p_Var2 != (_Base_ptr)0x0);" do (compound_statement "{\n      p_Var3 = p_Var2;\n      p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;\n      if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }\n    }" { (expression_statement "p_Var3 = p_Var2;" (assignment_expression "p_Var3 = p_Var2" identifier = identifier) ;) (expression_statement "p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color;" (assignment_expression "p_Var7 = (_Rb_tree_node_base *)p_Var3[1]._M_color" identifier = (cast_expression "(_Rb_tree_node_base *)p_Var3[1]._M_color" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var3[1]._M_color" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier))) ;) (if_statement "if (p_Var5 < p_Var7) {\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }" if (parenthesized_expression "(p_Var5 < p_Var7)" ( (binary_expression "p_Var5 < p_Var7" identifier < identifier) )) (compound_statement "{\n        p_Var2 = p_Var3->_M_left;\nLAB_001d3d8c:\n        bVar1 = true;\n      }" { (expression_statement "p_Var2 = p_Var3->_M_left;" (assignment_expression "p_Var2 = p_Var3->_M_left" identifier = (field_expression "p_Var3->_M_left" identifier -> field_identifier)) ;) (labeled_statement "LAB_001d3d8c:\n        bVar1 = true;" statement_identifier : (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;)) }) (else_clause "else {\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }" else (compound_statement "{\n        if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }\n        p_Var2 = p_Var3->_M_right;\n        bVar1 = false;\n      }" { (if_statement "if ((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)) {\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }" if (parenthesized_expression "((p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent))" ( (binary_expression "(p_Var7 == p_Var5) && ((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)" (parenthesized_expression "(p_Var7 == p_Var5)" ( (binary_expression "p_Var7 == p_Var5" identifier == identifier) )) && (parenthesized_expression "((_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent)" ( (binary_expression "(_Base_ptr)in_ECX[1] < p_Var3[1]._M_parent" (cast_expression "(_Base_ptr)in_ECX[1]" ( (type_descriptor "_Base_ptr" type_identifier) ) (subscript_expression "in_ECX[1]" identifier [ number_literal ])) < (field_expression "p_Var3[1]._M_parent" (subscript_expression "p_Var3[1]" identifier [ number_literal ]) . field_identifier)) ))) )) (compound_statement "{\n          p_Var2 = p_Var3->_M_left;\n          goto LAB_001d3d8c;\n        }" { (expression_statement "p_Var2 = p_Var3->_M_left;" (assignment_expression "p_Var2 = p_Var3->_M_left" identifier = (field_expression "p_Var3->_M_left" identifier -> field_identifier)) ;) (goto_statement "goto LAB_001d3d8c;" goto statement_identifier ;) })) (expression_statement "p_Var2 = p_Var3->_M_right;" (assignment_expression "p_Var2 = p_Var3->_M_right" identifier = (field_expression "p_Var3->_M_right" identifier -> field_identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(p_Var2 != (_Base_ptr)0x0)" ( (binary_expression "p_Var2 != (_Base_ptr)0x0" identifier != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (expression_statement "p_Var4 = p_Var3;" (assignment_expression "p_Var4 = p_Var3" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_001d3d96;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_001d3d96;" goto statement_identifier ;)) }))) (if_statement "if (p_Var3 == p_Var6->_M_right) {\n    (pVar9.first)->_M_color = _S_red;\n    (pVar9.first)->_M_parent = p_Var3;\n    pVar11.second = p_Var7;\n    pVar11.first = pVar9.first;\n    return pVar11;\n  }" if (parenthesized_expression "(p_Var3 == p_Var6->_M_right)" ( (binary_expression "p_Var3 == p_Var6->_M_right" identifier == (field_expression "p_Var6->_M_right" identifier -> field_identifier)) )) (compound_statement "{\n    (pVar9.first)->_M_color = _S_red;\n    (pVar9.first)->_M_parent = p_Var3;\n    pVar11.second = p_Var7;\n    pVar11.first = pVar9.first;\n    return pVar11;\n  }" { (expression_statement "(pVar9.first)->_M_color = _S_red;" (assignment_expression "(pVar9.first)->_M_color = _S_red" (field_expression "(pVar9.first)->_M_color" (parenthesized_expression "(pVar9.first)" ( (field_expression "pVar9.first" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "(pVar9.first)->_M_parent = p_Var3;" (assignment_expression "(pVar9.first)->_M_parent = p_Var3" (field_expression "(pVar9.first)->_M_parent" (parenthesized_expression "(pVar9.first)" ( (field_expression "pVar9.first" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "pVar11.second = p_Var7;" (assignment_expression "pVar11.second = p_Var7" (field_expression "pVar11.second" identifier . field_identifier) = identifier) ;) (expression_statement "pVar11.first = pVar9.first;" (assignment_expression "pVar11.first = pVar9.first" (field_expression "pVar11.first" identifier . field_identifier) = (field_expression "pVar9.first" identifier . field_identifier)) ;) (return_statement "return pVar11;" return identifier ;) })) (expression_statement "p_Var4 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var3);" (assignment_expression "p_Var4 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var3)" identifier = (cast_expression "(_Rb_tree_node_base *)_Rb_tree_decrement(p_Var3)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_Rb_tree_decrement(p_Var3)" identifier (argument_list "(p_Var3)" ( identifier ))))) ;) (expression_statement "p_Var5 = (_Rb_tree_node_base *)*in_ECX;" (assignment_expression "p_Var5 = (_Rb_tree_node_base *)*in_ECX" identifier = (cast_expression "(_Rb_tree_node_base *)*in_ECX" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*in_ECX" * identifier))) ;) (expression_statement "p_Var7 = (_Rb_tree_node_base *)p_Var4[1]._M_color;" (assignment_expression "p_Var7 = (_Rb_tree_node_base *)p_Var4[1]._M_color" identifier = (cast_expression "(_Rb_tree_node_base *)p_Var4[1]._M_color" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var4[1]._M_color" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier))) ;) (labeled_statement "LAB_001d3d96:\n  if ((p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))) {\n    (pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;\n    (pVar9.first)->_M_parent = (_Base_ptr)0x0;\n    pVar10.second = p_Var7;\n    pVar10.first = pVar9.first;\n    return pVar10;\n  }" statement_identifier : (if_statement "if ((p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))) {\n    (pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;\n    (pVar9.first)->_M_parent = (_Base_ptr)0x0;\n    pVar10.second = p_Var7;\n    pVar10.first = pVar9.first;\n    return pVar10;\n  }" if (parenthesized_expression "((p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent))))" ( (binary_expression "(p_Var5 <= p_Var7) && ((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))" (parenthesized_expression "(p_Var5 <= p_Var7)" ( (binary_expression "p_Var5 <= p_Var7" identifier <= identifier) )) && (parenthesized_expression "((p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)))" ( (parenthesized_expression "(p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent))" ( (binary_expression "p_Var5 != p_Var7 || ((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)" (binary_expression "p_Var5 != p_Var7" identifier != identifier) || (parenthesized_expression "((_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent)" ( (binary_expression "(_Base_ptr)in_ECX[1] <= p_Var4[1]._M_parent" (cast_expression "(_Base_ptr)in_ECX[1]" ( (type_descriptor "_Base_ptr" type_identifier) ) (subscript_expression "in_ECX[1]" identifier [ number_literal ])) <= (field_expression "p_Var4[1]._M_parent" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier)) ))) )) ))) )) (compound_statement "{\n    (pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;\n    (pVar9.first)->_M_parent = (_Base_ptr)0x0;\n    pVar10.second = p_Var7;\n    pVar10.first = pVar9.first;\n    return pVar10;\n  }" { (expression_statement "(pVar9.first)->_M_color = (_Rb_tree_color)p_Var4;" (assignment_expression "(pVar9.first)->_M_color = (_Rb_tree_color)p_Var4" (field_expression "(pVar9.first)->_M_color" (parenthesized_expression "(pVar9.first)" ( (field_expression "pVar9.first" identifier . field_identifier) )) -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var4" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "(pVar9.first)->_M_parent = (_Base_ptr)0x0;" (assignment_expression "(pVar9.first)->_M_parent = (_Base_ptr)0x0" (field_expression "(pVar9.first)->_M_parent" (parenthesized_expression "(pVar9.first)" ( (field_expression "pVar9.first" identifier . field_identifier) )) -> field_identifier) = (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) ;) (expression_statement "pVar10.second = p_Var7;" (assignment_expression "pVar10.second = p_Var7" (field_expression "pVar10.second" identifier . field_identifier) = identifier) ;) (expression_statement "pVar10.first = pVar9.first;" (assignment_expression "pVar10.first = pVar9.first" (field_expression "pVar10.first" identifier . field_identifier) = (field_expression "pVar9.first" identifier . field_identifier)) ;) (return_statement "return pVar10;" return identifier ;) }))) (expression_statement "(pVar9.first)->_M_parent = p_Var3;" (assignment_expression "(pVar9.first)->_M_parent = p_Var3" (field_expression "(pVar9.first)->_M_parent" (parenthesized_expression "(pVar9.first)" ( (field_expression "pVar9.first" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "(pVar9.first)->_M_color = _S_red;" (assignment_expression "(pVar9.first)->_M_color = _S_red" (field_expression "(pVar9.first)->_M_color" (parenthesized_expression "(pVar9.first)" ( (field_expression "pVar9.first" identifier . field_identifier) )) -> field_identifier) = identifier) ;) (expression_statement "pVar9.second = p_Var7;" (assignment_expression "pVar9.second = p_Var7" (field_expression "pVar9.second" identifier . field_identifier) = identifier) ;) (return_statement "return pVar9;" return identifier ;) }))
(translation_unit "int * FUN_001d3d40(void)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}\n\n" (function_definition "int * FUN_001d3d40(void)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_001d3d40(void)" * (function_declarator "FUN_001d3d40(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint *in_ECX;" type_identifier (pointer_declarator "*in_ECX" * identifier) ;) (declaration "uint *extraout_ECX;" type_identifier (pointer_declarator "*extraout_ECX" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "undefined8 uVar8;" type_identifier identifier ;) (expression_statement "uVar8 = FUN_00074f0a();" (assignment_expression "uVar8 = FUN_00074f0a()" identifier = (call_expression "FUN_00074f0a()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)((ulonglong)uVar8 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar8 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)uVar8 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" ( (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "piVar2 = (int *)uVar8;" (assignment_expression "piVar2 = (int *)uVar8" identifier = (cast_expression "(int *)uVar8" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" if (parenthesized_expression "(*(int *)(iVar6 + 8) == 0)" ( (binary_expression "*(int *)(iVar6 + 8) == 0" (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    iVar3 = iVar6 + 4;\n  }" { (expression_statement "iVar3 = iVar6 + 4;" (assignment_expression "iVar3 = iVar6 + 4" identifier = (binary_expression "iVar6 + 4" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" else (compound_statement "{\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" { (expression_statement "uVar5 = *extraout_ECX;" (assignment_expression "uVar5 = *extraout_ECX" identifier = (pointer_expression "*extraout_ECX" * identifier)) ;) (expression_statement "iVar4 = *(int *)(iVar6 + 8);" (assignment_expression "iVar4 = *(int *)(iVar6 + 8)" identifier = (pointer_expression "*(int *)(iVar6 + 8)" * (cast_expression "(int *)(iVar6 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 8)" ( (binary_expression "iVar6 + 8" identifier + number_literal) ))))) ;) (do_statement "do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);" do (compound_statement "{\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    }" { (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (expression_statement "uVar7 = *(uint *)(iVar3 + 0x10);" (assignment_expression "uVar7 = *(uint *)(iVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" if (parenthesized_expression "(uVar5 < uVar7)" ( (binary_expression "uVar5 < uVar7" identifier < identifier) )) (compound_statement "{\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }" { (expression_statement "iVar4 = *(int *)(iVar3 + 8);" (assignment_expression "iVar4 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (labeled_statement "LAB_001d3d8c:\n        bVar1 = true;" statement_identifier : (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;)) }) (else_clause "else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" else (compound_statement "{\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" { (if_statement "if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }" if (parenthesized_expression "((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14)))" ( (binary_expression "(uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))" (parenthesized_expression "(uVar7 == uVar5)" ( (binary_expression "uVar7 == uVar5" identifier == identifier) )) && (parenthesized_expression "(in_ECX[1] < *(uint *)(iVar3 + 0x14))" ( (binary_expression "in_ECX[1] < *(uint *)(iVar3 + 0x14)" (subscript_expression "in_ECX[1]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ))) )) (compound_statement "{\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }" { (expression_statement "iVar4 = *(int *)(iVar3 + 8);" (assignment_expression "iVar4 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_001d3d8c;" goto statement_identifier ;) })) (expression_statement "iVar4 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) ;) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_001d3d96;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_001d3d96;" goto statement_identifier ;)) }))) (if_statement "if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }" if (parenthesized_expression "(iVar3 == *(int *)(iVar6 + 0xc))" ( (binary_expression "iVar3 == *(int *)(iVar6 + 0xc)" identifier == (pointer_expression "*(int *)(iVar6 + 0xc)" * (cast_expression "(int *)(iVar6 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }" { (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return piVar2;" return identifier ;) })) (expression_statement "iVar4 = FUN_003af6c0(iVar3);" (assignment_expression "iVar4 = FUN_003af6c0(iVar3)" identifier = (call_expression "FUN_003af6c0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "uVar5 = *in_ECX;" (assignment_expression "uVar5 = *in_ECX" identifier = (pointer_expression "*in_ECX" * identifier)) ;) (expression_statement "uVar7 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar7 = *(uint *)(iVar4 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar4 + 0x10)" * (cast_expression "(uint *)(iVar4 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) ))))) ;) (labeled_statement "LAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" statement_identifier : (if_statement "if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" if (parenthesized_expression "((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14)))))" ( (binary_expression "(uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))" (parenthesized_expression "(uVar5 <= uVar7)" ( (binary_expression "uVar5 <= uVar7" identifier <= identifier) )) && (parenthesized_expression "((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))" ( (parenthesized_expression "(uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14)))" ( (binary_expression "uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))" (binary_expression "uVar5 != uVar7" identifier != identifier) || (parenthesized_expression "(in_ECX[1] <= *(uint *)(iVar4 + 0x14))" ( (binary_expression "in_ECX[1] <= *(uint *)(iVar4 + 0x14)" (subscript_expression "in_ECX[1]" identifier [ number_literal ]) <= (pointer_expression "*(uint *)(iVar4 + 0x14)" * (cast_expression "(uint *)(iVar4 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" { (expression_statement "*piVar2 = iVar4;" (assignment_expression "*piVar2 = iVar4" (pointer_expression "*piVar2" * identifier) = identifier) ;) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) }))) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" * identifier) = number_literal) ;) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != IDENT) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001d3d40(void)\n\n{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* FUN_001d3d40(void)" (* "*") (function_declarator "FUN_001d3d40(void)" (identifier "FUN_001d3d40") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  bool bVar1;\n  int *piVar2;\n  int iVar3;\n  int iVar4;\n  uint *in_ECX;\n  uint *extraout_ECX;\n  uint uVar5;\n  int iVar6;\n  uint uVar7;\n  undefined8 uVar8;\n  \n  uVar8 = FUN_00074f0a();\n  iVar6 = (int)((ulonglong)uVar8 >> 0x20);\n  piVar2 = (int *)uVar8;\n  if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }\n  if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }\n  iVar4 = FUN_003af6c0(iVar3);\n  uVar5 = *in_ECX;\n  uVar7 = *(uint *)(iVar4 + 0x10);\nLAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }\n  piVar2[1] = iVar3;\n  *piVar2 = 0;\n  return piVar2;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint *in_ECX;" (type_identifier "uint") (pointer_declarator "*in_ECX" (* "*") (identifier "in_ECX")) (; ";")) (declaration "uint *extraout_ECX;" (type_identifier "uint") (pointer_declarator "*extraout_ECX" (* "*") (identifier "extraout_ECX")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "undefined8 uVar8;" (type_identifier "undefined8") (identifier "uVar8") (; ";")) (expression_statement "uVar8 = FUN_00074f0a();" (assignment_expression "uVar8 = FUN_00074f0a()" (identifier "uVar8") (= "=") (call_expression "FUN_00074f0a()" (identifier "FUN_00074f0a") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar6 = (int)((ulonglong)uVar8 >> 0x20);" (assignment_expression "iVar6 = (int)((ulonglong)uVar8 >> 0x20)" (identifier "iVar6") (= "=") (cast_expression "(int)((ulonglong)uVar8 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar8 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar8 >> 0x20" (cast_expression "(ulonglong)uVar8" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar8")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "piVar2 = (int *)uVar8;" (assignment_expression "piVar2 = (int *)uVar8" (identifier "piVar2") (= "=") (cast_expression "(int *)uVar8" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar8"))) (; ";")) (if_statement "if (*(int *)(iVar6 + 8) == 0) {\n    iVar3 = iVar6 + 4;\n  }\n  else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar6 + 8) == 0" (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = iVar6 + 4;\n  }" ({ "{") (expression_statement "iVar3 = iVar6 + 4;" (assignment_expression "iVar3 = iVar6 + 4" (identifier "iVar3") (= "=") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" (else "else") (compound_statement "{\n    uVar5 = *extraout_ECX;\n    iVar4 = *(int *)(iVar6 + 8);\n    do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);\n    iVar4 = iVar3;\n    if (!bVar1) goto LAB_001d3d96;\n  }" ({ "{") (expression_statement "uVar5 = *extraout_ECX;" (assignment_expression "uVar5 = *extraout_ECX" (identifier "uVar5") (= "=") (pointer_expression "*extraout_ECX" (* "*") (identifier "extraout_ECX"))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar6 + 8);" (assignment_expression "iVar4 = *(int *)(iVar6 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar6 + 8)" (* "*") (cast_expression "(int *)(iVar6 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 8)" (( "(") (binary_expression "iVar6 + 8" (identifier "iVar6") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (do_statement "do {\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar4 != 0);" (do "do") (compound_statement "{\n      iVar3 = iVar4;\n      uVar7 = *(uint *)(iVar3 + 0x10);\n      if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }\n    }" ({ "{") (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" (identifier "iVar3") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "uVar7 = *(uint *)(iVar3 + 0x10);" (assignment_expression "uVar7 = *(uint *)(iVar3 + 0x10)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (uVar5 < uVar7) {\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }\n      else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" (if "if") (parenthesized_expression "(uVar5 < uVar7)" (( "(") (binary_expression "uVar5 < uVar7" (identifier "uVar5") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n        iVar4 = *(int *)(iVar3 + 8);\nLAB_001d3d8c:\n        bVar1 = true;\n      }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar3 + 8);" (assignment_expression "iVar4 = *(int *)(iVar3 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (labeled_statement "LAB_001d3d8c:\n        bVar1 = true;" (statement_identifier "LAB_001d3d8c") (: ":") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";"))) (} "}")) (else_clause "else {\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" (else "else") (compound_statement "{\n        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }\n        iVar4 = *(int *)(iVar3 + 0xc);\n        bVar1 = false;\n      }" ({ "{") (if_statement "if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }" (if "if") (parenthesized_expression "((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14)))" (( "(") (binary_expression "(uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))" (parenthesized_expression "(uVar7 == uVar5)" (( "(") (binary_expression "uVar7 == uVar5" (identifier "uVar7") (== "==") (identifier "uVar5")) () ")")) (&& "&&") (parenthesized_expression "(in_ECX[1] < *(uint *)(iVar3 + 0x14))" (( "(") (binary_expression "in_ECX[1] < *(uint *)(iVar3 + 0x14)" (subscript_expression "in_ECX[1]" (identifier "in_ECX") ([ "[") (number_literal "1") (] "]")) (< "<") (pointer_expression "*(uint *)(iVar3 + 0x14)" (* "*") (cast_expression "(uint *)(iVar3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          iVar4 = *(int *)(iVar3 + 8);\n          goto LAB_001d3d8c;\n        }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar3 + 8);" (assignment_expression "iVar4 = *(int *)(iVar3 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (goto_statement "goto LAB_001d3d8c;" (goto "goto") (statement_identifier "LAB_001d3d8c") (; ";")) (} "}"))) (expression_statement "iVar4 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0xc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar4 = iVar3;" (assignment_expression "iVar4 = iVar3" (identifier "iVar4") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (!bVar1) goto LAB_001d3d96;" (if "if") (parenthesized_expression "(!bVar1)" (( "(") (unary_expression "!bVar1" (! "!") (identifier "bVar1")) () ")")) (goto_statement "goto LAB_001d3d96;" (goto "goto") (statement_identifier "LAB_001d3d96") (; ";"))) (} "}")))) (if_statement "if (iVar3 == *(int *)(iVar6 + 0xc)) {\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }" (if "if") (parenthesized_expression "(iVar3 == *(int *)(iVar6 + 0xc))" (( "(") (binary_expression "iVar3 == *(int *)(iVar6 + 0xc)" (identifier "iVar3") (== "==") (pointer_expression "*(int *)(iVar6 + 0xc)" (* "*") (cast_expression "(int *)(iVar6 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n    *piVar2 = 0;\n    piVar2[1] = iVar3;\n    return piVar2;\n  }" ({ "{") (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_003af6c0(iVar3);" (assignment_expression "iVar4 = FUN_003af6c0(iVar3)" (identifier "iVar4") (= "=") (call_expression "FUN_003af6c0(iVar3)" (identifier "FUN_003af6c0") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "uVar5 = *in_ECX;" (assignment_expression "uVar5 = *in_ECX" (identifier "uVar5") (= "=") (pointer_expression "*in_ECX" (* "*") (identifier "in_ECX"))) (; ";")) (expression_statement "uVar7 = *(uint *)(iVar4 + 0x10);" (assignment_expression "uVar7 = *(uint *)(iVar4 + 0x10)" (identifier "uVar7") (= "=") (pointer_expression "*(uint *)(iVar4 + 0x10)" (* "*") (cast_expression "(uint *)(iVar4 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (labeled_statement "LAB_001d3d96:\n  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" (statement_identifier "LAB_001d3d96") (: ":") (if_statement "if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" (if "if") (parenthesized_expression "((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14)))))" (( "(") (binary_expression "(uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))" (parenthesized_expression "(uVar5 <= uVar7)" (( "(") (binary_expression "uVar5 <= uVar7" (identifier "uVar5") (<= "<=") (identifier "uVar7")) () ")")) (&& "&&") (parenthesized_expression "((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))" (( "(") (parenthesized_expression "(uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14)))" (( "(") (binary_expression "uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))" (binary_expression "uVar5 != uVar7" (identifier "uVar5") (!= "!=") (identifier "uVar7")) (|| "||") (parenthesized_expression "(in_ECX[1] <= *(uint *)(iVar4 + 0x14))" (( "(") (binary_expression "in_ECX[1] <= *(uint *)(iVar4 + 0x14)" (subscript_expression "in_ECX[1]" (identifier "in_ECX") ([ "[") (number_literal "1") (] "]")) (<= "<=") (pointer_expression "*(uint *)(iVar4 + 0x14)" (* "*") (cast_expression "(uint *)(iVar4 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    *piVar2 = iVar4;\n    piVar2[1] = 0;\n    return piVar2;\n  }" ({ "{") (expression_statement "*piVar2 = iVar4;" (assignment_expression "*piVar2 = iVar4" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "piVar2[1] = 0;" (assignment_expression "piVar2[1] = 0" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))) (expression_statement "piVar2[1] = iVar3;" (assignment_expression "piVar2[1] = iVar3" (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*piVar2 = 0;" (assignment_expression "*piVar2 = 0" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (= "=") (number_literal "0")) (; ";")) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))

/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>
   _M_get_insert_unique_pos(_Rb_tree<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>,_std::_Select1st<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>,_std::less<(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position>,_std::allocator<std::pair<const_(anonymous_namespace)::AArch64_relobj<32,_true>::Mapping_symbol_position,_char>_>_>
   * this, key_type * __k) */

pair<std::type_2*,_std::type_2*> __thiscall
std::
var_7<(anonymous_namespace)::var_1<32,var_2>::var_3,_std::pair<const_(anonymous_namespace)::var_1<32,var_2>::var_3,var_4>,_std::_Select1st<std::pair<const_(anonymous_namespace)::var_1<32,var_2>::var_3,var_4>var_5>,_std::less<(anonymous_namespace)::var_1<32,var_2>::var_3>,_std::allocator<std::pair<const_(anonymous_namespace)::var_1<32,var_2>::var_3,var_4>var_5>var_5>
::var_6
          (var_7<(anonymous_namespace)::var_1<32,var_2>::var_3,_std::pair<const_(anonymous_namespace)::var_1<32,var_2>::var_3,var_4>,_std::_Select1st<std::pair<const_(anonymous_namespace)::var_1<32,var_2>::var_3,var_4>var_5>,_std::less<(anonymous_namespace)::var_1<32,var_2>::var_3>,_std::allocator<std::pair<const_(anonymous_namespace)::var_1<32,var_2>::var_3,var_4>var_5>var_5>
           *this,var_8 *var_9)

{
  bool bVar1;
  type_1 var_16;
  type_2 *var_17;
  type_2 *p_Var4;
  type_3 *in_ECX;
  type_3 *extraout_ECX;
  type_2 *var_14;
  type_2 *p_Var6;
  type_2 *var_15;
  type_4 uVar8;
  pair<std::type_2*,_std::type_2*> var_10;
  pair<std::type_2*,_std::type_2*> var_11;
  pair<std::type_2*,_std::type_2*> var_12;
  
  uVar8 = var_13();
  p_Var6 = (type_2 *)((type_5)uVar8 >> 0x20);
  var_10.first = (type_2 *)uVar8;
  if (p_Var6->_M_left == (type_2 *)0x0) {
    var_17 = (type_2 *)&p_Var6->_M_parent;
    var_15 = p_Var6;
  }
  else {
    var_14 = (type_2 *)*extraout_ECX;
    var_16 = p_Var6->_M_left;
    do {
      var_17 = var_16;
      var_15 = (type_2 *)var_17[1]._M_color;
      if (var_14 < var_15) {
        var_16 = var_17->_M_left;
LAB_001d3d8c:
        bVar1 = true;
      }
      else {
        if ((var_15 == var_14) && ((type_1)in_ECX[1] < var_17[1]._M_parent)) {
          var_16 = var_17->_M_left;
          goto LAB_001d3d8c;
        }
        var_16 = var_17->_M_right;
        bVar1 = false;
      }
    } while (var_16 != (type_1)0x0);
    p_Var4 = var_17;
    if (!bVar1) goto LAB_001d3d96;
  }
  if (var_17 == p_Var6->_M_right) {
    (var_10.first)->_M_color = _S_red;
    (var_10.first)->_M_parent = var_17;
    var_12.second = var_15;
    var_12.first = var_10.first;
    return var_12;
  }
  p_Var4 = (type_2 *)var_18(var_17);
  var_14 = (type_2 *)*in_ECX;
  var_15 = (type_2 *)p_Var4[1]._M_color;
LAB_001d3d96:
  if ((var_14 <= var_15) && ((var_14 != var_15 || ((type_1)in_ECX[1] <= p_Var4[1]._M_parent)))) {
    (var_10.first)->_M_color = (type_3)p_Var4;
    (var_10.first)->_M_parent = (type_1)0x0;
    var_11.second = var_15;
    var_11.first = var_10.first;
    return var_11;
  }
  (var_10.first)->_M_parent = var_17;
  (var_10.first)->_M_color = _S_red;
  var_10.second = var_15;
  return var_10;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (true))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (false))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (goto_statement label: (statement_identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement (identifier)))))

int * MASKED(void)

{
  bool bVar1;
  int *piVar2;
  int iVar3;
  int iVar4;
  uint *in_ECX;
  uint *extraout_ECX;
  uint uVar5;
  int iVar6;
  uint uVar7;
  undefined8 uVar8;
  
  uVar8 = FUN_00074f0a();
  iVar6 = (int)((ulonglong)uVar8 >> 0x20);
  piVar2 = (int *)uVar8;
  if (*(int *)(iVar6 + 8) == 0) {
    iVar3 = iVar6 + 4;
  }
  else {
    uVar5 = *extraout_ECX;
    iVar4 = *(int *)(iVar6 + 8);
    do {
      iVar3 = iVar4;
      uVar7 = *(uint *)(iVar3 + 0x10);
      if (uVar5 < uVar7) {
        iVar4 = *(int *)(iVar3 + 8);
LAB_001d3d8c:
        bVar1 = true;
      }
      else {
        if ((uVar7 == uVar5) && (in_ECX[1] < *(uint *)(iVar3 + 0x14))) {
          iVar4 = *(int *)(iVar3 + 8);
          goto LAB_001d3d8c;
        }
        iVar4 = *(int *)(iVar3 + 0xc);
        bVar1 = false;
      }
    } while (iVar4 != 0);
    iVar4 = iVar3;
    if (!bVar1) goto LAB_001d3d96;
  }
  if (iVar3 == *(int *)(iVar6 + 0xc)) {
    *piVar2 = 0;
    piVar2[1] = iVar3;
    return piVar2;
  }
  iVar4 = FUN_003af6c0(iVar3);
  uVar5 = *in_ECX;
  uVar7 = *(uint *)(iVar4 + 0x10);
LAB_001d3d96:
  if ((uVar5 <= uVar7) && ((uVar5 != uVar7 || (in_ECX[1] <= *(uint *)(iVar4 + 0x14))))) {
    *piVar2 = iVar4;
    piVar2[1] = 0;
    return piVar2;
  }
  piVar2[1] = iVar3;
  *piVar2 = 0;
  return piVar2;
}

