
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name:
   __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const
   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true>*,
   std::vector<std::__detail::_Node_iterator<std::pair<const
   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true>,
   std::allocator<std::__detail::_Node_iterator<std::pair<const
   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true> > > >, long int,
   std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<char>::Hashkey, long
   unsigned int>, false, true>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison> >
    */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>*,_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>,_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>_>_>_>,_long_int,_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison>_>
               (long __first,long __holeIndex,ulong __len,__node_type *__value)

{
  long lVar1;
  bool bVar2;
  long lVar3;
  Stringpool_sort_info *sort_info1;
  Stringpool_sort_info *pSVar4;
  long lVar5;
  long lVar6;
  _Iter_comp_val<gold::Stringpool_template<char>::Stringpool_sort_comparison> __cmp;
  _Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
  local_40 [2];
  
  lVar3 = (long)(__len - 1) / 2;
  lVar6 = __holeIndex;
  local_40[0]._M_cur = __value;
  if (__holeIndex < lVar3) {
    do {
      lVar5 = (lVar6 + 1) * 2;
      lVar1 = lVar5 + -1;
      sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);
      pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);
      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()
                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);
      if (bVar2) {
        lVar5 = lVar1;
        sort_info1 = pSVar4;
      }
      *(__node_type **)(__first + lVar6 * 8) =
           (sort_info1->
           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
           )._M_cur;
      lVar6 = lVar5;
    } while (lVar5 < lVar3);
    pSVar4 = sort_info1;
    if ((__len & 1) == 0) goto LAB_00249300;
  }
  else {
    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8);
    lVar5 = __holeIndex;
    if ((__len & 1) != 0) goto LAB_002492cc;
LAB_00249300:
    pSVar4 = sort_info1;
    if ((long)(__len - 2) / 2 == lVar5) {
      lVar5 = lVar5 * 2 + 1;
      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);
      (sort_info1->
      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
      )._M_cur = (pSVar4->
                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
                 )._M_cur;
    }
  }
  lVar6 = (lVar5 + -1) - (lVar5 + -1 >> 0x3f);
  sort_info1 = pSVar4;
  if (__holeIndex < lVar5) {
    do {
      lVar3 = lVar6 >> 1;
      pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);
      sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);
      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()
                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,
                         (Stringpool_sort_info *)local_40);
      if (!bVar2) break;
      (sort_info1->
      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
      )._M_cur = (pSVar4->
                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
                 )._M_cur;
      lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);
      sort_info1 = pSVar4;
      lVar5 = lVar3;
    } while (__holeIndex < lVar3);
  }
LAB_002492cc:
  (sort_info1->
  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>
  )._M_cur = local_40[0]._M_cur;
  return;
}



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

{
  long lVar1;
  char cVar2;
  long lVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  long lVar6;
  long lVar7;
  undefined1 local_41;
  undefined8 local_40 [2];
  
  lVar3 = (long)(param_3 - 1) / 2;
  lVar7 = param_2;
  local_40[0] = param_4;
  if (param_2 < lVar3) {
    do {
      lVar6 = (lVar7 + 1) * 2;
      lVar1 = lVar6 + -1;
      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);
      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);
      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);
      if (cVar2 != '\0') {
        lVar6 = lVar1;
        puVar4 = puVar5;
      }
      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;
      lVar7 = lVar6;
    } while (lVar6 < lVar3);
    puVar5 = puVar4;
    if ((param_3 & 1) == 0) goto LAB_00249300;
  }
  else {
    puVar4 = (undefined8 *)(param_1 + param_2 * 8);
    lVar6 = param_2;
    if ((param_3 & 1) != 0) goto LAB_002492cc;
LAB_00249300:
    puVar5 = puVar4;
    if ((long)(param_3 - 2) / 2 == lVar6) {
      lVar6 = lVar6 * 2 + 1;
      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);
      *puVar4 = *puVar5;
    }
  }
  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);
  puVar4 = puVar5;
  if (param_2 < lVar6) {
    do {
      lVar3 = lVar7 >> 1;
      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);
      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);
      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);
      if (cVar2 == '\0') break;
      *puVar4 = *puVar5;
      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);
      puVar4 = puVar5;
      lVar6 = lVar3;
    } while (param_2 < lVar3);
  }
LAB_002492cc:
  *puVar4 = local_40[0];
  return;
}


