
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original name: _M_emplace_unique<std::pair<std::pair<long long int, unsigned int>,
   gold::File_read::View*> >
   DWARF original prototype:
   pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>
   _M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>(_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>
   * this, pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*> * __args#0) */

pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>
 __thiscall
std::
_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>
::_M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>
          (_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>
           *this,pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*> *__args_0)

{
  size_t *psVar1;
  View *pVVar2;
  _Base_ptr p_Var3;
  uint uVar4;
  _Rb_tree_node_base *p_Var5;
  _Rb_tree_node_base *p_Var6;
  _Rb_tree_header *p_Var7;
  _Base_ptr p_Var8;
  undefined4 extraout_EDX;
  undefined4 extraout_EDX_00;
  _Rb_tree_node_base *p_Var9;
  bool bVar10;
  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>
  pVar11;
  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>
  pVar12;
  _Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>
  in_stack_00000004;
  _Rb_tree_color local_30;
  _Rb_tree_color local_24;
  _Base_ptr local_20;
  
  p_Var5 = (_Rb_tree_node_base *)operator_new(0x20);
  p_Var8 = (_Base_ptr)(__args_0->first).second;
  local_24 = (_Rb_tree_color)(__args_0->first).first;
  p_Var5[1]._M_color = local_24;
  local_20 = *(_Base_ptr *)((int)&(__args_0->first).first + 4);
  p_Var5[1]._M_left = p_Var8;
  pVVar2 = __args_0->second;
  p_Var5[1]._M_parent = local_20;
  p_Var5[1]._M_right = (_Base_ptr)pVVar2;
  p_Var9 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  p_Var7 = &(this->_M_impl).super__Rb_tree_header;
  p_Var6 = &p_Var7->_M_header;
  if (p_Var9 == (_Rb_tree_node_base *)0x0) {
LAB_0005ef1c:
    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;
    p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);
    local_24 = p_Var5[1]._M_color;
    p_Var8 = p_Var9[1]._M_parent;
    local_20 = p_Var5[1]._M_parent;
    local_30 = p_Var9[1]._M_color;
  }
  else {
    do {
      p_Var6 = p_Var9;
      local_30 = p_Var6[1]._M_color;
      p_Var8 = p_Var6[1]._M_parent;
      if (((SBORROW4((int)local_20,(int)p_Var8) !=
           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==
           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&
         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))
      {
        p_Var9 = p_Var6->_M_right;
        bVar10 = false;
      }
      else {
        p_Var9 = p_Var6->_M_left;
        bVar10 = true;
      }
    } while (p_Var9 != (_Base_ptr)0x0);
    p_Var9 = p_Var6;
    if (bVar10) goto LAB_0005ef1c;
  }
  if (((SBORROW4((int)p_Var8,(int)local_20) !=
       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=
       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||
     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))) {
    if (p_Var6 != (_Rb_tree_node_base *)0x0) {
joined_r0x0005ee9a:
      bVar10 = true;
      if (p_Var7 != (_Rb_tree_header *)p_Var6) {
        bVar10 = true;
        p_Var8 = p_Var5[1]._M_parent;
        p_Var3 = p_Var6[1]._M_parent;
        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);
        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==
             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&
           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {
          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;
        }
      }
      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);
      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;
      *psVar1 = *psVar1 + 1;
      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;
      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;
      pVar11._4_4_ = extraout_EDX;
      pVar11.first._M_node = in_stack_00000004._M_node;
      return pVar11;
    }
    p_Var9 = (_Rb_tree_node_base *)0x0;
  }
  operator_delete(p_Var5);
  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var9;
  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;
  pVar12._4_4_ = extraout_EDX_00;
  pVar12.first._M_node = in_stack_00000004._M_node;
  return pVar12;
}



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

int * FUN_0005edd0(int *param_1,int param_2,uint *param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  uint local_30;
  uint local_24;
  uint local_20;
  
  iVar2 = FUN_0017ebf0(0x20);
  uVar5 = param_3[2];
  local_24 = *param_3;
  *(uint *)(iVar2 + 0x10) = local_24;
  local_20 = param_3[1];
  *(uint *)(iVar2 + 0x18) = uVar5;
  uVar5 = param_3[3];
  *(uint *)(iVar2 + 0x14) = local_20;
  *(uint *)(iVar2 + 0x1c) = uVar5;
  iVar4 = param_2 + 4;
  iVar6 = *(int *)(param_2 + 8);
  iVar3 = iVar4;
  if (*(int *)(param_2 + 8) == 0) {
LAB_0005ef1c:
    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;
    iVar6 = FUN_00181de0(iVar3);
    local_24 = *(uint *)(iVar2 + 0x10);
    uVar5 = *(uint *)(iVar6 + 0x14);
    local_20 = *(uint *)(iVar2 + 0x14);
    local_30 = *(uint *)(iVar6 + 0x10);
  }
  else {
    do {
      iVar3 = iVar6;
      local_30 = *(uint *)(iVar3 + 0x10);
      uVar5 = *(uint *)(iVar3 + 0x14);
      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==
           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&
         ((local_20 != uVar5 || local_30 != local_24 ||
          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {
        iVar6 = *(int *)(iVar3 + 0xc);
        bVar7 = false;
      }
      else {
        iVar6 = *(int *)(iVar3 + 8);
        bVar7 = true;
      }
    } while (iVar6 != 0);
    iVar6 = iVar3;
    if (bVar7) goto LAB_0005ef1c;
  }
  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=
       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||
     ((uVar5 == local_20 && local_30 == local_24 &&
      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {
    if (iVar3 != 0) {
joined_r0x0005ee9a:
      bVar7 = true;
      if (iVar4 != iVar3) {
        bVar7 = true;
        iVar6 = *(int *)(iVar2 + 0x14);
        iVar1 = *(int *)(iVar3 + 0x14);
        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));
        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==
             (int)((iVar6 - iVar1) - uVar5) < 0) &&
           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {
          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);
        }
      }
      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);
      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;
      *param_1 = iVar2;
      *(undefined1 *)(param_1 + 1) = 1;
      return param_1;
    }
    iVar6 = 0;
  }
  FUN_001807a0(iVar2);
  *param_1 = iVar6;
  *(undefined1 *)(param_1 + 1) = 0;
  return param_1;
}


