
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>
   _M_get_insert_unique_pos(_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>
   * this, key_type * __k) */

pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall
std::
_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>
::_M_get_insert_unique_pos
          (_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>
           *this,key_type *__k)

{
  uint *puVar1;
  _Base_ptr p_Var2;
  uint uVar3;
  uint uVar4;
  bool bVar5;
  _Rb_tree_node_base *p_Var6;
  _Base_ptr p_Var7;
  _Rb_tree_node_base *in_EDX;
  _Base_ptr p_Var8;
  _Rb_tree_node_base *p_Var9;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar10;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar11;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12;
  _Rb_tree_node_base *in_stack_00000004;
  _Rb_tree_node_base *local_24;
  
  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  if (p_Var6 == (_Rb_tree_node_base *)0x0) {
    local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;
  }
  else {
    p_Var9 = *(_Rb_tree_node_base **)&__k->first;
    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);
    do {
      local_24 = p_Var6;
      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;
      p_Var7 = local_24[1]._M_parent;
      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||
         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&
          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),
          p_Var2 < local_24[1]._M_right ||
          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <
          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {
        p_Var6 = local_24->_M_left;
        bVar5 = true;
      }
      else {
        p_Var6 = local_24->_M_right;
        bVar5 = false;
      }
    } while (p_Var6 != (_Base_ptr)0x0);
    p_Var6 = local_24;
    if (!bVar5) goto LAB_00125f19;
  }
  if (local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {
    in_stack_00000004->_M_color = _S_red;
    in_stack_00000004->_M_parent = local_24;
    pVar12.second = in_EDX;
    pVar12.first = in_stack_00000004;
    return pVar12;
  }
  p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(local_24);
  in_EDX = (_Rb_tree_node_base *)p_Var6[1]._M_color;
  p_Var7 = p_Var6[1]._M_parent;
  p_Var9 = *(_Rb_tree_node_base **)&__k->first;
  p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);
LAB_00125f19:
  if ((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&
     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),
      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||
      (puVar1 = (uint *)((int)&__k->second + 4),
      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),
      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),
      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))) {
    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;
    in_stack_00000004->_M_parent = (_Base_ptr)0x0;
    pVar11.second = in_EDX;
    pVar11.first = in_stack_00000004;
    return pVar11;
  }
  in_stack_00000004->_M_color = _S_red;
  in_stack_00000004->_M_parent = local_24;
  pVar10.second = in_EDX;
  pVar10.first = in_stack_00000004;
  return pVar10;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined8 __regparm2
FUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)

{
  bool bVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  int local_24;
  
  if (*(int *)(param_4 + 8) == 0) {
    local_24 = param_4 + 4;
  }
  else {
    uVar5 = *param_5;
    uVar4 = param_5[1];
    iVar2 = *(int *)(param_4 + 8);
    do {
      local_24 = iVar2;
      param_2 = *(uint *)(local_24 + 0x10);
      uVar3 = *(uint *)(local_24 + 0x14);
      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||
         ((uVar3 == uVar4 && param_2 == uVar5 &&
          (param_5[3] < *(uint *)(local_24 + 0x1c) ||
           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))
          )))) {
        iVar2 = *(int *)(local_24 + 8);
        bVar1 = true;
      }
      else {
        iVar2 = *(int *)(local_24 + 0xc);
        bVar1 = false;
      }
    } while (iVar2 != 0);
    iVar2 = local_24;
    if (!bVar1) goto LAB_00125f19;
  }
  if (local_24 == *(int *)(param_4 + 0xc)) {
    *param_3 = 0;
    param_3[1] = local_24;
    return CONCAT44(param_2,param_3);
  }
  iVar2 = FUN_001adab0(local_24);
  param_2 = *(uint *)(iVar2 + 0x10);
  uVar3 = *(uint *)(iVar2 + 0x14);
  uVar5 = *param_5;
  uVar4 = param_5[1];
LAB_00125f19:
  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&
     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||
      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),
      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,
      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {
    *param_3 = iVar2;
    param_3[1] = 0;
    return CONCAT44(param_2,param_3);
  }
  *param_3 = 0;
  param_3[1] = local_24;
  return CONCAT44(param_2,param_3);
}