PUSH R15
LEA RAX,[RDX + -0x1]
PUSH R14
PUSH R13
PUSH R12
MOV R12,RDI
PUSH RBP
MOV RBP,RAX
PUSH RBX
SHR RBP,0x3f
ADD RBP,RAX
MOV RAX,RBP
SUB RSP,0x48
SAR RAX,0x1
MOV qword ptr [RSP + 0x18],RCX
MOV RCX,RDX
AND ECX,0x1
MOV qword ptr [RSP + 0x8],RSI
MOV qword ptr [RSP + 0x28],RDX
MOV qword ptr [RSP + 0x10],RAX
MOV qword ptr [RSP + 0x20],RCX
CMP RSI,RAX
JGE 0x002492e8
MOV R15,RSI
LEA RBX,[R15 + 0x1]
LEA RDI,[RSP + 0x80]
LEA R13,[RBX + RBX*0x1]
SHL RBX,0x4
LEA R14,[R13 + -0x1]
ADD RBX,R12
LEA RBP,[R12 + R14*0x8]
MOV RSI,RBX
MOV RDX,RBP
CALL 0x002452d0
TEST AL,AL
CMOVNZ RBX,RBP
CMOVNZ R13,R14
MOV RAX,qword ptr [RBX]
MOV qword ptr [R12 + R15*0x8],RAX
MOV R15,R13
CMP R13,qword ptr [RSP + 0x10]
JL 0x00249200
CMP qword ptr [RSP + 0x20],0x0
JZ 0x00249300
MOV RAX,qword ptr [RSP + 0x18]
MOV qword ptr [RSP + 0x38],RAX
LEA RAX,[R13 + -0x1]
MOV R14,RAX
SHR R14,0x3f
ADD R14,RAX
SAR R14,0x1
CMP R13,qword ptr [RSP + 0x8]
JLE 0x002492cc
LEA RAX,[RSP + 0x38]
LEA RBP,[RSP + 0x37]
MOV qword ptr [RSP + 0x10],RAX
JMP 0x002492b0
MOV RAX,qword ptr [R15]
LEA RDX,[R14 + -0x1]
MOV R13,R14
MOV qword ptr [RBX],RAX
MOV RAX,RDX
SHR RAX,0x3f
ADD RAX,RDX
SAR RAX,0x1
CMP qword ptr [RSP + 0x8],R14
JGE 0x00249340
MOV R14,RAX
LEA R15,[R12 + R14*0x8]
MOV RDX,qword ptr [RSP + 0x10]
MOV RDI,RBP
LEA RBX,[R12 + R13*0x8]
MOV RSI,R15
CALL 0x002452d0
TEST AL,AL
JNZ 0x00249288
MOV RAX,qword ptr [RSP + 0x38]
MOV qword ptr [RBX],RAX
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RAX,qword ptr [RSP + 0x8]
CMP qword ptr [RSP + 0x20],0x0
LEA RBX,[RDI + RAX*0x8]
JNZ 0x00249345
MOV R13,qword ptr [RSP + 0x8]
NOP
MOV RAX,qword ptr [RSP + 0x28]
SUB RAX,0x2
MOV RDX,RAX
SHR RDX,0x3f
ADD RAX,RDX
SAR RAX,0x1
CMP RAX,R13
JNZ 0x00249251
LEA R13,[R13 + R13*0x1 + 0x1]
LEA RAX,[R12 + R13*0x8]
MOV RDX,qword ptr [RAX]
MOV qword ptr [RBX],RDX
MOV RBX,RAX
JMP 0x00249251
MOV RBX,R15
JMP 0x002492cc
MOV RAX,qword ptr [RSP + 0x18]
MOV qword ptr [RSP + 0x38],RAX
JMP 0x002492cc
(translation_unit "void FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}\n\n" (function_definition "void FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}" primitive_type (function_declarator "FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,long param_2,ulong param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 local_41;" type_identifier identifier ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "lVar3 = (long)(param_3 - 1) / 2;" (assignment_expression "lVar3 = (long)(param_3 - 1) / 2" identifier = (binary_expression "(long)(param_3 - 1) / 2" (cast_expression "(long)(param_3 - 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "lVar7 = param_2;" (assignment_expression "lVar7 = param_2" identifier = identifier) ;) (expression_statement "local_40[0] = param_4;" (assignment_expression "local_40[0] = param_4" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" if (parenthesized_expression "(param_2 < lVar3)" ( (binary_expression "param_2 < lVar3" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }" { (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" do (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    }" { (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" identifier = (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);" (assignment_expression "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1)" identifier = (cast_expression "(undefined8 *)((lVar7 + 1) * 0x10 + param_1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((lVar7 + 1) * 0x10 + param_1)" ( (binary_expression "(lVar7 + 1) * 0x10 + param_1" (binary_expression "(lVar7 + 1) * 0x10" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar1 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar1 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar1 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1 * 8)" ( (binary_expression "param_1 + lVar1 * 8" identifier + (binary_expression "lVar1 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);" (assignment_expression "cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5)" identifier = (call_expression "FUN_002452d0(&stack0x00000008,puVar4,puVar5)" identifier (argument_list "(&stack0x00000008,puVar4,puVar5)" ( (pointer_expression "&stack0x00000008" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" { (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) })) (expression_statement "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;" (assignment_expression "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4" (pointer_expression "*(undefined8 *)(param_1 + lVar7 * 8)" * (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar7 * 8)" ( (binary_expression "param_1 + lVar7 * 8" identifier + (binary_expression "lVar7 * 8" identifier * number_literal)) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" identifier = identifier) ;) }) while (parenthesized_expression "(lVar6 < lVar3)" ( (binary_expression "lVar6 < lVar3" identifier < identifier) )) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00249300;" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00249300;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" else (compound_statement "{\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" { (expression_statement "puVar4 = (undefined8 *)(param_1 + param_2 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + param_2 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + param_2 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 8)" ( (binary_expression "param_1 + param_2 * 8" identifier + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (expression_statement "lVar6 = param_2;" (assignment_expression "lVar6 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) goto LAB_002492cc;" if (parenthesized_expression "((param_3 & 1) != 0)" ( (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_002492cc;" goto statement_identifier ;)) (labeled_statement "LAB_00249300:\n    puVar5 = puVar4;" statement_identifier : (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;)) (if_statement "if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" if (parenthesized_expression "((long)(param_3 - 2) / 2 == lVar6)" ( (binary_expression "(long)(param_3 - 2) / 2 == lVar6" (binary_expression "(long)(param_3 - 2) / 2" (cast_expression "(long)(param_3 - 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" { (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" identifier = (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) })) }))) (expression_statement "lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" identifier = (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" ( (binary_expression "lVar6 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar6 + -1 >> 0x3f)" ( (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (if_statement "if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }" if (parenthesized_expression "(param_2 < lVar6)" ( (binary_expression "param_2 < lVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }" { (do_statement "do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);" do (compound_statement "{\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    }" { (expression_statement "lVar3 = lVar7 >> 1;" (assignment_expression "lVar3 = lVar7 >> 1" identifier = (binary_expression "lVar7 >> 1" identifier >> number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar3 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar3 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar3 * 8)" ( (binary_expression "param_1 + lVar3 * 8" identifier + (binary_expression "lVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "puVar4 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_002452d0(&local_41,puVar5,local_40);" (assignment_expression "cVar2 = FUN_002452d0(&local_41,puVar5,local_40)" identifier = (call_expression "FUN_002452d0(&local_41,puVar5,local_40)" identifier (argument_list "(&local_41,puVar5,local_40)" ( (pointer_expression "&local_41" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar2 == '\0') break;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);" (assignment_expression "lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f)" identifier = (binary_expression "(lVar3 + -1) - (lVar3 + -1 >> 0x3f)" (parenthesized_expression "(lVar3 + -1)" ( (binary_expression "lVar3 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar3 + -1 >> 0x3f)" ( (binary_expression "lVar3 + -1 >> 0x3f" (binary_expression "lVar3 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "lVar6 = lVar3;" (assignment_expression "lVar6 = lVar3" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < lVar3)" ( (binary_expression "param_2 < lVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_002492cc:\n  *puVar4 = local_40[0];" statement_identifier : (expression_statement "*puVar4 = local_40[0];" (assignment_expression "*puVar4 = local_40[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name:\n   __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const\n   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true>*,\n   std::vector<std::__detail::_Node_iterator<std::pair<const\n   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true>,\n   std::allocator<std::__detail::_Node_iterator<std::pair<const\n   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true> > > >, long int,\n   std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<char>::Hashkey, long\n   unsigned int>, false, true>,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison> >\n    */\n\nvoid std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>*,_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>,_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>_>_>_>,_long_int,_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison>_>\n               (long __first,long __holeIndex,ulong __len,__node_type *__value)\n\n{\n  long lVar1;\n  bool bVar2;\n  long lVar3;\n  Stringpool_sort_info *sort_info1;\n  Stringpool_sort_info *pSVar4;\n  long lVar5;\n  long lVar6;\n  _Iter_comp_val<gold::Stringpool_template<char>::Stringpool_sort_comparison> __cmp;\n  _Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  local_40 [2];\n  \n  lVar3 = (long)(__len - 1) / 2;\n  lVar6 = __holeIndex;\n  local_40[0]._M_cur = __value;\n  if (__holeIndex < lVar3) {\n    do {\n      lVar5 = (lVar6 + 1) * 2;\n      lVar1 = lVar5 + -1;\n      sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);\n      if (bVar2) {\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }\n      *(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur;\n      lVar6 = lVar5;\n    } while (lVar5 < lVar3);\n    pSVar4 = sort_info1;\n    if ((__len & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8);\n    lVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    pSVar4 = sort_info1;\n    if ((long)(__len - 2) / 2 == lVar5) {\n      lVar5 = lVar5 * 2 + 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n    }\n  }\n  lVar6 = (lVar5 + -1) - (lVar5 + -1 >> 0x3f);\n  sort_info1 = pSVar4;\n  if (__holeIndex < lVar5) {\n    do {\n      lVar3 = lVar6 >> 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);\n      sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40);\n      if (!bVar2) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n      lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      sort_info1 = pSVar4;\n      lVar5 = lVar3;\n    } while (__holeIndex < lVar3);\n  }\nLAB_002492cc:\n  (sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  )._M_cur = local_40[0]._M_cur;\n  return;\n}\n\n" comment comment (declaration "void std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>*,_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>,_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>_>_>_>,_long_int,_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_false,_true>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison>_>\n               (long __first,long __holeIndex,ulong __len,__node_type *__value)\n\n{\n  long lVar1;" primitive_type (ERROR "std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::" identifier : : identifier < identifier : : identifier < identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < primitive_type > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">*" > *) , (ERROR "_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::" identifier : : identifier < identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < primitive_type > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">" >) , (ERROR "_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::" identifier : : identifier < identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < primitive_type > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) , identifier , (ERROR "_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<char>::" identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < primitive_type > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison>_>\n               (long __first,long __holeIndex,ulong __len,__node_type *__value)\n\n{\n  long" identifier : : identifier : : identifier < identifier : : identifier < primitive_type > : : identifier > (function_declarator "_>\n               (long __first,long __holeIndex,ulong __len,__node_type *__value)" identifier (ERROR ">" >) (parameter_list "(long __first,long __holeIndex,ulong __len,__node_type *__value)" ( (parameter_declaration "long __first" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long __holeIndex" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong __len" type_identifier identifier) , (parameter_declaration "__node_type *__value" type_identifier (pointer_declarator "*__value" * identifier)) ))) { long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "Stringpool_sort_info *sort_info1;" type_identifier (pointer_declarator "*sort_info1" * identifier) ;) (declaration "Stringpool_sort_info *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (ERROR "_Iter_comp_val<gold::Stringpool_template<char>::Stringpool_sort_comparison> __cmp" (binary_expression "_Iter_comp_val<gold" identifier < identifier) : : (binary_expression "Stringpool_template<char>::Stringpool_sort_comparison> __cmp" (binary_expression "Stringpool_template<char>::Stringpool_sort_comparison" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) identifier) > identifier)) (expression_statement ";" ;) (expression_statement "_Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  local_40 [2];" (update_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  local_40 [2]" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  local_40 [2]" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "_Node_iterator_base<std::pair<const_gold" (binary_expression "_Node_iterator_base<std" identifier < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) (ERROR ",_long_unsigned_int" , identifier) > (ERROR "," ,) identifier) > (subscript_expression "local_40 [2]" identifier [ number_literal ])) --) ;) (expression_statement "lVar3 = (long)(__len - 1) / 2;" (assignment_expression "lVar3 = (long)(__len - 1) / 2" identifier = (binary_expression "(long)(__len - 1) / 2" (cast_expression "(long)(__len - 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__len - 1)" ( (binary_expression "__len - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "lVar6 = __holeIndex;" (assignment_expression "lVar6 = __holeIndex" identifier = identifier) ;) (expression_statement "local_40[0]._M_cur = __value;" (assignment_expression "local_40[0]._M_cur = __value" (field_expression "local_40[0]._M_cur" (subscript_expression "local_40[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (if_statement "if (__holeIndex < lVar3) {\n    do {\n      lVar5 = (lVar6 + 1) * 2;\n      lVar1 = lVar5 + -1;\n      sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);\n      if (bVar2) {\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }\n      *(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur;\n      lVar6 = lVar5;\n    } while (lVar5 < lVar3);\n    pSVar4 = sort_info1;\n    if ((__len & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8);\n    lVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    pSVar4 = sort_info1;\n    if ((long)(__len - 2) / 2 == lVar5) {\n      lVar5 = lVar5 * 2 + 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n    }\n  }" if (parenthesized_expression "(__holeIndex < lVar3)" ( (binary_expression "__holeIndex < lVar3" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar5 = (lVar6 + 1) * 2;\n      lVar1 = lVar5 + -1;\n      sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);\n      if (bVar2) {\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }\n      *(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur;\n      lVar6 = lVar5;\n    } while (lVar5 < lVar3);\n    pSVar4 = sort_info1;\n    if ((__len & 1) == 0) goto LAB_00249300;\n  }" { (do_statement "do {\n      lVar5 = (lVar6 + 1) * 2;\n      lVar1 = lVar5 + -1;\n      sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);\n      if (bVar2) {\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }\n      *(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur;\n      lVar6 = lVar5;\n    } while (lVar5 < lVar3);" do (compound_statement "{\n      lVar5 = (lVar6 + 1) * 2;\n      lVar1 = lVar5 + -1;\n      sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);\n      if (bVar2) {\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }\n      *(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur;\n      lVar6 = lVar5;\n    }" { (expression_statement "lVar5 = (lVar6 + 1) * 2;" (assignment_expression "lVar5 = (lVar6 + 1) * 2" identifier = (binary_expression "(lVar6 + 1) * 2" (parenthesized_expression "(lVar6 + 1)" ( (binary_expression "lVar6 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "lVar1 = lVar5 + -1;" (assignment_expression "lVar1 = lVar5 + -1" identifier = (binary_expression "lVar5 + -1" identifier + number_literal)) ;) (expression_statement "sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first);" (assignment_expression "sort_info1 = (Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first)" identifier = (cast_expression "(Stringpool_sort_info *)((lVar6 + 1) * 0x10 + __first)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((lVar6 + 1) * 0x10 + __first)" ( (binary_expression "(lVar6 + 1) * 0x10 + __first" (binary_expression "(lVar6 + 1) * 0x10" (parenthesized_expression "(lVar6 + 1)" ( (binary_expression "lVar6 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8);" (assignment_expression "pSVar4 = (Stringpool_sort_info *)(__first + lVar1 * 8)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + lVar1 * 8)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + lVar1 * 8)" ( (binary_expression "__first + lVar1 * 8" identifier + (binary_expression "lVar1 * 8" identifier * number_literal)) )))) ;) (ERROR "bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::" (assignment_expression "bVar2 = gold" identifier = identifier) : : (binary_expression "Stringpool_template<char>::Stringpool_sort_comparison" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) identifier) : :) (expression_statement "operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4);" (call_expression "operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4)" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "((Stringpool_sort_comparison *)&stack0x00000008,sort_info1,pSVar4)" ( (cast_expression "(Stringpool_sort_comparison *)&stack0x00000008" ( (type_descriptor "Stringpool_sort_comparison *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000008" & identifier)) , identifier , identifier ))) ;) (if_statement "if (bVar2) {\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        lVar5 = lVar1;\n        sort_info1 = pSVar4;\n      }" { (expression_statement "lVar5 = lVar1;" (assignment_expression "lVar5 = lVar1" identifier = identifier) ;) (expression_statement "sort_info1 = pSVar4;" (assignment_expression "sort_info1 = pSVar4" identifier = identifier) ;) })) (expression_statement "*(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur;" (assignment_expression "*(__node_type **)(__first + lVar6 * 8) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur" (pointer_expression "*(__node_type **)(__first + lVar6 * 8)" * (cast_expression "(__node_type **)(__first + lVar6 * 8)" ( (type_descriptor "__node_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__first + lVar6 * 8)" ( (binary_expression "__first + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) = (field_expression "(sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )._M_cur" (parenthesized_expression "(sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n           )" ( (comma_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold" (binary_expression "sort_info1->\n           super__Node_iterator_base<std" (field_expression "sort_info1->\n           super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_long_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier)) ;) (expression_statement "lVar6 = lVar5;" (assignment_expression "lVar6 = lVar5" identifier = identifier) ;) }) while (parenthesized_expression "(lVar5 < lVar3)" ( (binary_expression "lVar5 < lVar3" identifier < identifier) )) ;) (expression_statement "pSVar4 = sort_info1;" (assignment_expression "pSVar4 = sort_info1" identifier = identifier) ;) (if_statement "if ((__len & 1) == 0) goto LAB_00249300;" if (parenthesized_expression "((__len & 1) == 0)" ( (binary_expression "(__len & 1) == 0" (parenthesized_expression "(__len & 1)" ( (binary_expression "__len & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00249300;" goto statement_identifier ;)) }) (else_clause "else {\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8);\n    lVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    pSVar4 = sort_info1;\n    if ((long)(__len - 2) / 2 == lVar5) {\n      lVar5 = lVar5 * 2 + 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n    }\n  }" else (compound_statement "{\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8);\n    lVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    pSVar4 = sort_info1;\n    if ((long)(__len - 2) / 2 == lVar5) {\n      lVar5 = lVar5 * 2 + 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n    }\n  }" { (expression_statement "sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8);" (assignment_expression "sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 8)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + __holeIndex * 8)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + __holeIndex * 8)" ( (binary_expression "__first + __holeIndex * 8" identifier + (binary_expression "__holeIndex * 8" identifier * number_literal)) )))) ;) (expression_statement "lVar5 = __holeIndex;" (assignment_expression "lVar5 = __holeIndex" identifier = identifier) ;) (if_statement "if ((__len & 1) != 0) goto LAB_002492cc;" if (parenthesized_expression "((__len & 1) != 0)" ( (binary_expression "(__len & 1) != 0" (parenthesized_expression "(__len & 1)" ( (binary_expression "__len & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_002492cc;" goto statement_identifier ;)) (labeled_statement "LAB_00249300:\n    pSVar4 = sort_info1;" statement_identifier : (expression_statement "pSVar4 = sort_info1;" (assignment_expression "pSVar4 = sort_info1" identifier = identifier) ;)) (if_statement "if ((long)(__len - 2) / 2 == lVar5) {\n      lVar5 = lVar5 * 2 + 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n    }" if (parenthesized_expression "((long)(__len - 2) / 2 == lVar5)" ( (binary_expression "(long)(__len - 2) / 2 == lVar5" (binary_expression "(long)(__len - 2) / 2" (cast_expression "(long)(__len - 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__len - 2)" ( (binary_expression "__len - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      lVar5 = lVar5 * 2 + 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n    }" { (expression_statement "lVar5 = lVar5 * 2 + 1;" (assignment_expression "lVar5 = lVar5 * 2 + 1" identifier = (binary_expression "lVar5 * 2 + 1" (binary_expression "lVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8);" (assignment_expression "pSVar4 = (Stringpool_sort_info *)(__first + lVar5 * 8)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + lVar5 * 8)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + lVar5 * 8)" ( (binary_expression "__first + lVar5 * 8" identifier + (binary_expression "lVar5 * 8" identifier * number_literal)) )))) ;) (expression_statement "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;" (assignment_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur" (field_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur" (parenthesized_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )" ( (comma_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold" (binary_expression "sort_info1->\n      super__Node_iterator_base<std" (field_expression "sort_info1->\n      super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_long_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "(pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur" (parenthesized_expression "(pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )" ( (comma_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std" (field_expression "pSVar4->\n                 super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_long_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier)) ;) })) }))) (expression_statement "lVar6 = (lVar5 + -1) - (lVar5 + -1 >> 0x3f);" (assignment_expression "lVar6 = (lVar5 + -1) - (lVar5 + -1 >> 0x3f)" identifier = (binary_expression "(lVar5 + -1) - (lVar5 + -1 >> 0x3f)" (parenthesized_expression "(lVar5 + -1)" ( (binary_expression "lVar5 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar5 + -1 >> 0x3f)" ( (binary_expression "lVar5 + -1 >> 0x3f" (binary_expression "lVar5 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "sort_info1 = pSVar4;" (assignment_expression "sort_info1 = pSVar4" identifier = identifier) ;) (if_statement "if (__holeIndex < lVar5) {\n    do {\n      lVar3 = lVar6 >> 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);\n      sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40);\n      if (!bVar2) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n      lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      sort_info1 = pSVar4;\n      lVar5 = lVar3;\n    } while (__holeIndex < lVar3);\n  }" if (parenthesized_expression "(__holeIndex < lVar5)" ( (binary_expression "__holeIndex < lVar5" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar3 = lVar6 >> 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);\n      sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40);\n      if (!bVar2) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n      lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      sort_info1 = pSVar4;\n      lVar5 = lVar3;\n    } while (__holeIndex < lVar3);\n  }" { (do_statement "do {\n      lVar3 = lVar6 >> 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);\n      sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40);\n      if (!bVar2) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n      lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      sort_info1 = pSVar4;\n      lVar5 = lVar3;\n    } while (__holeIndex < lVar3);" do (compound_statement "{\n      lVar3 = lVar6 >> 1;\n      pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);\n      sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);\n      bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40);\n      if (!bVar2) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;\n      lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      sort_info1 = pSVar4;\n      lVar5 = lVar3;\n    }" { (expression_statement "lVar3 = lVar6 >> 1;" (assignment_expression "lVar3 = lVar6 >> 1" identifier = (binary_expression "lVar6 >> 1" identifier >> number_literal)) ;) (expression_statement "pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8);" (assignment_expression "pSVar4 = (Stringpool_sort_info *)(__first + lVar3 * 8)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + lVar3 * 8)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + lVar3 * 8)" ( (binary_expression "__first + lVar3 * 8" identifier + (binary_expression "lVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8);" (assignment_expression "sort_info1 = (Stringpool_sort_info *)(__first + lVar5 * 8)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + lVar5 * 8)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + lVar5 * 8)" ( (binary_expression "__first + lVar5 * 8" identifier + (binary_expression "lVar5 * 8" identifier * number_literal)) )))) ;) (ERROR "bVar2 = gold::Stringpool_template<char>::Stringpool_sort_comparison::" (assignment_expression "bVar2 = gold" identifier = identifier) : : (binary_expression "Stringpool_template<char>::Stringpool_sort_comparison" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) identifier) : :) (expression_statement "operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40);" (call_expression "operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40)" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "((Stringpool_sort_comparison *)&__cmp,pSVar4,\n                         (Stringpool_sort_info *)local_40)" ( (cast_expression "(Stringpool_sort_comparison *)&__cmp" ( (type_descriptor "Stringpool_sort_comparison *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__cmp" & identifier)) , identifier , (cast_expression "(Stringpool_sort_info *)local_40" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (!bVar2) break;" if (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (break_statement "break;" break ;)) (expression_statement "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur;" (assignment_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur = (pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur" (field_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )._M_cur" (parenthesized_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n      )" ( (comma_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold" (binary_expression "sort_info1->\n      super__Node_iterator_base<std" (field_expression "sort_info1->\n      super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_long_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "(pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )._M_cur" (parenthesized_expression "(pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n                 )" ( (comma_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std::pair<const_gold" (binary_expression "pSVar4->\n                 super__Node_iterator_base<std" (field_expression "pSVar4->\n                 super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_long_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier)) ;) (expression_statement "lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);" (assignment_expression "lVar6 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f)" identifier = (binary_expression "(lVar3 + -1) - (lVar3 + -1 >> 0x3f)" (parenthesized_expression "(lVar3 + -1)" ( (binary_expression "lVar3 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar3 + -1 >> 0x3f)" ( (binary_expression "lVar3 + -1 >> 0x3f" (binary_expression "lVar3 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "sort_info1 = pSVar4;" (assignment_expression "sort_info1 = pSVar4" identifier = identifier) ;) (expression_statement "lVar5 = lVar3;" (assignment_expression "lVar5 = lVar3" identifier = identifier) ;) }) while (parenthesized_expression "(__holeIndex < lVar3)" ( (binary_expression "__holeIndex < lVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_002492cc:\n  (sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  )._M_cur = local_40[0]._M_cur;" statement_identifier : (expression_statement "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  )._M_cur = local_40[0]._M_cur;" (assignment_expression "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  )._M_cur = local_40[0]._M_cur" (field_expression "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  )._M_cur" (parenthesized_expression "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true>\n  )" ( (comma_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey,_long_unsigned_int>,_true" (binary_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char>::Hashkey" (binary_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<char" (binary_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold" (binary_expression "sort_info1->\n  super__Node_iterator_base<std" (field_expression "sort_info1->\n  super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_long_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "local_40[0]._M_cur" (subscript_expression "local_40[0]" identifier [ number_literal ]) . field_identifier)) ;)) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}\n\n" (function_definition "void FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}" primitive_type (function_declarator "FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,long param_2,ulong param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 local_41;" type_identifier identifier ;) (declaration "undefined8 local_40 [2];" type_identifier (array_declarator "local_40 [2]" identifier [ number_literal ]) ;) (expression_statement "lVar3 = (long)(param_3 - 1) / 2;" (assignment_expression "lVar3 = (long)(param_3 - 1) / 2" identifier = (binary_expression "(long)(param_3 - 1) / 2" (cast_expression "(long)(param_3 - 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "lVar7 = param_2;" (assignment_expression "lVar7 = param_2" identifier = identifier) ;) (expression_statement "local_40[0] = param_4;" (assignment_expression "local_40[0] = param_4" (subscript_expression "local_40[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" if (parenthesized_expression "(param_2 < lVar3)" ( (binary_expression "param_2 < lVar3" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }" { (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" do (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    }" { (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" identifier = (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);" (assignment_expression "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1)" identifier = (cast_expression "(undefined8 *)((lVar7 + 1) * 0x10 + param_1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((lVar7 + 1) * 0x10 + param_1)" ( (binary_expression "(lVar7 + 1) * 0x10 + param_1" (binary_expression "(lVar7 + 1) * 0x10" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar1 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar1 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar1 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1 * 8)" ( (binary_expression "param_1 + lVar1 * 8" identifier + (binary_expression "lVar1 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);" (assignment_expression "cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5)" identifier = (call_expression "FUN_002452d0(&stack0x00000008,puVar4,puVar5)" identifier (argument_list "(&stack0x00000008,puVar4,puVar5)" ( (pointer_expression "&stack0x00000008" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" { (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) })) (expression_statement "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;" (assignment_expression "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4" (pointer_expression "*(undefined8 *)(param_1 + lVar7 * 8)" * (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar7 * 8)" ( (binary_expression "param_1 + lVar7 * 8" identifier + (binary_expression "lVar7 * 8" identifier * number_literal)) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" identifier = identifier) ;) }) while (parenthesized_expression "(lVar6 < lVar3)" ( (binary_expression "lVar6 < lVar3" identifier < identifier) )) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00249300;" if (parenthesized_expression "((param_3 & 1) == 0)" ( (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00249300;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" else (compound_statement "{\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" { (expression_statement "puVar4 = (undefined8 *)(param_1 + param_2 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + param_2 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + param_2 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 8)" ( (binary_expression "param_1 + param_2 * 8" identifier + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (expression_statement "lVar6 = param_2;" (assignment_expression "lVar6 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) goto LAB_002492cc;" if (parenthesized_expression "((param_3 & 1) != 0)" ( (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" ( (binary_expression "param_3 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_002492cc;" goto statement_identifier ;)) (labeled_statement "LAB_00249300:\n    puVar5 = puVar4;" statement_identifier : (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;)) (if_statement "if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" if (parenthesized_expression "((long)(param_3 - 2) / 2 == lVar6)" ( (binary_expression "(long)(param_3 - 2) / 2 == lVar6" (binary_expression "(long)(param_3 - 2) / 2" (cast_expression "(long)(param_3 - 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" { (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" identifier = (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) })) }))) (expression_statement "lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" identifier = (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" ( (binary_expression "lVar6 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar6 + -1 >> 0x3f)" ( (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (if_statement "if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }" if (parenthesized_expression "(param_2 < lVar6)" ( (binary_expression "param_2 < lVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }" { (do_statement "do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);" do (compound_statement "{\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    }" { (expression_statement "lVar3 = lVar7 >> 1;" (assignment_expression "lVar3 = lVar7 >> 1" identifier = (binary_expression "lVar7 >> 1" identifier >> number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar3 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar3 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar3 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar3 * 8)" ( (binary_expression "param_1 + lVar3 * 8" identifier + (binary_expression "lVar3 * 8" identifier * number_literal)) )))) ;) (expression_statement "puVar4 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_002452d0(&local_41,puVar5,local_40);" (assignment_expression "cVar2 = FUN_002452d0(&local_41,puVar5,local_40)" identifier = (call_expression "FUN_002452d0(&local_41,puVar5,local_40)" identifier (argument_list "(&local_41,puVar5,local_40)" ( (pointer_expression "&local_41" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar2 == '\0') break;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);" (assignment_expression "lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f)" identifier = (binary_expression "(lVar3 + -1) - (lVar3 + -1 >> 0x3f)" (parenthesized_expression "(lVar3 + -1)" ( (binary_expression "lVar3 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar3 + -1 >> 0x3f)" ( (binary_expression "lVar3 + -1 >> 0x3f" (binary_expression "lVar3 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "lVar6 = lVar3;" (assignment_expression "lVar6 = lVar3" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < lVar3)" ( (binary_expression "param_2 < lVar3" identifier < identifier) )) ;) })) (labeled_statement "LAB_002492cc:\n  *puVar4 = local_40[0];" statement_identifier : (expression_statement "*puVar4 = local_40[0];" (assignment_expression "*puVar4 = local_40[0]" (pointer_expression "*puVar4" * identifier) = (subscript_expression "local_40[0]" identifier [ number_literal ])) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;)) (return_statement return ;) })))
(function_definition "void FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002491b0(long param_1,long param_2,ulong param_3,undefined8 param_4)" (identifier "FUN_002491b0") (parameter_list "(long param_1,long param_2,ulong param_3,undefined8 param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined1 local_41;\n  undefined8 local_40 [2];\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  lVar7 = param_2;\n  local_40[0] = param_4;\n  if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }\nLAB_002492cc:\n  *puVar4 = local_40[0];\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "undefined1 local_41;" (type_identifier "undefined1") (identifier "local_41") (; ";")) (declaration "undefined8 local_40 [2];" (type_identifier "undefined8") (array_declarator "local_40 [2]" (identifier "local_40") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "lVar3 = (long)(param_3 - 1) / 2;" (assignment_expression "lVar3 = (long)(param_3 - 1) / 2" (identifier "lVar3") (= "=") (binary_expression "(long)(param_3 - 1) / 2" (cast_expression "(long)(param_3 - 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")"))) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "lVar7 = param_2;" (assignment_expression "lVar7 = param_2" (identifier "lVar7") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_40[0] = param_4;" (assignment_expression "local_40[0] = param_4" (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_4")) (; ";")) (if_statement "if (param_2 < lVar3) {\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < lVar3)" (( "(") (binary_expression "param_2 < lVar3" (identifier "param_2") (< "<") (identifier "lVar3")) () ")")) (compound_statement "{\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00249300;\n  }" ({ "{") (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" (do "do") (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    }" ({ "{") (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" (identifier "lVar6") (= "=") (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" (( "(") (binary_expression "lVar7 + 1" (identifier "lVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" (identifier "lVar1") (= "=") (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);" (assignment_expression "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)((lVar7 + 1) * 0x10 + param_1)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((lVar7 + 1) * 0x10 + param_1)" (( "(") (binary_expression "(lVar7 + 1) * 0x10 + param_1" (binary_expression "(lVar7 + 1) * 0x10" (parenthesized_expression "(lVar7 + 1)" (( "(") (binary_expression "lVar7 + 1" (identifier "lVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar1 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar1 * 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar1 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar1 * 8)" (( "(") (binary_expression "param_1 + lVar1 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar1 * 8" (identifier "lVar1") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);" (assignment_expression "cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5)" (identifier "cVar2") (= "=") (call_expression "FUN_002452d0(&stack0x00000008,puVar4,puVar5)" (identifier "FUN_002452d0") (argument_list "(&stack0x00000008,puVar4,puVar5)" (( "(") (pointer_expression "&stack0x00000008" (& "&") (identifier "stack0x00000008")) (, ",") (identifier "puVar4") (, ",") (identifier "puVar5") () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" ({ "{") (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" (identifier "lVar6") (= "=") (identifier "lVar1")) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;" (assignment_expression "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4" (pointer_expression "*(undefined8 *)(param_1 + lVar7 * 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar7 * 8)" (( "(") (binary_expression "param_1 + lVar7 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar7 * 8" (identifier "lVar7") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" (identifier "lVar7") (= "=") (identifier "lVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar6 < lVar3)" (( "(") (binary_expression "lVar6 < lVar3" (identifier "lVar6") (< "<") (identifier "lVar3")) () ")")) (; ";")) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if ((param_3 & 1) == 0) goto LAB_00249300;" (if "if") (parenthesized_expression "((param_3 & 1) == 0)" (( "(") (binary_expression "(param_3 & 1) == 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00249300;" (goto "goto") (statement_identifier "LAB_00249300") (; ";"))) (} "}")) (else_clause "else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" (else "else") (compound_statement "{\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_002492cc;\nLAB_00249300:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" ({ "{") (expression_statement "puVar4 = (undefined8 *)(param_1 + param_2 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + param_2 * 8)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)(param_1 + param_2 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 * 8)" (( "(") (binary_expression "param_1 + param_2 * 8" (identifier "param_1") (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "lVar6 = param_2;" (assignment_expression "lVar6 = param_2" (identifier "lVar6") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_3 & 1) != 0) goto LAB_002492cc;" (if "if") (parenthesized_expression "((param_3 & 1) != 0)" (( "(") (binary_expression "(param_3 & 1) != 0" (parenthesized_expression "(param_3 & 1)" (( "(") (binary_expression "param_3 & 1" (identifier "param_3") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_002492cc;" (goto "goto") (statement_identifier "LAB_002492cc") (; ";"))) (labeled_statement "LAB_00249300:\n    puVar5 = puVar4;" (statement_identifier "LAB_00249300") (: ":") (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";"))) (if_statement "if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" (if "if") (parenthesized_expression "((long)(param_3 - 2) / 2 == lVar6)" (( "(") (binary_expression "(long)(param_3 - 2) / 2 == lVar6" (binary_expression "(long)(param_3 - 2) / 2" (cast_expression "(long)(param_3 - 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_3 - 2)" (( "(") (binary_expression "param_3 - 2" (identifier "param_3") (- "-") (number_literal "2")) () ")"))) (/ "/") (number_literal "2")) (== "==") (identifier "lVar6")) () ")")) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" ({ "{") (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" (identifier "lVar6") (= "=") (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" (identifier "lVar6") (* "*") (number_literal "2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar6 * 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar6 * 8)" (( "(") (binary_expression "param_1 + lVar6 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar6 * 8" (identifier "lVar6") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (identifier "lVar7") (= "=") (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" (( "(") (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1")) () ")")) (- "-") (parenthesized_expression "(lVar6 + -1 >> 0x3f)" (( "(") (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1")) (>> ">>") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (param_2 < lVar6) {\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }" (if "if") (parenthesized_expression "(param_2 < lVar6)" (( "(") (binary_expression "param_2 < lVar6" (identifier "param_2") (< "<") (identifier "lVar6")) () ")")) (compound_statement "{\n    do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);\n  }" ({ "{") (do_statement "do {\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    } while (param_2 < lVar3);" (do "do") (compound_statement "{\n      lVar3 = lVar7 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar3;\n    }" ({ "{") (expression_statement "lVar3 = lVar7 >> 1;" (assignment_expression "lVar3 = lVar7 >> 1" (identifier "lVar3") (= "=") (binary_expression "lVar7 >> 1" (identifier "lVar7") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar3 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar3 * 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar3 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar3 * 8)" (( "(") (binary_expression "param_1 + lVar3 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar3 * 8" (identifier "lVar3") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + lVar6 * 8)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar6 * 8)" (( "(") (binary_expression "param_1 + lVar6 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar6 * 8" (identifier "lVar6") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "cVar2 = FUN_002452d0(&local_41,puVar5,local_40);" (assignment_expression "cVar2 = FUN_002452d0(&local_41,puVar5,local_40)" (identifier "cVar2") (= "=") (call_expression "FUN_002452d0(&local_41,puVar5,local_40)" (identifier "FUN_002452d0") (argument_list "(&local_41,puVar5,local_40)" (( "(") (pointer_expression "&local_41" (& "&") (identifier "local_41")) (, ",") (identifier "puVar5") (, ",") (identifier "local_40") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') break;" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);" (assignment_expression "lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f)" (identifier "lVar7") (= "=") (binary_expression "(lVar3 + -1) - (lVar3 + -1 >> 0x3f)" (parenthesized_expression "(lVar3 + -1)" (( "(") (binary_expression "lVar3 + -1" (identifier "lVar3") (+ "+") (number_literal "-1")) () ")")) (- "-") (parenthesized_expression "(lVar3 + -1 >> 0x3f)" (( "(") (binary_expression "lVar3 + -1 >> 0x3f" (binary_expression "lVar3 + -1" (identifier "lVar3") (+ "+") (number_literal "-1")) (>> ">>") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "lVar6 = lVar3;" (assignment_expression "lVar6 = lVar3" (identifier "lVar6") (= "=") (identifier "lVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 < lVar3)" (( "(") (binary_expression "param_2 < lVar3" (identifier "param_2") (< "<") (identifier "lVar3")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_002492cc:\n  *puVar4 = local_40[0];" (statement_identifier "LAB_002492cc") (: ":") (expression_statement "*puVar4 = local_40[0];" (assignment_expression "*puVar4 = local_40[0]" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (subscript_expression "local_40[0]" (identifier "local_40") ([ "[") (number_literal "0") (] "]"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name:
   __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const
   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true>*,
   std::vector<std::__detail::_Node_iterator<std::pair<const
   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true>,
   std::allocator<std::__detail::_Node_iterator<std::pair<const
   gold::Stringpool_template<char>::Hashkey, long unsigned int>, false, true> > > >, long int,
   std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<char>::Hashkey, long
   unsigned int>, false, true>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::Stringpool_sort_comparison> >
    */

void var_2::
     __adjust_heap<__gnu_cxx::__normal_iterator<var_2::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<char>::var_5,var_15>,_false,var_6>*,_std::vector<var_2::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<char>::var_5,var_15>,_false,var_6>,_std::allocator<var_2::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<char>::var_5,var_15>,_false,var_6>_>_>_>,_long_int,_std::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<char>::var_5,var_15>,_false,var_6>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<char>::type_2>_>
               (long var_12,long var_8,ulong var_7,type_3 *__value)

{
  long var_13;
  bool bVar2;
  long var_9;
  type_1 *sort_info1;
  type_1 *pSVar4;
  long var_11;
  long var_10;
  _Iter_comp_val<gold::Stringpool_template<var_4>::type_2> __cmp;
  var_1<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
  local_40 [2];
  
  var_9 = (long)(var_7 - 1) / 2;
  var_10 = var_8;
  local_40[0]._M_cur = __value;
  if (var_8 < var_9) {
    do {
      var_11 = (var_10 + 1) * 2;
      var_13 = var_11 + -1;
      sort_info1 = (type_1 *)((var_10 + 1) * 0x10 + var_12);
      pSVar4 = (type_1 *)(var_12 + var_13 * 8);
      bVar2 = gold::Stringpool_template<var_4>::type_2::var_14()
                        ((type_2 *)&stack0x00000008,sort_info1,pSVar4);
      if (bVar2) {
        var_11 = var_13;
        sort_info1 = pSVar4;
      }
      *(type_3 **)(var_12 + var_10 * 8) =
           (sort_info1->
           super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
           )._M_cur;
      var_10 = var_11;
    } while (var_11 < var_9);
    pSVar4 = sort_info1;
    if ((var_7 & 1) == 0) goto LAB_00249300;
  }
  else {
    sort_info1 = (type_1 *)(var_12 + var_8 * 8);
    var_11 = var_8;
    if ((var_7 & 1) != 0) goto LAB_002492cc;
LAB_00249300:
    pSVar4 = sort_info1;
    if ((long)(var_7 - 2) / 2 == var_11) {
      var_11 = var_11 * 2 + 1;
      pSVar4 = (type_1 *)(var_12 + var_11 * 8);
      (sort_info1->
      super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
      )._M_cur = (pSVar4->
                 super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
                 )._M_cur;
    }
  }
  var_10 = (var_11 + -1) - (var_11 + -1 >> 0x3f);
  sort_info1 = pSVar4;
  if (var_8 < var_11) {
    do {
      var_9 = var_10 >> 1;
      pSVar4 = (type_1 *)(var_12 + var_9 * 8);
      sort_info1 = (type_1 *)(var_12 + var_11 * 8);
      bVar2 = gold::Stringpool_template<var_4>::type_2::var_14()
                        ((type_2 *)&__cmp,pSVar4,
                         (type_1 *)local_40);
      if (!bVar2) break;
      (sort_info1->
      super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
      )._M_cur = (pSVar4->
                 super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
                 )._M_cur;
      var_10 = (var_9 + -1) - (var_9 + -1 >> 0x3f);
      sort_info1 = pSVar4;
      var_11 = var_9;
    } while (var_8 < var_9);
  }
LAB_002492cc:
  (sort_info1->
  super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
  )._M_cur = local_40[0]._M_cur;
  return;
}


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

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

{
  long lVar1;
  char cVar2;
  long lVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  long lVar6;
  long lVar7;
  undefined1 local_41;
  undefined8 local_40 [2];
  
  lVar3 = (long)(param_3 - 1) / 2;
  lVar7 = param_2;
  local_40[0] = param_4;
  if (param_2 < lVar3) {
    do {
      lVar6 = (lVar7 + 1) * 2;
      lVar1 = lVar6 + -1;
      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);
      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);
      cVar2 = FUN_002452d0(&stack0x00000008,puVar4,puVar5);
      if (cVar2 != '\0') {
        lVar6 = lVar1;
        puVar4 = puVar5;
      }
      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;
      lVar7 = lVar6;
    } while (lVar6 < lVar3);
    puVar5 = puVar4;
    if ((param_3 & 1) == 0) goto LAB_00249300;
  }
  else {
    puVar4 = (undefined8 *)(param_1 + param_2 * 8);
    lVar6 = param_2;
    if ((param_3 & 1) != 0) goto LAB_002492cc;
LAB_00249300:
    puVar5 = puVar4;
    if ((long)(param_3 - 2) / 2 == lVar6) {
      lVar6 = lVar6 * 2 + 1;
      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);
      *puVar4 = *puVar5;
    }
  }
  lVar7 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);
  puVar4 = puVar5;
  if (param_2 < lVar6) {
    do {
      lVar3 = lVar7 >> 1;
      puVar5 = (undefined8 *)(param_1 + lVar3 * 8);
      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);
      cVar2 = FUN_002452d0(&local_41,puVar5,local_40);
      if (cVar2 == '\0') break;
      *puVar4 = *puVar5;
      lVar7 = (lVar3 + -1) - (lVar3 + -1 >> 0x3f);
      puVar4 = puVar5;
      lVar6 = lVar3;
    } while (param_2 < lVar3);
  }
LAB_002492cc:
  *puVar4 = local_40[0];
  return;
}

