
/* DWARF original name: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const
   std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<> >
   DWARF original prototype: iterator
   _M_emplace_hint_unique<const_std::piecewise_construct_t&,_std::tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>,_std::tuple<>_>(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>
   * this, const_iterator __pos, piecewise_construct_t * __args#0,
   tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&> *
   __args#1, tuple<> * __args#2) */

iterator __thiscall
std::
_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>
::
_M_emplace_hint_unique<const_std::piecewise_construct_t&,_std::tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>,_std::tuple<>_>
          (_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>
           *this,const_iterator __pos,piecewise_construct_t *__args_0,
          tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>
          *__args_1,tuple<> *__args_2)

{
  _Rb_tree_header *p_Var1;
  size_t *psVar2;
  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *pbVar3;
  pointer pcVar4;
  _Base_ptr p_Var5;
  _Base_ptr p_Var6;
  uint uVar7;
  _Rb_tree_node_base *p_Var8;
  ulong uVar9;
  _Rb_tree_node_base *p_Var10;
  _Base_ptr __n;
  bool bVar11;
  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12;
  
  p_Var8 = (_Rb_tree_node_base *)operator_new(0x48);
  pbVar3 = (__args_1->
           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>
           ).
           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&,_false>
           ._M_head_impl;
  *(_Base_ptr **)(p_Var8 + 1) = &p_Var8[1]._M_left;
  pcVar4 = (pbVar3->_M_dataplus)._M_p;
                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */
  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>
            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),
             pcVar4,pcVar4 + pbVar3->_M_string_length);
  *(undefined8 *)(p_Var8 + 2) = 0;
  pVar12 = _M_get_insert_hint_unique_pos(this,__pos,(key_type *)(p_Var8 + 1));
  p_Var10 = pVar12.second;
  if (p_Var10 == (_Rb_tree_node_base *)0x0) {
    if (&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1)) {
      operator_delete(*(undefined1 **)(p_Var8 + 1));
    }
    operator_delete(p_Var8);
    return (iterator)pVar12.first;
  }
  p_Var1 = &(this->_M_impl).super__Rb_tree_header;
  bVar11 = true;
  if ((pVar12.first != (_Base_ptr)0x0) || ((_Rb_tree_header *)p_Var10 == p_Var1)) goto LAB_003c8327;
  p_Var5 = p_Var8[1]._M_parent;
  p_Var6 = p_Var10[1]._M_parent;
  __n = p_Var6;
  if (p_Var5 <= p_Var6) {
    __n = p_Var5;
  }
  if (__n == (_Base_ptr)0x0) {
LAB_003c8388:
    bVar11 = false;
    uVar9 = (long)p_Var5 - (long)p_Var6;
    if (0x7fffffff < (long)uVar9) goto LAB_003c8327;
    if ((long)uVar9 < -0x80000000) {
      bVar11 = true;
      goto LAB_003c8327;
    }
  }
  else {
    uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n);
    uVar9 = (ulong)uVar7;
    if (uVar7 == 0) goto LAB_003c8388;
  }
  bVar11 = (bool)((byte)(uVar9 >> 0x1f) & 1);
LAB_003c8327:
  _Rb_tree_insert_and_rebalance(bVar11,p_Var8,p_Var10,&p_Var1->_M_header);
  psVar2 = &(this->_M_impl).super__Rb_tree_header._M_node_count;
  *psVar2 = *psVar2 + 1;
  return (iterator)p_Var8;
}



long FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)

{
  ulong uVar1;
  ulong uVar2;
  uint uVar3;
  long lVar4;
  ulong uVar5;
  long lVar6;
  ulong uVar7;
  undefined1 auVar8 [16];
  
  lVar4 = FUN_0049cb70(0x48);
  param_4 = (long *)*param_4;
  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;
  lVar6 = *param_4;
                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */
  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);
  *(undefined8 *)(lVar4 + 0x40) = 0;
  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);
  lVar6 = auVar8._8_8_;
  if (lVar6 == 0) {
    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {
      FUN_0049e340();
    }
    FUN_0049e340(lVar4);
    return auVar8._0_8_;
  }
  uVar7 = 1;
  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;
  uVar1 = *(ulong *)(lVar4 + 0x28);
  uVar2 = *(ulong *)(lVar6 + 0x28);
  uVar7 = uVar2;
  if (uVar1 <= uVar2) {
    uVar7 = uVar1;
  }
  if (uVar7 == 0) {
LAB_003c8388:
    uVar7 = 0;
    uVar5 = uVar1 - uVar2;
    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;
    if ((long)uVar5 < -0x80000000) {
      uVar7 = 1;
      goto LAB_003c8327;
    }
  }
  else {
    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);
    uVar5 = (ulong)uVar3;
    if (uVar3 == 0) goto LAB_003c8388;
  }
  uVar7 = uVar5 >> 0x1f & 1;
LAB_003c8327:
  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);
  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;
  return lVar4;
}


