
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void insert_section_segment_map(Layout * this, Const_section_id secn,
   Unique_segment_info * s) */

void __thiscall
gold::Layout::insert_section_segment_map(Layout *this,Const_section_id secn,Unique_segment_info *s)

{
  _Base_ptr *pp_Var1;
  _Rb_tree_header *p_Var2;
  size_t *psVar3;
  _Rb_tree_node_base *p_Var4;
  const_iterator __position;
  _Rb_tree_node_base *p_Var5;
  Relobj *pRVar6;
  bool bVar7;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar8;
  
  pRVar6 = secn.first;
  if (this->unique_segment_for_sections_specified_ == false) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");
  }
  p_Var4 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent;
  p_Var2 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header;
  p_Var5 = &p_Var2->_M_header;
  __position._M_node = &p_Var2->_M_header;
  if (p_Var4 != (_Rb_tree_node_base *)0x0) {
    do {
      while( true ) {
        __position._M_node = p_Var4;
        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&
           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||
            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;
        pp_Var1 = &(__position._M_node)->_M_right;
        p_Var4 = *pp_Var1;
        __position._M_node = p_Var5;
        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;
      }
      p_Var4 = (__position._M_node)->_M_left;
      p_Var5 = __position._M_node;
    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);
LAB_001ba9d2:
    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&
        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&
       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||
        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;
  }
  p_Var4 = (_Rb_tree_node_base *)operator_new(0x38);
  *(Relobj **)(p_Var4 + 1) = pRVar6;
  p_Var4[1]._M_parent = secn._8_8_;
  p_Var4[1]._M_left = (_Base_ptr)0x0;
  pVar8 = std::
          _Rb_tree<std::pair<const_gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>,_std::less<std::pair<const_gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>_>
          ::_M_get_insert_hint_unique_pos
                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1));
  p_Var5 = pVar8.second;
  __position._M_node = pVar8.first;
  if (p_Var5 == (_Rb_tree_node_base *)0x0) {
    operator_delete(p_Var4);
  }
  else {
    bVar7 = true;
    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)
         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&
       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {
      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;
    }
    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);
    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;
    *psVar3 = *psVar3 + 1;
    __position._M_node = p_Var4;
  }
LAB_001baa5b:
  __position._M_node[1]._M_left = (_Base_ptr)s;
  return;
}



void FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)

{
  long *plVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  long lVar5;
  bool bVar6;
  undefined1 auVar7 [16];
  
  if (*(char *)(param_1 + 0x372) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");
  }
  lVar2 = param_1 + 1000;
  lVar3 = *(long *)(param_1 + 0x3f0);
  lVar4 = lVar2;
  lVar5 = lVar2;
  if (*(long *)(param_1 + 0x3f0) != 0) {
    do {
      while( true ) {
        lVar5 = lVar3;
        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&
           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))
        break;
        plVar1 = (long *)(lVar5 + 0x18);
        lVar3 = *plVar1;
        lVar5 = lVar4;
        if (*plVar1 == 0) goto LAB_001ba9d2;
      }
      lVar3 = *(long *)(lVar5 + 0x10);
      lVar4 = lVar5;
    } while (*(long *)(lVar5 + 0x10) != 0);
LAB_001ba9d2:
    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&
       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))
    goto LAB_001baa5b;
  }
  lVar3 = FUN_002a11b0(0x38);
  *(ulong *)(lVar3 + 0x20) = param_2;
  *(undefined8 *)(lVar3 + 0x28) = param_3;
  *(undefined8 *)(lVar3 + 0x30) = 0;
  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);
  lVar4 = auVar7._8_8_;
  lVar5 = auVar7._0_8_;
  if (lVar4 == 0) {
    FUN_002a2980(lVar3);
  }
  else {
    bVar6 = true;
    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&
        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&
       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {
      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);
    }
    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);
    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;
    lVar5 = lVar3;
  }
LAB_001baa5b:
  *(undefined8 *)(lVar5 + 0x30) = param_4;
  return;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x18