CALL 0x0004fb76
ADD EAX,0x2a322b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x38
MOV EBX,EAX
MOV ESI,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x20],EAX
PUSH 0x20
CALL 0x0017ebf0
MOV EDX,dword ptr [ESI + 0x8]
MOV ECX,dword ptr [ESI]
MOV EDI,EAX
MOV dword ptr [EAX + 0x10],ECX
MOV EAX,dword ptr [ESI + 0x4]
MOV dword ptr [EDI + 0x18],EDX
MOV EDX,dword ptr [ESI + 0xc]
MOV dword ptr [EDI + 0x14],EAX
MOV dword ptr [EDI + 0x1c],EDX
MOV EDX,dword ptr [ESP + 0x54]
MOV ESI,dword ptr [EDX + 0x8]
ADD EDX,0x4
MOV dword ptr [ESP + 0x20],EDX
ADD ESP,0x10
TEST ESI,ESI
JZ 0x0005ef18
MOV dword ptr [ESP + 0x18],ECX
MOV dword ptr [ESP + 0x1c],EAX
JMP 0x0005ee4d
MOV EBP,EAX
XOR EBX,ECX
XOR EBP,EDX
OR EBP,EBX
JNZ 0x0005ee42
MOV EBX,dword ptr [ESI + 0x18]
CMP dword ptr [EDI + 0x18],EBX
JC 0x0005ee5f
MOV EBX,dword ptr [ESI + 0xc]
XOR EBP,EBP
TEST EBX,EBX
JZ 0x0005ee6b
MOV ESI,EBX
MOV EBX,dword ptr [ESI + 0x10]
MOV EDX,dword ptr [ESI + 0x14]
MOV EBP,EAX
CMP ECX,EBX
MOV dword ptr [ESP + 0xc],EBX
SBB EBP,EDX
JGE 0x0005ee30
MOV EBX,dword ptr [ESI + 0x8]
MOV EBP,0x1
TEST EBX,EBX
JNZ 0x0005ee4b
MOV EAX,EBP
MOV ECX,ESI
TEST AL,AL
JNZ 0x0005ef1c
MOV EBP,dword ptr [ESP + 0x1c]
MOV EBX,dword ptr [ESP + 0x18]
MOV EAX,EDX
CMP dword ptr [ESP + 0xc],EBX
SBB EAX,EBP
JGE 0x0005eed8
TEST ECX,ECX
JZ 0x0005efb2
MOV EAX,0x1
CMP dword ptr [ESP + 0x10],ECX
JNZ 0x0005ef71
PUSH dword ptr [ESP + 0x10]
PUSH ECX
PUSH EDI
PUSH EAX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x00181ec0
MOV EAX,dword ptr [ESP + 0x54]
ADD dword ptr [EAX + 0x14],0x1
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX],EDI
MOV byte ptr [EAX + 0x4],0x1
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV EAX,dword ptr [ESP + 0xc]
XOR EDX,EBP
XOR EAX,EBX
OR EDX,EAX
JNZ 0x0005eeec
MOV EAX,dword ptr [EDI + 0x18]
CMP dword ptr [ESI + 0x18],EAX
JC 0x0005ee89
SUB ESP,0xc
PUSH EDI
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x001807a0
MOV EAX,dword ptr [ESP + 0x50]
ADD ESP,0x10
MOV dword ptr [EAX],ESI
MOV byte ptr [EAX + 0x4],0x0
MOV EAX,dword ptr [ESP + 0x40]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET 0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x44]
CMP dword ptr [EAX + 0xc],ESI
JZ 0x0005ef60
SUB ESP,0xc
PUSH ESI
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x00181de0
MOV ECX,dword ptr [EDI + 0x10]
ADD ESP,0x10
MOV EDX,dword ptr [EAX + 0x14]
MOV dword ptr [ESP + 0x18],ECX
MOV ECX,dword ptr [EDI + 0x14]
MOV dword ptr [ESP + 0x1c],ECX
MOV ECX,dword ptr [EAX + 0x10]
MOV dword ptr [ESP + 0xc],ECX
MOV ECX,ESI
MOV ESI,EAX
JMP 0x0005ee77
MOV ECX,ESI
MOV EAX,0x1
CMP dword ptr [ESP + 0x10],ECX
JZ 0x0005eea0
MOV EDX,dword ptr [ECX + 0x10]
MOV EBP,dword ptr [EDI + 0x10]
MOV ESI,dword ptr [EDI + 0x14]
MOV EBX,EDX
MOV EDX,dword ptr [ECX + 0x14]
CMP EBP,EBX
MOV dword ptr [ESP + 0xc],EBX
MOV EBX,ESI
SBB EBX,EDX
JL 0x0005eea0
MOV EBX,dword ptr [ESP + 0xc]
XOR EDX,ESI
XOR EAX,EAX
XOR EBX,EBP
OR EDX,EBX
JNZ 0x0005eea0
MOV EAX,dword ptr [ECX + 0x18]
CMP dword ptr [EDI + 0x18],EAX
SETC AL
MOVZX EAX,AL
JMP 0x0005eea0
XOR ESI,ESI
JMP 0x0005eeec
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint * FUN_0005edd0(int *param_1,int param_2,uint *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}\n\n" comment (function_definition "int * FUN_0005edd0(int *param_1,int param_2,uint *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0005edd0(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_0005edd0(int *param_1,int param_2,uint *param_3)" identifier (parameter_list "(int *param_1,int param_2,uint *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "iVar2 = FUN_0017ebf0(0x20);" (assignment_expression "iVar2 = FUN_0017ebf0(0x20)" identifier = (call_expression "FUN_0017ebf0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "uVar5 = param_3[2];" (assignment_expression "uVar5 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "local_24 = *param_3;" (assignment_expression "local_24 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(uint *)(iVar2 + 0x10) = local_24;" (assignment_expression "*(uint *)(iVar2 + 0x10) = local_24" (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) )))) = identifier) ;) (expression_statement "local_20 = param_3[1];" (assignment_expression "local_20 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x18) = uVar5;" (assignment_expression "*(uint *)(iVar2 + 0x18) = uVar5" (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) )))) = identifier) ;) (expression_statement "uVar5 = param_3[3];" (assignment_expression "uVar5 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x14) = local_20;" (assignment_expression "*(uint *)(iVar2 + 0x14) = local_20" (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) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x1c) = uVar5;" (assignment_expression "*(uint *)(iVar2 + 0x1c) = uVar5" (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) )))) = identifier) ;) (expression_statement "iVar4 = param_2 + 4;" (assignment_expression "iVar4 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(param_2 + 8);" (assignment_expression "iVar6 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }" { (labeled_statement "LAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;" statement_identifier : (if_statement "if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;" if (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar3)" ( (binary_expression "*(int *)(param_2 + 0xc) == iVar3" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) == identifier) )) (goto_statement "goto joined_r0x0005ee9a;" goto statement_identifier ;))) (expression_statement "iVar6 = FUN_00181de0(iVar3);" (assignment_expression "iVar6 = FUN_00181de0(iVar3)" identifier = (call_expression "FUN_00181de0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "local_24 = *(uint *)(iVar2 + 0x10);" (assignment_expression "local_24 = *(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 "uVar5 = *(uint *)(iVar6 + 0x14);" (assignment_expression "uVar5 = *(uint *)(iVar6 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x14)" * (cast_expression "(uint *)(iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(uint *)(iVar2 + 0x14);" (assignment_expression "local_20 = *(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 "local_30 = *(uint *)(iVar6 + 0x10);" (assignment_expression "local_30 = *(uint *)(iVar6 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" else (compound_statement "{\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" { (do_statement "do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);" do (compound_statement "{\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    }" { (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" identifier = identifier) ;) (expression_statement "local_30 = *(uint *)(iVar3 + 0x10);" (assignment_expression "local_30 = *(uint *)(iVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x14);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" if (parenthesized_expression "(((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)))))" ( (binary_expression "((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))" (parenthesized_expression "((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0)" ( (binary_expression "(SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0" (parenthesized_expression "(SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30)))" ( (binary_expression "SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))" (call_expression "SBORROW4(local_20,uVar5)" identifier (argument_list "(local_20,uVar5)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))" identifier (argument_list "(local_20 - uVar5,(uint)(local_24 < local_30))" ( (binary_expression "local_20 - uVar5" identifier - identifier) , (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_24 < local_30)" ( (binary_expression "local_24 < local_30" identifier < identifier) ))) )))) )) == (binary_expression "(int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0" (cast_expression "(int)((local_20 - uVar5) - (uint)(local_24 < local_30))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_20 - uVar5) - (uint)(local_24 < local_30))" ( (binary_expression "(local_20 - uVar5) - (uint)(local_24 < local_30)" (parenthesized_expression "(local_20 - uVar5)" ( (binary_expression "local_20 - uVar5" identifier - identifier) )) - (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_24 < local_30)" ( (binary_expression "local_24 < local_30" identifier < identifier) )))) ))) < number_literal)) )) && (parenthesized_expression "((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))" ( (parenthesized_expression "(local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)))" ( (binary_expression "local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))" (binary_expression "local_20 != uVar5 || local_30 != local_24" (binary_expression "local_20 != uVar5" identifier != identifier) || (binary_expression "local_30 != local_24" identifier != identifier)) || (parenthesized_expression "(*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))" ( (binary_expression "*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)" (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) <= (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) ))))) ))) )) ))) )) (compound_statement "{\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }" { (expression_statement "iVar6 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar6 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) }) (else_clause "else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" else (compound_statement "{\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" { (expression_statement "iVar6 = *(int *)(iVar3 + 8);" (assignment_expression "iVar6 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) }))) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (if_statement "if (bVar7) goto LAB_0005ef1c;" if (parenthesized_expression "(bVar7)" ( identifier )) (goto_statement "goto LAB_0005ef1c;" goto statement_identifier ;)) }))) (if_statement "if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }" if (parenthesized_expression "(((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)))))" ( (binary_expression "((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))" (parenthesized_expression "((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0)" ( (binary_expression "(SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0" (parenthesized_expression "(SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24)))" ( (binary_expression "SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))" (call_expression "SBORROW4(uVar5,local_20)" identifier (argument_list "(uVar5,local_20)" ( identifier , identifier ))) != (call_expression "SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))" identifier (argument_list "(uVar5 - local_20,(uint)(local_30 < local_24))" ( (binary_expression "uVar5 - local_20" identifier - identifier) , (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 < local_24)" ( (binary_expression "local_30 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0" (cast_expression "(int)((uVar5 - local_20) - (uint)(local_30 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar5 - local_20) - (uint)(local_30 < local_24))" ( (binary_expression "(uVar5 - local_20) - (uint)(local_30 < local_24)" (parenthesized_expression "(uVar5 - local_20)" ( (binary_expression "uVar5 - local_20" identifier - identifier) )) - (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 < local_24)" ( (binary_expression "local_30 < local_24" identifier < identifier) )))) ))) < number_literal)) )) || (parenthesized_expression "((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))" ( (parenthesized_expression "(uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)))" ( (binary_expression "uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))" (binary_expression "uVar5 == local_20 && local_30 == local_24" (binary_expression "uVar5 == local_20" identifier == identifier) && (binary_expression "local_30 == local_24" identifier == identifier)) && (parenthesized_expression "(*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))" ( (binary_expression "*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)" (pointer_expression "*(uint *)(iVar6 + 0x18)" * (cast_expression "(uint *)(iVar6 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) < (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) ))))) ))) )) ))) )) (compound_statement "{\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }" { (if_statement "if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" { (labeled_statement "joined_r0x0005ee9a:\n      bVar7 = true;" statement_identifier : (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;)) (if_statement "if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }" if (parenthesized_expression "(iVar4 != iVar3)" ( (binary_expression "iVar4 != iVar3" identifier != identifier) )) (compound_statement "{\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "iVar6 = *(int *)(iVar2 + 0x14);" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x14)" identifier = (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar3 + 0x14);" (assignment_expression "iVar1 = *(int *)(iVar3 + 0x14)" identifier = (pointer_expression "*(int *)(iVar3 + 0x14)" * (cast_expression "(int *)(iVar3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" ( (binary_expression "*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10)" (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) )))) < (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )))) ;) (if_statement "if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }" if (parenthesized_expression "(((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)))" ( (binary_expression "((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))" (parenthesized_expression "((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0)" ( (binary_expression "(SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0" (parenthesized_expression "(SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5))" ( (binary_expression "SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)" (call_expression "SBORROW4(iVar6,iVar1)" identifier (argument_list "(iVar6,iVar1)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar6 - iVar1,uVar5)" identifier (argument_list "(iVar6 - iVar1,uVar5)" ( (binary_expression "iVar6 - iVar1" identifier - identifier) , identifier )))) )) == (binary_expression "(int)((iVar6 - iVar1) - uVar5) < 0" (cast_expression "(int)((iVar6 - iVar1) - uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar6 - iVar1) - uVar5)" ( (binary_expression "(iVar6 - iVar1) - uVar5" (parenthesized_expression "(iVar6 - iVar1)" ( (binary_expression "iVar6 - iVar1" identifier - identifier) )) - identifier) ))) < number_literal)) )) && (parenthesized_expression "(bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))" ( (comma_expression "bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (assignment_expression "bVar7 = false" identifier = false) , (binary_expression "iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (binary_expression "iVar1 == iVar6" identifier == identifier) && (binary_expression "*(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) == (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) ))))))) ))) )) (compound_statement "{\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }" { (expression_statement "bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);" (assignment_expression "bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18)" identifier = (binary_expression "*(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18)" (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) )))) < (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))))) ;) })) })) (expression_statement "FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);" (call_expression "FUN_00181ec0(bVar7,iVar2,iVar3,iVar4)" identifier (argument_list "(bVar7,iVar2,iVar3,iVar4)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) (expression_statement "FUN_001807a0(iVar2);" (call_expression "FUN_001807a0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*param_1 = iVar6;" (assignment_expression "*param_1 = iVar6" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original name: _M_emplace_unique<std::pair<std::pair<long long int, unsigned int>,\n   gold::File_read::View*> >\n   DWARF original prototype:\n   pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n   _M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>(_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n   * this, pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*> * __args#0) */\n\npair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n __thiscall\nstd::\n_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n::_M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>\n          (_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n           *this,pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*> *__args_0)\n\n{\n  size_t *psVar1;\n  View *pVVar2;\n  _Base_ptr p_Var3;\n  uint uVar4;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_header *p_Var7;\n  _Base_ptr p_Var8;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  _Rb_tree_node_base *p_Var9;\n  bool bVar10;\n  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n  pVar11;\n  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n  pVar12;\n  _Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>\n  in_stack_00000004;\n  _Rb_tree_color local_30;\n  _Rb_tree_color local_24;\n  _Base_ptr local_20;\n  \n  p_Var5 = (_Rb_tree_node_base *)operator_new(0x20);\n  p_Var8 = (_Base_ptr)(__args_0->first).second;\n  local_24 = (_Rb_tree_color)(__args_0->first).first;\n  p_Var5[1]._M_color = local_24;\n  local_20 = *(_Base_ptr *)((int)&(__args_0->first).first + 4);\n  p_Var5[1]._M_left = p_Var8;\n  pVVar2 = __args_0->second;\n  p_Var5[1]._M_parent = local_20;\n  p_Var5[1]._M_right = (_Base_ptr)pVVar2;\n  p_Var9 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  p_Var7 = &(this->_M_impl).super__Rb_tree_header;\n  p_Var6 = &p_Var7->_M_header;\n  if (p_Var9 == (_Rb_tree_node_base *)0x0) {\nLAB_0005ef1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;\n    p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);\n    local_24 = p_Var5[1]._M_color;\n    p_Var8 = p_Var9[1]._M_parent;\n    local_20 = p_Var5[1]._M_parent;\n    local_30 = p_Var9[1]._M_color;\n  }\n  else {\n    do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);\n    p_Var9 = p_Var6;\n    if (bVar10) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))) {\n    if (p_Var6 != (_Rb_tree_node_base *)0x0) {\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\n    }\n    p_Var9 = (_Rb_tree_node_base *)0x0;\n  }\n  operator_delete(p_Var5);\n  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var9;\n  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;\n  pVar12._4_4_ = extraout_EDX_00;\n  pVar12.first._M_node = in_stack_00000004._M_node;\n  return pVar12;\n}\n\n" comment comment (ERROR "pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n __thiscall\nstd::\n_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier) : : (binary_expression "File_read::View*>_>,_bool>\n __thiscall\nstd::\n_Rb_tree<std" (binary_expression "File_read::View*>_>,_bool>\n __thiscall" (binary_expression "File_read::View*>_>,_bool" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > (ERROR "," ,) identifier) > identifier) (ERROR "std::\n_Rb_tree" identifier : : identifier) < identifier) : : (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_std" identifier > (ERROR "," ,) identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier) : :) (labeled_statement "File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n::_M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>\n          (_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n           *this,pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*> *__args_0)\n\n{\n  size_t *psVar1;\n  View *pVVar2;\n  _Base_ptr p_Var3;\n  uint uVar4;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_header *p_Var7;\n  _Base_ptr p_Var8;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  _Rb_tree_node_base *p_Var9;\n  bool bVar10;\n  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n  pVar11;\n  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n  pVar12;\n  _Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>\n  in_stack_00000004;\n  _Rb_tree_color local_30;\n  _Rb_tree_color local_24;\n  _Base_ptr local_20;\n  \n  p_Var5 = (_Rb_tree_node_base *)operator_new(0x20);\n  p_Var8 = (_Base_ptr)(__args_0->first).second;\n  local_24 = (_Rb_tree_color)(__args_0->first).first;\n  p_Var5[1]._M_color = local_24;\n  local_20 = *(_Base_ptr *)((int)&(__args_0->first).first + 4);\n  p_Var5[1]._M_left = p_Var8;\n  pVVar2 = __args_0->second;\n  p_Var5[1]._M_parent = local_20;\n  p_Var5[1]._M_right = (_Base_ptr)pVVar2;\n  p_Var9 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  p_Var7 = &(this->_M_impl).super__Rb_tree_header;\n  p_Var6 = &p_Var7->_M_header;\n  if (p_Var9 == (_Rb_tree_node_base *)0x0) {\nLAB_0005ef1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;\n    p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);\n    local_24 = p_Var5[1]._M_color;\n    p_Var8 = p_Var9[1]._M_parent;\n    local_20 = p_Var5[1]._M_parent;\n    local_30 = p_Var9[1]._M_color;\n  }\n  else {\n    do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);\n    p_Var9 = p_Var6;\n    if (bVar10) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))) {\n    if (p_Var6 != (_Rb_tree_node_base *)0x0) {\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\n    }\n    p_Var9 = (_Rb_tree_node_base *)0x0;\n  }\n  operator_delete(p_Var5);\n  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var9;\n  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;\n  pVar12._4_4_ = extraout_EDX_00;\n  pVar12.first._M_node = in_stack_00000004._M_node;\n  return pVar12;\n}" statement_identifier (ERROR "::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n::_M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>\n          (_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>\n           *this,pair<std::pair<long_long_int,_unsigned_int>,_gold:" : : (comma_expression "View*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "_Select1st<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (binary_expression "File_read::View*>_>,_std" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "less<std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>_>,_std" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>_>,_std" (binary_expression "_unsigned_int>_" identifier > identifier) > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (binary_expression "File_read::View*>_>_" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > identifier) > : : (binary_expression "_M_emplace_unique<std" identifier < identifier) : : (binary_expression "pair<std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > ( (binary_expression "_Rb_tree<std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_std" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_std" identifier > (ERROR "," ,) identifier)) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (comma_expression "File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std" identifier (ERROR "::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>" : : (comma_expression "View*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "_Select1st<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) >) , identifier) : : (binary_expression "less<std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>_>,_std" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>_>,_std" (binary_expression "_unsigned_int>_" identifier > identifier) > (ERROR "," ,) identifier)) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : : (comma_expression "File_read::View*>_>_>\n           *this,pair<std" (binary_expression "File_read::View*>_>_>\n           *this" (binary_expression "File_read::View*>_>_" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > identifier) > (pointer_expression "*this" * identifier)) , (binary_expression "pair<std" identifier < identifier)) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) :) : (ERROR "File_read::View*> *__args_0)" (binary_expression "File_read::View*> *__args_0" identifier (ERROR "::View*" : : identifier *) > (pointer_expression "*__args_0" * identifier)) )) (compound_statement "{\n  size_t *psVar1;\n  View *pVVar2;\n  _Base_ptr p_Var3;\n  uint uVar4;\n  _Rb_tree_node_base *p_Var5;\n  _Rb_tree_node_base *p_Var6;\n  _Rb_tree_header *p_Var7;\n  _Base_ptr p_Var8;\n  undefined4 extraout_EDX;\n  undefined4 extraout_EDX_00;\n  _Rb_tree_node_base *p_Var9;\n  bool bVar10;\n  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n  pVar11;\n  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>\n  pVar12;\n  _Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>\n  in_stack_00000004;\n  _Rb_tree_color local_30;\n  _Rb_tree_color local_24;\n  _Base_ptr local_20;\n  \n  p_Var5 = (_Rb_tree_node_base *)operator_new(0x20);\n  p_Var8 = (_Base_ptr)(__args_0->first).second;\n  local_24 = (_Rb_tree_color)(__args_0->first).first;\n  p_Var5[1]._M_color = local_24;\n  local_20 = *(_Base_ptr *)((int)&(__args_0->first).first + 4);\n  p_Var5[1]._M_left = p_Var8;\n  pVVar2 = __args_0->second;\n  p_Var5[1]._M_parent = local_20;\n  p_Var5[1]._M_right = (_Base_ptr)pVVar2;\n  p_Var9 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;\n  p_Var7 = &(this->_M_impl).super__Rb_tree_header;\n  p_Var6 = &p_Var7->_M_header;\n  if (p_Var9 == (_Rb_tree_node_base *)0x0) {\nLAB_0005ef1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;\n    p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);\n    local_24 = p_Var5[1]._M_color;\n    p_Var8 = p_Var9[1]._M_parent;\n    local_20 = p_Var5[1]._M_parent;\n    local_30 = p_Var9[1]._M_color;\n  }\n  else {\n    do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);\n    p_Var9 = p_Var6;\n    if (bVar10) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))) {\n    if (p_Var6 != (_Rb_tree_node_base *)0x0) {\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\n    }\n    p_Var9 = (_Rb_tree_node_base *)0x0;\n  }\n  operator_delete(p_Var5);\n  (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var9;\n  *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;\n  pVar12._4_4_ = extraout_EDX_00;\n  pVar12.first._M_node = in_stack_00000004._M_node;\n  return pVar12;\n}" { (declaration "size_t *psVar1;" primitive_type (pointer_declarator "*psVar1" * identifier) ;) (declaration "View *pVVar2;" type_identifier (pointer_declarator "*pVVar2" * identifier) ;) (declaration "_Base_ptr p_Var3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var6;" type_identifier (pointer_declarator "*p_Var6" * identifier) ;) (declaration "_Rb_tree_header *p_Var7;" type_identifier (pointer_declarator "*p_Var7" * identifier) ;) (declaration "_Base_ptr p_Var8;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX;" type_identifier identifier ;) (declaration "undefined4 extraout_EDX_00;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var9;" type_identifier (pointer_declarator "*p_Var9" * identifier) ;) (declaration "bool bVar10;" primitive_type identifier ;) (ERROR "pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : :) (expression_statement "File_read::View*>_>,_bool>\n  pVar11;" (binary_expression "File_read::View*>_>,_bool>\n  pVar11" (binary_expression "File_read::View*>_>,_bool" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > (ERROR "," ,) identifier) > identifier) ;) (ERROR "pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_iterator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (comma_expression "pair<long_long_int,_unsigned_int>,_gold" (binary_expression "pair<long_long_int" identifier < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : :) (expression_statement "File_read::View*>_>,_bool>\n  pVar12;" (binary_expression "File_read::View*>_>,_bool>\n  pVar12" (binary_expression "File_read::View*>_>,_bool" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > (ERROR "," ,) identifier) > identifier) ;) (ERROR "_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::" (comma_expression "_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold" (binary_expression "_Rb_tree_iterator<std::pair<const_std::pair<long_long_int" (binary_expression "_Rb_tree_iterator<std::pair<const_std" (binary_expression "_Rb_tree_iterator<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , (binary_expression "_unsigned_int>,_gold" identifier > (ERROR "," ,) identifier)) : :) (expression_statement "File_read::View*>_>\n  in_stack_00000004;" (binary_expression "File_read::View*>_>\n  in_stack_00000004" (binary_expression "File_read::View*>_" identifier (ERROR "::View*" : : identifier *) > identifier) > identifier) ;) (declaration "_Rb_tree_color local_30;" type_identifier identifier ;) (declaration "_Rb_tree_color local_24;" type_identifier identifier ;) (declaration "_Base_ptr local_20;" type_identifier identifier ;) (expression_statement "p_Var5 = (_Rb_tree_node_base *)operator_new(0x20);" (assignment_expression "p_Var5 = (_Rb_tree_node_base *)operator_new(0x20)" identifier = (cast_expression "(_Rb_tree_node_base *)operator_new(0x20)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x20)" identifier (argument_list "(0x20)" ( number_literal ))))) ;) (expression_statement "p_Var8 = (_Base_ptr)(__args_0->first).second;" (assignment_expression "p_Var8 = (_Base_ptr)(__args_0->first).second" identifier = (field_expression "(_Base_ptr)(__args_0->first).second" (call_expression "(_Base_ptr)(__args_0->first)" (parenthesized_expression "(_Base_ptr)" ( identifier )) (argument_list "(__args_0->first)" ( (field_expression "__args_0->first" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "local_24 = (_Rb_tree_color)(__args_0->first).first;" (assignment_expression "local_24 = (_Rb_tree_color)(__args_0->first).first" identifier = (field_expression "(_Rb_tree_color)(__args_0->first).first" (call_expression "(_Rb_tree_color)(__args_0->first)" (parenthesized_expression "(_Rb_tree_color)" ( identifier )) (argument_list "(__args_0->first)" ( (field_expression "__args_0->first" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "p_Var5[1]._M_color = local_24;" (assignment_expression "p_Var5[1]._M_color = local_24" (field_expression "p_Var5[1]._M_color" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "local_20 = *(_Base_ptr *)((int)&(__args_0->first).first + 4);" (assignment_expression "local_20 = *(_Base_ptr *)((int)&(__args_0->first).first + 4)" identifier = (pointer_expression "*(_Base_ptr *)((int)&(__args_0->first).first + 4)" * (cast_expression "(_Base_ptr *)((int)&(__args_0->first).first + 4)" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(__args_0->first).first + 4)" ( (binary_expression "(int)&(__args_0->first).first + 4" (cast_expression "(int)&(__args_0->first).first" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(__args_0->first).first" & (field_expression "(__args_0->first).first" (parenthesized_expression "(__args_0->first)" ( (field_expression "__args_0->first" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) ;) (expression_statement "p_Var5[1]._M_left = p_Var8;" (assignment_expression "p_Var5[1]._M_left = p_Var8" (field_expression "p_Var5[1]._M_left" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pVVar2 = __args_0->second;" (assignment_expression "pVVar2 = __args_0->second" identifier = (field_expression "__args_0->second" identifier -> field_identifier)) ;) (expression_statement "p_Var5[1]._M_parent = local_20;" (assignment_expression "p_Var5[1]._M_parent = local_20" (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "p_Var5[1]._M_right = (_Base_ptr)pVVar2;" (assignment_expression "p_Var5[1]._M_right = (_Base_ptr)pVVar2" (field_expression "p_Var5[1]._M_right" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_Base_ptr)pVVar2" ( (type_descriptor "_Base_ptr" type_identifier) ) identifier)) ;) (expression_statement "p_Var9 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;" (assignment_expression "p_Var9 = (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)) ;) (expression_statement "p_Var7 = &(this->_M_impl).super__Rb_tree_header;" (assignment_expression "p_Var7 = &(this->_M_impl).super__Rb_tree_header" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_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))) ;) (expression_statement "p_Var6 = &p_Var7->_M_header;" (assignment_expression "p_Var6 = &p_Var7->_M_header" identifier = (pointer_expression "&p_Var7->_M_header" & (field_expression "p_Var7->_M_header" identifier -> field_identifier))) ;) (if_statement "if (p_Var9 == (_Rb_tree_node_base *)0x0) {\nLAB_0005ef1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;\n    p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);\n    local_24 = p_Var5[1]._M_color;\n    p_Var8 = p_Var9[1]._M_parent;\n    local_20 = p_Var5[1]._M_parent;\n    local_30 = p_Var9[1]._M_color;\n  }\n  else {\n    do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);\n    p_Var9 = p_Var6;\n    if (bVar10) goto LAB_0005ef1c;\n  }" if (parenthesized_expression "(p_Var9 == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var9 == (_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 "{\nLAB_0005ef1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;\n    p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);\n    local_24 = p_Var5[1]._M_color;\n    p_Var8 = p_Var9[1]._M_parent;\n    local_20 = p_Var5[1]._M_parent;\n    local_30 = p_Var9[1]._M_color;\n  }" { (labeled_statement "LAB_0005ef1c:\n    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;" statement_identifier : (if_statement "if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6) goto joined_r0x0005ee9a;" if (parenthesized_expression "((this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6)" ( (binary_expression "(this->_M_impl).super__Rb_tree_header._M_header._M_left == p_Var6" (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) == identifier) )) (goto_statement "goto joined_r0x0005ee9a;" goto statement_identifier ;))) (expression_statement "p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6);" (assignment_expression "p_Var9 = (_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6)" identifier = (cast_expression "(_Rb_tree_node_base *)_Rb_tree_decrement(p_Var6)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "_Rb_tree_decrement(p_Var6)" identifier (argument_list "(p_Var6)" ( identifier ))))) ;) (expression_statement "local_24 = p_Var5[1]._M_color;" (assignment_expression "local_24 = p_Var5[1]._M_color" identifier = (field_expression "p_Var5[1]._M_color" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var8 = p_Var9[1]._M_parent;" (assignment_expression "p_Var8 = p_Var9[1]._M_parent" identifier = (field_expression "p_Var9[1]._M_parent" (subscript_expression "p_Var9[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "local_20 = p_Var5[1]._M_parent;" (assignment_expression "local_20 = p_Var5[1]._M_parent" identifier = (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "local_30 = p_Var9[1]._M_color;" (assignment_expression "local_30 = p_Var9[1]._M_color" identifier = (field_expression "p_Var9[1]._M_color" (subscript_expression "p_Var9[1]" identifier [ number_literal ]) . field_identifier)) ;) }) (else_clause "else {\n    do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);\n    p_Var9 = p_Var6;\n    if (bVar10) goto LAB_0005ef1c;\n  }" else (compound_statement "{\n    do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);\n    p_Var9 = p_Var6;\n    if (bVar10) goto LAB_0005ef1c;\n  }" { (do_statement "do {\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    } while (p_Var9 != (_Base_ptr)0x0);" do (compound_statement "{\n      p_Var6 = p_Var9;\n      local_30 = p_Var6[1]._M_color;\n      p_Var8 = p_Var6[1]._M_parent;\n      if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }\n    }" { (expression_statement "p_Var6 = p_Var9;" (assignment_expression "p_Var6 = p_Var9" identifier = identifier) ;) (expression_statement "local_30 = p_Var6[1]._M_color;" (assignment_expression "local_30 = p_Var6[1]._M_color" identifier = (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var8 = p_Var6[1]._M_parent;" (assignment_expression "p_Var8 = p_Var6[1]._M_parent" identifier = (field_expression "p_Var6[1]._M_parent" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))\n      {\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }\n      else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }" if (parenthesized_expression "(((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))))" ( (binary_expression "((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left)))" (parenthesized_expression "((SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0)" ( (binary_expression "(SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))) ==\n           (int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0" (parenthesized_expression "(SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30)))" ( (binary_expression "SBORROW4((int)local_20,(int)p_Var8) !=\n           SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))" (call_expression "SBORROW4((int)local_20,(int)p_Var8)" identifier (argument_list "((int)local_20,(int)p_Var8)" ( (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) ))) != (call_expression "SBORROW4((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))" identifier (argument_list "((int)local_20 - (int)p_Var8,(uint)(local_24 < local_30))" ( (binary_expression "(int)local_20 - (int)p_Var8" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier)) , (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_24 < local_30)" ( (binary_expression "local_24 < local_30" identifier < identifier) ))) )))) )) == (binary_expression "(int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)) < 0" (cast_expression "(int)(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30))" ( (binary_expression "((int)local_20 - (int)p_Var8) - (uint)(local_24 < local_30)" (parenthesized_expression "((int)local_20 - (int)p_Var8)" ( (binary_expression "(int)local_20 - (int)p_Var8" (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier)) )) - (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_24 < local_30)" ( (binary_expression "local_24 < local_30" identifier < identifier) )))) ))) < number_literal)) )) && (parenthesized_expression "((local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left)))" ( (parenthesized_expression "(local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left))" ( (binary_expression "local_20 != p_Var8 || local_30 != local_24 || (p_Var6[1]._M_left <= p_Var5[1]._M_left)" (binary_expression "local_20 != p_Var8 || local_30 != local_24" (binary_expression "local_20 != p_Var8" identifier != identifier) || (binary_expression "local_30 != local_24" identifier != identifier)) || (parenthesized_expression "(p_Var6[1]._M_left <= p_Var5[1]._M_left)" ( (binary_expression "p_Var6[1]._M_left <= p_Var5[1]._M_left" (field_expression "p_Var6[1]._M_left" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier) <= (field_expression "p_Var5[1]._M_left" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ))) )) ))) )) (compound_statement "{\n        p_Var9 = p_Var6->_M_right;\n        bVar10 = false;\n      }" { (expression_statement "p_Var9 = p_Var6->_M_right;" (assignment_expression "p_Var9 = p_Var6->_M_right" identifier = (field_expression "p_Var6->_M_right" identifier -> field_identifier)) ;) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) }) (else_clause "else {\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }" else (compound_statement "{\n        p_Var9 = p_Var6->_M_left;\n        bVar10 = true;\n      }" { (expression_statement "p_Var9 = p_Var6->_M_left;" (assignment_expression "p_Var9 = p_Var6->_M_left" identifier = (field_expression "p_Var6->_M_left" identifier -> field_identifier)) ;) (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" identifier = true) ;) }))) }) while (parenthesized_expression "(p_Var9 != (_Base_ptr)0x0)" ( (binary_expression "p_Var9 != (_Base_ptr)0x0" identifier != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (expression_statement "p_Var9 = p_Var6;" (assignment_expression "p_Var9 = p_Var6" identifier = identifier) ;) (if_statement "if (bVar10) goto LAB_0005ef1c;" if (parenthesized_expression "(bVar10)" ( identifier )) (goto_statement "goto LAB_0005ef1c;" goto statement_identifier ;)) }))) (if_statement "if (((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))) {\n    if (p_Var6 != (_Rb_tree_node_base *)0x0) {\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\n    }\n    p_Var9 = (_Rb_tree_node_base *)0x0;\n  }" if (parenthesized_expression "(((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left))))" ( (binary_expression "((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))" (parenthesized_expression "((SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0)" ( (binary_expression "(SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))) !=\n       (int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0" (parenthesized_expression "(SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24)))" ( (binary_expression "SBORROW4((int)p_Var8,(int)local_20) !=\n       SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))" (call_expression "SBORROW4((int)p_Var8,(int)local_20)" identifier (argument_list "((int)p_Var8,(int)local_20)" ( (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier) ))) != (call_expression "SBORROW4((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))" identifier (argument_list "((int)p_Var8 - (int)local_20,(uint)(local_30 < local_24))" ( (binary_expression "(int)p_Var8 - (int)local_20" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier)) , (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 < local_24)" ( (binary_expression "local_30 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)) < 0" (cast_expression "(int)(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24))" ( (binary_expression "((int)p_Var8 - (int)local_20) - (uint)(local_30 < local_24)" (parenthesized_expression "((int)p_Var8 - (int)local_20)" ( (binary_expression "(int)p_Var8 - (int)local_20" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_20" ( (type_descriptor "int" primitive_type) ) identifier)) )) - (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 < local_24)" ( (binary_expression "local_30 < local_24" identifier < identifier) )))) ))) < number_literal)) )) || (parenthesized_expression "((p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)))" ( (parenthesized_expression "(p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left))" ( (binary_expression "p_Var8 == local_20 && local_30 == local_24 && (p_Var9[1]._M_left < p_Var5[1]._M_left)" (binary_expression "p_Var8 == local_20 && local_30 == local_24" (binary_expression "p_Var8 == local_20" identifier == identifier) && (binary_expression "local_30 == local_24" identifier == identifier)) && (parenthesized_expression "(p_Var9[1]._M_left < p_Var5[1]._M_left)" ( (binary_expression "p_Var9[1]._M_left < p_Var5[1]._M_left" (field_expression "p_Var9[1]._M_left" (subscript_expression "p_Var9[1]" identifier [ number_literal ]) . field_identifier) < (field_expression "p_Var5[1]._M_left" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ))) )) ))) )) (compound_statement "{\n    if (p_Var6 != (_Rb_tree_node_base *)0x0) {\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\n    }\n    p_Var9 = (_Rb_tree_node_base *)0x0;\n  }" { (if_statement "if (p_Var6 != (_Rb_tree_node_base *)0x0) {\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\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 "{\njoined_r0x0005ee9a:\n      bVar10 = true;\n      if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }\n      _Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);\n      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n      *psVar1 = *psVar1 + 1;\n      (in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;\n      *(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;\n      pVar11._4_4_ = extraout_EDX;\n      pVar11.first._M_node = in_stack_00000004._M_node;\n      return pVar11;\n    }" { (labeled_statement "joined_r0x0005ee9a:\n      bVar10 = true;" statement_identifier : (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" identifier = true) ;)) (if_statement "if (p_Var7 != (_Rb_tree_header *)p_Var6) {\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }" if (parenthesized_expression "(p_Var7 != (_Rb_tree_header *)p_Var6)" ( (binary_expression "p_Var7 != (_Rb_tree_header *)p_Var6" identifier != (cast_expression "(_Rb_tree_header *)p_Var6" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n        bVar10 = true;\n        p_Var8 = p_Var5[1]._M_parent;\n        p_Var3 = p_Var6[1]._M_parent;\n        uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);\n        if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }\n      }" { (expression_statement "bVar10 = true;" (assignment_expression "bVar10 = true" identifier = true) ;) (expression_statement "p_Var8 = p_Var5[1]._M_parent;" (assignment_expression "p_Var8 = p_Var5[1]._M_parent" identifier = (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var3 = p_Var6[1]._M_parent;" (assignment_expression "p_Var3 = 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 "uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color);" (assignment_expression "uVar4 = (uint)(p_Var5[1]._M_color < p_Var6[1]._M_color)" identifier = (call_expression "(uint)(p_Var5[1]._M_color < p_Var6[1]._M_color)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(p_Var5[1]._M_color < p_Var6[1]._M_color)" ( (binary_expression "p_Var5[1]._M_color < p_Var6[1]._M_color" (field_expression "p_Var5[1]._M_color" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier) < (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier)) )))) ;) (if_statement "if (((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)) {\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }" if (parenthesized_expression "(((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color))" ( (binary_expression "((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0) &&\n           (bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)" (parenthesized_expression "((SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0)" ( (binary_expression "(SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)) ==\n             (int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0" (parenthesized_expression "(SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4))" ( (binary_expression "SBORROW4((int)p_Var8,(int)p_Var3) != SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)" (call_expression "SBORROW4((int)p_Var8,(int)p_Var3)" identifier (argument_list "((int)p_Var8,(int)p_Var3)" ( (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier) ))) != (call_expression "SBORROW4((int)p_Var8 - (int)p_Var3,uVar4)" identifier (argument_list "((int)p_Var8 - (int)p_Var3,uVar4)" ( (binary_expression "(int)p_Var8 - (int)p_Var3" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier)) , identifier )))) )) == (binary_expression "(int)(((int)p_Var8 - (int)p_Var3) - uVar4) < 0" (cast_expression "(int)(((int)p_Var8 - (int)p_Var3) - uVar4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((int)p_Var8 - (int)p_Var3) - uVar4)" ( (binary_expression "((int)p_Var8 - (int)p_Var3) - uVar4" (parenthesized_expression "((int)p_Var8 - (int)p_Var3)" ( (binary_expression "(int)p_Var8 - (int)p_Var3" (cast_expression "(int)p_Var8" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)p_Var3" ( (type_descriptor "int" primitive_type) ) identifier)) )) - identifier) ))) < number_literal)) )) && (parenthesized_expression "(bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color)" ( (comma_expression "bVar10 = false, p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color" (assignment_expression "bVar10 = false" identifier = false) , (binary_expression "p_Var3 == p_Var8 && p_Var6[1]._M_color == p_Var5[1]._M_color" (binary_expression "p_Var3 == p_Var8" identifier == identifier) && (binary_expression "p_Var6[1]._M_color == p_Var5[1]._M_color" (field_expression "p_Var6[1]._M_color" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier) == (field_expression "p_Var5[1]._M_color" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)))) ))) )) (compound_statement "{\n          bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;\n        }" { (expression_statement "bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left;" (assignment_expression "bVar10 = p_Var5[1]._M_left < p_Var6[1]._M_left" identifier = (binary_expression "p_Var5[1]._M_left < p_Var6[1]._M_left" (field_expression "p_Var5[1]._M_left" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier) < (field_expression "p_Var6[1]._M_left" (subscript_expression "p_Var6[1]" identifier [ number_literal ]) . field_identifier))) ;) })) })) (expression_statement "_Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header);" (call_expression "_Rb_tree_insert_and_rebalance(bVar10,p_Var5,p_Var6,&p_Var7->_M_header)" identifier (argument_list "(bVar10,p_Var5,p_Var6,&p_Var7->_M_header)" ( identifier , identifier , identifier , (pointer_expression "&p_Var7->_M_header" & (field_expression "p_Var7->_M_header" identifier -> field_identifier)) ))) ;) (expression_statement "psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;" (assignment_expression "psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header._M_node_count" & (field_expression "(this->_M_impl).super__Rb_tree_header._M_node_count" (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))) ;) (expression_statement "*psVar1 = *psVar1 + 1;" (assignment_expression "*psVar1 = *psVar1 + 1" (pointer_expression "*psVar1" * identifier) = (binary_expression "*psVar1 + 1" (pointer_expression "*psVar1" * identifier) + number_literal)) ;) (expression_statement "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5;" (assignment_expression "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var5" (field_expression "(in_stack_00000004._M_node)->_M_color" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var5" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1;" (assignment_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 1" (pointer_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" * (cast_expression "(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(in_stack_00000004._M_node)->_M_parent" & (field_expression "(in_stack_00000004._M_node)->_M_parent" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier)))) = number_literal) ;) (expression_statement "pVar11._4_4_ = extraout_EDX;" (assignment_expression "pVar11._4_4_ = extraout_EDX" (field_expression "pVar11._4_4_" identifier . field_identifier) = identifier) ;) (expression_statement "pVar11.first._M_node = in_stack_00000004._M_node;" (assignment_expression "pVar11.first._M_node = in_stack_00000004._M_node" (field_expression "pVar11.first._M_node" (field_expression "pVar11.first" identifier . field_identifier) . field_identifier) = (field_expression "in_stack_00000004._M_node" identifier . field_identifier)) ;) (return_statement "return pVar11;" return identifier ;) })) (expression_statement "p_Var9 = (_Rb_tree_node_base *)0x0;" (assignment_expression "p_Var9 = (_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)) ;) })) (expression_statement "operator_delete(p_Var5);" (call_expression "operator_delete(p_Var5)" identifier (argument_list "(p_Var5)" ( identifier ))) ;) (expression_statement "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var9;" (assignment_expression "(in_stack_00000004._M_node)->_M_color = (_Rb_tree_color)p_Var9" (field_expression "(in_stack_00000004._M_node)->_M_color" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier) = (cast_expression "(_Rb_tree_color)p_Var9" ( (type_descriptor "_Rb_tree_color" type_identifier) ) identifier)) ;) (expression_statement "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0;" (assignment_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent = 0" (pointer_expression "*(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" * (cast_expression "(undefined1 *)&(in_stack_00000004._M_node)->_M_parent" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(in_stack_00000004._M_node)->_M_parent" & (field_expression "(in_stack_00000004._M_node)->_M_parent" (parenthesized_expression "(in_stack_00000004._M_node)" ( (field_expression "in_stack_00000004._M_node" identifier . field_identifier) )) -> field_identifier)))) = number_literal) ;) (expression_statement "pVar12._4_4_ = extraout_EDX_00;" (assignment_expression "pVar12._4_4_ = extraout_EDX_00" (field_expression "pVar12._4_4_" identifier . field_identifier) = identifier) ;) (expression_statement "pVar12.first._M_node = in_stack_00000004._M_node;" (assignment_expression "pVar12.first._M_node = in_stack_00000004._M_node" (field_expression "pVar12.first._M_node" (field_expression "pVar12.first" identifier . field_identifier) . field_identifier) = (field_expression "in_stack_00000004._M_node" identifier . field_identifier)) ;) (return_statement "return pVar12;" return identifier ;) })))
(translation_unit "int * FUN_0005edd0(int *param_1,int param_2,uint *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}\n\n" (function_definition "int * FUN_0005edd0(int *param_1,int param_2,uint *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" primitive_type (pointer_declarator "* FUN_0005edd0(int *param_1,int param_2,uint *param_3)" * (function_declarator "FUN_0005edd0(int *param_1,int param_2,uint *param_3)" identifier (parameter_list "(int *param_1,int param_2,uint *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) )))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "bool bVar7;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_24;" type_identifier identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (expression_statement "iVar2 = FUN_0017ebf0(0x20);" (assignment_expression "iVar2 = FUN_0017ebf0(0x20)" identifier = (call_expression "FUN_0017ebf0(0x20)" identifier (argument_list "(0x20)" ( number_literal )))) ;) (expression_statement "uVar5 = param_3[2];" (assignment_expression "uVar5 = param_3[2]" identifier = (subscript_expression "param_3[2]" identifier [ number_literal ])) ;) (expression_statement "local_24 = *param_3;" (assignment_expression "local_24 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(uint *)(iVar2 + 0x10) = local_24;" (assignment_expression "*(uint *)(iVar2 + 0x10) = local_24" (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) )))) = identifier) ;) (expression_statement "local_20 = param_3[1];" (assignment_expression "local_20 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x18) = uVar5;" (assignment_expression "*(uint *)(iVar2 + 0x18) = uVar5" (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) )))) = identifier) ;) (expression_statement "uVar5 = param_3[3];" (assignment_expression "uVar5 = param_3[3]" identifier = (subscript_expression "param_3[3]" identifier [ number_literal ])) ;) (expression_statement "*(uint *)(iVar2 + 0x14) = local_20;" (assignment_expression "*(uint *)(iVar2 + 0x14) = local_20" (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) )))) = identifier) ;) (expression_statement "*(uint *)(iVar2 + 0x1c) = uVar5;" (assignment_expression "*(uint *)(iVar2 + 0x1c) = uVar5" (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) )))) = identifier) ;) (expression_statement "iVar4 = param_2 + 4;" (assignment_expression "iVar4 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "iVar6 = *(int *)(param_2 + 8);" (assignment_expression "iVar6 = *(int *)(param_2 + 8)" identifier = (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" identifier = identifier) ;) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" ( (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }" { (labeled_statement "LAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;" statement_identifier : (if_statement "if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;" if (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar3)" ( (binary_expression "*(int *)(param_2 + 0xc) == iVar3" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) == identifier) )) (goto_statement "goto joined_r0x0005ee9a;" goto statement_identifier ;))) (expression_statement "iVar6 = FUN_00181de0(iVar3);" (assignment_expression "iVar6 = FUN_00181de0(iVar3)" identifier = (call_expression "FUN_00181de0(iVar3)" identifier (argument_list "(iVar3)" ( identifier )))) ;) (expression_statement "local_24 = *(uint *)(iVar2 + 0x10);" (assignment_expression "local_24 = *(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 "uVar5 = *(uint *)(iVar6 + 0x14);" (assignment_expression "uVar5 = *(uint *)(iVar6 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x14)" * (cast_expression "(uint *)(iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "local_20 = *(uint *)(iVar2 + 0x14);" (assignment_expression "local_20 = *(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 "local_30 = *(uint *)(iVar6 + 0x10);" (assignment_expression "local_30 = *(uint *)(iVar6 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar6 + 0x10)" * (cast_expression "(uint *)(iVar6 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" else (compound_statement "{\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" { (do_statement "do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);" do (compound_statement "{\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    }" { (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" identifier = identifier) ;) (expression_statement "local_30 = *(uint *)(iVar3 + 0x10);" (assignment_expression "local_30 = *(uint *)(iVar3 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x14);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x14)" identifier = (pointer_expression "*(uint *)(iVar3 + 0x14)" * (cast_expression "(uint *)(iVar3 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" if (parenthesized_expression "(((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)))))" ( (binary_expression "((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))" (parenthesized_expression "((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0)" ( (binary_expression "(SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0" (parenthesized_expression "(SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30)))" ( (binary_expression "SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))" (call_expression "SBORROW4(local_20,uVar5)" identifier (argument_list "(local_20,uVar5)" ( identifier , identifier ))) != (call_expression "SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))" identifier (argument_list "(local_20 - uVar5,(uint)(local_24 < local_30))" ( (binary_expression "local_20 - uVar5" identifier - identifier) , (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_24 < local_30)" ( (binary_expression "local_24 < local_30" identifier < identifier) ))) )))) )) == (binary_expression "(int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0" (cast_expression "(int)((local_20 - uVar5) - (uint)(local_24 < local_30))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((local_20 - uVar5) - (uint)(local_24 < local_30))" ( (binary_expression "(local_20 - uVar5) - (uint)(local_24 < local_30)" (parenthesized_expression "(local_20 - uVar5)" ( (binary_expression "local_20 - uVar5" identifier - identifier) )) - (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_24 < local_30)" ( (binary_expression "local_24 < local_30" identifier < identifier) )))) ))) < number_literal)) )) && (parenthesized_expression "((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))" ( (parenthesized_expression "(local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)))" ( (binary_expression "local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))" (binary_expression "local_20 != uVar5 || local_30 != local_24" (binary_expression "local_20 != uVar5" identifier != identifier) || (binary_expression "local_30 != local_24" identifier != identifier)) || (parenthesized_expression "(*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))" ( (binary_expression "*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)" (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) <= (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) ))))) ))) )) ))) )) (compound_statement "{\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }" { (expression_statement "iVar6 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar6 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" identifier = false) ;) }) (else_clause "else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" else (compound_statement "{\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" { (expression_statement "iVar6 = *(int *)(iVar3 + 8);" (assignment_expression "iVar6 = *(int *)(iVar3 + 8)" identifier = (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) ;) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) }))) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (if_statement "if (bVar7) goto LAB_0005ef1c;" if (parenthesized_expression "(bVar7)" ( identifier )) (goto_statement "goto LAB_0005ef1c;" goto statement_identifier ;)) }))) (if_statement "if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }" if (parenthesized_expression "(((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)))))" ( (binary_expression "((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))" (parenthesized_expression "((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0)" ( (binary_expression "(SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0" (parenthesized_expression "(SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24)))" ( (binary_expression "SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))" (call_expression "SBORROW4(uVar5,local_20)" identifier (argument_list "(uVar5,local_20)" ( identifier , identifier ))) != (call_expression "SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))" identifier (argument_list "(uVar5 - local_20,(uint)(local_30 < local_24))" ( (binary_expression "uVar5 - local_20" identifier - identifier) , (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 < local_24)" ( (binary_expression "local_30 < local_24" identifier < identifier) ))) )))) )) != (binary_expression "(int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0" (cast_expression "(int)((uVar5 - local_20) - (uint)(local_30 < local_24))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uVar5 - local_20) - (uint)(local_30 < local_24))" ( (binary_expression "(uVar5 - local_20) - (uint)(local_30 < local_24)" (parenthesized_expression "(uVar5 - local_20)" ( (binary_expression "uVar5 - local_20" identifier - identifier) )) - (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 < local_24)" ( (binary_expression "local_30 < local_24" identifier < identifier) )))) ))) < number_literal)) )) || (parenthesized_expression "((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))" ( (parenthesized_expression "(uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)))" ( (binary_expression "uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))" (binary_expression "uVar5 == local_20 && local_30 == local_24" (binary_expression "uVar5 == local_20" identifier == identifier) && (binary_expression "local_30 == local_24" identifier == identifier)) && (parenthesized_expression "(*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))" ( (binary_expression "*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)" (pointer_expression "*(uint *)(iVar6 + 0x18)" * (cast_expression "(uint *)(iVar6 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) < (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) ))))) ))) )) ))) )) (compound_statement "{\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }" { (if_statement "if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" { (labeled_statement "joined_r0x0005ee9a:\n      bVar7 = true;" statement_identifier : (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;)) (if_statement "if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }" if (parenthesized_expression "(iVar4 != iVar3)" ( (binary_expression "iVar4 != iVar3" identifier != identifier) )) (compound_statement "{\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (expression_statement "iVar6 = *(int *)(iVar2 + 0x14);" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x14)" identifier = (pointer_expression "*(int *)(iVar2 + 0x14)" * (cast_expression "(int *)(iVar2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *(int *)(iVar3 + 0x14);" (assignment_expression "iVar1 = *(int *)(iVar3 + 0x14)" identifier = (pointer_expression "*(int *)(iVar3 + 0x14)" * (cast_expression "(int *)(iVar3 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x14)" ( (binary_expression "iVar3 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" identifier = (call_expression "(uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" ( (binary_expression "*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10)" (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) )))) < (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) ))))) )))) ;) (if_statement "if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }" if (parenthesized_expression "(((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)))" ( (binary_expression "((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))" (parenthesized_expression "((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0)" ( (binary_expression "(SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0" (parenthesized_expression "(SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5))" ( (binary_expression "SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)" (call_expression "SBORROW4(iVar6,iVar1)" identifier (argument_list "(iVar6,iVar1)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar6 - iVar1,uVar5)" identifier (argument_list "(iVar6 - iVar1,uVar5)" ( (binary_expression "iVar6 - iVar1" identifier - identifier) , identifier )))) )) == (binary_expression "(int)((iVar6 - iVar1) - uVar5) < 0" (cast_expression "(int)((iVar6 - iVar1) - uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((iVar6 - iVar1) - uVar5)" ( (binary_expression "(iVar6 - iVar1) - uVar5" (parenthesized_expression "(iVar6 - iVar1)" ( (binary_expression "iVar6 - iVar1" identifier - identifier) )) - identifier) ))) < number_literal)) )) && (parenthesized_expression "(bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))" ( (comma_expression "bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (assignment_expression "bVar7 = false" identifier = false) , (binary_expression "iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (binary_expression "iVar1 == iVar6" identifier == identifier) && (binary_expression "*(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (pointer_expression "*(uint *)(iVar3 + 0x10)" * (cast_expression "(uint *)(iVar3 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) == (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) ))))))) ))) )) (compound_statement "{\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }" { (expression_statement "bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);" (assignment_expression "bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18)" identifier = (binary_expression "*(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18)" (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) )))) < (pointer_expression "*(uint *)(iVar3 + 0x18)" * (cast_expression "(uint *)(iVar3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))))) ;) })) })) (expression_statement "FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);" (call_expression "FUN_00181ec0(bVar7,iVar2,iVar3,iVar4)" identifier (argument_list "(bVar7,iVar2,iVar3,iVar4)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" * (cast_expression "(int *)(param_2 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) (expression_statement "FUN_001807a0(iVar2);" (call_expression "FUN_001807a0(iVar2)" identifier (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "*param_1 = iVar6;" (assignment_expression "*param_1 = iVar6" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return param_1;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (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 ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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 = 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 { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;))) (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 * (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) ))))) ;) }) (else_clause else (compound_statement { (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 (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT != IDENT) || (binary_expression IDENT != IDENT)) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 ( IDENT )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) )))) ))) < LIT)) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT == IDENT) && (binary_expression IDENT == IDENT)) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (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 = (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) )))) < (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 (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( (binary_expression IDENT - IDENT) , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) - IDENT) ))) < LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (binary_expression (binary_expression IDENT == IDENT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_0005edd0(int *param_1,int param_2,uint *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" (primitive_type "int") (pointer_declarator "* FUN_0005edd0(int *param_1,int param_2,uint *param_3)" (* "*") (function_declarator "FUN_0005edd0(int *param_1,int param_2,uint *param_3)" (identifier "FUN_0005edd0") (parameter_list "(int *param_1,int param_2,uint *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint *param_3" (type_identifier "uint") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")")))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  int iVar6;\n  bool bVar7;\n  uint local_30;\n  uint local_24;\n  uint local_20;\n  \n  iVar2 = FUN_0017ebf0(0x20);\n  uVar5 = param_3[2];\n  local_24 = *param_3;\n  *(uint *)(iVar2 + 0x10) = local_24;\n  local_20 = param_3[1];\n  *(uint *)(iVar2 + 0x18) = uVar5;\n  uVar5 = param_3[3];\n  *(uint *)(iVar2 + 0x14) = local_20;\n  *(uint *)(iVar2 + 0x1c) = uVar5;\n  iVar4 = param_2 + 4;\n  iVar6 = *(int *)(param_2 + 8);\n  iVar3 = iVar4;\n  if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }\n  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }\n  FUN_001807a0(iVar2);\n  *param_1 = iVar6;\n  *(undefined1 *)(param_1 + 1) = 0;\n  return param_1;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "bool bVar7;" (primitive_type "bool") (identifier "bVar7") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_24;" (type_identifier "uint") (identifier "local_24") (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (expression_statement "iVar2 = FUN_0017ebf0(0x20);" (assignment_expression "iVar2 = FUN_0017ebf0(0x20)" (identifier "iVar2") (= "=") (call_expression "FUN_0017ebf0(0x20)" (identifier "FUN_0017ebf0") (argument_list "(0x20)" (( "(") (number_literal "0x20") () ")")))) (; ";")) (expression_statement "uVar5 = param_3[2];" (assignment_expression "uVar5 = param_3[2]" (identifier "uVar5") (= "=") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_24 = *param_3;" (assignment_expression "local_24 = *param_3" (identifier "local_24") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x10) = local_24;" (assignment_expression "*(uint *)(iVar2 + 0x10) = local_24" (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")) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "local_20 = param_3[1];" (assignment_expression "local_20 = param_3[1]" (identifier "local_20") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x18) = uVar5;" (assignment_expression "*(uint *)(iVar2 + 0x18) = uVar5" (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")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "uVar5 = param_3[3];" (assignment_expression "uVar5 = param_3[3]" (identifier "uVar5") (= "=") (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x14) = local_20;" (assignment_expression "*(uint *)(iVar2 + 0x14) = local_20" (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")) () ")")))) (= "=") (identifier "local_20")) (; ";")) (expression_statement "*(uint *)(iVar2 + 0x1c) = uVar5;" (assignment_expression "*(uint *)(iVar2 + 0x1c) = uVar5" (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")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar4 = param_2 + 4;" (assignment_expression "iVar4 = param_2 + 4" (identifier "iVar4") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "iVar6 = *(int *)(param_2 + 8);" (assignment_expression "iVar6 = *(int *)(param_2 + 8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar3 = iVar4;" (assignment_expression "iVar3 = iVar4" (identifier "iVar3") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (*(int *)(param_2 + 8) == 0) {\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }\n  else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 8) == 0" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;\n    iVar6 = FUN_00181de0(iVar3);\n    local_24 = *(uint *)(iVar2 + 0x10);\n    uVar5 = *(uint *)(iVar6 + 0x14);\n    local_20 = *(uint *)(iVar2 + 0x14);\n    local_30 = *(uint *)(iVar6 + 0x10);\n  }" ({ "{") (labeled_statement "LAB_0005ef1c:\n    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;" (statement_identifier "LAB_0005ef1c") (: ":") (if_statement "if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0xc) == iVar3)" (( "(") (binary_expression "*(int *)(param_2 + 0xc) == iVar3" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "iVar3")) () ")")) (goto_statement "goto joined_r0x0005ee9a;" (goto "goto") (statement_identifier "joined_r0x0005ee9a") (; ";")))) (expression_statement "iVar6 = FUN_00181de0(iVar3);" (assignment_expression "iVar6 = FUN_00181de0(iVar3)" (identifier "iVar6") (= "=") (call_expression "FUN_00181de0(iVar3)" (identifier "FUN_00181de0") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")")))) (; ";")) (expression_statement "local_24 = *(uint *)(iVar2 + 0x10);" (assignment_expression "local_24 = *(uint *)(iVar2 + 0x10)" (identifier "local_24") (= "=") (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 "uVar5 = *(uint *)(iVar6 + 0x14);" (assignment_expression "uVar5 = *(uint *)(iVar6 + 0x14)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x14)" (* "*") (cast_expression "(uint *)(iVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "local_20 = *(uint *)(iVar2 + 0x14);" (assignment_expression "local_20 = *(uint *)(iVar2 + 0x14)" (identifier "local_20") (= "=") (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 "local_30 = *(uint *)(iVar6 + 0x10);" (assignment_expression "local_30 = *(uint *)(iVar6 + 0x10)" (identifier "local_30") (= "=") (pointer_expression "*(uint *)(iVar6 + 0x10)" (* "*") (cast_expression "(uint *)(iVar6 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" (else "else") (compound_statement "{\n    do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);\n    iVar6 = iVar3;\n    if (bVar7) goto LAB_0005ef1c;\n  }" ({ "{") (do_statement "do {\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    } while (iVar6 != 0);" (do "do") (compound_statement "{\n      iVar3 = iVar6;\n      local_30 = *(uint *)(iVar3 + 0x10);\n      uVar5 = *(uint *)(iVar3 + 0x14);\n      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }\n    }" ({ "{") (expression_statement "iVar3 = iVar6;" (assignment_expression "iVar3 = iVar6" (identifier "iVar3") (= "=") (identifier "iVar6")) (; ";")) (expression_statement "local_30 = *(uint *)(iVar3 + 0x10);" (assignment_expression "local_30 = *(uint *)(iVar3 + 0x10)" (identifier "local_30") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(uint *)(iVar3 + 0x14);" (assignment_expression "uVar5 = *(uint *)(iVar3 + 0x14)" (identifier "uVar5") (= "=") (pointer_expression "*(uint *)(iVar3 + 0x14)" (* "*") (cast_expression "(uint *)(iVar3 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }\n      else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" (if "if") (parenthesized_expression "(((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)))))" (( "(") (binary_expression "((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&\n         ((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))" (parenthesized_expression "((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0)" (( "(") (binary_expression "(SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==\n           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0" (parenthesized_expression "(SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30)))" (( "(") (binary_expression "SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))" (call_expression "SBORROW4(local_20,uVar5)" (identifier "SBORROW4") (argument_list "(local_20,uVar5)" (( "(") (identifier "local_20") (, ",") (identifier "uVar5") () ")"))) (!= "!=") (call_expression "SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))" (identifier "SBORROW4") (argument_list "(local_20 - uVar5,(uint)(local_24 < local_30))" (( "(") (binary_expression "local_20 - uVar5" (identifier "local_20") (- "-") (identifier "uVar5")) (, ",") (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_24 < local_30)" (( "(") (binary_expression "local_24 < local_30" (identifier "local_24") (< "<") (identifier "local_30")) () ")"))) () ")")))) () ")")) (== "==") (binary_expression "(int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0" (cast_expression "(int)((local_20 - uVar5) - (uint)(local_24 < local_30))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((local_20 - uVar5) - (uint)(local_24 < local_30))" (( "(") (binary_expression "(local_20 - uVar5) - (uint)(local_24 < local_30)" (parenthesized_expression "(local_20 - uVar5)" (( "(") (binary_expression "local_20 - uVar5" (identifier "local_20") (- "-") (identifier "uVar5")) () ")")) (- "-") (call_expression "(uint)(local_24 < local_30)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_24 < local_30)" (( "(") (binary_expression "local_24 < local_30" (identifier "local_24") (< "<") (identifier "local_30")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "((local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))" (( "(") (parenthesized_expression "(local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)))" (( "(") (binary_expression "local_20 != uVar5 || local_30 != local_24 ||\n          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))" (binary_expression "local_20 != uVar5 || local_30 != local_24" (binary_expression "local_20 != uVar5" (identifier "local_20") (!= "!=") (identifier "uVar5")) (|| "||") (binary_expression "local_30 != local_24" (identifier "local_30") (!= "!=") (identifier "local_24"))) (|| "||") (parenthesized_expression "(*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))" (( "(") (binary_expression "*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18)" (pointer_expression "*(uint *)(iVar3 + 0x18)" (* "*") (cast_expression "(uint *)(iVar3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))) (<= "<=") (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")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        iVar6 = *(int *)(iVar3 + 0xc);\n        bVar7 = false;\n      }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar6 = *(int *)(iVar3 + 0xc)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "bVar7 = false;" (assignment_expression "bVar7 = false" (identifier "bVar7") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" (else "else") (compound_statement "{\n        iVar6 = *(int *)(iVar3 + 8);\n        bVar7 = true;\n      }" ({ "{") (expression_statement "iVar6 = *(int *)(iVar3 + 8);" (assignment_expression "iVar6 = *(int *)(iVar3 + 8)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" (identifier "iVar6") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (bVar7) goto LAB_0005ef1c;" (if "if") (parenthesized_expression "(bVar7)" (( "(") (identifier "bVar7") () ")")) (goto_statement "goto LAB_0005ef1c;" (goto "goto") (statement_identifier "LAB_0005ef1c") (; ";"))) (} "}")))) (if_statement "if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "(((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)))))" (( "(") (binary_expression "((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||\n     ((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))" (parenthesized_expression "((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0)" (( "(") (binary_expression "(SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=\n       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0" (parenthesized_expression "(SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24)))" (( "(") (binary_expression "SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))" (call_expression "SBORROW4(uVar5,local_20)" (identifier "SBORROW4") (argument_list "(uVar5,local_20)" (( "(") (identifier "uVar5") (, ",") (identifier "local_20") () ")"))) (!= "!=") (call_expression "SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))" (identifier "SBORROW4") (argument_list "(uVar5 - local_20,(uint)(local_30 < local_24))" (( "(") (binary_expression "uVar5 - local_20" (identifier "uVar5") (- "-") (identifier "local_20")) (, ",") (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_30 < local_24)" (( "(") (binary_expression "local_30 < local_24" (identifier "local_30") (< "<") (identifier "local_24")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0" (cast_expression "(int)((uVar5 - local_20) - (uint)(local_30 < local_24))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uVar5 - local_20) - (uint)(local_30 < local_24))" (( "(") (binary_expression "(uVar5 - local_20) - (uint)(local_30 < local_24)" (parenthesized_expression "(uVar5 - local_20)" (( "(") (binary_expression "uVar5 - local_20" (identifier "uVar5") (- "-") (identifier "local_20")) () ")")) (- "-") (call_expression "(uint)(local_30 < local_24)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_30 < local_24)" (( "(") (binary_expression "local_30 < local_24" (identifier "local_30") (< "<") (identifier "local_24")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (|| "||") (parenthesized_expression "((uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))" (( "(") (parenthesized_expression "(uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)))" (( "(") (binary_expression "uVar5 == local_20 && local_30 == local_24 &&\n      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))" (binary_expression "uVar5 == local_20 && local_30 == local_24" (binary_expression "uVar5 == local_20" (identifier "uVar5") (== "==") (identifier "local_20")) (&& "&&") (binary_expression "local_30 == local_24" (identifier "local_30") (== "==") (identifier "local_24"))) (&& "&&") (parenthesized_expression "(*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))" (( "(") (binary_expression "*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18)" (pointer_expression "*(uint *)(iVar6 + 0x18)" (* "*") (cast_expression "(uint *)(iVar6 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (< "<") (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")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }\n    iVar6 = 0;\n  }" ({ "{") (if_statement "if (iVar3 != 0) {\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\njoined_r0x0005ee9a:\n      bVar7 = true;\n      if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }\n      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);\n      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;\n      *param_1 = iVar2;\n      *(undefined1 *)(param_1 + 1) = 1;\n      return param_1;\n    }" ({ "{") (labeled_statement "joined_r0x0005ee9a:\n      bVar7 = true;" (statement_identifier "joined_r0x0005ee9a") (: ":") (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";"))) (if_statement "if (iVar4 != iVar3) {\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }" (if "if") (parenthesized_expression "(iVar4 != iVar3)" (( "(") (binary_expression "iVar4 != iVar3" (identifier "iVar4") (!= "!=") (identifier "iVar3")) () ")")) (compound_statement "{\n        bVar7 = true;\n        iVar6 = *(int *)(iVar2 + 0x14);\n        iVar1 = *(int *)(iVar3 + 0x14);\n        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));\n        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }\n      }" ({ "{") (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" (identifier "bVar7") (= "=") (true "true")) (; ";")) (expression_statement "iVar6 = *(int *)(iVar2 + 0x14);" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x14)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar2 + 0x14)" (* "*") (cast_expression "(int *)(iVar2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar1 = *(int *)(iVar3 + 0x14);" (assignment_expression "iVar1 = *(int *)(iVar3 + 0x14)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(iVar3 + 0x14)" (* "*") (cast_expression "(int *)(iVar3 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x14)" (( "(") (binary_expression "iVar3 + 0x14" (identifier "iVar3") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));" (assignment_expression "uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" (identifier "uVar5") (= "=") (call_expression "(uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10))" (( "(") (binary_expression "*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10)" (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")) () ")")))) (< "<") (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (; ";")) (if_statement "if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }" (if "if") (parenthesized_expression "(((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)))" (( "(") (binary_expression "((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0) &&\n           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))" (parenthesized_expression "((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0)" (( "(") (binary_expression "(SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==\n             (int)((iVar6 - iVar1) - uVar5) < 0" (parenthesized_expression "(SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5))" (( "(") (binary_expression "SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)" (call_expression "SBORROW4(iVar6,iVar1)" (identifier "SBORROW4") (argument_list "(iVar6,iVar1)" (( "(") (identifier "iVar6") (, ",") (identifier "iVar1") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar6 - iVar1,uVar5)" (identifier "SBORROW4") (argument_list "(iVar6 - iVar1,uVar5)" (( "(") (binary_expression "iVar6 - iVar1" (identifier "iVar6") (- "-") (identifier "iVar1")) (, ",") (identifier "uVar5") () ")")))) () ")")) (== "==") (binary_expression "(int)((iVar6 - iVar1) - uVar5) < 0" (cast_expression "(int)((iVar6 - iVar1) - uVar5)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((iVar6 - iVar1) - uVar5)" (( "(") (binary_expression "(iVar6 - iVar1) - uVar5" (parenthesized_expression "(iVar6 - iVar1)" (( "(") (binary_expression "iVar6 - iVar1" (identifier "iVar6") (- "-") (identifier "iVar1")) () ")")) (- "-") (identifier "uVar5")) () ")"))) (< "<") (number_literal "0"))) () ")")) (&& "&&") (parenthesized_expression "(bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))" (( "(") (comma_expression "bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (assignment_expression "bVar7 = false" (identifier "bVar7") (= "=") (false "false")) (, ",") (binary_expression "iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (binary_expression "iVar1 == iVar6" (identifier "iVar1") (== "==") (identifier "iVar6")) (&& "&&") (binary_expression "*(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10)" (pointer_expression "*(uint *)(iVar3 + 0x10)" (* "*") (cast_expression "(uint *)(iVar3 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (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")) () ")"))))))) () ")"))) () ")")) (compound_statement "{\n          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);\n        }" ({ "{") (expression_statement "bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);" (assignment_expression "bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18)" (identifier "bVar7") (= "=") (binary_expression "*(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18)" (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")) () ")")))) (< "<") (pointer_expression "*(uint *)(iVar3 + 0x18)" (* "*") (cast_expression "(uint *)(iVar3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x18)" (( "(") (binary_expression "iVar3 + 0x18" (identifier "iVar3") (+ "+") (number_literal "0x18")) () ")")))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);" (call_expression "FUN_00181ec0(bVar7,iVar2,iVar3,iVar4)" (identifier "FUN_00181ec0") (argument_list "(bVar7,iVar2,iVar3,iVar4)" (( "(") (identifier "bVar7") (, ",") (identifier "iVar2") (, ",") (identifier "iVar3") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;" (assignment_expression "*(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (binary_expression "*(int *)(param_2 + 0x14) + 1" (pointer_expression "*(int *)(param_2 + 0x14)" (* "*") (cast_expression "(int *)(param_2 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "FUN_001807a0(iVar2);" (call_expression "FUN_001807a0(iVar2)" (identifier "FUN_001807a0") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "*param_1 = iVar6;" (assignment_expression "*param_1 = iVar6" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original name: _M_emplace_unique<std::pair<std::pair<long long int, unsigned int>,
   gold::File_read::View*> >
   DWARF original prototype:
   pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_bool>
   _M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>(_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>,_std::less<std::pair<long_long_int,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*>_>_>
   * this, pair<std::pair<long_long_int,_unsigned_int>,_gold::File_read::View*> * __args#0) */

pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>,var_3>
 __thiscall
std::
_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::File_read::type_1*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>,_std::less<std::pair<long_long_int,_unsigned_int>var_2>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>var_2>
::_M_emplace_unique<std::pair<std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>
          (_Rb_tree<std::pair<long_long_int,_unsigned_int>,_std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>,_std::_Select1st<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>,_std::less<std::pair<long_long_int,_unsigned_int>var_2>,_std::allocator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>var_2>
           *this,pair<std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*> *__args_0)

{
  size_t *psVar1;
  type_1 *pVVar2;
  type_2 var_18;
  type_3 var_17;
  type_4 *p_Var5;
  type_4 *var_9;
  type_5 *var_16;
  type_2 var_15;
  type_6 extraout_EDX;
  type_6 extraout_EDX_00;
  type_4 *var_8;
  bool bVar10;
  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>,var_3>
  var_4;
  pair<std::_Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>,var_3>
  var_5;
  _Rb_tree_iterator<std::pair<const_std::pair<long_long_int,_unsigned_int>,_gold::var_1::type_1*>var_2>
  var_6;
  type_7 var_13;
  type_7 var_12;
  type_2 var_14;
  
  p_Var5 = (type_4 *)var_7(0x20);
  var_15 = (type_2)(__args_0->first).second;
  var_12 = (type_7)(__args_0->first).first;
  p_Var5[1]._M_color = var_12;
  var_14 = *(type_2 *)((int)&(__args_0->first).first + 4);
  p_Var5[1]._M_left = var_15;
  pVVar2 = __args_0->second;
  p_Var5[1]._M_parent = var_14;
  p_Var5[1]._M_right = (type_2)pVVar2;
  var_8 = (this->_M_impl).super__Rb_tree_header._M_header._M_parent;
  var_16 = &(this->_M_impl).super__Rb_tree_header;
  var_9 = &var_16->_M_header;
  if (var_8 == (type_4 *)0x0) {
LAB_0005ef1c:
    if ((this->_M_impl).super__Rb_tree_header._M_header._M_left == var_9) goto joined_r0x0005ee9a;
    var_8 = (type_4 *)var_10(var_9);
    var_12 = p_Var5[1]._M_color;
    var_15 = var_8[1]._M_parent;
    var_14 = p_Var5[1]._M_parent;
    var_13 = var_8[1]._M_color;
  }
  else {
    do {
      var_9 = var_8;
      var_13 = var_9[1]._M_color;
      var_15 = var_9[1]._M_parent;
      if (((var_11((int)var_14,(int)var_15) !=
           var_11((int)var_14 - (int)var_15,(type_3)(var_12 < var_13))) ==
           (int)(((int)var_14 - (int)var_15) - (type_3)(var_12 < var_13)) < 0) &&
         ((var_14 != var_15 || var_13 != var_12 || (var_9[1]._M_left <= p_Var5[1]._M_left))))
      {
        var_8 = var_9->_M_right;
        bVar10 = false;
      }
      else {
        var_8 = var_9->_M_left;
        bVar10 = true;
      }
    } while (var_8 != (type_2)0x0);
    var_8 = var_9;
    if (bVar10) goto LAB_0005ef1c;
  }
  if (((var_11((int)var_15,(int)var_14) !=
       var_11((int)var_15 - (int)var_14,(type_3)(var_13 < var_12))) !=
       (int)(((int)var_15 - (int)var_14) - (type_3)(var_13 < var_12)) < 0) ||
     ((var_15 == var_14 && var_13 == var_12 && (var_8[1]._M_left < p_Var5[1]._M_left)))) {
    if (var_9 != (type_4 *)0x0) {
joined_r0x0005ee9a:
      bVar10 = true;
      if (var_16 != (type_5 *)var_9) {
        bVar10 = true;
        var_15 = p_Var5[1]._M_parent;
        var_18 = var_9[1]._M_parent;
        var_17 = (type_3)(p_Var5[1]._M_color < var_9[1]._M_color);
        if (((var_11((int)var_15,(int)var_18) != var_11((int)var_15 - (int)var_18,var_17)) ==
             (int)(((int)var_15 - (int)var_18) - var_17) < 0) &&
           (bVar10 = false, var_18 == var_15 && var_9[1]._M_color == p_Var5[1]._M_color)) {
          bVar10 = p_Var5[1]._M_left < var_9[1]._M_left;
        }
      }
      var_19(bVar10,p_Var5,var_9,&var_16->_M_header);
      psVar1 = &(this->_M_impl).super__Rb_tree_header._M_node_count;
      *psVar1 = *psVar1 + 1;
      (var_6._M_node)->_M_color = (type_7)p_Var5;
      *(type_8 *)&(var_6._M_node)->_M_parent = 1;
      var_4._4_4_ = extraout_EDX;
      var_4.first._M_node = var_6._M_node;
      return var_4;
    }
    var_8 = (type_4 *)0x0;
  }
  var_20(p_Var5);
  (var_6._M_node)->_M_color = (type_7)var_8;
  *(type_8 *)&(var_6._M_node)->_M_parent = 0;
  var_5._4_4_ = extraout_EDX_00;
  var_5.first._M_node = var_6._M_node;
  return var_5;
}


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

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

int * MASKED(int *param_1,int param_2,uint *param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  int iVar6;
  bool bVar7;
  uint local_30;
  uint local_24;
  uint local_20;
  
  iVar2 = FUN_0017ebf0(0x20);
  uVar5 = param_3[2];
  local_24 = *param_3;
  *(uint *)(iVar2 + 0x10) = local_24;
  local_20 = param_3[1];
  *(uint *)(iVar2 + 0x18) = uVar5;
  uVar5 = param_3[3];
  *(uint *)(iVar2 + 0x14) = local_20;
  *(uint *)(iVar2 + 0x1c) = uVar5;
  iVar4 = param_2 + 4;
  iVar6 = *(int *)(param_2 + 8);
  iVar3 = iVar4;
  if (*(int *)(param_2 + 8) == 0) {
LAB_0005ef1c:
    if (*(int *)(param_2 + 0xc) == iVar3) goto joined_r0x0005ee9a;
    iVar6 = FUN_00181de0(iVar3);
    local_24 = *(uint *)(iVar2 + 0x10);
    uVar5 = *(uint *)(iVar6 + 0x14);
    local_20 = *(uint *)(iVar2 + 0x14);
    local_30 = *(uint *)(iVar6 + 0x10);
  }
  else {
    do {
      iVar3 = iVar6;
      local_30 = *(uint *)(iVar3 + 0x10);
      uVar5 = *(uint *)(iVar3 + 0x14);
      if (((SBORROW4(local_20,uVar5) != SBORROW4(local_20 - uVar5,(uint)(local_24 < local_30))) ==
           (int)((local_20 - uVar5) - (uint)(local_24 < local_30)) < 0) &&
         ((local_20 != uVar5 || local_30 != local_24 ||
          (*(uint *)(iVar3 + 0x18) <= *(uint *)(iVar2 + 0x18))))) {
        iVar6 = *(int *)(iVar3 + 0xc);
        bVar7 = false;
      }
      else {
        iVar6 = *(int *)(iVar3 + 8);
        bVar7 = true;
      }
    } while (iVar6 != 0);
    iVar6 = iVar3;
    if (bVar7) goto LAB_0005ef1c;
  }
  if (((SBORROW4(uVar5,local_20) != SBORROW4(uVar5 - local_20,(uint)(local_30 < local_24))) !=
       (int)((uVar5 - local_20) - (uint)(local_30 < local_24)) < 0) ||
     ((uVar5 == local_20 && local_30 == local_24 &&
      (*(uint *)(iVar6 + 0x18) < *(uint *)(iVar2 + 0x18))))) {
    if (iVar3 != 0) {
joined_r0x0005ee9a:
      bVar7 = true;
      if (iVar4 != iVar3) {
        bVar7 = true;
        iVar6 = *(int *)(iVar2 + 0x14);
        iVar1 = *(int *)(iVar3 + 0x14);
        uVar5 = (uint)(*(uint *)(iVar2 + 0x10) < *(uint *)(iVar3 + 0x10));
        if (((SBORROW4(iVar6,iVar1) != SBORROW4(iVar6 - iVar1,uVar5)) ==
             (int)((iVar6 - iVar1) - uVar5) < 0) &&
           (bVar7 = false, iVar1 == iVar6 && *(uint *)(iVar3 + 0x10) == *(uint *)(iVar2 + 0x10))) {
          bVar7 = *(uint *)(iVar2 + 0x18) < *(uint *)(iVar3 + 0x18);
        }
      }
      FUN_00181ec0(bVar7,iVar2,iVar3,iVar4);
      *(int *)(param_2 + 0x14) = *(int *)(param_2 + 0x14) + 1;
      *param_1 = iVar2;
      *(undefined1 *)(param_1 + 1) = 1;
      return param_1;
    }
    iVar6 = 0;
  }
  FUN_001807a0(iVar2);
  *param_1 = iVar6;
  *(undefined1 *)(param_1 + 1) = 0;
  return param_1;
}