PUSH R14
MOV R14,RSI
PUSH R13
PUSH R12
MOV R12,RCX
PUSH RBP
MOV RBP,RDI
MOV EDI,0x48
PUSH RBX
SUB RSP,0x10
CALL 0x0049cb70
MOV RBX,RAX
MOV RAX,qword ptr [R12]
LEA R13,[RBX + 0x30]
LEA R12,[RBX + 0x20]
MOV qword ptr [RBX + 0x20],R13
MOV RSI,qword ptr [RAX]
MOV RDI,R12
MOV RDX,qword ptr [RAX + 0x8]
ADD RDX,RSI
CALL 0x00270b50
MOV qword ptr [RBX + 0x40],0x0
MOV RDX,R12
MOV RSI,R14
MOV RDI,RBP
CALL 0x003c8030
MOV R14,RAX
MOV R12,RDX
TEST RDX,RDX
JZ 0x003c83b0
LEA RCX,[RBP + 0x8]
MOV EDI,0x1
TEST RAX,RAX
JZ 0x003c8350
MOV RDX,R12
MOV RSI,RBX
CALL 0x0049f840
ADD qword ptr [RBP + 0x28],0x1
ADD RSP,0x10
MOV RAX,RBX
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
CMP RDX,RCX
JZ 0x003c8327
MOV R13,qword ptr [RBX + 0x28]
MOV R14,qword ptr [RDX + 0x28]
CMP R13,R14
MOV RDX,R14
CMOVBE RDX,R13
TEST RDX,RDX
JZ 0x003c8388
MOV RSI,qword ptr [R12 + 0x20]
MOV RDI,qword ptr [RBX + 0x20]
MOV qword ptr [RSP + 0x8],RCX
CALL 0x00177840
MOV RCX,qword ptr [RSP + 0x8]
TEST EAX,EAX
JNZ 0x003c83a0
MOV RAX,R13
XOR EDI,EDI
SUB RAX,R14
CMP RAX,0x7fffffff
JG 0x003c8327
CMP RAX,-0x80000000
JL 0x003c83d6
SHR EAX,0x1f
MOV EDI,EAX
JMP 0x003c8327
MOV RDI,qword ptr [RBX + 0x20]
CMP R13,RDI
JZ 0x003c83be
CALL 0x0049e340
MOV RDI,RBX
CALL 0x0049e340
ADD RSP,0x10
MOV RAX,R14
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV EDI,0x1
JMP 0x003c8327
(translation_unit "long FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */\n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}\n\n" (function_definition "long FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */\n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long *param_4" (sized_type_specifier "long" long) (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */\n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "undefined1 auVar8 [16];" type_identifier (array_declarator "auVar8 [16]" identifier [ number_literal ]) ;) (expression_statement "lVar4 = FUN_0049cb70(0x48);" (assignment_expression "lVar4 = FUN_0049cb70(0x48)" identifier = (call_expression "FUN_0049cb70(0x48)" identifier (argument_list "(0x48)" ( number_literal )))) ;) (expression_statement "param_4 = (long *)*param_4;" (assignment_expression "param_4 = (long *)*param_4" identifier = (cast_expression "(long *)*param_4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) (expression_statement "*(long *)(lVar4 + 0x20) = lVar4 + 0x30;" (assignment_expression "*(long *)(lVar4 + 0x20) = lVar4 + 0x30" (pointer_expression "*(long *)(lVar4 + 0x20)" * (cast_expression "(long *)(lVar4 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) = (binary_expression "lVar4 + 0x30" identifier + number_literal)) ;) (expression_statement "lVar6 = *param_4;" (assignment_expression "lVar6 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) comment (expression_statement "FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);" (call_expression "FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6)" identifier (argument_list "(lVar4 + 0x20,lVar6,param_4[1] + lVar6)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) , identifier , (binary_expression "param_4[1] + lVar6" (subscript_expression "param_4[1]" identifier [ number_literal ]) + identifier) ))) ;) (expression_statement "*(undefined8 *)(lVar4 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0x40) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0x40)" * (cast_expression "(undefined8 *)(lVar4 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x40)" ( (binary_expression "lVar4 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);" (assignment_expression "auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20)" identifier = (call_expression "FUN_003c8030(param_1,param_2,lVar4 + 0x20)" identifier (argument_list "(param_1,param_2,lVar4 + 0x20)" ( identifier , identifier , (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) ;) (expression_statement "lVar6 = auVar8._8_8_;" (assignment_expression "lVar6 = auVar8._8_8_" identifier = (field_expression "auVar8._8_8_" identifier . field_identifier)) ;) (if_statement "if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }" if (parenthesized_expression "(lVar6 == 0)" ( (binary_expression "lVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }" { (if_statement "if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }" if (parenthesized_expression "(lVar4 + 0x30 != *(long *)(lVar4 + 0x20))" ( (binary_expression "lVar4 + 0x30 != *(long *)(lVar4 + 0x20)" (binary_expression "lVar4 + 0x30" identifier + number_literal) != (pointer_expression "*(long *)(lVar4 + 0x20)" * (cast_expression "(long *)(lVar4 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n      FUN_0049e340();\n    }" { (expression_statement "FUN_0049e340();" (call_expression "FUN_0049e340()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_0049e340(lVar4);" (call_expression "FUN_0049e340(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) (return_statement "return auVar8._0_8_;" return (field_expression "auVar8._0_8_" identifier . field_identifier) ;) })) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (if_statement "if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;" if (parenthesized_expression "((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8))" ( (binary_expression "(auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)" (parenthesized_expression "(auVar8._0_8_ != 0)" ( (binary_expression "auVar8._0_8_ != 0" (field_expression "auVar8._0_8_" identifier . field_identifier) != number_literal) )) || (parenthesized_expression "(lVar6 == param_1 + 8)" ( (binary_expression "lVar6 == param_1 + 8" identifier == (binary_expression "param_1 + 8" identifier + number_literal)) ))) )) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;)) (expression_statement "uVar1 = *(ulong *)(lVar4 + 0x28);" (assignment_expression "uVar1 = *(ulong *)(lVar4 + 0x28)" identifier = (pointer_expression "*(ulong *)(lVar4 + 0x28)" * (cast_expression "(ulong *)(lVar4 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(ulong *)(lVar6 + 0x28);" (assignment_expression "uVar2 = *(ulong *)(lVar6 + 0x28)" identifier = (pointer_expression "*(ulong *)(lVar6 + 0x28)" * (cast_expression "(ulong *)(lVar6 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + 0x28)" ( (binary_expression "lVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar2;" (assignment_expression "uVar7 = uVar2" identifier = identifier) ;) (if_statement "if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }" if (parenthesized_expression "(uVar1 <= uVar2)" ( (binary_expression "uVar1 <= uVar2" identifier <= identifier) )) (compound_statement "{\n    uVar7 = uVar1;\n  }" { (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" identifier = identifier) ;) })) (if_statement "if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }" { (labeled_statement "LAB_003c8388:\n    uVar7 = 0;" statement_identifier : (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;)) (expression_statement "uVar5 = uVar1 - uVar2;" (assignment_expression "uVar5 = uVar1 - uVar2" identifier = (binary_expression "uVar1 - uVar2" identifier - identifier)) ;) (if_statement "if (0x7fffffff < (long)uVar5) goto LAB_003c8327;" if (parenthesized_expression "(0x7fffffff < (long)uVar5)" ( (binary_expression "0x7fffffff < (long)uVar5" number_literal < (cast_expression "(long)uVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;)) (if_statement "if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }" if (parenthesized_expression "((long)uVar5 < -0x80000000)" ( (binary_expression "(long)uVar5 < -0x80000000" (cast_expression "(long)uVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }" { (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" else (compound_statement "{\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" { (expression_statement "uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);" (assignment_expression "uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" identifier = (call_expression "memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" identifier (argument_list "(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" ( (pointer_expression "*(void **)(lVar4 + 0x20)" * (cast_expression "(void **)(lVar4 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(void **)(lVar6 + 0x20)" * (cast_expression "(void **)(lVar6 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x20)" ( (binary_expression "lVar6 + 0x20" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar5 = (ulong)uVar3;" (assignment_expression "uVar5 = (ulong)uVar3" identifier = (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar3 == 0) goto LAB_003c8388;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_003c8388;" goto statement_identifier ;)) }))) (expression_statement "uVar7 = uVar5 >> 0x1f & 1;" (assignment_expression "uVar7 = uVar5 >> 0x1f & 1" identifier = (binary_expression "uVar5 >> 0x1f & 1" (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) & number_literal)) ;) (labeled_statement "LAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);" statement_identifier : (expression_statement "FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);" (call_expression "FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8)" identifier (argument_list "(uVar7,lVar4,lVar6,param_1 + 8)" ( identifier , identifier , identifier , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;)) (expression_statement "*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;" (assignment_expression "*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 0x28) + 1" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return lVar4;" return identifier ;) })))
(translation_unit "/* DWARF original name: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const\n   std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<> >\n   DWARF original prototype: iterator\n   _M_emplace_hint_unique<const_std::piecewise_construct_t&,_std::tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>,_std::tuple<>_>(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n   * this, const_iterator __pos, piecewise_construct_t * __args#0,\n   tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&> *\n   __args#1, tuple<> * __args#2) */\n\niterator __thiscall\nstd::\n_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n::\n_M_emplace_hint_unique<const_std::piecewise_construct_t&,_std::tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>,_std::tuple<>_>\n          (_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n           *this,const_iterator __pos,piecewise_construct_t *__args_0,\n          tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n          *__args_1,tuple<> *__args_2)\n\n{\n  _Rb_tree_header *p_Var1;\n  size_t *psVar2;\n  basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *pbVar3;\n  pointer pcVar4;\n  _Base_ptr p_Var5;\n  _Base_ptr p_Var6;\n  uint uVar7;\n  _Rb_tree_node_base *p_Var8;\n  ulong uVar9;\n  _Rb_tree_node_base *p_Var10;\n  _Base_ptr __n;\n  bool bVar11;\n  pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12;\n  \n  p_Var8 = (_Rb_tree_node_base *)operator_new(0x48);\n  pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&,_false>\n           ._M_head_impl;\n  *(_Base_ptr **)(p_Var8 + 1) = &p_Var8[1]._M_left;\n  pcVar4 = (pbVar3->_M_dataplus)._M_p;\n                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */\n  __cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),\n             pcVar4,pcVar4 + pbVar3->_M_string_length);\n  *(undefined8 *)(p_Var8 + 2) = 0;\n  pVar12 = _M_get_insert_hint_unique_pos(this,__pos,(key_type *)(p_Var8 + 1));\n  p_Var10 = pVar12.second;\n  if (p_Var10 == (_Rb_tree_node_base *)0x0) {\n    if (&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1)) {\n      operator_delete(*(undefined1 **)(p_Var8 + 1));\n    }\n    operator_delete(p_Var8);\n    return (iterator)pVar12.first;\n  }\n  p_Var1 = &(this->_M_impl).super__Rb_tree_header;\n  bVar11 = true;\n  if ((pVar12.first != (_Base_ptr)0x0) || ((_Rb_tree_header *)p_Var10 == p_Var1)) goto LAB_003c8327;\n  p_Var5 = p_Var8[1]._M_parent;\n  p_Var6 = p_Var10[1]._M_parent;\n  __n = p_Var6;\n  if (p_Var5 <= p_Var6) {\n    __n = p_Var5;\n  }\n  if (__n == (_Base_ptr)0x0) {\nLAB_003c8388:\n    bVar11 = false;\n    uVar9 = (long)p_Var5 - (long)p_Var6;\n    if (0x7fffffff < (long)uVar9) goto LAB_003c8327;\n    if ((long)uVar9 < -0x80000000) {\n      bVar11 = true;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n);\n    uVar9 = (ulong)uVar7;\n    if (uVar7 == 0) goto LAB_003c8388;\n  }\n  bVar11 = (bool)((byte)(uVar9 >> 0x1f) & 1);\nLAB_003c8327:\n  _Rb_tree_insert_and_rebalance(bVar11,p_Var8,p_Var10,&p_Var1->_M_header);\n  psVar2 = &(this->_M_impl).super__Rb_tree_header._M_node_count;\n  *psVar2 = *psVar2 + 1;\n  return (iterator)p_Var8;\n}\n\n" comment (declaration "iterator __thiscall\nstd::\n_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n::\n_M_emplace_hint_unique<const_std::piecewise_construct_t&,_std::tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>,_std::tuple<>_>\n          (_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n           *this,const_iterator __pos,piecewise_construct_t *__args_0,\n          tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n          *__args_1,tuple<> *__args_2)\n\n{\n  _Rb_tree_header *p_Var1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::\n_Rb_tree<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , identifier (ERROR ">" >) , (ERROR "_std::_Select1st<std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , identifier (ERROR ">_>" > identifier >) , (ERROR "_std::less<std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>_>" identifier : : identifier < primitive_type > identifier >) identifier (ERROR ">" >) , (ERROR "_std::allocator<std::pair<const_std::__cxx11::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">" >) , (ERROR "_long_unsigned_int>_>_>\n::\n_M_emplace_hint_unique<const_std::" identifier > identifier > identifier > : : identifier < identifier : :) identifier (ERROR "&" &) , (ERROR "_std::tuple<const_std::__cxx11::" identifier : : identifier < identifier : : identifier : :) identifier (ERROR "<char" < primitive_type) , (ERROR "_std::" identifier : :) identifier (ERROR "<char>" < primitive_type >) , (ERROR "_std::allocator<char>" identifier : : identifier < primitive_type >) identifier (ERROR ">&>" > & >) , (ERROR "_std::tuple<>_>\n          (_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n           *this,const_iterator __pos,piecewise_construct_t *__args_0,\n          tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n          *__args_1,tuple<> *__args_2)\n\n{\n  _Rb_tree_header" identifier : : identifier < > (function_declarator "_>\n          (_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n           *this,const_iterator __pos,piecewise_construct_t *__args_0,\n          tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n          *__args_1,tuple<> *__args_2)" identifier (ERROR ">" >) (parameter_list "(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>\n           *this,const_iterator __pos,piecewise_construct_t *__args_0,\n          tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n          *__args_1,tuple<> *__args_2)" ( (parameter_declaration "_Rb_tree<std::__cxx11::basic_string" type_identifier (ERROR "<std::__cxx11::" < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::pair<const_std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_long_unsigned_int" type_identifier) (ERROR ">" >) , (parameter_declaration "_std::_Select1st<std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::_Select1st<std::pair<const_std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_long_unsigned_int>_" type_identifier (ERROR ">" >) identifier) (ERROR ">" >) , (parameter_declaration "_std::less<std::__cxx11::basic_string" type_identifier (ERROR "::less<std::__cxx11::" : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>_" type_identifier (ERROR "::allocator<char>_>" : : identifier < primitive_type > identifier >) identifier) (ERROR ">" >) , (parameter_declaration "_std::allocator<std::pair<const_std::__cxx11::basic_string" type_identifier (ERROR "::allocator<std::pair<const_std::__cxx11::" : : identifier < identifier : : identifier < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_" type_identifier (ERROR "::allocator<char>" : : identifier < primitive_type >) identifier) (ERROR ">" >) , (parameter_declaration "_long_unsigned_int>_>_>\n           *this" type_identifier (ERROR ">_>_>" > identifier > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "const_iterator __pos" type_identifier identifier) , (parameter_declaration "piecewise_construct_t *__args_0" type_identifier (pointer_declarator "*__args_0" * identifier)) , (parameter_declaration "tuple<const_std::__cxx11::basic_string" type_identifier (ERROR "<const_std::__cxx11::" < identifier : : identifier : :) identifier) (ERROR "<char" < primitive_type) , (parameter_declaration "_std::char_traits" type_identifier (ERROR "::" : :) identifier) (ERROR "<char>" < primitive_type >) , (parameter_declaration "_std::allocator<char>_>&>\n          *__args_1" type_identifier (ERROR "::allocator<char>_>&>" : : identifier < primitive_type > identifier > & >) (pointer_declarator "*__args_1" * identifier)) , (parameter_declaration "tuple<> *__args_2" type_identifier (ERROR "<>" < >) (pointer_declarator "*__args_2" * identifier)) ))) { identifier) (pointer_declarator "*p_Var1" * identifier) ;) (declaration "size_t *psVar2;" primitive_type (pointer_declarator "*psVar2" * identifier) ;) (ERROR "basic_string<char," (binary_expression "basic_string<char" identifier < identifier) ,) (labeled_statement "_std::char_traits<char>,_std::allocator<char>_> *pbVar3;" statement_identifier (ERROR "::char_traits<char>,_std:" : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) :) : (expression_statement "allocator<char>_> *pbVar3;" (binary_expression "allocator<char>_> *pbVar3" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*pbVar3" * identifier)) ;)) (declaration "pointer pcVar4;" type_identifier identifier ;) (declaration "_Base_ptr p_Var5;" type_identifier identifier ;) (declaration "_Base_ptr p_Var6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var8;" type_identifier (pointer_declarator "*p_Var8" * identifier) ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "_Rb_tree_node_base *p_Var10;" type_identifier (pointer_declarator "*p_Var10" * identifier) ;) (declaration "_Base_ptr __n;" type_identifier identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (ERROR "pair<std::_Rb_tree_node_base*,_std::_Rb_tree_node_base*> pVar12" (binary_expression "pair<std" identifier < identifier) : : (binary_expression "_Rb_tree_node_base*,_std" identifier * (ERROR "," ,) identifier) : : (binary_expression "_Rb_tree_node_base*> pVar12" identifier * (ERROR ">" >) identifier)) (expression_statement ";" ;) (expression_statement "p_Var8 = (_Rb_tree_node_base *)operator_new(0x48);" (assignment_expression "p_Var8 = (_Rb_tree_node_base *)operator_new(0x48)" identifier = (cast_expression "(_Rb_tree_node_base *)operator_new(0x48)" ( (type_descriptor "_Rb_tree_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x48)" identifier (argument_list "(0x48)" ( number_literal ))))) ;) (expression_statement "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&,_false>\n           ._M_head_impl;" (field_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&,_false>\n           ._M_head_impl" (binary_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&,_false" (binary_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_" (binary_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char" (binary_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std" (binary_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char" (binary_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0,_const_std::__cxx11::basic_string<char" (assignment_expression "pbVar3 = (__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0" identifier = (binary_expression "(__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base<0" (field_expression "(__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           ).\n           super__Head_base" (parenthesized_expression "(__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>\n           )" ( (ERROR "__args_1->\n           super__Tuple_impl<0,_const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::" (comma_expression "__args_1->\n           super__Tuple_impl<0,_const_std" (binary_expression "__args_1->\n           super__Tuple_impl<0" (field_expression "__args_1->\n           super__Tuple_impl" identifier -> field_identifier) < number_literal) , identifier) : : identifier : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) (ERROR ">&>" > & >) )) . field_identifier) < number_literal)) (ERROR ",_const_std::__cxx11::basic_string" , identifier : : identifier : : identifier) < identifier) (ERROR ",_std::char_traits" , identifier : : identifier) < identifier) > (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > (pointer_expression "&,_false" & (ERROR "," ,) identifier)) (ERROR ">" >) . field_identifier) ;) (expression_statement "*(_Base_ptr **)(p_Var8 + 1) = &p_Var8[1]._M_left;" (assignment_expression "*(_Base_ptr **)(p_Var8 + 1) = &p_Var8[1]._M_left" (pointer_expression "*(_Base_ptr **)(p_Var8 + 1)" * (cast_expression "(_Base_ptr **)(p_Var8 + 1)" ( (type_descriptor "_Base_ptr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var8 + 1)" ( (binary_expression "p_Var8 + 1" identifier + number_literal) )))) = (pointer_expression "&p_Var8[1]._M_left" & (field_expression "p_Var8[1]._M_left" (subscript_expression "p_Var8[1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "pcVar4 = (pbVar3->_M_dataplus)._M_p;" (assignment_expression "pcVar4 = (pbVar3->_M_dataplus)._M_p" identifier = (field_expression "(pbVar3->_M_dataplus)._M_p" (parenthesized_expression "(pbVar3->_M_dataplus)" ( (field_expression "pbVar3->_M_dataplus" identifier -> field_identifier) )) . field_identifier)) ;) comment (labeled_statement "__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>::_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),\n             pcVar4,pcVar4 + pbVar3->_M_string_length);" statement_identifier (ERROR "::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>:" : : (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : : (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > :) : (expression_statement "_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),\n             pcVar4,pcVar4 + pbVar3->_M_string_length);" (binary_expression "_M_construct<char*>\n            ((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),\n             pcVar4,pcVar4 + pbVar3->_M_string_length)" (binary_expression "_M_construct<char" identifier < identifier) (ERROR "*" *) > (parenthesized_expression "((basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),\n             pcVar4,pcVar4 + pbVar3->_M_string_length)" ( (comma_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1),\n             pcVar4,pcVar4 + pbVar3->_M_string_length" (call_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)(p_Var8 + 1)" (parenthesized_expression "(basic_string<char,_std::char_traits<char>,_std::allocator<char>_> *)" ( (ERROR "basic_string<char,_std::char_traits<char>,_std::" (comma_expression "basic_string<char,_std" (binary_expression "basic_string<char" identifier < identifier) , identifier) : : (binary_expression "char_traits<char>,_std" (binary_expression "char_traits<char" identifier < identifier) > (ERROR "," ,) identifier) : :) (binary_expression "allocator<char>_> *" (binary_expression "allocator<char>_" (binary_expression "allocator<char" identifier < identifier) > identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(p_Var8 + 1)" ( (binary_expression "p_Var8 + 1" identifier + number_literal) ))) , (comma_expression "pcVar4,pcVar4 + pbVar3->_M_string_length" identifier , (binary_expression "pcVar4 + pbVar3->_M_string_length" identifier + (field_expression "pbVar3->_M_string_length" identifier -> field_identifier)))) ))) ;)) (expression_statement "*(undefined8 *)(p_Var8 + 2) = 0;" (assignment_expression "*(undefined8 *)(p_Var8 + 2) = 0" (pointer_expression "*(undefined8 *)(p_Var8 + 2)" * (cast_expression "(undefined8 *)(p_Var8 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var8 + 2)" ( (binary_expression "p_Var8 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pVar12 = _M_get_insert_hint_unique_pos(this,__pos,(key_type *)(p_Var8 + 1));" (assignment_expression "pVar12 = _M_get_insert_hint_unique_pos(this,__pos,(key_type *)(p_Var8 + 1))" identifier = (call_expression "_M_get_insert_hint_unique_pos(this,__pos,(key_type *)(p_Var8 + 1))" identifier (argument_list "(this,__pos,(key_type *)(p_Var8 + 1))" ( identifier , identifier , (cast_expression "(key_type *)(p_Var8 + 1)" ( (type_descriptor "key_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var8 + 1)" ( (binary_expression "p_Var8 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "p_Var10 = pVar12.second;" (assignment_expression "p_Var10 = pVar12.second" identifier = (field_expression "pVar12.second" identifier . field_identifier)) ;) (if_statement "if (p_Var10 == (_Rb_tree_node_base *)0x0) {\n    if (&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1)) {\n      operator_delete(*(undefined1 **)(p_Var8 + 1));\n    }\n    operator_delete(p_Var8);\n    return (iterator)pVar12.first;\n  }" if (parenthesized_expression "(p_Var10 == (_Rb_tree_node_base *)0x0)" ( (binary_expression "p_Var10 == (_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    if (&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1)) {\n      operator_delete(*(undefined1 **)(p_Var8 + 1));\n    }\n    operator_delete(p_Var8);\n    return (iterator)pVar12.first;\n  }" { (if_statement "if (&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1)) {\n      operator_delete(*(undefined1 **)(p_Var8 + 1));\n    }" if (parenthesized_expression "(&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1))" ( (binary_expression "&p_Var8[1]._M_left != (_Base_ptr *)*(undefined1 **)(p_Var8 + 1)" (pointer_expression "&p_Var8[1]._M_left" & (field_expression "p_Var8[1]._M_left" (subscript_expression "p_Var8[1]" identifier [ number_literal ]) . field_identifier)) != (cast_expression "(_Base_ptr *)*(undefined1 **)(p_Var8 + 1)" ( (type_descriptor "_Base_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(undefined1 **)(p_Var8 + 1)" * (cast_expression "(undefined1 **)(p_Var8 + 1)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var8 + 1)" ( (binary_expression "p_Var8 + 1" identifier + number_literal) )))))) )) (compound_statement "{\n      operator_delete(*(undefined1 **)(p_Var8 + 1));\n    }" { (expression_statement "operator_delete(*(undefined1 **)(p_Var8 + 1));" (call_expression "operator_delete(*(undefined1 **)(p_Var8 + 1))" identifier (argument_list "(*(undefined1 **)(p_Var8 + 1))" ( (pointer_expression "*(undefined1 **)(p_Var8 + 1)" * (cast_expression "(undefined1 **)(p_Var8 + 1)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var8 + 1)" ( (binary_expression "p_Var8 + 1" identifier + number_literal) )))) ))) ;) })) (expression_statement "operator_delete(p_Var8);" (call_expression "operator_delete(p_Var8)" identifier (argument_list "(p_Var8)" ( identifier ))) ;) (return_statement "return (iterator)pVar12.first;" return (cast_expression "(iterator)pVar12.first" ( (type_descriptor "iterator" type_identifier) ) (field_expression "pVar12.first" identifier . field_identifier)) ;) })) (expression_statement "p_Var1 = &(this->_M_impl).super__Rb_tree_header;" (assignment_expression "p_Var1 = &(this->_M_impl).super__Rb_tree_header" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header" & (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (if_statement "if ((pVar12.first != (_Base_ptr)0x0) || ((_Rb_tree_header *)p_Var10 == p_Var1)) goto LAB_003c8327;" if (parenthesized_expression "((pVar12.first != (_Base_ptr)0x0) || ((_Rb_tree_header *)p_Var10 == p_Var1))" ( (binary_expression "(pVar12.first != (_Base_ptr)0x0) || ((_Rb_tree_header *)p_Var10 == p_Var1)" (parenthesized_expression "(pVar12.first != (_Base_ptr)0x0)" ( (binary_expression "pVar12.first != (_Base_ptr)0x0" (field_expression "pVar12.first" identifier . field_identifier) != (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) || (parenthesized_expression "((_Rb_tree_header *)p_Var10 == p_Var1)" ( (binary_expression "(_Rb_tree_header *)p_Var10 == p_Var1" (cast_expression "(_Rb_tree_header *)p_Var10" ( (type_descriptor "_Rb_tree_header *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) ))) )) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;)) (expression_statement "p_Var5 = p_Var8[1]._M_parent;" (assignment_expression "p_Var5 = p_Var8[1]._M_parent" identifier = (field_expression "p_Var8[1]._M_parent" (subscript_expression "p_Var8[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var6 = p_Var10[1]._M_parent;" (assignment_expression "p_Var6 = p_Var10[1]._M_parent" identifier = (field_expression "p_Var10[1]._M_parent" (subscript_expression "p_Var10[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "__n = p_Var6;" (assignment_expression "__n = p_Var6" identifier = identifier) ;) (if_statement "if (p_Var5 <= p_Var6) {\n    __n = p_Var5;\n  }" if (parenthesized_expression "(p_Var5 <= p_Var6)" ( (binary_expression "p_Var5 <= p_Var6" identifier <= identifier) )) (compound_statement "{\n    __n = p_Var5;\n  }" { (expression_statement "__n = p_Var5;" (assignment_expression "__n = p_Var5" identifier = identifier) ;) })) (if_statement "if (__n == (_Base_ptr)0x0) {\nLAB_003c8388:\n    bVar11 = false;\n    uVar9 = (long)p_Var5 - (long)p_Var6;\n    if (0x7fffffff < (long)uVar9) goto LAB_003c8327;\n    if ((long)uVar9 < -0x80000000) {\n      bVar11 = true;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n);\n    uVar9 = (ulong)uVar7;\n    if (uVar7 == 0) goto LAB_003c8388;\n  }" if (parenthesized_expression "(__n == (_Base_ptr)0x0)" ( (binary_expression "__n == (_Base_ptr)0x0" identifier == (cast_expression "(_Base_ptr)0x0" ( (type_descriptor "_Base_ptr" type_identifier) ) number_literal)) )) (compound_statement "{\nLAB_003c8388:\n    bVar11 = false;\n    uVar9 = (long)p_Var5 - (long)p_Var6;\n    if (0x7fffffff < (long)uVar9) goto LAB_003c8327;\n    if ((long)uVar9 < -0x80000000) {\n      bVar11 = true;\n      goto LAB_003c8327;\n    }\n  }" { (labeled_statement "LAB_003c8388:\n    bVar11 = false;" statement_identifier : (expression_statement "bVar11 = false;" (assignment_expression "bVar11 = false" identifier = false) ;)) (expression_statement "uVar9 = (long)p_Var5 - (long)p_Var6;" (assignment_expression "uVar9 = (long)p_Var5 - (long)p_Var6" identifier = (binary_expression "(long)p_Var5 - (long)p_Var6" (cast_expression "(long)p_Var5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)p_Var6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (0x7fffffff < (long)uVar9) goto LAB_003c8327;" if (parenthesized_expression "(0x7fffffff < (long)uVar9)" ( (binary_expression "0x7fffffff < (long)uVar9" number_literal < (cast_expression "(long)uVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;)) (if_statement "if ((long)uVar9 < -0x80000000) {\n      bVar11 = true;\n      goto LAB_003c8327;\n    }" if (parenthesized_expression "((long)uVar9 < -0x80000000)" ( (binary_expression "(long)uVar9 < -0x80000000" (cast_expression "(long)uVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n      bVar11 = true;\n      goto LAB_003c8327;\n    }" { (expression_statement "bVar11 = true;" (assignment_expression "bVar11 = true" identifier = true) ;) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n);\n    uVar9 = (ulong)uVar7;\n    if (uVar7 == 0) goto LAB_003c8388;\n  }" else (compound_statement "{\n    uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n);\n    uVar9 = (ulong)uVar7;\n    if (uVar7 == 0) goto LAB_003c8388;\n  }" { (expression_statement "uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n);" (assignment_expression "uVar7 = memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n)" identifier = (call_expression "memcmp(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n)" identifier (argument_list "(*(void **)(p_Var8 + 1),*(void **)(p_Var10 + 1),(size_t)__n)" ( (pointer_expression "*(void **)(p_Var8 + 1)" * (cast_expression "(void **)(p_Var8 + 1)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var8 + 1)" ( (binary_expression "p_Var8 + 1" identifier + number_literal) )))) , (pointer_expression "*(void **)(p_Var10 + 1)" * (cast_expression "(void **)(p_Var10 + 1)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var10 + 1)" ( (binary_expression "p_Var10 + 1" identifier + number_literal) )))) , (cast_expression "(size_t)__n" ( (type_descriptor "size_t" primitive_type) ) identifier) )))) ;) (expression_statement "uVar9 = (ulong)uVar7;" (assignment_expression "uVar9 = (ulong)uVar7" identifier = (cast_expression "(ulong)uVar7" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar7 == 0) goto LAB_003c8388;" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_003c8388;" goto statement_identifier ;)) }))) (expression_statement "bVar11 = (bool)((byte)(uVar9 >> 0x1f) & 1);" (assignment_expression "bVar11 = (bool)((byte)(uVar9 >> 0x1f) & 1)" identifier = (cast_expression "(bool)((byte)(uVar9 >> 0x1f) & 1)" ( (type_descriptor "bool" primitive_type) ) (parenthesized_expression "((byte)(uVar9 >> 0x1f) & 1)" ( (binary_expression "(byte)(uVar9 >> 0x1f) & 1" (call_expression "(byte)(uVar9 >> 0x1f)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(uVar9 >> 0x1f)" ( (binary_expression "uVar9 >> 0x1f" identifier >> number_literal) ))) & number_literal) )))) ;) (labeled_statement "LAB_003c8327:\n  _Rb_tree_insert_and_rebalance(bVar11,p_Var8,p_Var10,&p_Var1->_M_header);" statement_identifier : (expression_statement "_Rb_tree_insert_and_rebalance(bVar11,p_Var8,p_Var10,&p_Var1->_M_header);" (call_expression "_Rb_tree_insert_and_rebalance(bVar11,p_Var8,p_Var10,&p_Var1->_M_header)" identifier (argument_list "(bVar11,p_Var8,p_Var10,&p_Var1->_M_header)" ( identifier , identifier , identifier , (pointer_expression "&p_Var1->_M_header" & (field_expression "p_Var1->_M_header" identifier -> field_identifier)) ))) ;)) (expression_statement "psVar2 = &(this->_M_impl).super__Rb_tree_header._M_node_count;" (assignment_expression "psVar2 = &(this->_M_impl).super__Rb_tree_header._M_node_count" identifier = (pointer_expression "&(this->_M_impl).super__Rb_tree_header._M_node_count" & (field_expression "(this->_M_impl).super__Rb_tree_header._M_node_count" (field_expression "(this->_M_impl).super__Rb_tree_header" (parenthesized_expression "(this->_M_impl)" ( (field_expression "this->_M_impl" identifier -> field_identifier) )) . field_identifier) . field_identifier))) ;) (expression_statement "*psVar2 = *psVar2 + 1;" (assignment_expression "*psVar2 = *psVar2 + 1" (pointer_expression "*psVar2" * identifier) = (binary_expression "*psVar2 + 1" (pointer_expression "*psVar2" * identifier) + number_literal)) ;) (return_statement "return (iterator)p_Var8;" return (cast_expression "(iterator)p_Var8" ( (type_descriptor "iterator" type_identifier) ) identifier) ;) (ERROR "}" }))
(translation_unit "long FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    \n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}\n\n" (function_definition "long FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    \n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long *param_4" (sized_type_specifier "long" long) (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    \n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "undefined1 auVar8 [16];" type_identifier (array_declarator "auVar8 [16]" identifier [ number_literal ]) ;) (expression_statement "lVar4 = FUN_0049cb70(0x48);" (assignment_expression "lVar4 = FUN_0049cb70(0x48)" identifier = (call_expression "FUN_0049cb70(0x48)" identifier (argument_list "(0x48)" ( number_literal )))) ;) (expression_statement "param_4 = (long *)*param_4;" (assignment_expression "param_4 = (long *)*param_4" identifier = (cast_expression "(long *)*param_4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_4" * identifier))) ;) (expression_statement "*(long *)(lVar4 + 0x20) = lVar4 + 0x30;" (assignment_expression "*(long *)(lVar4 + 0x20) = lVar4 + 0x30" (pointer_expression "*(long *)(lVar4 + 0x20)" * (cast_expression "(long *)(lVar4 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) = (binary_expression "lVar4 + 0x30" identifier + number_literal)) ;) (expression_statement "lVar6 = *param_4;" (assignment_expression "lVar6 = *param_4" identifier = (pointer_expression "*param_4" * identifier)) ;) (expression_statement "FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);" (call_expression "FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6)" identifier (argument_list "(lVar4 + 0x20,lVar6,param_4[1] + lVar6)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) , identifier , (binary_expression "param_4[1] + lVar6" (subscript_expression "param_4[1]" identifier [ number_literal ]) + identifier) ))) ;) (expression_statement "*(undefined8 *)(lVar4 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0x40) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0x40)" * (cast_expression "(undefined8 *)(lVar4 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x40)" ( (binary_expression "lVar4 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);" (assignment_expression "auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20)" identifier = (call_expression "FUN_003c8030(param_1,param_2,lVar4 + 0x20)" identifier (argument_list "(param_1,param_2,lVar4 + 0x20)" ( identifier , identifier , (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) ;) (expression_statement "lVar6 = auVar8._8_8_;" (assignment_expression "lVar6 = auVar8._8_8_" identifier = (field_expression "auVar8._8_8_" identifier . field_identifier)) ;) (if_statement "if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }" if (parenthesized_expression "(lVar6 == 0)" ( (binary_expression "lVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }" { (if_statement "if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }" if (parenthesized_expression "(lVar4 + 0x30 != *(long *)(lVar4 + 0x20))" ( (binary_expression "lVar4 + 0x30 != *(long *)(lVar4 + 0x20)" (binary_expression "lVar4 + 0x30" identifier + number_literal) != (pointer_expression "*(long *)(lVar4 + 0x20)" * (cast_expression "(long *)(lVar4 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n      FUN_0049e340();\n    }" { (expression_statement "FUN_0049e340();" (call_expression "FUN_0049e340()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_0049e340(lVar4);" (call_expression "FUN_0049e340(lVar4)" identifier (argument_list "(lVar4)" ( identifier ))) ;) (return_statement "return auVar8._0_8_;" return (field_expression "auVar8._0_8_" identifier . field_identifier) ;) })) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (if_statement "if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;" if (parenthesized_expression "((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8))" ( (binary_expression "(auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)" (parenthesized_expression "(auVar8._0_8_ != 0)" ( (binary_expression "auVar8._0_8_ != 0" (field_expression "auVar8._0_8_" identifier . field_identifier) != number_literal) )) || (parenthesized_expression "(lVar6 == param_1 + 8)" ( (binary_expression "lVar6 == param_1 + 8" identifier == (binary_expression "param_1 + 8" identifier + number_literal)) ))) )) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;)) (expression_statement "uVar1 = *(ulong *)(lVar4 + 0x28);" (assignment_expression "uVar1 = *(ulong *)(lVar4 + 0x28)" identifier = (pointer_expression "*(ulong *)(lVar4 + 0x28)" * (cast_expression "(ulong *)(lVar4 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x28)" ( (binary_expression "lVar4 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(ulong *)(lVar6 + 0x28);" (assignment_expression "uVar2 = *(ulong *)(lVar6 + 0x28)" identifier = (pointer_expression "*(ulong *)(lVar6 + 0x28)" * (cast_expression "(ulong *)(lVar6 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + 0x28)" ( (binary_expression "lVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = uVar2;" (assignment_expression "uVar7 = uVar2" identifier = identifier) ;) (if_statement "if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }" if (parenthesized_expression "(uVar1 <= uVar2)" ( (binary_expression "uVar1 <= uVar2" identifier <= identifier) )) (compound_statement "{\n    uVar7 = uVar1;\n  }" { (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" identifier = identifier) ;) })) (if_statement "if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }" { (labeled_statement "LAB_003c8388:\n    uVar7 = 0;" statement_identifier : (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;)) (expression_statement "uVar5 = uVar1 - uVar2;" (assignment_expression "uVar5 = uVar1 - uVar2" identifier = (binary_expression "uVar1 - uVar2" identifier - identifier)) ;) (if_statement "if (0x7fffffff < (long)uVar5) goto LAB_003c8327;" if (parenthesized_expression "(0x7fffffff < (long)uVar5)" ( (binary_expression "0x7fffffff < (long)uVar5" number_literal < (cast_expression "(long)uVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;)) (if_statement "if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }" if (parenthesized_expression "((long)uVar5 < -0x80000000)" ( (binary_expression "(long)uVar5 < -0x80000000" (cast_expression "(long)uVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }" { (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" identifier = number_literal) ;) (goto_statement "goto LAB_003c8327;" goto statement_identifier ;) })) }) (else_clause "else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" else (compound_statement "{\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" { (expression_statement "uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);" (assignment_expression "uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" identifier = (call_expression "memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" identifier (argument_list "(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" ( (pointer_expression "*(void **)(lVar4 + 0x20)" * (cast_expression "(void **)(lVar4 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) )))) , (pointer_expression "*(void **)(lVar6 + 0x20)" * (cast_expression "(void **)(lVar6 + 0x20)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar6 + 0x20)" ( (binary_expression "lVar6 + 0x20" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "uVar5 = (ulong)uVar3;" (assignment_expression "uVar5 = (ulong)uVar3" identifier = (cast_expression "(ulong)uVar3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (if_statement "if (uVar3 == 0) goto LAB_003c8388;" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_003c8388;" goto statement_identifier ;)) }))) (expression_statement "uVar7 = uVar5 >> 0x1f & 1;" (assignment_expression "uVar7 = uVar5 >> 0x1f & 1" identifier = (binary_expression "uVar5 >> 0x1f & 1" (binary_expression "uVar5 >> 0x1f" identifier >> number_literal) & number_literal)) ;) (labeled_statement "LAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);" statement_identifier : (expression_statement "FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);" (call_expression "FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8)" identifier (argument_list "(uVar7,lVar4,lVar6,param_1 + 8)" ( identifier , identifier , identifier , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;)) (expression_statement "*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;" (assignment_expression "*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = (binary_expression "*(long *)(param_1 + 0x28) + 1" (pointer_expression "*(long *)(param_1 + 0x28)" * (cast_expression "(long *)(param_1 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal)) ;) (return_statement "return lVar4;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * 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 IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression (subscript_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 ( IDENT , IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (field_expression IDENT . field_identifier)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return (field_expression IDENT . field_identifier) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) != LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT >> LIT) & LIT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;)) (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)) ;) (return_statement return IDENT ;) })))
(function_definition "long FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)\n\n{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    \n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_003c82b0(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)" (identifier "FUN_003c82b0") (parameter_list "(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "long *param_4" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  ulong uVar2;\n  uint uVar3;\n  long lVar4;\n  ulong uVar5;\n  long lVar6;\n  ulong uVar7;\n  undefined1 auVar8 [16];\n  \n  lVar4 = FUN_0049cb70(0x48);\n  param_4 = (long *)*param_4;\n  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;\n  lVar6 = *param_4;\n                    \n  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);\n  *(undefined8 *)(lVar4 + 0x40) = 0;\n  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);\n  lVar6 = auVar8._8_8_;\n  if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }\n  uVar7 = 1;\n  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;\n  uVar1 = *(ulong *)(lVar4 + 0x28);\n  uVar2 = *(ulong *)(lVar6 + 0x28);\n  uVar7 = uVar2;\n  if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }\n  if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }\n  uVar7 = uVar5 >> 0x1f & 1;\nLAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);\n  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;\n  return lVar4;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "undefined1 auVar8 [16];" (type_identifier "undefined1") (array_declarator "auVar8 [16]" (identifier "auVar8") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "lVar4 = FUN_0049cb70(0x48);" (assignment_expression "lVar4 = FUN_0049cb70(0x48)" (identifier "lVar4") (= "=") (call_expression "FUN_0049cb70(0x48)" (identifier "FUN_0049cb70") (argument_list "(0x48)" (( "(") (number_literal "0x48") () ")")))) (; ";")) (expression_statement "param_4 = (long *)*param_4;" (assignment_expression "param_4 = (long *)*param_4" (identifier "param_4") (= "=") (cast_expression "(long *)*param_4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_4" (* "*") (identifier "param_4")))) (; ";")) (expression_statement "*(long *)(lVar4 + 0x20) = lVar4 + 0x30;" (assignment_expression "*(long *)(lVar4 + 0x20) = lVar4 + 0x30" (pointer_expression "*(long *)(lVar4 + 0x20)" (* "*") (cast_expression "(long *)(lVar4 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "lVar4 + 0x30" (identifier "lVar4") (+ "+") (number_literal "0x30"))) (; ";")) (expression_statement "lVar6 = *param_4;" (assignment_expression "lVar6 = *param_4" (identifier "lVar6") (= "=") (pointer_expression "*param_4" (* "*") (identifier "param_4"))) (; ";")) (expression_statement "FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);" (call_expression "FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6)" (identifier "FUN_00270b50") (argument_list "(lVar4 + 0x20,lVar6,param_4[1] + lVar6)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) (, ",") (identifier "lVar6") (, ",") (binary_expression "param_4[1] + lVar6" (subscript_expression "param_4[1]" (identifier "param_4") ([ "[") (number_literal "1") (] "]")) (+ "+") (identifier "lVar6")) () ")"))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0x40) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0x40)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x40)" (( "(") (binary_expression "lVar4 + 0x40" (identifier "lVar4") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);" (assignment_expression "auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20)" (identifier "auVar8") (= "=") (call_expression "FUN_003c8030(param_1,param_2,lVar4 + 0x20)" (identifier "FUN_003c8030") (argument_list "(param_1,param_2,lVar4 + 0x20)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "lVar6 = auVar8._8_8_;" (assignment_expression "lVar6 = auVar8._8_8_" (identifier "lVar6") (= "=") (field_expression "auVar8._8_8_" (identifier "auVar8") (. ".") (field_identifier "_8_8_"))) (; ";")) (if_statement "if (lVar6 == 0) {\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }" (if "if") (parenthesized_expression "(lVar6 == 0)" (( "(") (binary_expression "lVar6 == 0" (identifier "lVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }\n    FUN_0049e340(lVar4);\n    return auVar8._0_8_;\n  }" ({ "{") (if_statement "if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {\n      FUN_0049e340();\n    }" (if "if") (parenthesized_expression "(lVar4 + 0x30 != *(long *)(lVar4 + 0x20))" (( "(") (binary_expression "lVar4 + 0x30 != *(long *)(lVar4 + 0x20)" (binary_expression "lVar4 + 0x30" (identifier "lVar4") (+ "+") (number_literal "0x30")) (!= "!=") (pointer_expression "*(long *)(lVar4 + 0x20)" (* "*") (cast_expression "(long *)(lVar4 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (compound_statement "{\n      FUN_0049e340();\n    }" ({ "{") (expression_statement "FUN_0049e340();" (call_expression "FUN_0049e340()" (identifier "FUN_0049e340") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_0049e340(lVar4);" (call_expression "FUN_0049e340(lVar4)" (identifier "FUN_0049e340") (argument_list "(lVar4)" (( "(") (identifier "lVar4") () ")"))) (; ";")) (return_statement "return auVar8._0_8_;" (return "return") (field_expression "auVar8._0_8_" (identifier "auVar8") (. ".") (field_identifier "_0_8_")) (; ";")) (} "}"))) (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" (identifier "uVar7") (= "=") (number_literal "1")) (; ";")) (if_statement "if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;" (if "if") (parenthesized_expression "((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8))" (( "(") (binary_expression "(auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)" (parenthesized_expression "(auVar8._0_8_ != 0)" (( "(") (binary_expression "auVar8._0_8_ != 0" (field_expression "auVar8._0_8_" (identifier "auVar8") (. ".") (field_identifier "_0_8_")) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(lVar6 == param_1 + 8)" (( "(") (binary_expression "lVar6 == param_1 + 8" (identifier "lVar6") (== "==") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8"))) () ")"))) () ")")) (goto_statement "goto LAB_003c8327;" (goto "goto") (statement_identifier "LAB_003c8327") (; ";"))) (expression_statement "uVar1 = *(ulong *)(lVar4 + 0x28);" (assignment_expression "uVar1 = *(ulong *)(lVar4 + 0x28)" (identifier "uVar1") (= "=") (pointer_expression "*(ulong *)(lVar4 + 0x28)" (* "*") (cast_expression "(ulong *)(lVar4 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x28)" (( "(") (binary_expression "lVar4 + 0x28" (identifier "lVar4") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(ulong *)(lVar6 + 0x28);" (assignment_expression "uVar2 = *(ulong *)(lVar6 + 0x28)" (identifier "uVar2") (= "=") (pointer_expression "*(ulong *)(lVar6 + 0x28)" (* "*") (cast_expression "(ulong *)(lVar6 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + 0x28)" (( "(") (binary_expression "lVar6 + 0x28" (identifier "lVar6") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "uVar7 = uVar2;" (assignment_expression "uVar7 = uVar2" (identifier "uVar7") (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar1 <= uVar2) {\n    uVar7 = uVar1;\n  }" (if "if") (parenthesized_expression "(uVar1 <= uVar2)" (( "(") (binary_expression "uVar1 <= uVar2" (identifier "uVar1") (<= "<=") (identifier "uVar2")) () ")")) (compound_statement "{\n    uVar7 = uVar1;\n  }" ({ "{") (expression_statement "uVar7 = uVar1;" (assignment_expression "uVar7 = uVar1" (identifier "uVar7") (= "=") (identifier "uVar1")) (; ";")) (} "}"))) (if_statement "if (uVar7 == 0) {\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }\n  else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_003c8388:\n    uVar7 = 0;\n    uVar5 = uVar1 - uVar2;\n    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;\n    if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }\n  }" ({ "{") (labeled_statement "LAB_003c8388:\n    uVar7 = 0;" (statement_identifier "LAB_003c8388") (: ":") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";"))) (expression_statement "uVar5 = uVar1 - uVar2;" (assignment_expression "uVar5 = uVar1 - uVar2" (identifier "uVar5") (= "=") (binary_expression "uVar1 - uVar2" (identifier "uVar1") (- "-") (identifier "uVar2"))) (; ";")) (if_statement "if (0x7fffffff < (long)uVar5) goto LAB_003c8327;" (if "if") (parenthesized_expression "(0x7fffffff < (long)uVar5)" (( "(") (binary_expression "0x7fffffff < (long)uVar5" (number_literal "0x7fffffff") (< "<") (cast_expression "(long)uVar5" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar5"))) () ")")) (goto_statement "goto LAB_003c8327;" (goto "goto") (statement_identifier "LAB_003c8327") (; ";"))) (if_statement "if ((long)uVar5 < -0x80000000) {\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }" (if "if") (parenthesized_expression "((long)uVar5 < -0x80000000)" (( "(") (binary_expression "(long)uVar5 < -0x80000000" (cast_expression "(long)uVar5" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar5")) (< "<") (number_literal "-0x80000000")) () ")")) (compound_statement "{\n      uVar7 = 1;\n      goto LAB_003c8327;\n    }" ({ "{") (expression_statement "uVar7 = 1;" (assignment_expression "uVar7 = 1" (identifier "uVar7") (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_003c8327;" (goto "goto") (statement_identifier "LAB_003c8327") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" (else "else") (compound_statement "{\n    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);\n    uVar5 = (ulong)uVar3;\n    if (uVar3 == 0) goto LAB_003c8388;\n  }" ({ "{") (expression_statement "uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);" (assignment_expression "uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" (identifier "uVar3") (= "=") (call_expression "memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" (identifier "memcmp") (argument_list "(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7)" (( "(") (pointer_expression "*(void **)(lVar4 + 0x20)" (* "*") (cast_expression "(void **)(lVar4 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (pointer_expression "*(void **)(lVar6 + 0x20)" (* "*") (cast_expression "(void **)(lVar6 + 0x20)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar6 + 0x20)" (( "(") (binary_expression "lVar6 + 0x20" (identifier "lVar6") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "uVar5 = (ulong)uVar3;" (assignment_expression "uVar5 = (ulong)uVar3" (identifier "uVar5") (= "=") (cast_expression "(ulong)uVar3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar3"))) (; ";")) (if_statement "if (uVar3 == 0) goto LAB_003c8388;" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_003c8388;" (goto "goto") (statement_identifier "LAB_003c8388") (; ";"))) (} "}")))) (expression_statement "uVar7 = uVar5 >> 0x1f & 1;" (assignment_expression "uVar7 = uVar5 >> 0x1f & 1" (identifier "uVar7") (= "=") (binary_expression "uVar5 >> 0x1f & 1" (binary_expression "uVar5 >> 0x1f" (identifier "uVar5") (>> ">>") (number_literal "0x1f")) (& "&") (number_literal "1"))) (; ";")) (labeled_statement "LAB_003c8327:\n  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);" (statement_identifier "LAB_003c8327") (: ":") (expression_statement "FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);" (call_expression "FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8)" (identifier "FUN_0049f840") (argument_list "(uVar7,lVar4,lVar6,param_1 + 8)" (( "(") (identifier "uVar7") (, ",") (identifier "lVar4") (, ",") (identifier "lVar6") (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";"))) (expression_statement "*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;" (assignment_expression "*(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1" (pointer_expression "*(long *)(param_1 + 0x28)" (* "*") (cast_expression "(long *)(param_1 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "*(long *)(param_1 + 0x28) + 1" (pointer_expression "*(long *)(param_1 + 0x28)" (* "*") (cast_expression "(long *)(param_1 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return lVar4;" (return "return") (identifier "lVar4") (; ";")) (} "}")))

/* DWARF original name: _M_emplace_hint_unique<const std::piecewise_construct_t&, std::tuple<const
   std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>, std::tuple<> >
   DWARF original prototype: iterator
   _M_emplace_hint_unique<const_std::piecewise_construct_t&,_std::tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&>,_std::tuple<>_>(_Rb_tree<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>,_std::_Select1st<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>,_std::less<std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>,_std::allocator<std::pair<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>,_long_unsigned_int>_>_>
   * this, const_iterator __pos, piecewise_construct_t * __args#0,
   tuple<const_std::__cxx11::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>&> *
   __args#1, tuple<> * __args#2) */

type_1 __thiscall
std::
_Rb_tree<std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,var_5::pair<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,_long_unsigned_int>,var_5::_Select1st<std::pair<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,_long_unsigned_int>var_3>,var_5::less<std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>var_3>,var_5::var_1<std::pair<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,_long_unsigned_int>var_3>var_3>
::
_M_emplace_hint_unique<const_std::piecewise_construct_t&,var_5::tuple<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>&>,var_5::tuple<>var_3>
          (_Rb_tree<std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,var_5::pair<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,_long_unsigned_int>,var_5::_Select1st<std::pair<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,_long_unsigned_int>var_3>,var_5::less<std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>var_3>,var_5::var_1<std::pair<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>,_long_unsigned_int>var_3>var_3>
           *this,const_iterator __pos,piecewise_construct_t *__args_0,
          tuple<const_std::__cxx11::basic_string<char,var_5::char_traits<char>,var_5::var_1<char>var_3>&>
          *__args_1,tuple<> *__args_2)

{
  type_10 *var_12;
  size_t *psVar2;
  basic_string<var_2,_std::char_traits<var_2>,var_5::var_1<var_2>var_3> *pbVar3;
  type_2 var_8;
  type_3 var_13;
  type_3 var_14;
  type_4 var_17;
  type_5 *var_6;
  type_6 var_18;
  type_5 *var_10;
  type_3 var_15;
  bool bVar11;
  pair<std::type_5*,var_5::type_5*> pVar12;
  
  var_6 = (type_5 *)var_4(0x48);
  pbVar3 = (__args_1->
           super__Tuple_impl<0,_const_std::__cxx11::basic_string<var_2,var_5::char_traits<var_2>,var_5::var_1<var_2>var_3>&>
           ).
           super__Head_base<0,_const_std::__cxx11::basic_string<var_2,var_5::char_traits<var_2>,var_5::var_1<var_2>var_3>&,_false>
           ._M_head_impl;
  *(type_3 **)(var_6 + 1) = &var_6[1]._M_left;
  var_8 = (pbVar3->_M_dataplus)._M_p;
                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */
  __cxx11::basic_string<var_2,var_5::char_traits<var_2>,var_5::var_1<var_2>var_3>::var_7<var_2*>
            ((basic_string<var_2,var_5::char_traits<var_2>,var_5::var_1<var_2>var_3> *)(var_6 + 1),
             var_8,var_8 + pbVar3->_M_string_length);
  *(type_7 *)(var_6 + 2) = 0;
  pVar12 = var_9(this,__pos,(type_8 *)(var_6 + 1));
  var_10 = pVar12.second;
  if (var_10 == (type_5 *)0x0) {
    if (&var_6[1]._M_left != (type_3 *)*(type_9 **)(var_6 + 1)) {
      var_11(*(type_9 **)(var_6 + 1));
    }
    var_11(var_6);
    return (type_1)pVar12.first;
  }
  var_12 = &(this->_M_impl).super__Rb_tree_header;
  bVar11 = true;
  if ((pVar12.first != (type_3)0x0) || ((type_10 *)var_10 == var_12)) goto LAB_003c8327;
  var_13 = var_6[1]._M_parent;
  var_14 = var_10[1]._M_parent;
  var_15 = var_14;
  if (var_13 <= var_14) {
    var_15 = var_13;
  }
  if (var_15 == (type_3)0x0) {
LAB_003c8388:
    bVar11 = false;
    var_18 = (long)var_13 - (long)var_14;
    if (0x7fffffff < (long)var_18) goto LAB_003c8327;
    if ((long)var_18 < -0x80000000) {
      bVar11 = true;
      goto LAB_003c8327;
    }
  }
  else {
    var_17 = var_16(*(void **)(var_6 + 1),*(void **)(var_10 + 1),(size_t)var_15);
    var_18 = (type_6)var_17;
    if (var_17 == 0) goto LAB_003c8388;
  }
  bVar11 = (bool)((byte)(var_18 >> 0x1f) & 1);
LAB_003c8327:
  var_19(bVar11,var_6,var_10,&var_12->_M_header);
  psVar2 = &(this->_M_impl).super__Rb_tree_header._M_node_count;
  *psVar2 = *psVar2 + 1;
  return (type_1)var_6;
}


(translation_unit (function_definition type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (subscript_expression argument: (identifier) index: (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 (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (field_expression argument: (identifier) field: (field_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (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)))) (return_statement (identifier)))))

long MASKED(long param_1,undefined8 param_2,undefined8 param_3,long *param_4)

{
  ulong uVar1;
  ulong uVar2;
  uint uVar3;
  long lVar4;
  ulong uVar5;
  long lVar6;
  ulong uVar7;
  undefined1 auVar8 [16];
  
  lVar4 = FUN_0049cb70(0x48);
  param_4 = (long *)*param_4;
  *(long *)(lVar4 + 0x20) = lVar4 + 0x30;
  lVar6 = *param_4;
                    /* try { // try from 003c82ef to 003c82f3 has its CatchHandler @ 003c83e0 */
  FUN_00270b50(lVar4 + 0x20,lVar6,param_4[1] + lVar6);
  *(undefined8 *)(lVar4 + 0x40) = 0;
  auVar8 = FUN_003c8030(param_1,param_2,lVar4 + 0x20);
  lVar6 = auVar8._8_8_;
  if (lVar6 == 0) {
    if (lVar4 + 0x30 != *(long *)(lVar4 + 0x20)) {
      FUN_0049e340();
    }
    FUN_0049e340(lVar4);
    return auVar8._0_8_;
  }
  uVar7 = 1;
  if ((auVar8._0_8_ != 0) || (lVar6 == param_1 + 8)) goto LAB_003c8327;
  uVar1 = *(ulong *)(lVar4 + 0x28);
  uVar2 = *(ulong *)(lVar6 + 0x28);
  uVar7 = uVar2;
  if (uVar1 <= uVar2) {
    uVar7 = uVar1;
  }
  if (uVar7 == 0) {
LAB_003c8388:
    uVar7 = 0;
    uVar5 = uVar1 - uVar2;
    if (0x7fffffff < (long)uVar5) goto LAB_003c8327;
    if ((long)uVar5 < -0x80000000) {
      uVar7 = 1;
      goto LAB_003c8327;
    }
  }
  else {
    uVar3 = memcmp(*(void **)(lVar4 + 0x20),*(void **)(lVar6 + 0x20),uVar7);
    uVar5 = (ulong)uVar3;
    if (uVar3 == 0) goto LAB_003c8388;
  }
  uVar7 = uVar5 >> 0x1f & 1;
LAB_003c8327:
  FUN_0049f840(uVar7,lVar4,lVar6,param_1 + 8);
  *(long *)(param_1 + 0x28) = *(long *)(param_1 + 0x28) + 1;
  return lVar4;
}