CMP byte ptr [RDI + 0x372],0x0
JZ 0x001baa8f
MOV RAX,qword ptr [RDI + 0x3f0]
MOV RBP,RDI
MOV R13,RSI
MOV R15,RDX
LEA R12,[RDI + 0x3e8]
MOV R14,RCX
MOV RBX,R12
TEST RAX,RAX
JNZ 0x001ba9c3
JMP 0x001ba9e8
JNZ 0x001ba9b7
CMP dword ptr [RAX + 0x28],EDX
JC 0x001ba9c9
MOV RBX,RAX
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x001ba9d2
CMP R13,qword ptr [RAX + 0x20]
JBE 0x001ba9b0
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JNZ 0x001ba9c3
CMP R12,RBX
JZ 0x001ba9e8
CMP R13,qword ptr [RBX + 0x20]
JC 0x001ba9e8
JNZ 0x001baa5b
CMP dword ptr [RBX + 0x28],R15D
JBE 0x001baa5b
NOP dword ptr [RAX]
MOV EDI,0x38
MOV qword ptr [RSP + 0x8],RBX
CALL 0x002a11b0
MOV RSI,qword ptr [RSP + 0x8]
LEA RDI,[RBP + 0x3e0]
MOV qword ptr [RAX + 0x20],R13
LEA RDX,[RAX + 0x20]
MOV RBX,RAX
MOV qword ptr [RAX + 0x28],R15
MOV qword ptr [RAX + 0x30],0x0
CALL 0x001c2460
MOV R13,RAX
TEST RDX,RDX
JZ 0x001baa50
MOV EDI,0x1
CMP R12,RDX
JZ 0x001baa36
TEST RAX,RAX
JZ 0x001baa70
MOV RCX,R12
MOV RSI,RBX
CALL 0x002a3e80
ADD qword ptr [RBP + 0x408],0x1
JMP 0x001baa5b
MOV RDI,RBX
MOV RBX,R13
CALL 0x002a2980
MOV qword ptr [RBX + 0x30],R14
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RAX,qword ptr [RDX + 0x20]
CMP qword ptr [RBX + 0x20],RAX
JC 0x001baa36
MOV EDI,0x0
JNZ 0x001baa36
XOR EDI,EDI
MOV EAX,dword ptr [RDX + 0x28]
CMP dword ptr [RBX + 0x28],EAX
SETC DIL
JMP 0x001baa36
LEA RDX,[0x343b50]
MOV ESI,0x51e
LEA RDI,[0x342598]
CALL 0x00199900
(translation_unit "void FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}\n\n" (function_definition "void FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "undefined1 auVar7 [16];" type_identifier (array_declarator "auVar7 [16]" identifier [ number_literal ]) ;) (if_statement "if (*(char *)(param_1 + 0x372) == '\0') {\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x372) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x372) == '\0'" (pointer_expression "*(char *)(param_1 + 0x372)" * (cast_expression "(char *)(param_1 + 0x372)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x372)" ( (binary_expression "param_1 + 0x372" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" { comment (expression_statement "FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");" (call_expression "FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map")" identifier (argument_list "("../../gold/layout.cc",0x51e,"insert_section_segment_map")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""insert_section_segment_map"" " string_content ") ))) ;) })) (expression_statement "lVar2 = param_1 + 1000;" (assignment_expression "lVar2 = param_1 + 1000" identifier = (binary_expression "param_1 + 1000" identifier + number_literal)) ;) (expression_statement "lVar3 = *(long *)(param_1 + 0x3f0);" (assignment_expression "lVar3 = *(long *)(param_1 + 0x3f0)" identifier = (pointer_expression "*(long *)(param_1 + 0x3f0)" * (cast_expression "(long *)(param_1 + 0x3f0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3f0)" ( (binary_expression "param_1 + 0x3f0" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = lVar2;" (assignment_expression "lVar4 = lVar2" identifier = identifier) ;) (expression_statement "lVar5 = lVar2;" (assignment_expression "lVar5 = lVar2" identifier = identifier) ;) (if_statement "if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x3f0) != 0)" ( (binary_expression "*(long *)(param_1 + 0x3f0) != 0" (pointer_expression "*(long *)(param_1 + 0x3f0)" * (cast_expression "(long *)(param_1 + 0x3f0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3f0)" ( (binary_expression "param_1 + 0x3f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }" { (do_statement "do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);" do (compound_statement "{\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    }" { (while_statement "while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }" { (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" identifier = identifier) ;) (if_statement "if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;" if (parenthesized_expression "((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))" ( (binary_expression "(param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))))" (parenthesized_expression "(param_2 <= *(ulong *)(lVar5 + 0x20))" ( (binary_expression "param_2 <= *(ulong *)(lVar5 + 0x20)" identifier <= (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) ))))) )) && (parenthesized_expression "((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))))" ( (parenthesized_expression "(param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))" ( (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))" (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20)" identifier != (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) ))))) || (parenthesized_expression "((uint)param_3 <= *(uint *)(lVar5 + 0x28))" ( (binary_expression "(uint)param_3 <= *(uint *)(lVar5 + 0x28)" (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier) <= (pointer_expression "*(uint *)(lVar5 + 0x28)" * (cast_expression "(uint *)(lVar5 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x28)" ( (binary_expression "lVar5 + 0x28" identifier + number_literal) ))))) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "plVar1 = (long *)(lVar5 + 0x18);" (assignment_expression "plVar1 = (long *)(lVar5 + 0x18)" identifier = (cast_expression "(long *)(lVar5 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x18)" ( (binary_expression "lVar5 + 0x18" identifier + number_literal) )))) ;) (expression_statement "lVar3 = *plVar1;" (assignment_expression "lVar3 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "lVar5 = lVar4;" (assignment_expression "lVar5 = lVar4" identifier = identifier) ;) (if_statement "if (*plVar1 == 0) goto LAB_001ba9d2;" if (parenthesized_expression "(*plVar1 == 0)" ( (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" * identifier) == number_literal) )) (goto_statement "goto LAB_001ba9d2;" goto statement_identifier ;)) })) (expression_statement "lVar3 = *(long *)(lVar5 + 0x10);" (assignment_expression "lVar3 = *(long *)(lVar5 + 0x10)" identifier = (pointer_expression "*(long *)(lVar5 + 0x10)" * (cast_expression "(long *)(lVar5 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x10)" ( (binary_expression "lVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = lVar5;" (assignment_expression "lVar4 = lVar5" identifier = identifier) ;) }) while (parenthesized_expression "(*(long *)(lVar5 + 0x10) != 0)" ( (binary_expression "*(long *)(lVar5 + 0x10) != 0" (pointer_expression "*(long *)(lVar5 + 0x10)" * (cast_expression "(long *)(lVar5 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x10)" ( (binary_expression "lVar5 + 0x10" identifier + number_literal) )))) != number_literal) )) ;) (labeled_statement "LAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;" statement_identifier : (if_statement "if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;" if (parenthesized_expression "(((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))" ( (binary_expression "((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)))" (parenthesized_expression "((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2))" ( (binary_expression "(lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)" (parenthesized_expression "(lVar2 != lVar5)" ( (binary_expression "lVar2 != lVar5" identifier != identifier) )) && (parenthesized_expression "(*(ulong *)(lVar5 + 0x20) <= param_2)" ( (binary_expression "*(ulong *)(lVar5 + 0x20) <= param_2" (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) )))) <= identifier) ))) )) && (parenthesized_expression "((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)))" ( (parenthesized_expression "(param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))" ( (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)" (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20)" identifier != (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) ))))) || (parenthesized_expression "(*(uint *)(lVar5 + 0x28) <= (uint)param_3)" ( (binary_expression "*(uint *)(lVar5 + 0x28) <= (uint)param_3" (pointer_expression "*(uint *)(lVar5 + 0x28)" * (cast_expression "(uint *)(lVar5 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x28)" ( (binary_expression "lVar5 + 0x28" identifier + number_literal) )))) <= (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) ))) )) (goto_statement "goto LAB_001baa5b;" goto statement_identifier ;))) })) (expression_statement "lVar3 = FUN_002a11b0(0x38);" (assignment_expression "lVar3 = FUN_002a11b0(0x38)" identifier = (call_expression "FUN_002a11b0(0x38)" identifier (argument_list "(0x38)" ( number_literal )))) ;) (expression_statement "*(ulong *)(lVar3 + 0x20) = param_2;" (assignment_expression "*(ulong *)(lVar3 + 0x20) = param_2" (pointer_expression "*(ulong *)(lVar3 + 0x20)" * (cast_expression "(ulong *)(lVar3 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = param_3;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = param_3" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x30) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x30) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x30)" * (cast_expression "(undefined8 *)(lVar3 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x30)" ( (binary_expression "lVar3 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);" (assignment_expression "auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" identifier = (call_expression "FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" identifier (argument_list "(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" ( (binary_expression "param_1 + 0x3e0" identifier + number_literal) , identifier , (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) ;) (expression_statement "lVar4 = auVar7._8_8_;" (assignment_expression "lVar4 = auVar7._8_8_" identifier = (field_expression "auVar7._8_8_" identifier . field_identifier)) ;) (expression_statement "lVar5 = auVar7._0_8_;" (assignment_expression "lVar5 = auVar7._0_8_" identifier = (field_expression "auVar7._0_8_" identifier . field_identifier)) ;) (if_statement "if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_002a2980(lVar3);\n  }" { (expression_statement "FUN_002a2980(lVar3);" (call_expression "FUN_002a2980(lVar3)" identifier (argument_list "(lVar3)" ( identifier ))) ;) }) (else_clause "else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" else (compound_statement "{\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" { (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (if_statement "if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }" if (parenthesized_expression "((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)))" ( (binary_expression "(((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))" (parenthesized_expression "(((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20)))" ( (binary_expression "((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))" (parenthesized_expression "((lVar2 != lVar4) && (lVar5 == 0))" ( (binary_expression "(lVar2 != lVar4) && (lVar5 == 0)" (parenthesized_expression "(lVar2 != lVar4)" ( (binary_expression "lVar2 != lVar4" identifier != identifier) )) && (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) ))) )) && (parenthesized_expression "(*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))" ( (binary_expression "*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20)" (pointer_expression "*(ulong *)(lVar4 + 0x20)" * (cast_expression "(ulong *)(lVar4 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) <= (pointer_expression "*(ulong *)(lVar3 + 0x20)" * (cast_expression "(ulong *)(lVar3 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))" ( (comma_expression "bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)" (assignment_expression "bVar6 = false" identifier = false) , (binary_expression "*(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)" (pointer_expression "*(ulong *)(lVar3 + 0x20)" * (cast_expression "(ulong *)(lVar3 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) == (pointer_expression "*(ulong *)(lVar4 + 0x20)" * (cast_expression "(ulong *)(lVar4 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }" { (expression_statement "bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);" (assignment_expression "bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28)" identifier = (binary_expression "*(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28)" (pointer_expression "*(uint *)(lVar3 + 0x28)" * (cast_expression "(uint *)(lVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) < (pointer_expression "*(uint *)(lVar4 + 0x28)" * (cast_expression "(uint *)(lVar4 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) )))))) ;) })) (expression_statement "FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);" (call_expression "FUN_002a3e80(bVar6,lVar3,lVar4,lVar2)" identifier (argument_list "(bVar6,lVar3,lVar4,lVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;" (assignment_expression "*(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1" (pointer_expression "*(long *)(param_1 + 0x408)" * (cast_expression "(long *)(param_1 + 0x408)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x408)" ( (binary_expression "param_1 + 0x408" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 0x408) + 1" (pointer_expression "*(long *)(param_1 + 0x408)" * (cast_expression "(long *)(param_1 + 0x408)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x408)" ( (binary_expression "param_1 + 0x408" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" identifier = identifier) ;) }))) (labeled_statement "LAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;" statement_identifier : (expression_statement "*(undefined8 *)(lVar5 + 0x30) = param_4;" (assignment_expression "*(undefined8 *)(lVar5 + 0x30) = param_4" (pointer_expression "*(undefined8 *)(lVar5 + 0x30)" * (cast_expression "(undefined8 *)(lVar5 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x30)" ( (binary_expression "lVar5 + 0x30" identifier + number_literal) )))) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void insert_section_segment_map(Layout * this, Const_section_id secn,\n   Unique_segment_info * s) */\n\nvoid __thiscall\ngold::Layout::insert_section_segment_map(Layout *this,Const_section_id secn,Unique_segment_info *s)\n\n{\n  _Base_ptr *pp_Var1;\n  _Rb_tree_header *p_Var2;\n  size_t *psVar3;\n  _Rb_tree_node_base *p_Var4;\n  const_iterator __position;\n  _Rb_tree_node_base *p_Var5;\n  Relobj *pRVar6;\n  bool bVar7;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar8;\n  \n  pRVar6 = secn.first;\n  if (this->unique_segment_for_sections_specified_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  p_Var4 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent;\n  p_Var2 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header;\n  p_Var5 = &p_Var2->_M_header;\n  __position._M_node = &p_Var2->_M_header;\n  if (p_Var4 != (_Rb_tree_node_base *)0x0) {\n    do {\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);\nLAB_001ba9d2:\n    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;\n  }\n  p_Var4 = (_Rb_tree_node_base *)operator_new(0x38);\n  *(Relobj **)(p_Var4 + 1) = pRVar6;\n  p_Var4[1]._M_parent = secn._8_8_;\n  p_Var4[1]._M_left = (_Base_ptr)0x0;\n  pVar8 = std::\n          _Rb_tree<std::pair<const_gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>,_std::less<std::pair<const_gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>_>\n          ::_M_get_insert_hint_unique_pos\n                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1));\n  p_Var5 = pVar8.second;\n  __position._M_node = pVar8.first;\n  if (p_Var5 == (_Rb_tree_node_base *)0x0) {\n    operator_delete(p_Var4);\n  }\n  else {\n    bVar7 = true;\n    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }\n    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);\n    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;\n    *psVar3 = *psVar3 + 1;\n    __position._M_node = p_Var4;\n  }\nLAB_001baa5b:\n  __position._M_node[1]._M_left = (_Base_ptr)s;\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Layout::insert_section_segment_map(Layout *this,Const_section_id secn,Unique_segment_info *s)\n\n{\n  _Base_ptr *pp_Var1;\n  _Rb_tree_header *p_Var2;\n  size_t *psVar3;\n  _Rb_tree_node_base *p_Var4;\n  const_iterator __position;\n  _Rb_tree_node_base *p_Var5;\n  Relobj *pRVar6;\n  bool bVar7;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar8;\n  \n  pRVar6 = secn.first;\n  if (this->unique_segment_for_sections_specified_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  p_Var4 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent;\n  p_Var2 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header;\n  p_Var5 = &p_Var2->_M_header;\n  __position._M_node = &p_Var2->_M_header;\n  if (p_Var4 != (_Rb_tree_node_base *)0x0) {\n    do {\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);\nLAB_001ba9d2:\n    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;\n  }\n  p_Var4 = (_Rb_tree_node_base *)operator_new(0x38);\n  *(Relobj **)(p_Var4 + 1) = pRVar6;\n  p_Var4[1]._M_parent = secn._8_8_;\n  p_Var4[1]._M_left = (_Base_ptr)0x0;\n  pVar8 = std::\n          _Rb_tree<std::pair<const_gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>,_std::less<std::pair<const_gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>_>\n          ::_M_get_insert_hint_unique_pos\n                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1));\n  p_Var5 = pVar8.second;\n  __position._M_node = pVar8.first;\n  if (p_Var5 == (_Rb_tree_node_base *)0x0) {\n    operator_delete(p_Var4);\n  }\n  else {\n    bVar7 = true;\n    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }\n    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);\n    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;\n    *psVar3 = *psVar3 + 1;\n    __position._M_node = p_Var4;\n  }\nLAB_001baa5b:\n  __position._M_node[1]._M_left = (_Base_ptr)s;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "insert_section_segment_map(Layout *this,Const_section_id secn,Unique_segment_info *s)" identifier (parameter_list "(Layout *this,Const_section_id secn,Unique_segment_info *s)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Const_section_id secn" type_identifier identifier) , (parameter_declaration "Unique_segment_info *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  _Base_ptr *pp_Var1;\n  _Rb_tree_header *p_Var2;\n  size_t *psVar3;\n  _Rb_tree_node_base *p_Var4;\n  const_iterator __position;\n  _Rb_tree_node_base *p_Var5;\n  Relobj *pRVar6;\n  bool bVar7;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar8;\n  \n  pRVar6 = secn.first;\n  if (this->unique_segment_for_sections_specified_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  p_Var4 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent;\n  p_Var2 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header;\n  p_Var5 = &p_Var2->_M_header;\n  __position._M_node = &p_Var2->_M_header;\n  if (p_Var4 != (_Rb_tree_node_base *)0x0) {\n    do {\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);\nLAB_001ba9d2:\n    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;\n  }\n  p_Var4 = (_Rb_tree_node_base *)operator_new(0x38);\n  *(Relobj **)(p_Var4 + 1) = pRVar6;\n  p_Var4[1]._M_parent = secn._8_8_;\n  p_Var4[1]._M_left = (_Base_ptr)0x0;\n  pVar8 = std::\n          _Rb_tree<std::pair<const_gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>,_std::less<std::pair<const_gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>_>\n          ::_M_get_insert_hint_unique_pos\n                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1));\n  p_Var5 = pVar8.second;\n  __position._M_node = pVar8.first;\n  if (p_Var5 == (_Rb_tree_node_base *)0x0) {\n    operator_delete(p_Var4);\n  }\n  else {\n    bVar7 = true;\n    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }\n    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);\n    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;\n    *psVar3 = *psVar3 + 1;\n    __position._M_node = p_Var4;\n  }\nLAB_001baa5b:\n  __position._M_node[1]._M_left = (_Base_ptr)s;\n  return;\n}" { (declaration "_Base_ptr *pp_Var1;" type_identifier (pointer_declarator "*pp_Var1" * identifier) ;) (declaration "_Rb_tree_header *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "size_t *psVar3;" primitive_type (pointer_declarator "*psVar3" * identifier) ;) (declaration "_Rb_tree_node_base *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "const_iterator __position;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var5;" type_identifier (pointer_declarator "*p_Var5" * identifier) ;) (declaration "Relobj *pRVar6;" type_identifier (pointer_declarator "*pRVar6" * identifier) ;) (declaration "bool bVar7;" primitive_type identifier ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : :) (expression_statement "_Rb_tree_node_base*> pVar8;" (binary_expression "_Rb_tree_node_base*> pVar8" identifier * (ERROR ">" >) identifier) ;) (expression_statement "pRVar6 = secn.first;" (assignment_expression "pRVar6 = secn.first" identifier = (field_expression "secn.first" identifier . field_identifier)) ;) (if_statement "if (this->unique_segment_for_sections_specified_ == false) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" if (parenthesized_expression "(this->unique_segment_for_sections_specified_ == false)" ( (binary_expression "this->unique_segment_for_sections_specified_ == false" (field_expression "this->unique_segment_for_sections_specified_" identifier -> field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map");" (call_expression "do_gold_unreachable("../../gold/layout.cc",0x51e,"insert_section_segment_map")" identifier (argument_list "("../../gold/layout.cc",0x51e,"insert_section_segment_map")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""insert_section_segment_map"" " string_content ") ))) ;) })) (expression_statement "p_Var4 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent;" (assignment_expression "p_Var4 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent" identifier = (field_expression "(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent" (field_expression "(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header" (field_expression "(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header" (field_expression "(this->section_segment_map_)._M_t._M_impl" (field_expression "(this->section_segment_map_)._M_t" (parenthesized_expression "(this->section_segment_map_)" ( (field_expression "this->section_segment_map_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "p_Var2 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header;" (assignment_expression "p_Var2 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header" identifier = (pointer_expression "&(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header" & (field_expression "(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header" (field_expression "(this->section_segment_map_)._M_t._M_impl" (field_expression "(this->section_segment_map_)._M_t" (parenthesized_expression "(this->section_segment_map_)" ( (field_expression "this->section_segment_map_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier))) ;) (expression_statement "p_Var5 = &p_Var2->_M_header;" (assignment_expression "p_Var5 = &p_Var2->_M_header" identifier = (pointer_expression "&p_Var2->_M_header" & (field_expression "p_Var2->_M_header" identifier -> field_identifier))) ;) (expression_statement "__position._M_node = &p_Var2->_M_header;" (assignment_expression "__position._M_node = &p_Var2->_M_header" (field_expression "__position._M_node" identifier . field_identifier) = (pointer_expression "&p_Var2->_M_header" & (field_expression "p_Var2->_M_header" identifier -> field_identifier))) ;) (if_statement "if (p_Var4 != (_Rb_tree_node_base *)0x0) {\n    do {\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);\nLAB_001ba9d2:\n    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;\n  }" if (parenthesized_expression "(p_Var4 != (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var4 != (_Rb_tree_node_base *)0x0" identifier != (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);\nLAB_001ba9d2:\n    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;\n  }" { (do_statement "do {\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    } while ((__position._M_node)->_M_left != (_Base_ptr)0x0);" do (compound_statement "{\n      while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }\n      p_Var4 = (__position._M_node)->_M_left;\n      p_Var5 = __position._M_node;\n    }" { (while_statement "while( true ) {\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        __position._M_node = p_Var4;\n        if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;\n        pp_Var1 = &(__position._M_node)->_M_right;\n        p_Var4 = *pp_Var1;\n        __position._M_node = p_Var5;\n        if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;\n      }" { (expression_statement "__position._M_node = p_Var4;" (assignment_expression "__position._M_node = p_Var4" (field_expression "__position._M_node" identifier . field_identifier) = identifier) ;) (if_statement "if ((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))) break;" if (parenthesized_expression "((pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent))))" ( (binary_expression "(pRVar6 <= *(Relobj **)(__position._M_node + 1)) &&\n           ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))" (parenthesized_expression "(pRVar6 <= *(Relobj **)(__position._M_node + 1))" ( (binary_expression "pRVar6 <= *(Relobj **)(__position._M_node + 1)" identifier <= (pointer_expression "*(Relobj **)(__position._M_node + 1)" * (cast_expression "(Relobj **)(__position._M_node + 1)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__position._M_node + 1)" ( (binary_expression "__position._M_node + 1" (field_expression "__position._M_node" identifier . field_identifier) + number_literal) ))))) )) && (parenthesized_expression "((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)))" ( (parenthesized_expression "(pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent))" ( (binary_expression "pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n            (secn.second <= *(uint *)&__position._M_node[1]._M_parent)" (binary_expression "pRVar6 != *(Relobj **)(__position._M_node + 1)" identifier != (pointer_expression "*(Relobj **)(__position._M_node + 1)" * (cast_expression "(Relobj **)(__position._M_node + 1)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__position._M_node + 1)" ( (binary_expression "__position._M_node + 1" (field_expression "__position._M_node" identifier . field_identifier) + number_literal) ))))) || (parenthesized_expression "(secn.second <= *(uint *)&__position._M_node[1]._M_parent)" ( (binary_expression "secn.second <= *(uint *)&__position._M_node[1]._M_parent" (field_expression "secn.second" identifier . field_identifier) <= (pointer_expression "*(uint *)&__position._M_node[1]._M_parent" * (cast_expression "(uint *)&__position._M_node[1]._M_parent" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__position._M_node[1]._M_parent" & (field_expression "__position._M_node[1]._M_parent" (subscript_expression "__position._M_node[1]" (field_expression "__position._M_node" identifier . field_identifier) [ number_literal ]) . field_identifier))))) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "pp_Var1 = &(__position._M_node)->_M_right;" (assignment_expression "pp_Var1 = &(__position._M_node)->_M_right" identifier = (pointer_expression "&(__position._M_node)->_M_right" & (field_expression "(__position._M_node)->_M_right" (parenthesized_expression "(__position._M_node)" ( (field_expression "__position._M_node" identifier . field_identifier) )) -> field_identifier))) ;) (expression_statement "p_Var4 = *pp_Var1;" (assignment_expression "p_Var4 = *pp_Var1" identifier = (pointer_expression "*pp_Var1" * identifier)) ;) (expression_statement "__position._M_node = p_Var5;" (assignment_expression "__position._M_node = p_Var5" (field_expression "__position._M_node" identifier . field_identifier) = identifier) ;) (if_statement "if (*pp_Var1 == (_Base_ptr)0x0) goto LAB_001ba9d2;" if (parenthesized_expression "(*pp_Var1 == (_Base_ptr)0x0)" ( (binary_expression "*pp_Var1 == (_Base_ptr)0x0" (pointer_expression "*pp_Var1" * identifier) == (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) (goto_statement "goto LAB_001ba9d2;" goto statement_identifier ;)) })) (expression_statement "p_Var4 = (__position._M_node)->_M_left;" (assignment_expression "p_Var4 = (__position._M_node)->_M_left" identifier = (field_expression "(__position._M_node)->_M_left" (parenthesized_expression "(__position._M_node)" ( (field_expression "__position._M_node" identifier . field_identifier) )) -> field_identifier)) ;) (expression_statement "p_Var5 = __position._M_node;" (assignment_expression "p_Var5 = __position._M_node" identifier = (field_expression "__position._M_node" identifier . field_identifier)) ;) }) while (parenthesized_expression "((__position._M_node)->_M_left != (_Base_ptr)0x0)" ( (binary_expression "(__position._M_node)->_M_left != (_Base_ptr)0x0" (field_expression "(__position._M_node)->_M_left" (parenthesized_expression "(__position._M_node)" ( (field_expression "__position._M_node" identifier . field_identifier) )) -> field_identifier) != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) ;) (labeled_statement "LAB_001ba9d2:\n    if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;" statement_identifier : (if_statement "if (((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;" if (parenthesized_expression "(((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second))))" ( (binary_expression "((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)) &&\n       ((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))" (parenthesized_expression "((p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6))" ( (binary_expression "(p_Var2 != (_Rb_tree_header *)__position._M_node) &&\n        (*(Relobj **)(__position._M_node + 1) <= pRVar6)" (parenthesized_expression "(p_Var2 != (_Rb_tree_header *)__position._M_node)" ( (binary_expression "p_Var2 != (_Rb_tree_header *)__position._M_node" identifier != (cast_expression "(_Rb_tree_header *)__position._M_node" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "__position._M_node" identifier . field_identifier))) )) && (parenthesized_expression "(*(Relobj **)(__position._M_node + 1) <= pRVar6)" ( (binary_expression "*(Relobj **)(__position._M_node + 1) <= pRVar6" (pointer_expression "*(Relobj **)(__position._M_node + 1)" * (cast_expression "(Relobj **)(__position._M_node + 1)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__position._M_node + 1)" ( (binary_expression "__position._M_node + 1" (field_expression "__position._M_node" identifier . field_identifier) + number_literal) )))) <= identifier) ))) )) && (parenthesized_expression "((pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)))" ( (parenthesized_expression "(pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second))" ( (binary_expression "pRVar6 != *(Relobj **)(__position._M_node + 1) ||\n        (*(uint *)&__position._M_node[1]._M_parent <= secn.second)" (binary_expression "pRVar6 != *(Relobj **)(__position._M_node + 1)" identifier != (pointer_expression "*(Relobj **)(__position._M_node + 1)" * (cast_expression "(Relobj **)(__position._M_node + 1)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__position._M_node + 1)" ( (binary_expression "__position._M_node + 1" (field_expression "__position._M_node" identifier . field_identifier) + number_literal) ))))) || (parenthesized_expression "(*(uint *)&__position._M_node[1]._M_parent <= secn.second)" ( (binary_expression "*(uint *)&__position._M_node[1]._M_parent <= secn.second" (pointer_expression "*(uint *)&__position._M_node[1]._M_parent" * (cast_expression "(uint *)&__position._M_node[1]._M_parent" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__position._M_node[1]._M_parent" & (field_expression "__position._M_node[1]._M_parent" (subscript_expression "__position._M_node[1]" (field_expression "__position._M_node" identifier . field_identifier) [ number_literal ]) . field_identifier)))) <= (field_expression "secn.second" identifier . field_identifier)) ))) )) ))) )) (goto_statement "goto LAB_001baa5b;" goto statement_identifier ;))) })) (expression_statement "p_Var4 = (_Rb_tree_node_base *)operator_new(0x38);" (assignment_expression "p_Var4 = (_Rb_tree_node_base *)operator_new(0x38)" identifier = (cast_expression "(_Rb_tree_node_base *)operator_new(0x38)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x38)" identifier (argument_list "(0x38)" ( number_literal ))))) ;) (expression_statement "*(Relobj **)(p_Var4 + 1) = pRVar6;" (assignment_expression "*(Relobj **)(p_Var4 + 1) = pRVar6" (pointer_expression "*(Relobj **)(p_Var4 + 1)" * (cast_expression "(Relobj **)(p_Var4 + 1)" ( (type_descriptor "Relobj **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var4 + 1)" ( (binary_expression "p_Var4 + 1" identifier + number_literal) )))) = identifier) ;) (expression_statement "p_Var4[1]._M_parent = secn._8_8_;" (assignment_expression "p_Var4[1]._M_parent = secn._8_8_" (field_expression "p_Var4[1]._M_parent" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier) = (field_expression "secn._8_8_" identifier . field_identifier)) ;) (expression_statement "p_Var4[1]._M_left = (_Base_ptr)0x0;" (assignment_expression "p_Var4[1]._M_left = (_Base_ptr)0x0" (field_expression "p_Var4[1]._M_left" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) ;) (ERROR "pVar8 = std::\n          _Rb_tree<std::pair<const_gold::Relobj*,_unsigned_int>,_std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::Layout::Unique_segment_info*>_>,_std::less<std::pair<const_gold::Relobj*,_unsigned_int>_>,_std::allocator<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold::" (assignment_expression "pVar8 = std" identifier = identifier) : : (binary_expression "_Rb_tree<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>,_std" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>,_gold" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : : (comma_expression "Layout::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>,_gold" identifier (ERROR "::Unique_segment_info*>,_std::_Select1st<std::pair<const_std::pair<const_gold::Relobj*,_unsigned_int>" : : (comma_expression "Unique_segment_info*>,_std" identifier (ERROR "*>" * >) , identifier) : : (binary_expression "_Select1st<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : identifier * , identifier >) , identifier) : : (binary_expression "Layout::Unique_segment_info*>_>,_std" (binary_expression "Layout::Unique_segment_info*>_" identifier (ERROR "::Unique_segment_info*" : : identifier *) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "less<std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>_>,_std" (binary_expression "Relobj*,_unsigned_int>_" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<std" identifier < identifier) : : (binary_expression "pair<const_std" identifier < identifier) : : (binary_expression "pair<const_gold" identifier < identifier) : : (binary_expression "Relobj*,_unsigned_int>,_gold" (binary_expression "Relobj*,_unsigned_int" identifier * (ERROR "," ,) identifier) > (ERROR "," ,) identifier) : :) (expression_statement "Layout::Unique_segment_info*>_>_>\n          ::_M_get_insert_hint_unique_pos\n                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1));" (binary_expression "Layout::Unique_segment_info*>_>_>\n          ::_M_get_insert_hint_unique_pos\n                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1))" (binary_expression "Layout::Unique_segment_info*>_>_" (binary_expression "Layout::Unique_segment_info*>_" identifier (ERROR "::Unique_segment_info*" : : identifier *) > identifier) > identifier) > (ERROR "::" : :) (call_expression "_M_get_insert_hint_unique_pos\n                    (&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1))" identifier (argument_list "(&(this->section_segment_map_)._M_t,__position,(key_type *)(p_Var4 + 1))" ( (pointer_expression "&(this->section_segment_map_)._M_t" & (field_expression "(this->section_segment_map_)._M_t" (parenthesized_expression "(this->section_segment_map_)" ( (field_expression "this->section_segment_map_" identifier -> field_identifier) )) . field_identifier)) , identifier , (cast_expression "(key_type *)(p_Var4 + 1)" ( (type_descriptor "key_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var4 + 1)" ( (binary_expression "p_Var4 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "p_Var5 = pVar8.second;" (assignment_expression "p_Var5 = pVar8.second" identifier = (field_expression "pVar8.second" identifier . field_identifier)) ;) (expression_statement "__position._M_node = pVar8.first;" (assignment_expression "__position._M_node = pVar8.first" (field_expression "__position._M_node" identifier . field_identifier) = (field_expression "pVar8.first" identifier . field_identifier)) ;) (if_statement "if (p_Var5 == (_Rb_tree_node_base *)0x0) {\n    operator_delete(p_Var4);\n  }\n  else {\n    bVar7 = true;\n    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }\n    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);\n    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;\n    *psVar3 = *psVar3 + 1;\n    __position._M_node = p_Var4;\n  }" if (parenthesized_expression "(p_Var5 == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var5 == (_Rb_tree_node_base *)0x0" identifier == (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    operator_delete(p_Var4);\n  }" { (expression_statement "operator_delete(p_Var4);" (call_expression "operator_delete(p_Var4)" identifier (argument_list "(p_Var4)" ( identifier ))) ;) }) (else_clause "else {\n    bVar7 = true;\n    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }\n    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);\n    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;\n    *psVar3 = *psVar3 + 1;\n    __position._M_node = p_Var4;\n  }" else (compound_statement "{\n    bVar7 = true;\n    if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }\n    std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);\n    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;\n    *psVar3 = *psVar3 + 1;\n    __position._M_node = p_Var4;\n  }" { (expression_statement "bVar7 = true;" (assignment_expression "bVar7 = true" identifier = true) ;) (if_statement "if ((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))) {\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }" if (parenthesized_expression "((((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1)))" ( (binary_expression "(((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))) &&\n       (bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))" (parenthesized_expression "(((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1)))" ( (binary_expression "((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         ) && (*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))" (parenthesized_expression "((p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)\n         )" ( (binary_expression "(p_Var2 != (_Rb_tree_header *)p_Var5) && (__position._M_node == (_Rb_tree_node_base *)0x0)" (parenthesized_expression "(p_Var2 != (_Rb_tree_header *)p_Var5)" ( (binary_expression "p_Var2 != (_Rb_tree_header *)p_Var5" identifier != (cast_expression "(_Rb_tree_header *)p_Var5" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) && (parenthesized_expression "(__position._M_node == (_Rb_tree_node_base *)0x0)" ( (binary_expression "__position._M_node == (_Rb_tree_node_base *)0x0" (field_expression "__position._M_node" identifier . field_identifier) == (cast_expression "(_Rb_tree_node_base *)0x0" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) && (parenthesized_expression "(*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1))" ( (binary_expression "*(ulong *)(p_Var5 + 1) <= *(ulong *)(p_Var4 + 1)" (pointer_expression "*(ulong *)(p_Var5 + 1)" * (cast_expression "(ulong *)(p_Var5 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var5 + 1)" ( (binary_expression "p_Var5 + 1" identifier + number_literal) )))) <= (pointer_expression "*(ulong *)(p_Var4 + 1)" * (cast_expression "(ulong *)(p_Var4 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var4 + 1)" ( (binary_expression "p_Var4 + 1" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1))" ( (comma_expression "bVar7 = false, *(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1)" (assignment_expression "bVar7 = false" identifier = false) , (binary_expression "*(ulong *)(p_Var4 + 1) == *(ulong *)(p_Var5 + 1)" (pointer_expression "*(ulong *)(p_Var4 + 1)" * (cast_expression "(ulong *)(p_Var4 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var4 + 1)" ( (binary_expression "p_Var4 + 1" identifier + number_literal) )))) == (pointer_expression "*(ulong *)(p_Var5 + 1)" * (cast_expression "(ulong *)(p_Var5 + 1)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var5 + 1)" ( (binary_expression "p_Var5 + 1" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;\n    }" { (expression_statement "bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent;" (assignment_expression "bVar7 = *(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent" identifier = (binary_expression "*(uint *)&p_Var4[1]._M_parent < *(uint *)&p_Var5[1]._M_parent" (pointer_expression "*(uint *)&p_Var4[1]._M_parent" * (cast_expression "(uint *)&p_Var4[1]._M_parent" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var4[1]._M_parent" & (field_expression "p_Var4[1]._M_parent" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier)))) < (pointer_expression "*(uint *)&p_Var5[1]._M_parent" * (cast_expression "(uint *)&p_Var5[1]._M_parent" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p_Var5[1]._M_parent" & (field_expression "p_Var5[1]._M_parent" (subscript_expression "p_Var5[1]" identifier [ number_literal ]) . field_identifier)))))) ;) })) (labeled_statement "std::_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);" statement_identifier : (ERROR ":" :) (expression_statement "_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header);" (call_expression "_Rb_tree_insert_and_rebalance(bVar7,p_Var4,p_Var5,&p_Var2->_M_header)" identifier (argument_list "(bVar7,p_Var4,p_Var5,&p_Var2->_M_header)" ( identifier , identifier , identifier , (pointer_expression "&p_Var2->_M_header" & (field_expression "p_Var2->_M_header" identifier -> field_identifier)) ))) ;)) (expression_statement "psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;" (assignment_expression "psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count" identifier = (pointer_expression "&(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count" & (field_expression "(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count" (field_expression "(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header" (field_expression "(this->section_segment_map_)._M_t._M_impl" (field_expression "(this->section_segment_map_)._M_t" (parenthesized_expression "(this->section_segment_map_)" ( (field_expression "this->section_segment_map_" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier))) ;) (expression_statement "*psVar3 = *psVar3 + 1;" (assignment_expression "*psVar3 = *psVar3 + 1" (pointer_expression "*psVar3" * identifier) = (binary_expression "*psVar3 + 1" (pointer_expression "*psVar3" * identifier) + number_literal)) ;) (expression_statement "__position._M_node = p_Var4;" (assignment_expression "__position._M_node = p_Var4" (field_expression "__position._M_node" identifier . field_identifier) = identifier) ;) }))) (labeled_statement "LAB_001baa5b:\n  __position._M_node[1]._M_left = (_Base_ptr)s;" statement_identifier : (expression_statement "__position._M_node[1]._M_left = (_Base_ptr)s;" (assignment_expression "__position._M_node[1]._M_left = (_Base_ptr)s" (field_expression "__position._M_node[1]._M_left" (subscript_expression "__position._M_node[1]" (field_expression "__position._M_node" identifier . field_identifier) [ number_literal ]) . field_identifier) = (cast_expression "(_Base_ptr)s" ( (type_descriptor "_Base_ptr" type_identifier) ) identifier)) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}\n\n" (function_definition "void FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "undefined1 auVar7 [16];" type_identifier (array_declarator "auVar7 [16]" identifier [ number_literal ]) ;) (if_statement "if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x372) == '\0')" ( (binary_expression "*(char *)(param_1 + 0x372) == '\0'" (pointer_expression "*(char *)(param_1 + 0x372)" * (cast_expression "(char *)(param_1 + 0x372)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x372)" ( (binary_expression "param_1 + 0x372" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" { (expression_statement "FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");" (call_expression "FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map")" identifier (argument_list "("../../gold/layout.cc",0x51e,"insert_section_segment_map")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""insert_section_segment_map"" " string_content ") ))) ;) })) (expression_statement "lVar2 = param_1 + 1000;" (assignment_expression "lVar2 = param_1 + 1000" identifier = (binary_expression "param_1 + 1000" identifier + number_literal)) ;) (expression_statement "lVar3 = *(long *)(param_1 + 0x3f0);" (assignment_expression "lVar3 = *(long *)(param_1 + 0x3f0)" identifier = (pointer_expression "*(long *)(param_1 + 0x3f0)" * (cast_expression "(long *)(param_1 + 0x3f0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3f0)" ( (binary_expression "param_1 + 0x3f0" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = lVar2;" (assignment_expression "lVar4 = lVar2" identifier = identifier) ;) (expression_statement "lVar5 = lVar2;" (assignment_expression "lVar5 = lVar2" identifier = identifier) ;) (if_statement "if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x3f0) != 0)" ( (binary_expression "*(long *)(param_1 + 0x3f0) != 0" (pointer_expression "*(long *)(param_1 + 0x3f0)" * (cast_expression "(long *)(param_1 + 0x3f0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3f0)" ( (binary_expression "param_1 + 0x3f0" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }" { (do_statement "do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);" do (compound_statement "{\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    }" { (while_statement "while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }" { (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" identifier = identifier) ;) (if_statement "if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;" if (parenthesized_expression "((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))" ( (binary_expression "(param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))))" (parenthesized_expression "(param_2 <= *(ulong *)(lVar5 + 0x20))" ( (binary_expression "param_2 <= *(ulong *)(lVar5 + 0x20)" identifier <= (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) ))))) )) && (parenthesized_expression "((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))))" ( (parenthesized_expression "(param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))" ( (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))" (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20)" identifier != (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) ))))) || (parenthesized_expression "((uint)param_3 <= *(uint *)(lVar5 + 0x28))" ( (binary_expression "(uint)param_3 <= *(uint *)(lVar5 + 0x28)" (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier) <= (pointer_expression "*(uint *)(lVar5 + 0x28)" * (cast_expression "(uint *)(lVar5 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x28)" ( (binary_expression "lVar5 + 0x28" identifier + number_literal) ))))) ))) )) ))) )) (break_statement "break;" break ;)) (expression_statement "plVar1 = (long *)(lVar5 + 0x18);" (assignment_expression "plVar1 = (long *)(lVar5 + 0x18)" identifier = (cast_expression "(long *)(lVar5 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x18)" ( (binary_expression "lVar5 + 0x18" identifier + number_literal) )))) ;) (expression_statement "lVar3 = *plVar1;" (assignment_expression "lVar3 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "lVar5 = lVar4;" (assignment_expression "lVar5 = lVar4" identifier = identifier) ;) (if_statement "if (*plVar1 == 0) goto LAB_001ba9d2;" if (parenthesized_expression "(*plVar1 == 0)" ( (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" * identifier) == number_literal) )) (goto_statement "goto LAB_001ba9d2;" goto statement_identifier ;)) })) (expression_statement "lVar3 = *(long *)(lVar5 + 0x10);" (assignment_expression "lVar3 = *(long *)(lVar5 + 0x10)" identifier = (pointer_expression "*(long *)(lVar5 + 0x10)" * (cast_expression "(long *)(lVar5 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x10)" ( (binary_expression "lVar5 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "lVar4 = lVar5;" (assignment_expression "lVar4 = lVar5" identifier = identifier) ;) }) while (parenthesized_expression "(*(long *)(lVar5 + 0x10) != 0)" ( (binary_expression "*(long *)(lVar5 + 0x10) != 0" (pointer_expression "*(long *)(lVar5 + 0x10)" * (cast_expression "(long *)(lVar5 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x10)" ( (binary_expression "lVar5 + 0x10" identifier + number_literal) )))) != number_literal) )) ;) (labeled_statement "LAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;" statement_identifier : (if_statement "if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;" if (parenthesized_expression "(((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))" ( (binary_expression "((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)))" (parenthesized_expression "((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2))" ( (binary_expression "(lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)" (parenthesized_expression "(lVar2 != lVar5)" ( (binary_expression "lVar2 != lVar5" identifier != identifier) )) && (parenthesized_expression "(*(ulong *)(lVar5 + 0x20) <= param_2)" ( (binary_expression "*(ulong *)(lVar5 + 0x20) <= param_2" (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) )))) <= identifier) ))) )) && (parenthesized_expression "((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)))" ( (parenthesized_expression "(param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))" ( (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)" (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20)" identifier != (pointer_expression "*(ulong *)(lVar5 + 0x20)" * (cast_expression "(ulong *)(lVar5 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x20)" ( (binary_expression "lVar5 + 0x20" identifier + number_literal) ))))) || (parenthesized_expression "(*(uint *)(lVar5 + 0x28) <= (uint)param_3)" ( (binary_expression "*(uint *)(lVar5 + 0x28) <= (uint)param_3" (pointer_expression "*(uint *)(lVar5 + 0x28)" * (cast_expression "(uint *)(lVar5 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x28)" ( (binary_expression "lVar5 + 0x28" identifier + number_literal) )))) <= (cast_expression "(uint)param_3" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) ))) )) (goto_statement "goto LAB_001baa5b;" goto statement_identifier ;))) })) (expression_statement "lVar3 = FUN_002a11b0(0x38);" (assignment_expression "lVar3 = FUN_002a11b0(0x38)" identifier = (call_expression "FUN_002a11b0(0x38)" identifier (argument_list "(0x38)" ( number_literal )))) ;) (expression_statement "*(ulong *)(lVar3 + 0x20) = param_2;" (assignment_expression "*(ulong *)(lVar3 + 0x20) = param_2" (pointer_expression "*(ulong *)(lVar3 + 0x20)" * (cast_expression "(ulong *)(lVar3 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = param_3;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = param_3" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar3 + 0x30) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x30) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x30)" * (cast_expression "(undefined8 *)(lVar3 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x30)" ( (binary_expression "lVar3 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);" (assignment_expression "auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" identifier = (call_expression "FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" identifier (argument_list "(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" ( (binary_expression "param_1 + 0x3e0" identifier + number_literal) , identifier , (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) ;) (expression_statement "lVar4 = auVar7._8_8_;" (assignment_expression "lVar4 = auVar7._8_8_" identifier = (field_expression "auVar7._8_8_" identifier . field_identifier)) ;) (expression_statement "lVar5 = auVar7._0_8_;" (assignment_expression "lVar5 = auVar7._0_8_" identifier = (field_expression "auVar7._0_8_" identifier . field_identifier)) ;) (if_statement "if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" if (parenthesized_expression "(lVar4 == 0)" ( (binary_expression "lVar4 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_002a2980(lVar3);\n  }" { (expression_statement "FUN_002a2980(lVar3);" (call_expression "FUN_002a2980(lVar3)" identifier (argument_list "(lVar3)" ( identifier ))) ;) }) (else_clause "else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" else (compound_statement "{\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" { (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (if_statement "if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }" if (parenthesized_expression "((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)))" ( (binary_expression "(((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))" (parenthesized_expression "(((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20)))" ( (binary_expression "((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))" (parenthesized_expression "((lVar2 != lVar4) && (lVar5 == 0))" ( (binary_expression "(lVar2 != lVar4) && (lVar5 == 0)" (parenthesized_expression "(lVar2 != lVar4)" ( (binary_expression "lVar2 != lVar4" identifier != identifier) )) && (parenthesized_expression "(lVar5 == 0)" ( (binary_expression "lVar5 == 0" identifier == number_literal) ))) )) && (parenthesized_expression "(*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))" ( (binary_expression "*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20)" (pointer_expression "*(ulong *)(lVar4 + 0x20)" * (cast_expression "(ulong *)(lVar4 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) <= (pointer_expression "*(ulong *)(lVar3 + 0x20)" * (cast_expression "(ulong *)(lVar3 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) ))))) ))) )) && (parenthesized_expression "(bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))" ( (comma_expression "bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)" (assignment_expression "bVar6 = false" identifier = false) , (binary_expression "*(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)" (pointer_expression "*(ulong *)(lVar3 + 0x20)" * (cast_expression "(ulong *)(lVar3 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) == (pointer_expression "*(ulong *)(lVar4 + 0x20)" * (cast_expression "(ulong *)(lVar4 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))))) ))) )) (compound_statement "{\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }" { (expression_statement "bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);" (assignment_expression "bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28)" identifier = (binary_expression "*(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28)" (pointer_expression "*(uint *)(lVar3 + 0x28)" * (cast_expression "(uint *)(lVar3 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) < (pointer_expression "*(uint *)(lVar4 + 0x28)" * (cast_expression "(uint *)(lVar4 + 0x28)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) )))))) ;) })) (expression_statement "FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);" (call_expression "FUN_002a3e80(bVar6,lVar3,lVar4,lVar2)" identifier (argument_list "(bVar6,lVar3,lVar4,lVar2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "*(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;" (assignment_expression "*(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1" (pointer_expression "*(long *)(param_1 + 0x408)" * (cast_expression "(long *)(param_1 + 0x408)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x408)" ( (binary_expression "param_1 + 0x408" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 0x408) + 1" (pointer_expression "*(long *)(param_1 + 0x408)" * (cast_expression "(long *)(param_1 + 0x408)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x408)" ( (binary_expression "param_1 + 0x408" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" identifier = identifier) ;) }))) (labeled_statement "LAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;" statement_identifier : (expression_statement "*(undefined8 *)(lVar5 + 0x30) = param_4;" (assignment_expression "*(undefined8 *)(lVar5 + 0x30) = param_4" (pointer_expression "*(undefined8 *)(lVar5 + 0x30)" * (cast_expression "(undefined8 *)(lVar5 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x30)" ( (binary_expression "lVar5 + 0x30" identifier + number_literal) )))) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) ))) )) (goto_statement goto statement_identifier ;))) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != IDENT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) && (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) ))))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = BOOL) , (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001ba970(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)" (identifier "FUN_001ba970") (parameter_list "(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "ulong param_2" (type_identifier "ulong") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  bool bVar6;\n  undefined1 auVar7 [16];\n  \n  if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }\n  lVar2 = param_1 + 1000;\n  lVar3 = *(long *)(param_1 + 0x3f0);\n  lVar4 = lVar2;\n  lVar5 = lVar2;\n  if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }\n  lVar3 = FUN_002a11b0(0x38);\n  *(ulong *)(lVar3 + 0x20) = param_2;\n  *(undefined8 *)(lVar3 + 0x28) = param_3;\n  *(undefined8 *)(lVar3 + 0x30) = 0;\n  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);\n  lVar4 = auVar7._8_8_;\n  lVar5 = auVar7._0_8_;\n  if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }\nLAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "bool bVar6;" (primitive_type "bool") (identifier "bVar6") (; ";")) (declaration "undefined1 auVar7 [16];" (type_identifier "undefined1") (array_declarator "auVar7 [16]" (identifier "auVar7") ([ "[") (number_literal "16") (] "]")) (; ";")) (if_statement "if (*(char *)(param_1 + 0x372) == '\0') {\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x372) == '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x372) == '\0'" (pointer_expression "*(char *)(param_1 + 0x372)" (* "*") (cast_expression "(char *)(param_1 + 0x372)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x372)" (( "(") (binary_expression "param_1 + 0x372" (identifier "param_1") (+ "+") (number_literal "0x372")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");\n  }" ({ "{") (expression_statement "FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");" (call_expression "FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map")" (identifier "FUN_00199900") (argument_list "("../../gold/layout.cc",0x51e,"insert_section_segment_map")" (( "(") (string_literal ""../../gold/layout.cc"" (" """) (string_content "../../gold/layout.cc") (" """)) (, ",") (number_literal "0x51e") (, ",") (string_literal ""insert_section_segment_map"" (" """) (string_content "insert_section_segment_map") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar2 = param_1 + 1000;" (assignment_expression "lVar2 = param_1 + 1000" (identifier "lVar2") (= "=") (binary_expression "param_1 + 1000" (identifier "param_1") (+ "+") (number_literal "1000"))) (; ";")) (expression_statement "lVar3 = *(long *)(param_1 + 0x3f0);" (assignment_expression "lVar3 = *(long *)(param_1 + 0x3f0)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(param_1 + 0x3f0)" (* "*") (cast_expression "(long *)(param_1 + 0x3f0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3f0)" (( "(") (binary_expression "param_1 + 0x3f0" (identifier "param_1") (+ "+") (number_literal "0x3f0")) () ")"))))) (; ";")) (expression_statement "lVar4 = lVar2;" (assignment_expression "lVar4 = lVar2" (identifier "lVar4") (= "=") (identifier "lVar2")) (; ";")) (expression_statement "lVar5 = lVar2;" (assignment_expression "lVar5 = lVar2" (identifier "lVar5") (= "=") (identifier "lVar2")) (; ";")) (if_statement "if (*(long *)(param_1 + 0x3f0) != 0) {\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x3f0) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x3f0) != 0" (pointer_expression "*(long *)(param_1 + 0x3f0)" (* "*") (cast_expression "(long *)(param_1 + 0x3f0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3f0)" (( "(") (binary_expression "param_1 + 0x3f0" (identifier "param_1") (+ "+") (number_literal "0x3f0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);\nLAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;\n  }" ({ "{") (do_statement "do {\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    } while (*(long *)(lVar5 + 0x10) != 0);" (do "do") (compound_statement "{\n      while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }\n      lVar3 = *(long *)(lVar5 + 0x10);\n      lVar4 = lVar5;\n    }" ({ "{") (while_statement "while( true ) {\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        lVar5 = lVar3;\n        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;\n        plVar1 = (long *)(lVar5 + 0x18);\n        lVar3 = *plVar1;\n        lVar5 = lVar4;\n        if (*plVar1 == 0) goto LAB_001ba9d2;\n      }" ({ "{") (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" (identifier "lVar5") (= "=") (identifier "lVar3")) (; ";")) (if_statement "if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))\n        break;" (if "if") (parenthesized_expression "((param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))" (( "(") (binary_expression "(param_2 <= *(ulong *)(lVar5 + 0x20)) &&\n           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))))" (parenthesized_expression "(param_2 <= *(ulong *)(lVar5 + 0x20))" (( "(") (binary_expression "param_2 <= *(ulong *)(lVar5 + 0x20)" (identifier "param_2") (<= "<=") (pointer_expression "*(ulong *)(lVar5 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar5 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x20)" (( "(") (binary_expression "lVar5 + 0x20" (identifier "lVar5") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))))" (( "(") (parenthesized_expression "(param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))" (( "(") (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28))" (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20)" (identifier "param_2") (!= "!=") (pointer_expression "*(ulong *)(lVar5 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar5 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x20)" (( "(") (binary_expression "lVar5 + 0x20" (identifier "lVar5") (+ "+") (number_literal "0x20")) () ")"))))) (|| "||") (parenthesized_expression "((uint)param_3 <= *(uint *)(lVar5 + 0x28))" (( "(") (binary_expression "(uint)param_3 <= *(uint *)(lVar5 + 0x28)" (cast_expression "(uint)param_3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_3")) (<= "<=") (pointer_expression "*(uint *)(lVar5 + 0x28)" (* "*") (cast_expression "(uint *)(lVar5 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x28)" (( "(") (binary_expression "lVar5 + 0x28" (identifier "lVar5") (+ "+") (number_literal "0x28")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "plVar1 = (long *)(lVar5 + 0x18);" (assignment_expression "plVar1 = (long *)(lVar5 + 0x18)" (identifier "plVar1") (= "=") (cast_expression "(long *)(lVar5 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x18)" (( "(") (binary_expression "lVar5 + 0x18" (identifier "lVar5") (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (expression_statement "lVar3 = *plVar1;" (assignment_expression "lVar3 = *plVar1" (identifier "lVar3") (= "=") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (; ";")) (expression_statement "lVar5 = lVar4;" (assignment_expression "lVar5 = lVar4" (identifier "lVar5") (= "=") (identifier "lVar4")) (; ";")) (if_statement "if (*plVar1 == 0) goto LAB_001ba9d2;" (if "if") (parenthesized_expression "(*plVar1 == 0)" (( "(") (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001ba9d2;" (goto "goto") (statement_identifier "LAB_001ba9d2") (; ";"))) (} "}"))) (expression_statement "lVar3 = *(long *)(lVar5 + 0x10);" (assignment_expression "lVar3 = *(long *)(lVar5 + 0x10)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(lVar5 + 0x10)" (* "*") (cast_expression "(long *)(lVar5 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x10)" (( "(") (binary_expression "lVar5 + 0x10" (identifier "lVar5") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "lVar4 = lVar5;" (assignment_expression "lVar4 = lVar5" (identifier "lVar4") (= "=") (identifier "lVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(long *)(lVar5 + 0x10) != 0)" (( "(") (binary_expression "*(long *)(lVar5 + 0x10) != 0" (pointer_expression "*(long *)(lVar5 + 0x10)" (* "*") (cast_expression "(long *)(lVar5 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x10)" (( "(") (binary_expression "lVar5 + 0x10" (identifier "lVar5") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_001ba9d2:\n    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;" (statement_identifier "LAB_001ba9d2") (: ":") (if_statement "if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))\n    goto LAB_001baa5b;" (if "if") (parenthesized_expression "(((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))" (( "(") (binary_expression "((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&\n       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)))" (parenthesized_expression "((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2))" (( "(") (binary_expression "(lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)" (parenthesized_expression "(lVar2 != lVar5)" (( "(") (binary_expression "lVar2 != lVar5" (identifier "lVar2") (!= "!=") (identifier "lVar5")) () ")")) (&& "&&") (parenthesized_expression "(*(ulong *)(lVar5 + 0x20) <= param_2)" (( "(") (binary_expression "*(ulong *)(lVar5 + 0x20) <= param_2" (pointer_expression "*(ulong *)(lVar5 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar5 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x20)" (( "(") (binary_expression "lVar5 + 0x20" (identifier "lVar5") (+ "+") (number_literal "0x20")) () ")")))) (<= "<=") (identifier "param_2")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)))" (( "(") (parenthesized_expression "(param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))" (( "(") (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3)" (binary_expression "param_2 != *(ulong *)(lVar5 + 0x20)" (identifier "param_2") (!= "!=") (pointer_expression "*(ulong *)(lVar5 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar5 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x20)" (( "(") (binary_expression "lVar5 + 0x20" (identifier "lVar5") (+ "+") (number_literal "0x20")) () ")"))))) (|| "||") (parenthesized_expression "(*(uint *)(lVar5 + 0x28) <= (uint)param_3)" (( "(") (binary_expression "*(uint *)(lVar5 + 0x28) <= (uint)param_3" (pointer_expression "*(uint *)(lVar5 + 0x28)" (* "*") (cast_expression "(uint *)(lVar5 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x28)" (( "(") (binary_expression "lVar5 + 0x28" (identifier "lVar5") (+ "+") (number_literal "0x28")) () ")")))) (<= "<=") (cast_expression "(uint)param_3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_3"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_001baa5b;" (goto "goto") (statement_identifier "LAB_001baa5b") (; ";")))) (} "}"))) (expression_statement "lVar3 = FUN_002a11b0(0x38);" (assignment_expression "lVar3 = FUN_002a11b0(0x38)" (identifier "lVar3") (= "=") (call_expression "FUN_002a11b0(0x38)" (identifier "FUN_002a11b0") (argument_list "(0x38)" (( "(") (number_literal "0x38") () ")")))) (; ";")) (expression_statement "*(ulong *)(lVar3 + 0x20) = param_2;" (assignment_expression "*(ulong *)(lVar3 + 0x20) = param_2" (pointer_expression "*(ulong *)(lVar3 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar3 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0x28) = param_3;" (assignment_expression "*(undefined8 *)(lVar3 + 0x28) = param_3" (pointer_expression "*(undefined8 *)(lVar3 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "*(undefined8 *)(lVar3 + 0x30) = 0;" (assignment_expression "*(undefined8 *)(lVar3 + 0x30) = 0" (pointer_expression "*(undefined8 *)(lVar3 + 0x30)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x30)" (( "(") (binary_expression "lVar3 + 0x30" (identifier "lVar3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);" (assignment_expression "auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" (identifier "auVar7") (= "=") (call_expression "FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" (identifier "FUN_001c2460") (argument_list "(param_1 + 0x3e0,lVar5,lVar3 + 0x20)" (( "(") (binary_expression "param_1 + 0x3e0" (identifier "param_1") (+ "+") (number_literal "0x3e0")) (, ",") (identifier "lVar5") (, ",") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "lVar4 = auVar7._8_8_;" (assignment_expression "lVar4 = auVar7._8_8_" (identifier "lVar4") (= "=") (field_expression "auVar7._8_8_" (identifier "auVar7") (. ".") (field_identifier "_8_8_"))) (; ";")) (expression_statement "lVar5 = auVar7._0_8_;" (assignment_expression "lVar5 = auVar7._0_8_" (identifier "lVar5") (= "=") (field_expression "auVar7._0_8_" (identifier "auVar7") (. ".") (field_identifier "_0_8_"))) (; ";")) (if_statement "if (lVar4 == 0) {\n    FUN_002a2980(lVar3);\n  }\n  else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" (if "if") (parenthesized_expression "(lVar4 == 0)" (( "(") (binary_expression "lVar4 == 0" (identifier "lVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_002a2980(lVar3);\n  }" ({ "{") (expression_statement "FUN_002a2980(lVar3);" (call_expression "FUN_002a2980(lVar3)" (identifier "FUN_002a2980") (argument_list "(lVar3)" (( "(") (identifier "lVar3") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" (else "else") (compound_statement "{\n    bVar6 = true;\n    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }\n    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);\n    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;\n    lVar5 = lVar3;\n  }" ({ "{") (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" (identifier "bVar6") (= "=") (true "true")) (; ";")) (if_statement "if ((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }" (if "if") (parenthesized_expression "((((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)))" (( "(") (binary_expression "(((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&\n       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))" (parenthesized_expression "(((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20)))" (( "(") (binary_expression "((lVar2 != lVar4) && (lVar5 == 0)) &&\n        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))" (parenthesized_expression "((lVar2 != lVar4) && (lVar5 == 0))" (( "(") (binary_expression "(lVar2 != lVar4) && (lVar5 == 0)" (parenthesized_expression "(lVar2 != lVar4)" (( "(") (binary_expression "lVar2 != lVar4" (identifier "lVar2") (!= "!=") (identifier "lVar4")) () ")")) (&& "&&") (parenthesized_expression "(lVar5 == 0)" (( "(") (binary_expression "lVar5 == 0" (identifier "lVar5") (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))" (( "(") (binary_expression "*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20)" (pointer_expression "*(ulong *)(lVar4 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar4 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))) (<= "<=") (pointer_expression "*(ulong *)(lVar3 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar3 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))" (( "(") (comma_expression "bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)" (assignment_expression "bVar6 = false" (identifier "bVar6") (= "=") (false "false")) (, ",") (binary_expression "*(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20)" (pointer_expression "*(ulong *)(lVar3 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar3 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (== "==") (pointer_expression "*(ulong *)(lVar4 + 0x20)" (* "*") (cast_expression "(ulong *)(lVar4 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);\n    }" ({ "{") (expression_statement "bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);" (assignment_expression "bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28)" (identifier "bVar6") (= "=") (binary_expression "*(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28)" (pointer_expression "*(uint *)(lVar3 + 0x28)" (* "*") (cast_expression "(uint *)(lVar3 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) (< "<") (pointer_expression "*(uint *)(lVar4 + 0x28)" (* "*") (cast_expression "(uint *)(lVar4 + 0x28)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x28)" (( "(") (binary_expression "lVar4 + 0x28" (identifier "lVar4") (+ "+") (number_literal "0x28")) () ")")))))) (; ";")) (} "}"))) (expression_statement "FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);" (call_expression "FUN_002a3e80(bVar6,lVar3,lVar4,lVar2)" (identifier "FUN_002a3e80") (argument_list "(bVar6,lVar3,lVar4,lVar2)" (( "(") (identifier "bVar6") (, ",") (identifier "lVar3") (, ",") (identifier "lVar4") (, ",") (identifier "lVar2") () ")"))) (; ";")) (expression_statement "*(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;" (assignment_expression "*(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1" (pointer_expression "*(long *)(param_1 + 0x408)" (* "*") (cast_expression "(long *)(param_1 + 0x408)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x408)" (( "(") (binary_expression "param_1 + 0x408" (identifier "param_1") (+ "+") (number_literal "0x408")) () ")")))) (= "=") (binary_expression "*(long *)(param_1 + 0x408) + 1" (pointer_expression "*(long *)(param_1 + 0x408)" (* "*") (cast_expression "(long *)(param_1 + 0x408)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x408)" (( "(") (binary_expression "param_1 + 0x408" (identifier "param_1") (+ "+") (number_literal "0x408")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" (identifier "lVar5") (= "=") (identifier "lVar3")) (; ";")) (} "}")))) (labeled_statement "LAB_001baa5b:\n  *(undefined8 *)(lVar5 + 0x30) = param_4;" (statement_identifier "LAB_001baa5b") (: ":") (expression_statement "*(undefined8 *)(lVar5 + 0x30) = param_4;" (assignment_expression "*(undefined8 *)(lVar5 + 0x30) = param_4" (pointer_expression "*(undefined8 *)(lVar5 + 0x30)" (* "*") (cast_expression "(undefined8 *)(lVar5 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x30)" (( "(") (binary_expression "lVar5 + 0x30" (identifier "lVar5") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "param_4")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void insert_section_segment_map(Layout * this, Const_section_id secn,
   Unique_segment_info * s) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 secn,type_3 *s)

{
  type_4 *pp_Var1;
  type_5 *var_5;
  size_t *psVar3;
  type_6 *var_3;
  type_7 __position;
  type_6 *var_9;
  type_8 *var_4;
  bool bVar7;
  pair<std::type_6*,_std::type_6*> var_1;
  
  var_4 = secn.first;
  if (this->unique_segment_for_sections_specified_ == false) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/layout.cc",0x51e,"insert_section_segment_map");
  }
  var_3 = (this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_header._M_parent;
  var_5 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header;
  var_9 = &var_5->_M_header;
  __position._M_node = &var_5->_M_header;
  if (var_3 != (type_6 *)0x0) {
    do {
      while( true ) {
        __position._M_node = var_3;
        if ((var_4 <= *(type_8 **)(__position._M_node + 1)) &&
           ((var_4 != *(type_8 **)(__position._M_node + 1) ||
            (secn.second <= *(type_9 *)&__position._M_node[1]._M_parent)))) break;
        pp_Var1 = &(__position._M_node)->_M_right;
        var_3 = *pp_Var1;
        __position._M_node = var_9;
        if (*pp_Var1 == (type_4)0x0) goto LAB_001ba9d2;
      }
      var_3 = (__position._M_node)->_M_left;
      var_9 = __position._M_node;
    } while ((__position._M_node)->_M_left != (type_4)0x0);
LAB_001ba9d2:
    if (((var_5 != (type_5 *)__position._M_node) &&
        (*(type_8 **)(__position._M_node + 1) <= var_4)) &&
       ((var_4 != *(type_8 **)(__position._M_node + 1) ||
        (*(type_9 *)&__position._M_node[1]._M_parent <= secn.second)))) goto LAB_001baa5b;
  }
  var_3 = (type_6 *)var_6(0x38);
  *(type_8 **)(var_3 + 1) = var_4;
  var_3[1]._M_parent = secn._8_8_;
  var_3[1]._M_left = (type_4)0x0;
  var_1 = std::
          _Rb_tree<std::pair<const_gold::type_8*,_unsigned_int>,_std::pair<const_std::pair<const_gold::type_8*,_unsigned_int>,_gold::type_1::type_3*>,_std::_Select1st<std::pair<const_std::pair<const_gold::type_8*,_unsigned_int>,_gold::type_1::type_3*>var_7>,_std::less<std::pair<const_gold::type_8*,_unsigned_int>var_7>,_std::allocator<std::pair<const_std::pair<const_gold::type_8*,_unsigned_int>,_gold::type_1::type_3*>var_7>var_7>
          ::var_8
                    (&(this->section_segment_map_)._M_t,__position,(type_10 *)(var_3 + 1));
  var_9 = var_1.second;
  __position._M_node = var_1.first;
  if (var_9 == (type_6 *)0x0) {
    var_10(var_3);
  }
  else {
    bVar7 = true;
    if ((((var_5 != (type_5 *)var_9) && (__position._M_node == (type_6 *)0x0)
         ) && (*(type_11 *)(var_9 + 1) <= *(type_11 *)(var_3 + 1))) &&
       (bVar7 = false, *(type_11 *)(var_3 + 1) == *(type_11 *)(var_9 + 1))) {
      bVar7 = *(type_9 *)&var_3[1]._M_parent < *(type_9 *)&var_9[1]._M_parent;
    }
    std::var_11(bVar7,var_3,var_9,&var_5->_M_header);
    psVar3 = &(this->section_segment_map_)._M_t._M_impl.super__Rb_tree_header._M_node_count;
    *psVar3 = *psVar3 + 1;
    __position._M_node = var_3;
  }
LAB_001baa5b:
  __position._M_node[1]._M_left = (type_4)s;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (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: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_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)))))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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)))))))))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (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: (identifier))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_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)))))) 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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (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))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (field_expression argument: (identifier) field: (field_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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))))))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (false)) 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: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_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)))) (return_statement))))

void MASKED(long param_1,ulong param_2,undefined8 param_3,undefined8 param_4)

{
  long *plVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  long lVar5;
  bool bVar6;
  undefined1 auVar7 [16];
  
  if (*(char *)(param_1 + 0x372) == '\0') {
                    /* WARNING: Subroutine does not return */
    FUN_00199900("../../gold/layout.cc",0x51e,"insert_section_segment_map");
  }
  lVar2 = param_1 + 1000;
  lVar3 = *(long *)(param_1 + 0x3f0);
  lVar4 = lVar2;
  lVar5 = lVar2;
  if (*(long *)(param_1 + 0x3f0) != 0) {
    do {
      while( true ) {
        lVar5 = lVar3;
        if ((param_2 <= *(ulong *)(lVar5 + 0x20)) &&
           ((param_2 != *(ulong *)(lVar5 + 0x20) || ((uint)param_3 <= *(uint *)(lVar5 + 0x28)))))
        break;
        plVar1 = (long *)(lVar5 + 0x18);
        lVar3 = *plVar1;
        lVar5 = lVar4;
        if (*plVar1 == 0) goto LAB_001ba9d2;
      }
      lVar3 = *(long *)(lVar5 + 0x10);
      lVar4 = lVar5;
    } while (*(long *)(lVar5 + 0x10) != 0);
LAB_001ba9d2:
    if (((lVar2 != lVar5) && (*(ulong *)(lVar5 + 0x20) <= param_2)) &&
       ((param_2 != *(ulong *)(lVar5 + 0x20) || (*(uint *)(lVar5 + 0x28) <= (uint)param_3))))
    goto LAB_001baa5b;
  }
  lVar3 = FUN_002a11b0(0x38);
  *(ulong *)(lVar3 + 0x20) = param_2;
  *(undefined8 *)(lVar3 + 0x28) = param_3;
  *(undefined8 *)(lVar3 + 0x30) = 0;
  auVar7 = FUN_001c2460(param_1 + 0x3e0,lVar5,lVar3 + 0x20);
  lVar4 = auVar7._8_8_;
  lVar5 = auVar7._0_8_;
  if (lVar4 == 0) {
    FUN_002a2980(lVar3);
  }
  else {
    bVar6 = true;
    if ((((lVar2 != lVar4) && (lVar5 == 0)) &&
        (*(ulong *)(lVar4 + 0x20) <= *(ulong *)(lVar3 + 0x20))) &&
       (bVar6 = false, *(ulong *)(lVar3 + 0x20) == *(ulong *)(lVar4 + 0x20))) {
      bVar6 = *(uint *)(lVar3 + 0x28) < *(uint *)(lVar4 + 0x28);
    }
    FUN_002a3e80(bVar6,lVar3,lVar4,lVar2);
    *(long *)(param_1 + 0x408) = *(long *)(param_1 + 0x408) + 1;
    lVar5 = lVar3;
  }
LAB_001baa5b:
  *(undefined8 *)(lVar5 + 0x30) = param_4;
  return;
}