CALL 0x00058c42
ADD EAX,0x21916b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [EAX + 0x8]
TEST ESI,ESI
JZ 0x00125f80
MOV EAX,dword ptr [ESP + 0x38]
MOV EDI,dword ptr [EAX]
MOV EBX,dword ptr [EAX + 0x4]
JMP 0x00125ef5
MOV EAX,EDX
MOV EBP,ECX
XOR EAX,EDI
XOR EBP,EBX
OR EBP,EAX
JNZ 0x00125eea
MOV EAX,dword ptr [ESP + 0x38]
MOV EBP,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESI + 0x18]
CMP dword ptr [EBP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x8]
SBB EAX,dword ptr [ESI + 0x1c]
JC 0x00125f03
MOV EAX,dword ptr [ESI + 0xc]
XOR EBP,EBP
TEST EAX,EAX
JZ 0x00125f0f
MOV ESI,EAX
MOV EDX,dword ptr [ESI + 0x10]
MOV ECX,dword ptr [ESI + 0x14]
MOV EAX,EBX
CMP EDI,EDX
SBB EAX,ECX
JNC 0x00125ec0
MOV EAX,dword ptr [ESI + 0x8]
MOV EBP,0x1
TEST EAX,EAX
JNZ 0x00125ef3
MOV EAX,EBP
MOV dword ptr [ESP + 0x8],ESI
TEST AL,AL
JNZ 0x00125f83
CMP EDX,EDI
MOV EAX,ECX
SBB EAX,EBX
JNC 0x00125f40
MOV EAX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x8]
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],EDI
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
XOR EDX,EDI
XOR ECX,EBX
OR ECX,EDX
JNZ 0x00125f5e
MOV EAX,dword ptr [ESP + 0x38]
MOV EDX,dword ptr [ESI + 0x1c]
MOV EAX,dword ptr [EAX + 0x8]
CMP dword ptr [ESI + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x38]
SBB EDX,dword ptr [EAX + 0xc]
JC 0x00125f21
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX],ESI
MOV dword ptr [EAX + 0x4],0x0
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
LEA ESI,[EAX + 0x4]
MOV EAX,dword ptr [ESP + 0x34]
CMP ESI,dword ptr [EAX + 0xc]
JZ 0x00125fc0
SUB ESP,0xc
PUSH ESI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x001adab0
ADD ESP,0x10
MOV EBP,EAX
MOV EAX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x8],ESI
MOV EDX,dword ptr [EBP + 0x10]
MOV ECX,dword ptr [EBP + 0x14]
MOV ESI,EBP
MOV EDI,dword ptr [EAX]
MOV EBX,dword ptr [EAX + 0x4]
JMP 0x00125f19
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX],0x0
MOV dword ptr [EAX + 0x4],ESI
MOV EAX,dword ptr [ESP + 0x30]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined8 __regparm2\nFUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}\n\n" comment (function_definition "undefined8 __regparm2\nFUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "FUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)" identifier (parameter_list "(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" if (parenthesized_expression "(*(int *)(param_4 + 8) == 0)" ( (binary_expression "*(int *)(param_4 + 8) == 0" (pointer_expression "*(int *)(param_4 + 8)" * (cast_expression "(int *)(param_4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    local_24 = param_4 + 4;\n  }" { (expression_statement "local_24 = param_4 + 4;" (assignment_expression "local_24 = param_4 + 4" identifier = (binary_expression "param_4 + 4" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" else (compound_statement "{\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" { (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar4 = param_5[1];" (assignment_expression "uVar4 = param_5[1]" identifier = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = *(int *)(param_4 + 8);" (assignment_expression "iVar2 = *(int *)(param_4 + 8)" identifier = (pointer_expression "*(int *)(param_4 + 8)" * (cast_expression "(int *)(param_4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (do_statement "do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);" do (compound_statement "{\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    }" { (expression_statement "local_24 = iVar2;" (assignment_expression "local_24 = iVar2" identifier = identifier) ;) (expression_statement "param_2 = *(uint *)(local_24 + 0x10);" (assignment_expression "param_2 = *(uint *)(local_24 + 0x10)" identifier = (pointer_expression "*(uint *)(local_24 + 0x10)" * (cast_expression "(uint *)(local_24 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x10)" ( (binary_expression "local_24 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(local_24 + 0x14);" (assignment_expression "uVar3 = *(uint *)(local_24 + 0x14)" identifier = (pointer_expression "*(uint *)(local_24 + 0x14)" * (cast_expression "(uint *)(local_24 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x14)" ( (binary_expression "local_24 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" if (parenthesized_expression "((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          ))))" ( (binary_expression "(uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))" (parenthesized_expression "(uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2))" ( (binary_expression "uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)" (binary_expression "uVar4 < uVar3" identifier < identifier) || (binary_expression "uVar4 - uVar3 < (uint)(uVar5 < param_2)" (binary_expression "uVar4 - uVar3" identifier - identifier) < (call_expression "(uint)(uVar5 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < param_2)" ( (binary_expression "uVar5 < param_2" identifier < identifier) ))))) )) || (parenthesized_expression "((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))" ( (parenthesized_expression "(uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          ))" ( (binary_expression "uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )" (binary_expression "uVar3 == uVar4 && param_2 == uVar5" (binary_expression "uVar3 == uVar4" identifier == identifier) && (binary_expression "param_2 == uVar5" identifier == identifier)) && (parenthesized_expression "(param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )" ( (binary_expression "param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (binary_expression "param_5[3] < *(uint *)(local_24 + 0x1c)" (subscript_expression "param_5[3]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(local_24 + 0x1c)" * (cast_expression "(uint *)(local_24 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x1c)" ( (binary_expression "local_24 + 0x1c" identifier + number_literal) ))))) || (binary_expression "param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (binary_expression "param_5[3] - *(uint *)(local_24 + 0x1c)" (subscript_expression "param_5[3]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(local_24 + 0x1c)" * (cast_expression "(uint *)(local_24 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x1c)" ( (binary_expression "local_24 + 0x1c" identifier + number_literal) ))))) < (call_expression "(uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_5[2] < *(uint *)(local_24 + 0x18))" ( (binary_expression "param_5[2] < *(uint *)(local_24 + 0x18)" (subscript_expression "param_5[2]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(local_24 + 0x18)" * (cast_expression "(uint *)(local_24 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x18)" ( (binary_expression "local_24 + 0x18" identifier + number_literal) ))))) ))))) ))) )) ))) )) (compound_statement "{\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }" { (expression_statement "iVar2 = *(int *)(local_24 + 8);" (assignment_expression "iVar2 = *(int *)(local_24 + 8)" identifier = (pointer_expression "*(int *)(local_24 + 8)" * (cast_expression "(int *)(local_24 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 8)" ( (binary_expression "local_24 + 8" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" else (compound_statement "{\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" { (expression_statement "iVar2 = *(int *)(local_24 + 0xc);" (assignment_expression "iVar2 = *(int *)(local_24 + 0xc)" identifier = (pointer_expression "*(int *)(local_24 + 0xc)" * (cast_expression "(int *)(local_24 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0xc)" ( (binary_expression "local_24 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "iVar2 = local_24;" (assignment_expression "iVar2 = local_24" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_00125f19;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_00125f19;" goto statement_identifier ;)) }))) (if_statement "if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }" if (parenthesized_expression "(local_24 == *(int *)(param_4 + 0xc))" ( (binary_expression "local_24 == *(int *)(param_4 + 0xc)" identifier == (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[1] = local_24;" (assignment_expression "param_3[1] = local_24" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return CONCAT44(param_2,param_3);" return (call_expression "CONCAT44(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) })) (expression_statement "iVar2 = FUN_001adab0(local_24);" (assignment_expression "iVar2 = FUN_001adab0(local_24)" identifier = (call_expression "FUN_001adab0(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (expression_statement "param_2 = *(uint *)(iVar2 + 0x10);" (assignment_expression "param_2 = *(uint *)(iVar2 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(iVar2 + 0x14);" (assignment_expression "uVar3 = *(uint *)(iVar2 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar4 = param_5[1];" (assignment_expression "uVar4 = param_5[1]" identifier = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" statement_identifier : (if_statement "if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" if (parenthesized_expression "((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4))))" ( (binary_expression "(uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4)" ( (binary_expression "uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(param_2 < uVar5) <= uVar3 - uVar4" (call_expression "(uint)(param_2 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar5)" ( (binary_expression "param_2 < uVar5" identifier < identifier) ))) <= (binary_expression "uVar3 - uVar4" identifier - identifier))) )) && (parenthesized_expression "((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))" ( (parenthesized_expression "(param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4))" ( (comma_expression "param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (assignment_expression "param_2 = param_2 ^ uVar5" identifier = (binary_expression "param_2 ^ uVar5" identifier ^ identifier)) , (binary_expression "uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (binary_expression "uVar3 != uVar4 || param_2 != 0" (binary_expression "uVar3 != uVar4" identifier != identifier) || (binary_expression "param_2 != 0" identifier != number_literal)) || (parenthesized_expression "(uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" ( (comma_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2])" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 0x18) < param_5[2])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x18) < param_5[2])" ( (binary_expression "*(uint *)(iVar2 + 0x18) < param_5[2]" (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) < (subscript_expression "param_5[2]" identifier [ number_literal ])) )))) , (comma_expression "uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3]" identifier = (binary_expression "*(uint *)(iVar2 + 0x1c) - param_5[3]" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) - (subscript_expression "param_5[3]" identifier [ number_literal ]))) , (comma_expression "param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "param_2 = uVar4 - uVar5" identifier = (binary_expression "uVar4 - uVar5" identifier - identifier)) , (binary_expression "param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (binary_expression "param_5[3] <= *(uint *)(iVar2 + 0x1c)" (subscript_expression "param_5[3]" identifier [ number_literal ]) <= (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) && (binary_expression "uVar5 <= uVar4" identifier <= identifier))))) )))) )) ))) )) (compound_statement "{\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" { (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return CONCAT44(param_2,param_3);" return (call_expression "CONCAT44(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) }))) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[1] = local_24;" (assignment_expression "param_3[1] = local_24" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return CONCAT44(param_2,param_3);" return (call_expression "CONCAT44(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>\n   _M_get_insert_unique_pos(_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n   * this, key_type * __k) */\n\npair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> __thiscall\nstd::\n_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n           *this,key_type *__k)\n\n{\n  uint *puVar1;\n  _Base_ptr p_Var2;\n  uint uVar3;\n  uint uVar4;\n  bool bVar5;\n  _Rb_tree_node_base *p_Var6;\n  _Base_ptr p_Var7;\n  _Rb_tree_node_base *in_EDX;\n  _Base_ptr p_Var8;\n  _Rb_tree_node_base *p_Var9;\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  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12;\n  _Rb_tree_node_base *in_stack_00000004;\n  _Rb_tree_node_base *local_24;\n  \n  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  if (p_Var6 == (_Rb_tree_node_base *)0x0) {\n    local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\n    do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = local_24;\n    if (!bVar5) goto LAB_00125f19;\n  }\n  if (local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = local_24;\n    pVar12.second = in_EDX;\n    pVar12.first = in_stack_00000004;\n    return pVar12;\n  }\n  p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(local_24);\n  in_EDX = (_Rb_tree_node_base *)p_Var6[1]._M_color;\n  p_Var7 = p_Var6[1]._M_parent;\n  p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n  p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\nLAB_00125f19:\n  if ((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))) {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar11.second = in_EDX;\n    pVar11.first = in_stack_00000004;\n    return pVar11;\n  }\n  in_stack_00000004->_M_color = _S_red;\n  in_stack_00000004->_M_parent = local_24;\n  pVar10.second = in_EDX;\n  pVar10.first = in_stack_00000004;\n  return pVar10;\n}\n\n" comment comment (ERROR "pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : : identifier * >) (function_definition "__thiscall\nstd::\n_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n::_M_get_insert_unique_pos\n          (_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n           *this,key_type *__k)\n\n{\n  uint *puVar1;\n  _Base_ptr p_Var2;\n  uint uVar3;\n  uint uVar4;\n  bool bVar5;\n  _Rb_tree_node_base *p_Var6;\n  _Base_ptr p_Var7;\n  _Rb_tree_node_base *in_EDX;\n  _Base_ptr p_Var8;\n  _Rb_tree_node_base *p_Var9;\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  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12;\n  _Rb_tree_node_base *in_stack_00000004;\n  _Rb_tree_node_base *local_24;\n  \n  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  if (p_Var6 == (_Rb_tree_node_base *)0x0) {\n    local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\n    do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = local_24;\n    if (!bVar5) goto LAB_00125f19;\n  }\n  if (local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = local_24;\n    pVar12.second = in_EDX;\n    pVar12.first = in_stack_00000004;\n    return pVar12;\n  }\n  p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(local_24);\n  in_EDX = (_Rb_tree_node_base *)p_Var6[1]._M_color;\n  p_Var7 = p_Var6[1]._M_parent;\n  p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n  p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\nLAB_00125f19:\n  if ((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))) {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar11.second = in_EDX;\n    pVar11.first = in_stack_00000004;\n    return pVar11;\n  }\n  in_stack_00000004->_M_color = _S_red;\n  in_stack_00000004->_M_parent = local_24;\n  pVar10.second = in_EDX;\n  pVar10.first = in_stack_00000004;\n  return pVar10;\n}" (ms_call_modifier "__thiscall" __thiscall) type_identifier (ERROR "::\n_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n::" : : identifier < identifier : : identifier < identifier , identifier > , identifier : : identifier < identifier : : identifier < identifier , identifier > , identifier : : identifier < identifier , identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier , identifier > , identifier : : identifier < identifier , identifier > identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier , identifier > identifier > , identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier , identifier > , identifier : : identifier < identifier , identifier > identifier > identifier > identifier > : :) (function_declarator "_M_get_insert_unique_pos\n          (_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n           *this,key_type *__k)" identifier (parameter_list "(_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>\n           *this,key_type *__k)" ( (parameter_declaration "_Rb_tree<std::pair<long_long_unsigned_int" type_identifier (ERROR "<std::pair<" < identifier : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<const_std::pair<long_long_unsigned_int" type_identifier (ERROR "::pair<const_std::pair<" : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<long_long_unsigned_int" type_identifier (ERROR "::pair<" : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int" type_identifier (ERROR "::_Select1st<std::pair<const_std::pair<" : : identifier < identifier : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<long_long_unsigned_int" type_identifier (ERROR "::pair<" : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int>_>_" type_identifier (ERROR ">_>" > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::less<std::pair<long_long_unsigned_int" type_identifier (ERROR "::less<std::pair<" : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<const_std::pair<long_long_unsigned_int" type_identifier (ERROR "::allocator<std::pair<const_std::pair<" : : identifier < identifier : : identifier < identifier : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<long_long_unsigned_int" type_identifier (ERROR "::pair<" : : identifier <) identifier) , (parameter_declaration "_long_long_unsigned_int>_>_>_>\n           *this" type_identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "key_type *__k" type_identifier (pointer_declarator "*__k" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  _Base_ptr p_Var2;\n  uint uVar3;\n  uint uVar4;\n  bool bVar5;\n  _Rb_tree_node_base *p_Var6;\n  _Base_ptr p_Var7;\n  _Rb_tree_node_base *in_EDX;\n  _Base_ptr p_Var8;\n  _Rb_tree_node_base *p_Var9;\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  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12;\n  _Rb_tree_node_base *in_stack_00000004;\n  _Rb_tree_node_base *local_24;\n  \n  p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  if (p_Var6 == (_Rb_tree_node_base *)0x0) {\n    local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\n    do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = local_24;\n    if (!bVar5) goto LAB_00125f19;\n  }\n  if (local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = local_24;\n    pVar12.second = in_EDX;\n    pVar12.first = in_stack_00000004;\n    return pVar12;\n  }\n  p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(local_24);\n  in_EDX = (_Rb_tree_node_base *)p_Var6[1]._M_color;\n  p_Var7 = p_Var6[1]._M_parent;\n  p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n  p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\nLAB_00125f19:\n  if ((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))) {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar11.second = in_EDX;\n    pVar11.first = in_stack_00000004;\n    return pVar11;\n  }\n  in_stack_00000004->_M_color = _S_red;\n  in_stack_00000004->_M_parent = local_24;\n  pVar10.second = in_EDX;\n  pVar10.first = in_stack_00000004;\n  return pVar10;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "_Base_ptr p_Var2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "_Rb_tree_node_base *p_Var6;" type_identifier (pointer_declarator "*p_Var6" * identifier) ;) (declaration "_Base_ptr p_Var7;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *in_EDX;" type_identifier (pointer_declarator "*in_EDX" * identifier) ;) (declaration "_Base_ptr p_Var8;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var9;" type_identifier (pointer_declarator "*p_Var9" * 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) ;) (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*> pVar12;" (binary_expression "_Rb_tree_node_base*> pVar12" identifier * (ERROR ">" >) identifier) ;) (declaration "_Rb_tree_node_base *in_stack_00000004;" type_identifier (pointer_declarator "*in_stack_00000004" * identifier) ;) (declaration "_Rb_tree_node_base *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;" (assignment_expression "p_Var6 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent" identifier = (field_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_parent" (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (p_Var6 == (_Rb_tree_node_base *)0x0) {\n    local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }\n  else {\n    p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\n    do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = local_24;\n    if (!bVar5) goto LAB_00125f19;\n  }" if (parenthesized_expression "(p_Var6 == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var6 == (_Rb_tree_node_base *)0x0" identifier == (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;\n  }" { (expression_statement "local_24 = &(this->_M_impl).super__Rb_tree_header._M_header;" (assignment_expression "local_24 = &(this->_M_impl).super__Rb_tree_header._M_header" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header._M_header" & (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) }) (else_clause "else {\n    p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\n    do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = local_24;\n    if (!bVar5) goto LAB_00125f19;\n  }" else (compound_statement "{\n    p_Var9 = *(_Rb_tree_node_base **)&__k->first;\n    p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);\n    do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);\n    p_Var6 = local_24;\n    if (!bVar5) goto LAB_00125f19;\n  }" { (expression_statement "p_Var9 = *(_Rb_tree_node_base **)&__k->first;" (assignment_expression "p_Var9 = *(_Rb_tree_node_base **)&__k->first" identifier = (pointer_expression "*(_Rb_tree_node_base **)&__k->first" * (cast_expression "(_Rb_tree_node_base **)&__k->first" ( (type_descriptor "_Rb_tree_node_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&__k->first" & (field_expression "__k->first" identifier -> field_identifier))))) ;) (expression_statement "p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);" (assignment_expression "p_Var8 = *(_Base_ptr *)((int)&__k->first + 4)" identifier = (pointer_expression "*(_Base_ptr *)((int)&__k->first + 4)" * (cast_expression "(_Base_ptr *)((int)&__k->first + 4)" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__k->first + 4)" ( (binary_expression "(int)&__k->first + 4" (cast_expression "(int)&__k->first" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__k->first" & (field_expression "__k->first" identifier -> field_identifier))) + number_literal) ))))) ;) (do_statement "do {\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    } while (p_Var6 != (_Base_ptr)0x0);" do (compound_statement "{\n      local_24 = p_Var6;\n      in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;\n      p_Var7 = local_24[1]._M_parent;\n      if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }\n    }" { (expression_statement "local_24 = p_Var6;" (assignment_expression "local_24 = p_Var6" identifier = identifier) ;) (expression_statement "in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color;" (assignment_expression "in_EDX = (_Rb_tree_node_base *)local_24[1]._M_color" identifier = (cast_expression "(_Rb_tree_node_base *)local_24[1]._M_color" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_24[1]._M_color" (subscript_expression "local_24[1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "p_Var7 = local_24[1]._M_parent;" (assignment_expression "p_Var7 = local_24[1]._M_parent" identifier = (field_expression "local_24[1]._M_parent" (subscript_expression "local_24[1]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if ((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))) {\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }\n      else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }" if (parenthesized_expression "((p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left)))))" ( (binary_expression "(p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)) ||\n         ((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))" (parenthesized_expression "(p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX))" ( (binary_expression "p_Var8 < p_Var7 || (uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)" (binary_expression "p_Var8 < p_Var7" identifier < identifier) || (binary_expression "(uint)((int)p_Var8 - (int)p_Var7) < (uint)(p_Var9 < in_EDX)" (call_expression "(uint)((int)p_Var8 - (int)p_Var7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p_Var8 - (int)p_Var7)" ( (binary_expression "(int)p_Var8 - (int)p_Var7" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var7" ( (type_descriptor "int" primitive_type) ) identifier)) ))) < (call_expression "(uint)(p_Var9 < in_EDX)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(p_Var9 < in_EDX)" ( (binary_expression "p_Var9 < in_EDX" identifier < identifier) ))))) )) || (parenthesized_expression "((p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))))" ( (parenthesized_expression "(p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left)))" ( (binary_expression "p_Var7 == p_Var8 && in_EDX == p_Var9 &&\n          (p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))" (binary_expression "p_Var7 == p_Var8 && in_EDX == p_Var9" (binary_expression "p_Var7 == p_Var8" identifier == identifier) && (binary_expression "in_EDX == p_Var9" identifier == identifier)) && (parenthesized_expression "(p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left))" ( (comma_expression "p_Var2 = *(_Base_ptr *)((int)&__k->second + 4),\n          p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left)" (assignment_expression "p_Var2 = *(_Base_ptr *)((int)&__k->second + 4)" identifier = (pointer_expression "*(_Base_ptr *)((int)&__k->second + 4)" * (cast_expression "(_Base_ptr *)((int)&__k->second + 4)" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__k->second + 4)" ( (binary_expression "(int)&__k->second + 4" (cast_expression "(int)&__k->second" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__k->second" & (field_expression "__k->second" identifier -> field_identifier))) + number_literal) ))))) , (binary_expression "p_Var2 < local_24[1]._M_right ||\n          (uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left)" (binary_expression "p_Var2 < local_24[1]._M_right" identifier < (field_expression "local_24[1]._M_right" (subscript_expression "local_24[1]" identifier [ number_literal ]) . field_identifier)) || (binary_expression "(uint)((int)p_Var2 - (int)local_24[1]._M_right) <\n          (uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left)" (call_expression "(uint)((int)p_Var2 - (int)local_24[1]._M_right)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p_Var2 - (int)local_24[1]._M_right)" ( (binary_expression "(int)p_Var2 - (int)local_24[1]._M_right" (cast_expression "(int)p_Var2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_24[1]._M_right" ( (type_descriptor "int" primitive_type) ) (field_expression "local_24[1]._M_right" (subscript_expression "local_24[1]" identifier [ number_literal ]) . field_identifier))) ))) < (call_expression "(uint)(*(_Base_ptr *)&__k->second < local_24[1]._M_left)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(_Base_ptr *)&__k->second < local_24[1]._M_left)" ( (binary_expression "*(_Base_ptr *)&__k->second < local_24[1]._M_left" (pointer_expression "*(_Base_ptr *)&__k->second" * (cast_expression "(_Base_ptr *)&__k->second" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__k->second" & (field_expression "__k->second" identifier -> field_identifier)))) < (field_expression "local_24[1]._M_left" (subscript_expression "local_24[1]" identifier [ number_literal ]) . field_identifier)) )))))) ))) )) ))) )) (compound_statement "{\n        p_Var6 = local_24->_M_left;\n        bVar5 = true;\n      }" { (expression_statement "p_Var6 = local_24->_M_left;" (assignment_expression "p_Var6 = local_24->_M_left" identifier = (field_expression "local_24->_M_left" identifier -> field_identifier)) ;) (expression_statement "bVar5 = true;" (assignment_expression "bVar5 = true" identifier = true) ;) }) (else_clause "else {\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }" else (compound_statement "{\n        p_Var6 = local_24->_M_right;\n        bVar5 = false;\n      }" { (expression_statement "p_Var6 = local_24->_M_right;" (assignment_expression "p_Var6 = local_24->_M_right" identifier = (field_expression "local_24->_M_right" identifier -> field_identifier)) ;) (expression_statement "bVar5 = false;" (assignment_expression "bVar5 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(p_Var6 != (_Base_ptr)0x0)" ( (binary_expression "p_Var6 != (_Base_ptr)0x0" identifier != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (expression_statement "p_Var6 = local_24;" (assignment_expression "p_Var6 = local_24" identifier = identifier) ;) (if_statement "if (!bVar5) goto LAB_00125f19;" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (goto_statement "goto LAB_00125f19;" goto statement_identifier ;)) }))) (if_statement "if (local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = local_24;\n    pVar12.second = in_EDX;\n    pVar12.first = in_stack_00000004;\n    return pVar12;\n  }" if (parenthesized_expression "(local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left)" ( (binary_expression "local_24 == (this->_M_impl).super__Rb_tree_header._M_header._M_left" identifier == (field_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_left" (field_expression "(this->_M_impl).super__Rb_tree_header._M_header" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) )) (compound_statement "{\n    in_stack_00000004->_M_color = _S_red;\n    in_stack_00000004->_M_parent = local_24;\n    pVar12.second = in_EDX;\n    pVar12.first = in_stack_00000004;\n    return pVar12;\n  }" { (expression_statement "in_stack_00000004->_M_color = _S_red;" (assignment_expression "in_stack_00000004->_M_color = _S_red" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = identifier) ;) (expression_statement "in_stack_00000004->_M_parent = local_24;" (assignment_expression "in_stack_00000004->_M_parent = local_24" (field_expression "in_stack_00000004->_M_parent" identifier -> field_identifier) = identifier) ;) (expression_statement "pVar12.second = in_EDX;" (assignment_expression "pVar12.second = in_EDX" (field_expression "pVar12.second" identifier . field_identifier) = identifier) ;) (expression_statement "pVar12.first = in_stack_00000004;" (assignment_expression "pVar12.first = in_stack_00000004" (field_expression "pVar12.first" identifier . field_identifier) = identifier) ;) (return_statement "return pVar12;" return identifier ;) })) (expression_statement "p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(local_24);" (assignment_expression "p_Var6 = (_Rb_tree_node_base *)_Rb_tree_decrement(local_24)" identifier = (cast_expression "(_Rb_tree_node_base *)_Rb_tree_decrement(local_24)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_Rb_tree_decrement(local_24)" identifier (argument_list "(local_24)" ( identifier ))))) ;) (expression_statement "in_EDX = (_Rb_tree_node_base *)p_Var6[1]._M_color;" (assignment_expression "in_EDX = (_Rb_tree_node_base *)p_Var6[1]._M_color" identifier = (cast_expression "(_Rb_tree_node_base *)p_Var6[1]._M_color" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "p_Var7 = p_Var6[1]._M_parent;" (assignment_expression "p_Var7 = p_Var6[1]._M_parent" identifier = (field_expression "p_Var6[1]._M_parent" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var9 = *(_Rb_tree_node_base **)&__k->first;" (assignment_expression "p_Var9 = *(_Rb_tree_node_base **)&__k->first" identifier = (pointer_expression "*(_Rb_tree_node_base **)&__k->first" * (cast_expression "(_Rb_tree_node_base **)&__k->first" ( (type_descriptor "_Rb_tree_node_base **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&__k->first" & (field_expression "__k->first" identifier -> field_identifier))))) ;) (expression_statement "p_Var8 = *(_Base_ptr *)((int)&__k->first + 4);" (assignment_expression "p_Var8 = *(_Base_ptr *)((int)&__k->first + 4)" identifier = (pointer_expression "*(_Base_ptr *)((int)&__k->first + 4)" * (cast_expression "(_Base_ptr *)((int)&__k->first + 4)" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__k->first + 4)" ( (binary_expression "(int)&__k->first + 4" (cast_expression "(int)&__k->first" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__k->first" & (field_expression "__k->first" identifier -> field_identifier))) + number_literal) ))))) ;) (labeled_statement "LAB_00125f19:\n  if ((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))) {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar11.second = in_EDX;\n    pVar11.first = in_stack_00000004;\n    return pVar11;\n  }" statement_identifier : (if_statement "if ((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))) {\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar11.second = in_EDX;\n    pVar11.first = in_stack_00000004;\n    return pVar11;\n  }" if (parenthesized_expression "((p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4))))" ( (binary_expression "(p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)) &&\n     ((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))" (parenthesized_expression "(p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8))" ( (binary_expression "p_Var8 <= p_Var7 && (uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)" (binary_expression "p_Var8 <= p_Var7" identifier <= identifier) && (binary_expression "(uint)(in_EDX < p_Var9) <= (uint)((int)p_Var7 - (int)p_Var8)" (call_expression "(uint)(in_EDX < p_Var9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(in_EDX < p_Var9)" ( (binary_expression "in_EDX < p_Var9" identifier < identifier) ))) <= (call_expression "(uint)((int)p_Var7 - (int)p_Var8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p_Var7 - (int)p_Var8)" ( (binary_expression "(int)p_Var7 - (int)p_Var8" (cast_expression "(int)p_Var7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) )) && (parenthesized_expression "((in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)))" ( (parenthesized_expression "(in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4))" ( (comma_expression "in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9),\n      p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)" (assignment_expression "in_EDX = (_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9)" identifier = (cast_expression "(_Rb_tree_node_base *)((uint)in_EDX ^ (uint)p_Var9)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)in_EDX ^ (uint)p_Var9)" ( (binary_expression "(uint)in_EDX ^ (uint)p_Var9" (cast_expression "(uint)in_EDX" ( (type_descriptor "uint" type_identifier) ) identifier) ^ (cast_expression "(uint)p_Var9" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) , (binary_expression "p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0 ||\n      (puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)" (binary_expression "p_Var7 != p_Var8 || in_EDX != (_Rb_tree_node_base *)0x0" (binary_expression "p_Var7 != p_Var8" identifier != identifier) || (binary_expression "in_EDX != (_Rb_tree_node_base *)0x0" identifier != (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) || (parenthesized_expression "(puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4)" ( (comma_expression "puVar1 = (uint *)((int)&__k->second + 4),\n      uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4" (assignment_expression "puVar1 = (uint *)((int)&__k->second + 4)" identifier = (cast_expression "(uint *)((int)&__k->second + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&__k->second + 4)" ( (binary_expression "(int)&__k->second + 4" (cast_expression "(int)&__k->second" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&__k->second" & (field_expression "__k->second" identifier -> field_identifier))) + number_literal) )))) , (comma_expression "uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second),\n      uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4" (assignment_expression "uVar3 = (uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second)" identifier = (call_expression "(uint)(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(p_Var6[1]._M_left < *(_Base_ptr *)&__k->second)" ( (binary_expression "p_Var6[1]._M_left < *(_Base_ptr *)&__k->second" (field_expression "p_Var6[1]._M_left" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier) < (pointer_expression "*(_Base_ptr *)&__k->second" * (cast_expression "(_Base_ptr *)&__k->second" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__k->second" & (field_expression "__k->second" identifier -> field_identifier))))) )))) , (comma_expression "uVar4 = (int)p_Var6[1]._M_right - *puVar1, in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4" (assignment_expression "uVar4 = (int)p_Var6[1]._M_right - *puVar1" identifier = (binary_expression "(int)p_Var6[1]._M_right - *puVar1" (cast_expression "(int)p_Var6[1]._M_right" ( (type_descriptor "int" primitive_type) ) (field_expression "p_Var6[1]._M_right" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) - (pointer_expression "*puVar1" * identifier))) , (comma_expression "in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3),\n      (_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4" (assignment_expression "in_EDX = (_Rb_tree_node_base *)(uVar4 - uVar3)" identifier = (cast_expression "(_Rb_tree_node_base *)(uVar4 - uVar3)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar4 - uVar3)" ( (binary_expression "uVar4 - uVar3" identifier - identifier) )))) , (binary_expression "(_Base_ptr)*puVar1 <= p_Var6[1]._M_right && uVar3 <= uVar4" (binary_expression "(_Base_ptr)*puVar1 <= p_Var6[1]._M_right" (binary_expression "(_Base_ptr)*puVar1" (parenthesized_expression "(_Base_ptr)" ( identifier )) * identifier) <= (field_expression "p_Var6[1]._M_right" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) && (binary_expression "uVar3 <= uVar4" identifier <= identifier)))))) )))) )) ))) )) (compound_statement "{\n    in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;\n    in_stack_00000004->_M_parent = (_Base_ptr)0x0;\n    pVar11.second = in_EDX;\n    pVar11.first = in_stack_00000004;\n    return pVar11;\n  }" { (expression_statement "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6;" (assignment_expression "in_stack_00000004->_M_color = (_Rb_tree_color)p_Var6" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var6" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "in_stack_00000004->_M_parent = (_Base_ptr)0x0;" (assignment_expression "in_stack_00000004->_M_parent = (_Base_ptr)0x0" (field_expression "in_stack_00000004->_M_parent" identifier -> field_identifier) = (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) ;) (expression_statement "pVar11.second = in_EDX;" (assignment_expression "pVar11.second = in_EDX" (field_expression "pVar11.second" identifier . field_identifier) = identifier) ;) (expression_statement "pVar11.first = in_stack_00000004;" (assignment_expression "pVar11.first = in_stack_00000004" (field_expression "pVar11.first" identifier . field_identifier) = identifier) ;) (return_statement "return pVar11;" return identifier ;) }))) (expression_statement "in_stack_00000004->_M_color = _S_red;" (assignment_expression "in_stack_00000004->_M_color = _S_red" (field_expression "in_stack_00000004->_M_color" identifier -> field_identifier) = identifier) ;) (expression_statement "in_stack_00000004->_M_parent = local_24;" (assignment_expression "in_stack_00000004->_M_parent = local_24" (field_expression "in_stack_00000004->_M_parent" identifier -> field_identifier) = identifier) ;) (expression_statement "pVar10.second = in_EDX;" (assignment_expression "pVar10.second = in_EDX" (field_expression "pVar10.second" identifier . field_identifier) = identifier) ;) (expression_statement "pVar10.first = in_stack_00000004;" (assignment_expression "pVar10.first = in_stack_00000004" (field_expression "pVar10.first" identifier . field_identifier) = identifier) ;) (return_statement "return pVar10;" return identifier ;) })))
(translation_unit "undefined8 __regparm2\nFUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}\n\n" (function_definition "undefined8 __regparm2\nFUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "FUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)" identifier (parameter_list "(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) , (parameter_declaration "uint *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (if_statement "if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" if (parenthesized_expression "(*(int *)(param_4 + 8) == 0)" ( (binary_expression "*(int *)(param_4 + 8) == 0" (pointer_expression "*(int *)(param_4 + 8)" * (cast_expression "(int *)(param_4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    local_24 = param_4 + 4;\n  }" { (expression_statement "local_24 = param_4 + 4;" (assignment_expression "local_24 = param_4 + 4" identifier = (binary_expression "param_4 + 4" identifier + number_literal)) ;) }) (else_clause "else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" else (compound_statement "{\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" { (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar4 = param_5[1];" (assignment_expression "uVar4 = param_5[1]" identifier = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = *(int *)(param_4 + 8);" (assignment_expression "iVar2 = *(int *)(param_4 + 8)" identifier = (pointer_expression "*(int *)(param_4 + 8)" * (cast_expression "(int *)(param_4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 8)" ( (binary_expression "param_4 + 8" identifier + number_literal) ))))) ;) (do_statement "do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);" do (compound_statement "{\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    }" { (expression_statement "local_24 = iVar2;" (assignment_expression "local_24 = iVar2" identifier = identifier) ;) (expression_statement "param_2 = *(uint *)(local_24 + 0x10);" (assignment_expression "param_2 = *(uint *)(local_24 + 0x10)" identifier = (pointer_expression "*(uint *)(local_24 + 0x10)" * (cast_expression "(uint *)(local_24 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x10)" ( (binary_expression "local_24 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(local_24 + 0x14);" (assignment_expression "uVar3 = *(uint *)(local_24 + 0x14)" identifier = (pointer_expression "*(uint *)(local_24 + 0x14)" * (cast_expression "(uint *)(local_24 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x14)" ( (binary_expression "local_24 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" if (parenthesized_expression "((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          ))))" ( (binary_expression "(uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))" (parenthesized_expression "(uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2))" ( (binary_expression "uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)" (binary_expression "uVar4 < uVar3" identifier < identifier) || (binary_expression "uVar4 - uVar3 < (uint)(uVar5 < param_2)" (binary_expression "uVar4 - uVar3" identifier - identifier) < (call_expression "(uint)(uVar5 < param_2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar5 < param_2)" ( (binary_expression "uVar5 < param_2" identifier < identifier) ))))) )) || (parenthesized_expression "((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))" ( (parenthesized_expression "(uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          ))" ( (binary_expression "uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )" (binary_expression "uVar3 == uVar4 && param_2 == uVar5" (binary_expression "uVar3 == uVar4" identifier == identifier) && (binary_expression "param_2 == uVar5" identifier == identifier)) && (parenthesized_expression "(param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )" ( (binary_expression "param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (binary_expression "param_5[3] < *(uint *)(local_24 + 0x1c)" (subscript_expression "param_5[3]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(local_24 + 0x1c)" * (cast_expression "(uint *)(local_24 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x1c)" ( (binary_expression "local_24 + 0x1c" identifier + number_literal) ))))) || (binary_expression "param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (binary_expression "param_5[3] - *(uint *)(local_24 + 0x1c)" (subscript_expression "param_5[3]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(local_24 + 0x1c)" * (cast_expression "(uint *)(local_24 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x1c)" ( (binary_expression "local_24 + 0x1c" identifier + number_literal) ))))) < (call_expression "(uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_5[2] < *(uint *)(local_24 + 0x18))" ( (binary_expression "param_5[2] < *(uint *)(local_24 + 0x18)" (subscript_expression "param_5[2]" identifier [ number_literal ]) < (pointer_expression "*(uint *)(local_24 + 0x18)" * (cast_expression "(uint *)(local_24 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0x18)" ( (binary_expression "local_24 + 0x18" identifier + number_literal) ))))) ))))) ))) )) ))) )) (compound_statement "{\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }" { (expression_statement "iVar2 = *(int *)(local_24 + 8);" (assignment_expression "iVar2 = *(int *)(local_24 + 8)" identifier = (pointer_expression "*(int *)(local_24 + 8)" * (cast_expression "(int *)(local_24 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 8)" ( (binary_expression "local_24 + 8" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" else (compound_statement "{\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" { (expression_statement "iVar2 = *(int *)(local_24 + 0xc);" (assignment_expression "iVar2 = *(int *)(local_24 + 0xc)" identifier = (pointer_expression "*(int *)(local_24 + 0xc)" * (cast_expression "(int *)(local_24 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_24 + 0xc)" ( (binary_expression "local_24 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) }))) }) while (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) ;) (expression_statement "iVar2 = local_24;" (assignment_expression "iVar2 = local_24" identifier = identifier) ;) (if_statement "if (!bVar1) goto LAB_00125f19;" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (goto_statement "goto LAB_00125f19;" goto statement_identifier ;)) }))) (if_statement "if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }" if (parenthesized_expression "(local_24 == *(int *)(param_4 + 0xc))" ( (binary_expression "local_24 == *(int *)(param_4 + 0xc)" identifier == (pointer_expression "*(int *)(param_4 + 0xc)" * (cast_expression "(int *)(param_4 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0xc)" ( (binary_expression "param_4 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }" { (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[1] = local_24;" (assignment_expression "param_3[1] = local_24" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return CONCAT44(param_2,param_3);" return (call_expression "CONCAT44(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) })) (expression_statement "iVar2 = FUN_001adab0(local_24);" (assignment_expression "iVar2 = FUN_001adab0(local_24)" identifier = (call_expression "FUN_001adab0(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;) (expression_statement "param_2 = *(uint *)(iVar2 + 0x10);" (assignment_expression "param_2 = *(uint *)(iVar2 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x10)" * (cast_expression "(uint *)(iVar2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(uint *)(iVar2 + 0x14);" (assignment_expression "uVar3 = *(uint *)(iVar2 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar2 + 0x14)" * (cast_expression "(uint *)(iVar2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "uVar4 = param_5[1];" (assignment_expression "uVar4 = param_5[1]" identifier = (subscript_expression "param_5[1]" identifier [ number_literal ])) ;) (labeled_statement "LAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" statement_identifier : (if_statement "if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" if (parenthesized_expression "((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4))))" ( (binary_expression "(uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4)" ( (binary_expression "uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" identifier <= identifier) && (binary_expression "(uint)(param_2 < uVar5) <= uVar3 - uVar4" (call_expression "(uint)(param_2 < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 < uVar5)" ( (binary_expression "param_2 < uVar5" identifier < identifier) ))) <= (binary_expression "uVar3 - uVar4" identifier - identifier))) )) && (parenthesized_expression "((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))" ( (parenthesized_expression "(param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4))" ( (comma_expression "param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (assignment_expression "param_2 = param_2 ^ uVar5" identifier = (binary_expression "param_2 ^ uVar5" identifier ^ identifier)) , (binary_expression "uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (binary_expression "uVar3 != uVar4 || param_2 != 0" (binary_expression "uVar3 != uVar4" identifier != identifier) || (binary_expression "param_2 != 0" identifier != number_literal)) || (parenthesized_expression "(uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" ( (comma_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2])" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 0x18) < param_5[2])" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x18) < param_5[2])" ( (binary_expression "*(uint *)(iVar2 + 0x18) < param_5[2]" (pointer_expression "*(uint *)(iVar2 + 0x18)" * (cast_expression "(uint *)(iVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) < (subscript_expression "param_5[2]" identifier [ number_literal ])) )))) , (comma_expression "uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3]" identifier = (binary_expression "*(uint *)(iVar2 + 0x1c) - param_5[3]" (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) - (subscript_expression "param_5[3]" identifier [ number_literal ]))) , (comma_expression "param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "param_2 = uVar4 - uVar5" identifier = (binary_expression "uVar4 - uVar5" identifier - identifier)) , (binary_expression "param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (binary_expression "param_5[3] <= *(uint *)(iVar2 + 0x1c)" (subscript_expression "param_5[3]" identifier [ number_literal ]) <= (pointer_expression "*(uint *)(iVar2 + 0x1c)" * (cast_expression "(uint *)(iVar2 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) ))))) && (binary_expression "uVar5 <= uVar4" identifier <= identifier))))) )))) )) ))) )) (compound_statement "{\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" { (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return CONCAT44(param_2,param_3);" return (call_expression "CONCAT44(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) }))) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[1] = local_24;" (assignment_expression "param_3[1] = local_24" (subscript_expression "param_3[1]" identifier [ number_literal ]) = identifier) ;) (return_statement "return CONCAT44(param_2,param_3);" return (call_expression "CONCAT44(param_2,param_3)" identifier (argument_list "(param_2,param_3)" ( identifier , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = (subscript_expression IDENT [ LIT ])) ;) (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) ))))) ;) (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 (parenthesized_expression ( (binary_expression (binary_expression IDENT < IDENT) || (binary_expression (binary_expression IDENT - IDENT) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT == IDENT) && (binary_expression IDENT == IDENT)) && (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (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) ))))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (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 (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) && (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) <= (binary_expression IDENT - IDENT))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT ^ IDENT)) , (binary_expression (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != LIT)) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (subscript_expression IDENT [ LIT ])) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (subscript_expression IDENT [ LIT ]))) , (comma_expression (assignment_expression IDENT = (binary_expression IDENT - IDENT)) , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) && (binary_expression IDENT <= IDENT))))) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })))
(function_definition "undefined8 __regparm2\nFUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)\n\n{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}" (type_identifier "undefined8") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_00125e90(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)" (identifier "FUN_00125e90") (parameter_list "(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) (, ",") (parameter_declaration "uint *param_5" (type_identifier "uint") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  int local_24;\n  \n  if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }\n  if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }\n  iVar2 = FUN_001adab0(local_24);\n  param_2 = *(uint *)(iVar2 + 0x10);\n  uVar3 = *(uint *)(iVar2 + 0x14);\n  uVar5 = *param_5;\n  uVar4 = param_5[1];\nLAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }\n  *param_3 = 0;\n  param_3[1] = local_24;\n  return CONCAT44(param_2,param_3);\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (if_statement "if (*(int *)(param_4 + 8) == 0) {\n    local_24 = param_4 + 4;\n  }\n  else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_4 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_4 + 8) == 0" (pointer_expression "*(int *)(param_4 + 8)" (* "*") (cast_expression "(int *)(param_4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    local_24 = param_4 + 4;\n  }" ({ "{") (expression_statement "local_24 = param_4 + 4;" (assignment_expression "local_24 = param_4 + 4" (identifier "local_24") (= "=") (binary_expression "param_4 + 4" (identifier "param_4") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else {\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" (else "else") (compound_statement "{\n    uVar5 = *param_5;\n    uVar4 = param_5[1];\n    iVar2 = *(int *)(param_4 + 8);\n    do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);\n    iVar2 = local_24;\n    if (!bVar1) goto LAB_00125f19;\n  }" ({ "{") (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" (identifier "uVar5") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "uVar4 = param_5[1];" (assignment_expression "uVar4 = param_5[1]" (identifier "uVar4") (= "=") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_4 + 8);" (assignment_expression "iVar2 = *(int *)(param_4 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_4 + 8)" (* "*") (cast_expression "(int *)(param_4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 8)" (( "(") (binary_expression "param_4 + 8" (identifier "param_4") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (do_statement "do {\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    } while (iVar2 != 0);" (do "do") (compound_statement "{\n      local_24 = iVar2;\n      param_2 = *(uint *)(local_24 + 0x10);\n      uVar3 = *(uint *)(local_24 + 0x14);\n      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }\n    }" ({ "{") (expression_statement "local_24 = iVar2;" (assignment_expression "local_24 = iVar2" (identifier "local_24") (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_2 = *(uint *)(local_24 + 0x10);" (assignment_expression "param_2 = *(uint *)(local_24 + 0x10)" (identifier "param_2") (= "=") (pointer_expression "*(uint *)(local_24 + 0x10)" (* "*") (cast_expression "(uint *)(local_24 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x10)" (( "(") (binary_expression "local_24 + 0x10" (identifier "local_24") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(uint *)(local_24 + 0x14);" (assignment_expression "uVar3 = *(uint *)(local_24 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(local_24 + 0x14)" (* "*") (cast_expression "(uint *)(local_24 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x14)" (( "(") (binary_expression "local_24 + 0x14" (identifier "local_24") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))) {\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }\n      else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" (if "if") (parenthesized_expression "((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          ))))" (( "(") (binary_expression "(uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||\n         ((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))" (parenthesized_expression "(uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2))" (( "(") (binary_expression "uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)" (binary_expression "uVar4 < uVar3" (identifier "uVar4") (< "<") (identifier "uVar3")) (|| "||") (binary_expression "uVar4 - uVar3 < (uint)(uVar5 < param_2)" (binary_expression "uVar4 - uVar3" (identifier "uVar4") (- "-") (identifier "uVar3")) (< "<") (call_expression "(uint)(uVar5 < param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar5 < param_2)" (( "(") (binary_expression "uVar5 < param_2" (identifier "uVar5") (< "<") (identifier "param_2")) () ")"))))) () ")")) (|| "||") (parenthesized_expression "((uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )))" (( "(") (parenthesized_expression "(uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          ))" (( "(") (binary_expression "uVar3 == uVar4 && param_2 == uVar5 &&\n          (param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )" (binary_expression "uVar3 == uVar4 && param_2 == uVar5" (binary_expression "uVar3 == uVar4" (identifier "uVar3") (== "==") (identifier "uVar4")) (&& "&&") (binary_expression "param_2 == uVar5" (identifier "param_2") (== "==") (identifier "uVar5"))) (&& "&&") (parenthesized_expression "(param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))\n          )" (( "(") (binary_expression "param_5[3] < *(uint *)(local_24 + 0x1c) ||\n           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (binary_expression "param_5[3] < *(uint *)(local_24 + 0x1c)" (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (< "<") (pointer_expression "*(uint *)(local_24 + 0x1c)" (* "*") (cast_expression "(uint *)(local_24 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x1c)" (( "(") (binary_expression "local_24 + 0x1c" (identifier "local_24") (+ "+") (number_literal "0x1c")) () ")"))))) (|| "||") (binary_expression "param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (binary_expression "param_5[3] - *(uint *)(local_24 + 0x1c)" (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (- "-") (pointer_expression "*(uint *)(local_24 + 0x1c)" (* "*") (cast_expression "(uint *)(local_24 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x1c)" (( "(") (binary_expression "local_24 + 0x1c" (identifier "local_24") (+ "+") (number_literal "0x1c")) () ")"))))) (< "<") (call_expression "(uint)(param_5[2] < *(uint *)(local_24 + 0x18))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_5[2] < *(uint *)(local_24 + 0x18))" (( "(") (binary_expression "param_5[2] < *(uint *)(local_24 + 0x18)" (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]")) (< "<") (pointer_expression "*(uint *)(local_24 + 0x18)" (* "*") (cast_expression "(uint *)(local_24 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0x18)" (( "(") (binary_expression "local_24 + 0x18" (identifier "local_24") (+ "+") (number_literal "0x18")) () ")"))))) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        iVar2 = *(int *)(local_24 + 8);\n        bVar1 = true;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(local_24 + 8);" (assignment_expression "iVar2 = *(int *)(local_24 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(local_24 + 8)" (* "*") (cast_expression "(int *)(local_24 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 8)" (( "(") (binary_expression "local_24 + 8" (identifier "local_24") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" (else "else") (compound_statement "{\n        iVar2 = *(int *)(local_24 + 0xc);\n        bVar1 = false;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(local_24 + 0xc);" (assignment_expression "iVar2 = *(int *)(local_24 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(local_24 + 0xc)" (* "*") (cast_expression "(int *)(local_24 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_24 + 0xc)" (( "(") (binary_expression "local_24 + 0xc" (identifier "local_24") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar2 = local_24;" (assignment_expression "iVar2 = local_24" (identifier "iVar2") (= "=") (identifier "local_24")) (; ";")) (if_statement "if (!bVar1) goto LAB_00125f19;" (if "if") (parenthesized_expression "(!bVar1)" (( "(") (unary_expression "!bVar1" (! "!") (identifier "bVar1")) () ")")) (goto_statement "goto LAB_00125f19;" (goto "goto") (statement_identifier "LAB_00125f19") (; ";"))) (} "}")))) (if_statement "if (local_24 == *(int *)(param_4 + 0xc)) {\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)(param_4 + 0xc))" (( "(") (binary_expression "local_24 == *(int *)(param_4 + 0xc)" (identifier "local_24") (== "==") (pointer_expression "*(int *)(param_4 + 0xc)" (* "*") (cast_expression "(int *)(param_4 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0xc)" (( "(") (binary_expression "param_4 + 0xc" (identifier "param_4") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n    *param_3 = 0;\n    param_3[1] = local_24;\n    return CONCAT44(param_2,param_3);\n  }" ({ "{") (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[1] = local_24;" (assignment_expression "param_3[1] = local_24" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_24")) (; ";")) (return_statement "return CONCAT44(param_2,param_3);" (return "return") (call_expression "CONCAT44(param_2,param_3)" (identifier "CONCAT44") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_001adab0(local_24);" (assignment_expression "iVar2 = FUN_001adab0(local_24)" (identifier "iVar2") (= "=") (call_expression "FUN_001adab0(local_24)" (identifier "FUN_001adab0") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";")) (expression_statement "param_2 = *(uint *)(iVar2 + 0x10);" (assignment_expression "param_2 = *(uint *)(iVar2 + 0x10)" (identifier "param_2") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x10)" (* "*") (cast_expression "(uint *)(iVar2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(uint *)(iVar2 + 0x14);" (assignment_expression "uVar3 = *(uint *)(iVar2 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(uint *)(iVar2 + 0x14)" (* "*") (cast_expression "(uint *)(iVar2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar5 = *param_5;" (assignment_expression "uVar5 = *param_5" (identifier "uVar5") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "uVar4 = param_5[1];" (assignment_expression "uVar4 = param_5[1]" (identifier "uVar4") (= "=") (subscript_expression "param_5[1]" (identifier "param_5") ([ "[") (number_literal "1") (] "]"))) (; ";")) (labeled_statement "LAB_00125f19:\n  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" (statement_identifier "LAB_00125f19") (: ":") (if_statement "if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" (if "if") (parenthesized_expression "((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4))))" (( "(") (binary_expression "(uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&\n     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))" (parenthesized_expression "(uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4)" (( "(") (binary_expression "uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4" (binary_expression "uVar4 <= uVar3" (identifier "uVar4") (<= "<=") (identifier "uVar3")) (&& "&&") (binary_expression "(uint)(param_2 < uVar5) <= uVar3 - uVar4" (call_expression "(uint)(param_2 < uVar5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 < uVar5)" (( "(") (binary_expression "param_2 < uVar5" (identifier "param_2") (< "<") (identifier "uVar5")) () ")"))) (<= "<=") (binary_expression "uVar3 - uVar4" (identifier "uVar3") (- "-") (identifier "uVar4")))) () ")")) (&& "&&") (parenthesized_expression "((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))" (( "(") (parenthesized_expression "(param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4))" (( "(") (comma_expression "param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (assignment_expression "param_2 = param_2 ^ uVar5" (identifier "param_2") (= "=") (binary_expression "param_2 ^ uVar5" (identifier "param_2") (^ "^") (identifier "uVar5"))) (, ",") (binary_expression "uVar3 != uVar4 || param_2 != 0 ||\n      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (binary_expression "uVar3 != uVar4 || param_2 != 0" (binary_expression "uVar3 != uVar4" (identifier "uVar3") (!= "!=") (identifier "uVar4")) (|| "||") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0"))) (|| "||") (parenthesized_expression "(uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)" (( "(") (comma_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),\n      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2])" (identifier "uVar5") (= "=") (call_expression "(uint)(*(uint *)(iVar2 + 0x18) < param_5[2])" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar2 + 0x18) < param_5[2])" (( "(") (binary_expression "*(uint *)(iVar2 + 0x18) < param_5[2]" (pointer_expression "*(uint *)(iVar2 + 0x18)" (* "*") (cast_expression "(uint *)(iVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (subscript_expression "param_5[2]" (identifier "param_5") ([ "[") (number_literal "2") (] "]"))) () ")")))) (, ",") (comma_expression "uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3]" (identifier "uVar4") (= "=") (binary_expression "*(uint *)(iVar2 + 0x1c) - param_5[3]" (pointer_expression "*(uint *)(iVar2 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (- "-") (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")))) (, ",") (comma_expression "param_2 = uVar4 - uVar5,\n      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (assignment_expression "param_2 = uVar4 - uVar5" (identifier "param_2") (= "=") (binary_expression "uVar4 - uVar5" (identifier "uVar4") (- "-") (identifier "uVar5"))) (, ",") (binary_expression "param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4" (binary_expression "param_5[3] <= *(uint *)(iVar2 + 0x1c)" (subscript_expression "param_5[3]" (identifier "param_5") ([ "[") (number_literal "3") (] "]")) (<= "<=") (pointer_expression "*(uint *)(iVar2 + 0x1c)" (* "*") (cast_expression "(uint *)(iVar2 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")"))))) (&& "&&") (binary_expression "uVar5 <= uVar4" (identifier "uVar5") (<= "<=") (identifier "uVar4")))))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    *param_3 = iVar2;\n    param_3[1] = 0;\n    return CONCAT44(param_2,param_3);\n  }" ({ "{") (expression_statement "*param_3 = iVar2;" (assignment_expression "*param_3 = iVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return CONCAT44(param_2,param_3);" (return "return") (call_expression "CONCAT44(param_2,param_3)" (identifier "CONCAT44") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[1] = local_24;" (assignment_expression "param_3[1] = local_24" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_24")) (; ";")) (return_statement "return CONCAT44(param_2,param_3);" (return "return") (call_expression "CONCAT44(param_2,param_3)" (identifier "CONCAT44") (argument_list "(param_2,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*>
   _M_get_insert_unique_pos(_Rb_tree<std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::_Select1st<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>,_std::less<std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_unsigned_int,_long_long_unsigned_int>,_std::pair<long_long_unsigned_int,_long_long_unsigned_int>_>_>_>
   * this, key_type * __k) */

pair<type_1::type_8*,type_4::type_8*> __thiscall
type_1::
type_2<type_1::pair<long_long_unsigned_int,type_3>,type_4::pair<const_std::pair<long_long_unsigned_int,type_3>,type_4::pair<long_long_unsigned_int,type_3>_>,type_4::_Select1st<type_1::pair<const_std::pair<long_long_unsigned_int,type_3>,type_4::pair<long_long_unsigned_int,type_3>_>_>,type_4::less<type_1::pair<long_long_unsigned_int,type_3>_>,type_4::allocator<type_1::pair<const_std::pair<long_long_unsigned_int,type_3>,type_4::pair<long_long_unsigned_int,type_3>_>_>_>
::function_1
          (type_2<type_1::pair<long_long_unsigned_int,type_3>,type_4::pair<const_std::pair<long_long_unsigned_int,type_3>,type_4::pair<long_long_unsigned_int,type_3>_>,type_4::_Select1st<type_1::pair<const_std::pair<long_long_unsigned_int,type_3>,type_4::pair<long_long_unsigned_int,type_3>_>_>,type_4::less<type_1::pair<long_long_unsigned_int,type_3>_>,type_4::allocator<type_1::pair<const_std::pair<long_long_unsigned_int,type_3>,type_4::pair<long_long_unsigned_int,type_3>_>_>_>
           *this,type_5 *__k)

{
  type_6 *var_14;
  type_7 var_9;
  type_6 var_13;
  type_6 var_12;
  bool bVar5;
  type_8 *var_4;
  type_7 var_6;
  type_8 *var_8;
  type_7 var_5;
  type_8 *var_7;
  pair<type_1::type_8*,type_4::type_8*> var_1;
  pair<type_1::type_8*,type_4::type_8*> var_2;
  pair<type_1::type_8*,type_4::type_8*> var_3;
  type_8 *in_stack_00000004;
  type_8 *var_10;
  
  var_4 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  if (var_4 == (type_8 *)0x0) {
    var_10 = &(this->_M_impl).super__Rb_tree_header._M_header;
  }
  else {
    var_7 = *(type_8 **)&__k->first;
    var_5 = *(type_7 *)((int)&__k->first + 4);
    do {
      var_10 = var_4;
      var_8 = (type_8 *)var_10[1]._M_color;
      var_6 = var_10[1]._M_parent;
      if ((var_5 < var_6 || (type_6)((int)var_5 - (int)var_6) < (type_6)(var_7 < var_8)) ||
         ((var_6 == var_5 && var_8 == var_7 &&
          (var_9 = *(type_7 *)((int)&__k->second + 4),
          var_9 < var_10[1]._M_right ||
          (type_6)((int)var_9 - (int)var_10[1]._M_right) <
          (type_6)(*(type_7 *)&__k->second < var_10[1]._M_left))))) {
        var_4 = var_10->_M_left;
        bVar5 = true;
      }
      else {
        var_4 = var_10->_M_right;
        bVar5 = false;
      }
    } while (var_4 != (type_7)0x0);
    var_4 = var_10;
    if (!bVar5) goto LAB_00125f19;
  }
  if (var_10 == (this->_M_impl).super__Rb_tree_header._M_header._M_left) {
    in_stack_00000004->_M_color = _S_red;
    in_stack_00000004->_M_parent = var_10;
    var_3.second = var_8;
    var_3.first = in_stack_00000004;
    return var_3;
  }
  var_4 = (type_8 *)var_11(var_10);
  var_8 = (type_8 *)var_4[1]._M_color;
  var_6 = var_4[1]._M_parent;
  var_7 = *(type_8 **)&__k->first;
  var_5 = *(type_7 *)((int)&__k->first + 4);
LAB_00125f19:
  if ((var_5 <= var_6 && (type_6)(var_8 < var_7) <= (type_6)((int)var_6 - (int)var_5)) &&
     ((var_8 = (type_8 *)((type_6)var_8 ^ (type_6)var_7),
      var_6 != var_5 || var_8 != (type_8 *)0x0 ||
      (var_14 = (type_6 *)((int)&__k->second + 4),
      var_13 = (type_6)(var_4[1]._M_left < *(type_7 *)&__k->second),
      var_12 = (int)var_4[1]._M_right - *var_14, var_8 = (type_8 *)(var_12 - var_13),
      (type_7)*var_14 <= var_4[1]._M_right && var_13 <= var_12)))) {
    in_stack_00000004->_M_color = (type_9)var_4;
    in_stack_00000004->_M_parent = (type_7)0x0;
    var_2.second = var_8;
    var_2.first = in_stack_00000004;
    return var_2;
  }
  in_stack_00000004->_M_color = _S_red;
  in_stack_00000004->_M_parent = var_10;
  var_1.second = var_8;
  var_1.first = in_stack_00000004;
  return var_1;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (subscript_expression argument: (identifier) index: (number_literal)))) (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))))))) (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: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (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)))))) right: (binary_expression left: (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)))))) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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))))))) (expression_statement (assignment_expression left: (identifier) right: (true)))) alternative: (else_clause (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))))))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (binary_expression left: (identifier) right: (identifier))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (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))))) right: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (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))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) right: (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))) right: (binary_expression left: (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)))))) right: (binary_expression left: (identifier) right: (identifier))))))))))))) 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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined8 __regparm2
MASKED(undefined4 param_1,uint param_2,int *param_3,int param_4,uint *param_5)

{
  bool bVar1;
  int iVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  int local_24;
  
  if (*(int *)(param_4 + 8) == 0) {
    local_24 = param_4 + 4;
  }
  else {
    uVar5 = *param_5;
    uVar4 = param_5[1];
    iVar2 = *(int *)(param_4 + 8);
    do {
      local_24 = iVar2;
      param_2 = *(uint *)(local_24 + 0x10);
      uVar3 = *(uint *)(local_24 + 0x14);
      if ((uVar4 < uVar3 || uVar4 - uVar3 < (uint)(uVar5 < param_2)) ||
         ((uVar3 == uVar4 && param_2 == uVar5 &&
          (param_5[3] < *(uint *)(local_24 + 0x1c) ||
           param_5[3] - *(uint *)(local_24 + 0x1c) < (uint)(param_5[2] < *(uint *)(local_24 + 0x18))
          )))) {
        iVar2 = *(int *)(local_24 + 8);
        bVar1 = true;
      }
      else {
        iVar2 = *(int *)(local_24 + 0xc);
        bVar1 = false;
      }
    } while (iVar2 != 0);
    iVar2 = local_24;
    if (!bVar1) goto LAB_00125f19;
  }
  if (local_24 == *(int *)(param_4 + 0xc)) {
    *param_3 = 0;
    param_3[1] = local_24;
    return CONCAT44(param_2,param_3);
  }
  iVar2 = FUN_001adab0(local_24);
  param_2 = *(uint *)(iVar2 + 0x10);
  uVar3 = *(uint *)(iVar2 + 0x14);
  uVar5 = *param_5;
  uVar4 = param_5[1];
LAB_00125f19:
  if ((uVar4 <= uVar3 && (uint)(param_2 < uVar5) <= uVar3 - uVar4) &&
     ((param_2 = param_2 ^ uVar5, uVar3 != uVar4 || param_2 != 0 ||
      (uVar5 = (uint)(*(uint *)(iVar2 + 0x18) < param_5[2]),
      uVar4 = *(uint *)(iVar2 + 0x1c) - param_5[3], param_2 = uVar4 - uVar5,
      param_5[3] <= *(uint *)(iVar2 + 0x1c) && uVar5 <= uVar4)))) {
    *param_3 = iVar2;
    param_3[1] = 0;
    return CONCAT44(param_2,param_3);
  }
  *param_3 = 0;
  param_3[1] = local_24;
  return CONCAT44(param_2,param_3);
}

