
/* 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<short unsigned int>::Hashkey, unsigned int>, false, true>*,
   std::vector<std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short
   unsigned int>::Hashkey, unsigned int>, false, true>,
   std::allocator<std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short
   unsigned int>::Hashkey, unsigned int>, false, true> > > >, int,
   std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short unsigned
   int>::Hashkey, unsigned int>, false, true>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short unsigned
   int>::Stringpool_sort_comparison> > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>*,_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>,_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>_>_>_>,_int,_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison>_>
               (int __first,int __holeIndex,uint __len,__node_type *__value)

{
  int iVar1;
  Stringpool_sort_info *pSVar2;
  bool bVar3;
  int iVar4;
  int iVar5;
  Stringpool_sort_info *sort_info1;
  int iVar6;
  _Iter_comp_val<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison> __cmp;
  _Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
  local_20 [4];
  
  iVar4 = (int)(__len - 1) / 2;
  if (__holeIndex < iVar4) {
    iVar6 = __holeIndex;
    do {
      iVar5 = (iVar6 + 1) * 2;
      sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);
      iVar1 = iVar5 + -1;
      pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);
      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()
                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);
      if (bVar3) {
        iVar5 = iVar1;
        sort_info1 = pSVar2;
      }
      *(__node_type **)(__first + iVar6 * 4) =
           (sort_info1->
           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
           )._M_cur;
      iVar6 = iVar5;
    } while (iVar5 < iVar4);
    if ((__len & 1) == 0) goto LAB_0014d630;
  }
  else {
    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4);
    iVar5 = __holeIndex;
    if ((__len & 1) != 0) {
      local_20[0]._M_cur = __value;
      goto LAB_0014d603;
    }
LAB_0014d630:
    if ((int)(__len - 2) / 2 == iVar5) {
      iVar5 = iVar5 * 2 + 1;
      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);
      (sort_info1->
      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
      )._M_cur = (pSVar2->
                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
                 )._M_cur;
      sort_info1 = pSVar2;
    }
  }
  local_20[0]._M_cur = __value;
  if (__holeIndex < iVar5) {
    while( true ) {
      iVar4 = (iVar5 + -1) / 2;
      pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);
      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()
                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,
                         (Stringpool_sort_info *)local_20);
      sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);
      if (!bVar3) break;
      (sort_info1->
      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
      )._M_cur = (pSVar2->
                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
                 )._M_cur;
      iVar5 = iVar4;
      if (iVar4 <= __holeIndex) {
        (pSVar2->
        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
        )._M_cur = local_20[0]._M_cur;
        return;
      }
    }
  }
LAB_0014d603:
  (sort_info1->
  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>
  )._M_cur = local_20[0]._M_cur;
  return;
}



void FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 *puVar2;
  char cVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  undefined1 local_21;
  undefined4 local_20 [4];
  
  iVar4 = (int)(param_3 - 1) / 2;
  if (param_2 < iVar4) {
    iVar7 = param_2;
    do {
      iVar5 = (iVar7 + 1) * 2;
      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);
      iVar1 = iVar5 + -1;
      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);
      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);
      if (cVar3 != '\0') {
        iVar5 = iVar1;
        puVar6 = puVar2;
      }
      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;
      iVar7 = iVar5;
    } while (iVar5 < iVar4);
    if ((param_3 & 1) == 0) goto LAB_0014d630;
  }
  else {
    puVar6 = (undefined4 *)(param_1 + param_2 * 4);
    iVar5 = param_2;
    if ((param_3 & 1) != 0) {
      local_20[0] = param_4;
      goto LAB_0014d603;
    }
LAB_0014d630:
    if ((int)(param_3 - 2) / 2 == iVar5) {
      iVar5 = iVar5 * 2 + 1;
      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);
      *puVar6 = *puVar2;
      puVar6 = puVar2;
    }
  }
  local_20[0] = param_4;
  if (param_2 < iVar5) {
    while( true ) {
      iVar4 = (iVar5 + -1) / 2;
      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);
      cVar3 = FUN_00149330(&local_21,puVar2,local_20);
      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);
      if (cVar3 == '\0') break;
      *puVar6 = *puVar2;
      iVar5 = iVar4;
      if (iVar4 <= param_2) {
        *puVar2 = local_20[0];
        return;
      }
    }
  }
LAB_0014d603:
  *puVar6 = local_20[0];
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV EAX,dword ptr [ESP + 0x58]
MOV EBP,dword ptr [ESP + 0x50]
LEA EDX,[EAX + -0x1]
MOV EAX,EDX
SHR EAX,0x1f
ADD EAX,EDX
MOV EDX,dword ptr [ESP + 0x58]
SAR EAX,0x1
AND EDX,0x1
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x1c],EDX
CMP dword ptr [ESP + 0x54],EAX
JGE 0x0014d618
LEA EAX,[ESP + 0x60]
MOV EDI,dword ptr [ESP + 0x54]
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[EDI + 0x1]
SUB ESP,0x4
LEA EBX,[EAX + EAX*0x1]
LEA ESI,[EBP + EAX*0x8]
LEA EDX,[EBX + -0x1]
MOV dword ptr [ESP + 0x14],EDX
LEA ECX,[EBP + EDX*0x4]
PUSH ECX
MOV dword ptr [ESP + 0x14],ECX
PUSH ESI
PUSH dword ptr [ESP + 0x24]
CALL 0x00149330
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x10]
TEST AL,AL
CMOVNZ ESI,ECX
CMOVNZ EBX,EDX
MOV EAX,dword ptr [ESI]
MOV dword ptr [EBP + EDI*0x4],EAX
MOV EDI,EBX
CMP EBX,dword ptr [ESP + 0x14]
JL 0x0014d540
MOV EDX,dword ptr [ESP + 0x1c]
TEST EDX,EDX
JZ 0x0014d630
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x2c],EAX
LEA EAX,[EBX + -0x1]
MOV EDX,EAX
SHR EDX,0x1f
ADD EDX,EAX
SAR EDX,0x1
CMP EBX,dword ptr [ESP + 0x54]
JLE 0x0014d603
LEA EAX,[ESP + 0x2c]
MOV EDI,EDX
MOV ESI,EBP
MOV dword ptr [ESP + 0x10],EAX
LEA EAX,[ESP + 0x2b]
MOV dword ptr [ESP + 0xc],EAX
JMP 0x0014d5e3
MOV EAX,dword ptr [EBP]
MOV EBX,EDI
MOV dword ptr [ECX],EAX
LEA ECX,[EDI + -0x1]
MOV EAX,ECX
SHR EAX,0x1f
ADD EAX,ECX
SAR EAX,0x1
CMP dword ptr [ESP + 0x54],EDI
JGE 0x0014d660
MOV EDI,EAX
SUB ESP,0x4
LEA EBP,[ESI + EDI*0x4]
PUSH dword ptr [ESP + 0x14]
PUSH EBP
PUSH dword ptr [ESP + 0x18]
CALL 0x00149330
LEA ECX,[ESI + EBX*0x4]
ADD ESP,0x10
TEST AL,AL
JNZ 0x0014d5c8
MOV ESI,ECX
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESI],EAX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x54]
LEA ESI,[EBP + EAX*0x4]
MOV EAX,dword ptr [ESP + 0x1c]
TEST EAX,EAX
JNZ 0x0014d670
MOV EBX,dword ptr [ESP + 0x54]
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x58]
LEA EDX,[EAX + -0x2]
MOV EAX,EDX
SHR EAX,0x1f
ADD EAX,EDX
SAR EAX,0x1
CMP EAX,EBX
JNZ 0x0014d594
LEA EBX,[EBX + EBX*0x1 + 0x1]
LEA EAX,[EBP + EBX*0x4]
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESI],EDX
MOV ESI,EAX
JMP 0x0014d594
MOV EAX,dword ptr [ESP + 0x2c]
MOV ESI,EBP
MOV dword ptr [ESI],EAX
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x2c],EAX
JMP 0x0014d603
(translation_unit "void FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}\n\n" (function_definition "void FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}" primitive_type (function_declarator "FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,uint param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "iVar4 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar4 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (if_statement "if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" if (parenthesized_expression "(param_2 < iVar4)" ( (binary_expression "param_2 < iVar4" identifier < identifier) )) (compound_statement "{\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }" { (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);" do (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    }" { (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" identifier = (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8)" identifier = (cast_expression "(undefined4 *)(param_1 + (iVar7 + 1) * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar7 + 1) * 8)" ( (binary_expression "param_1 + (iVar7 + 1) * 8" identifier + (binary_expression "(iVar7 + 1) * 8" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar1 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1 * 4)" ( (binary_expression "param_1 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);" (assignment_expression "cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2)" identifier = (call_expression "FUN_00149330(&stack0x00000014,puVar6,puVar2)" identifier (argument_list "(&stack0x00000014,puVar6,puVar2)" ( (pointer_expression "&stack0x00000014" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }" { (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;" (assignment_expression "*(undefined4 *)(param_1 + iVar7 * 4) = *puVar6" (pointer_expression "*(undefined4 *)(param_1 + iVar7 * 4)" * (cast_expression "(undefined4 *)(param_1 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar7 * 4)" ( (binary_expression "param_1 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 < iVar4)" ( (binary_expression "iVar5 < iVar4" identifier < identifier) )) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_0014d630;" 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_0014d630;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" else (compound_statement "{\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" { (expression_statement "puVar6 = (undefined4 *)(param_1 + param_2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + param_2 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar5 = param_2;" (assignment_expression "iVar5 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }" 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) )) (compound_statement "{\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }" { (expression_statement "local_20[0] = param_4;" (assignment_expression "local_20[0] = param_4" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0014d603;" goto statement_identifier ;) })) (labeled_statement "LAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" statement_identifier : (if_statement "if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" if (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar5)" ( (binary_expression "(int)(param_3 - 2) / 2 == iVar5" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" { (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" identifier = (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar5 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar5 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar5 * 4)" ( (binary_expression "param_1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar6 = *puVar2;" (assignment_expression "*puVar6 = *puVar2" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) }))) }))) (expression_statement "local_20[0] = param_4;" (assignment_expression "local_20[0] = param_4" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 < iVar5)" ( (binary_expression "param_2 < iVar5" identifier < identifier) )) (compound_statement "{\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }" { (while_statement "while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }" { (expression_statement "iVar4 = (iVar5 + -1) / 2;" (assignment_expression "iVar4 = (iVar5 + -1) / 2" identifier = (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" ( (binary_expression "iVar5 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar4 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar4 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar4 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4 * 4)" ( (binary_expression "param_1 + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) ;) (expression_statement "cVar3 = FUN_00149330(&local_21,puVar2,local_20);" (assignment_expression "cVar3 = FUN_00149330(&local_21,puVar2,local_20)" identifier = (call_expression "FUN_00149330(&local_21,puVar2,local_20)" identifier (argument_list "(&local_21,puVar2,local_20)" ( (pointer_expression "&local_21" & identifier) , identifier , identifier )))) ;) (expression_statement "puVar6 = (undefined4 *)(param_1 + iVar5 * 4);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + iVar5 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar5 * 4)" ( (binary_expression "param_1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) ;) (if_statement "if (cVar3 == '\0') break;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar6 = *puVar2;" (assignment_expression "*puVar6 = *puVar2" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }" if (parenthesized_expression "(iVar4 <= param_2)" ( (binary_expression "iVar4 <= param_2" identifier <= identifier) )) (compound_statement "{\n        *puVar2 = local_20[0];\n        return;\n      }" { (expression_statement "*puVar2 = local_20[0];" (assignment_expression "*puVar2 = local_20[0]" (pointer_expression "*puVar2" * identifier) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })) })) })) (labeled_statement "LAB_0014d603:\n  *puVar6 = local_20[0];" statement_identifier : (expression_statement "*puVar6 = local_20[0];" (assignment_expression "*puVar6 = local_20[0]" (pointer_expression "*puVar6" * identifier) = (subscript_expression "local_20[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<short unsigned int>::Hashkey, unsigned int>, false, true>*,\n   std::vector<std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short\n   unsigned int>::Hashkey, unsigned int>, false, true>,\n   std::allocator<std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short\n   unsigned int>::Hashkey, unsigned int>, false, true> > > >, int,\n   std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short unsigned\n   int>::Hashkey, unsigned int>, false, true>,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short unsigned\n   int>::Stringpool_sort_comparison> > */\n\nvoid std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>*,_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>,_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>_>_>_>,_int,_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison>_>\n               (int __first,int __holeIndex,uint __len,__node_type *__value)\n\n{\n  int iVar1;\n  Stringpool_sort_info *pSVar2;\n  bool bVar3;\n  int iVar4;\n  int iVar5;\n  Stringpool_sort_info *sort_info1;\n  int iVar6;\n  _Iter_comp_val<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison> __cmp;\n  _Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  local_20 [4];\n  \n  iVar4 = (int)(__len - 1) / 2;\n  if (__holeIndex < iVar4) {\n    iVar6 = __holeIndex;\n    do {\n      iVar5 = (iVar6 + 1) * 2;\n      sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);\n      if (bVar3) {\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }\n      *(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur;\n      iVar6 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((__len & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) {\n      local_20[0]._M_cur = __value;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }\n  }\n  local_20[0]._M_cur = __value;\n  if (__holeIndex < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20);\n      sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      if (!bVar3) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      iVar5 = iVar4;\n      if (iVar4 <= __holeIndex) {\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  (sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  )._M_cur = local_20[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<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>*,_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>,_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>_>_>_>,_int,_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_false,_true>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison>_>\n               (int __first,int __holeIndex,uint __len,__node_type *__value)\n\n{\n  int iVar1;" primitive_type (ERROR "std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::" identifier : : identifier < identifier : : identifier < identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">*" > *) , (ERROR "_std::vector<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::" identifier : : identifier < identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">" >) , (ERROR "_std::allocator<std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::" identifier : : identifier < identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) , identifier , (ERROR "_std::__detail::_Node_iterator<std::pair<const_gold::Stringpool_template<short_unsigned_int>::" identifier : : identifier : : identifier < identifier : : identifier < identifier : : identifier < identifier > : :) identifier , identifier (ERROR ">" >) , identifier , identifier (ERROR ">" >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison>_>\n               (int __first,int __holeIndex,uint __len,__node_type *__value)\n\n{\n  int" identifier : : identifier : : identifier < identifier : : identifier < identifier > : : identifier > (function_declarator "_>\n               (int __first,int __holeIndex,uint __len,__node_type *__value)" identifier (ERROR ">" >) (parameter_list "(int __first,int __holeIndex,uint __len,__node_type *__value)" ( (parameter_declaration "int __first" primitive_type identifier) , (parameter_declaration "int __holeIndex" primitive_type identifier) , (parameter_declaration "uint __len" type_identifier identifier) , (parameter_declaration "__node_type *__value" type_identifier (pointer_declarator "*__value" * identifier)) ))) { primitive_type) identifier ;) (declaration "Stringpool_sort_info *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "Stringpool_sort_info *sort_info1;" type_identifier (pointer_declarator "*sort_info1" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (ERROR "_Iter_comp_val<gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison> __cmp" (binary_expression "_Iter_comp_val<gold" identifier < identifier) : : (binary_expression "Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison> __cmp" (binary_expression "Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison" (binary_expression "Stringpool_template<short_unsigned_int" identifier < identifier) > (ERROR "::" : :) identifier) > identifier)) (expression_statement ";" ;) (expression_statement "_Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  local_20 [4];" (update_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  local_20 [4]" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  local_20 [4]" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "_Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (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 ",_unsigned_int" , identifier) > (ERROR "," ,) identifier) > (subscript_expression "local_20 [4]" identifier [ number_literal ])) --) ;) (expression_statement "iVar4 = (int)(__len - 1) / 2;" (assignment_expression "iVar4 = (int)(__len - 1) / 2" identifier = (binary_expression "(int)(__len - 1) / 2" (cast_expression "(int)(__len - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__len - 1)" ( (binary_expression "__len - 1" identifier - number_literal) ))) / number_literal)) ;) (if_statement "if (__holeIndex < iVar4) {\n    iVar6 = __holeIndex;\n    do {\n      iVar5 = (iVar6 + 1) * 2;\n      sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);\n      if (bVar3) {\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }\n      *(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur;\n      iVar6 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((__len & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) {\n      local_20[0]._M_cur = __value;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }\n  }" if (parenthesized_expression "(__holeIndex < iVar4)" ( (binary_expression "__holeIndex < iVar4" identifier < identifier) )) (compound_statement "{\n    iVar6 = __holeIndex;\n    do {\n      iVar5 = (iVar6 + 1) * 2;\n      sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);\n      if (bVar3) {\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }\n      *(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur;\n      iVar6 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((__len & 1) == 0) goto LAB_0014d630;\n  }" { (expression_statement "iVar6 = __holeIndex;" (assignment_expression "iVar6 = __holeIndex" identifier = identifier) ;) (do_statement "do {\n      iVar5 = (iVar6 + 1) * 2;\n      sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);\n      if (bVar3) {\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }\n      *(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur;\n      iVar6 = iVar5;\n    } while (iVar5 < iVar4);" do (compound_statement "{\n      iVar5 = (iVar6 + 1) * 2;\n      sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);\n      if (bVar3) {\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }\n      *(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur;\n      iVar6 = iVar5;\n    }" { (expression_statement "iVar5 = (iVar6 + 1) * 2;" (assignment_expression "iVar5 = (iVar6 + 1) * 2" identifier = (binary_expression "(iVar6 + 1) * 2" (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8);" (assignment_expression "sort_info1 = (Stringpool_sort_info *)(__first + (iVar6 + 1) * 8)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + (iVar6 + 1) * 8)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + (iVar6 + 1) * 8)" ( (binary_expression "__first + (iVar6 + 1) * 8" identifier + (binary_expression "(iVar6 + 1) * 8" (parenthesized_expression "(iVar6 + 1)" ( (binary_expression "iVar6 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4);" (assignment_expression "pSVar2 = (Stringpool_sort_info *)(__first + iVar1 * 4)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + iVar1 * 4)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar1 * 4)" ( (binary_expression "__first + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ;) (ERROR "bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::" (assignment_expression "bVar3 = gold" identifier = identifier) : : (binary_expression "Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison" (binary_expression "Stringpool_template<short_unsigned_int" identifier < identifier) > (ERROR "::" : :) identifier) : :) (expression_statement "operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2);" (call_expression "operator()\n                        ((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2)" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "((Stringpool_sort_comparison *)&stack0x00000014,sort_info1,pSVar2)" ( (cast_expression "(Stringpool_sort_comparison *)&stack0x00000014" ( (type_descriptor "Stringpool_sort_comparison *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stack0x00000014" & identifier)) , identifier , identifier ))) ;) (if_statement "if (bVar3) {\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n        iVar5 = iVar1;\n        sort_info1 = pSVar2;\n      }" { (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "sort_info1 = pSVar2;" (assignment_expression "sort_info1 = pSVar2" identifier = identifier) ;) })) (expression_statement "*(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur;" (assignment_expression "*(__node_type **)(__first + iVar6 * 4) =\n           (sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur" (pointer_expression "*(__node_type **)(__first + iVar6 * 4)" * (cast_expression "(__node_type **)(__first + iVar6 * 4)" ( (type_descriptor "__node_type **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__first + iVar6 * 4)" ( (binary_expression "__first + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = (field_expression "(sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )._M_cur" (parenthesized_expression "(sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n           )" ( (comma_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "sort_info1->\n           super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (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 "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier)) ;) (expression_statement "iVar6 = iVar5;" (assignment_expression "iVar6 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 < iVar4)" ( (binary_expression "iVar5 < iVar4" identifier < identifier) )) ;) (if_statement "if ((__len & 1) == 0) goto LAB_0014d630;" 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_0014d630;" goto statement_identifier ;)) }) (else_clause "else {\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) {\n      local_20[0]._M_cur = __value;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }\n  }" else (compound_statement "{\n    sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) {\n      local_20[0]._M_cur = __value;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }\n  }" { (expression_statement "sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4);" (assignment_expression "sort_info1 = (Stringpool_sort_info *)(__first + __holeIndex * 4)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + __holeIndex * 4)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + __holeIndex * 4)" ( (binary_expression "__first + __holeIndex * 4" identifier + (binary_expression "__holeIndex * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar5 = __holeIndex;" (assignment_expression "iVar5 = __holeIndex" identifier = identifier) ;) (if_statement "if ((__len & 1) != 0) {\n      local_20[0]._M_cur = __value;\n      goto LAB_0014d603;\n    }" if (parenthesized_expression "((__len & 1) != 0)" ( (binary_expression "(__len & 1) != 0" (parenthesized_expression "(__len & 1)" ( (binary_expression "__len & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      local_20[0]._M_cur = __value;\n      goto LAB_0014d603;\n    }" { (expression_statement "local_20[0]._M_cur = __value;" (assignment_expression "local_20[0]._M_cur = __value" (field_expression "local_20[0]._M_cur" (subscript_expression "local_20[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (goto_statement "goto LAB_0014d603;" goto statement_identifier ;) })) (labeled_statement "LAB_0014d630:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }" statement_identifier : (if_statement "if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }" if (parenthesized_expression "((int)(__len - 2) / 2 == iVar5)" ( (binary_expression "(int)(__len - 2) / 2 == iVar5" (binary_expression "(int)(__len - 2) / 2" (cast_expression "(int)(__len - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__len - 2)" ( (binary_expression "__len - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      sort_info1 = pSVar2;\n    }" { (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" identifier = (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4);" (assignment_expression "pSVar2 = (Stringpool_sort_info *)(__first + iVar5 * 4)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + iVar5 * 4)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar5 * 4)" ( (binary_expression "__first + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) ;) (expression_statement "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;" (assignment_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur" (field_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur" (parenthesized_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )" ( (comma_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (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 "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "(pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur" (parenthesized_expression "(pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )" ( (comma_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std" (field_expression "pSVar2->\n                 super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier)) ;) (expression_statement "sort_info1 = pSVar2;" (assignment_expression "sort_info1 = pSVar2" identifier = identifier) ;) }))) }))) (expression_statement "local_20[0]._M_cur = __value;" (assignment_expression "local_20[0]._M_cur = __value" (field_expression "local_20[0]._M_cur" (subscript_expression "local_20[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (if_statement "if (__holeIndex < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20);\n      sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      if (!bVar3) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      iVar5 = iVar4;\n      if (iVar4 <= __holeIndex) {\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(__holeIndex < iVar5)" ( (binary_expression "__holeIndex < iVar5" identifier < identifier) )) (compound_statement "{\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20);\n      sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      if (!bVar3) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      iVar5 = iVar4;\n      if (iVar4 <= __holeIndex) {\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }\n    }\n  }" { (while_statement "while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20);\n      sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      if (!bVar3) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      iVar5 = iVar4;\n      if (iVar4 <= __holeIndex) {\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = (iVar5 + -1) / 2;\n      pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);\n      bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20);\n      sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);\n      if (!bVar3) break;\n      (sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;\n      iVar5 = iVar4;\n      if (iVar4 <= __holeIndex) {\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }\n    }" { (expression_statement "iVar4 = (iVar5 + -1) / 2;" (assignment_expression "iVar4 = (iVar5 + -1) / 2" identifier = (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" ( (binary_expression "iVar5 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4);" (assignment_expression "pSVar2 = (Stringpool_sort_info *)(__first + iVar4 * 4)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + iVar4 * 4)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar4 * 4)" ( (binary_expression "__first + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) ;) (ERROR "bVar3 = gold::Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison::" (assignment_expression "bVar3 = gold" identifier = identifier) : : (binary_expression "Stringpool_template<short_unsigned_int>::Stringpool_sort_comparison" (binary_expression "Stringpool_template<short_unsigned_int" identifier < identifier) > (ERROR "::" : :) identifier) : :) (expression_statement "operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20);" (call_expression "operator()\n                        ((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20)" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "((Stringpool_sort_comparison *)&__cmp,pSVar2,\n                         (Stringpool_sort_info *)local_20)" ( (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_20" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4);" (assignment_expression "sort_info1 = (Stringpool_sort_info *)(__first + iVar5 * 4)" identifier = (cast_expression "(Stringpool_sort_info *)(__first + iVar5 * 4)" ( (type_descriptor "Stringpool_sort_info *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__first + iVar5 * 4)" ( (binary_expression "__first + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) ;) (if_statement "if (!bVar3) break;" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (break_statement "break;" break ;)) (expression_statement "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur;" (assignment_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur = (pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur" (field_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )._M_cur" (parenthesized_expression "(sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n      )" ( (comma_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "sort_info1->\n      super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (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 "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "(pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )._M_cur" (parenthesized_expression "(pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n                 )" ( (comma_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std::pair<const_gold" (binary_expression "pSVar2->\n                 super__Node_iterator_base<std" (field_expression "pSVar2->\n                 super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier)) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (iVar4 <= __holeIndex) {\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }" if (parenthesized_expression "(iVar4 <= __holeIndex)" ( (binary_expression "iVar4 <= __holeIndex" identifier <= identifier) )) (compound_statement "{\n        (pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;\n        return;\n      }" { (expression_statement "(pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur;" (assignment_expression "(pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur = local_20[0]._M_cur" (field_expression "(pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )._M_cur" (parenthesized_expression "(pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n        )" ( (comma_expression "pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "pSVar2->\n        super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (binary_expression "pSVar2->\n        super__Node_iterator_base<std::pair<const_gold" (binary_expression "pSVar2->\n        super__Node_iterator_base<std" (field_expression "pSVar2->\n        super__Node_iterator_base" identifier -> field_identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR "::Stringpool_template" : : identifier) < identifier) > (ERROR "::" : :) identifier) , (binary_expression "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "local_20[0]._M_cur" (subscript_expression "local_20[0]" identifier [ number_literal ]) . field_identifier)) ;) (return_statement "return;" return ;) })) })) })) (labeled_statement "LAB_0014d603:\n  (sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  )._M_cur = local_20[0]._M_cur;" statement_identifier : (expression_statement "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  )._M_cur = local_20[0]._M_cur;" (assignment_expression "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  )._M_cur = local_20[0]._M_cur" (field_expression "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  )._M_cur" (parenthesized_expression "(sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true>\n  )" ( (comma_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey,_unsigned_int>,_true" (binary_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int>::Hashkey" (binary_expression "sort_info1->\n  super__Node_iterator_base<std::pair<const_gold::Stringpool_template<short_unsigned_int" (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 "_unsigned_int>,_true" identifier > (ERROR "," ,) identifier)) (ERROR ">" >) )) . field_identifier) = (field_expression "local_20[0]._M_cur" (subscript_expression "local_20[0]" identifier [ number_literal ]) . field_identifier)) ;)) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}\n\n" (function_definition "void FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}" primitive_type (function_declarator "FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,uint param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined1 local_21;" type_identifier identifier ;) (declaration "undefined4 local_20 [4];" type_identifier (array_declarator "local_20 [4]" identifier [ number_literal ]) ;) (expression_statement "iVar4 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar4 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (if_statement "if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" if (parenthesized_expression "(param_2 < iVar4)" ( (binary_expression "param_2 < iVar4" identifier < identifier) )) (compound_statement "{\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }" { (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);" do (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    }" { (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" identifier = (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8)" identifier = (cast_expression "(undefined4 *)(param_1 + (iVar7 + 1) * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + (iVar7 + 1) * 8)" ( (binary_expression "param_1 + (iVar7 + 1) * 8" identifier + (binary_expression "(iVar7 + 1) * 8" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) )))) ;) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar1 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar1 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar1 * 4)" ( (binary_expression "param_1 + iVar1 * 4" identifier + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) ;) (expression_statement "cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);" (assignment_expression "cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2)" identifier = (call_expression "FUN_00149330(&stack0x00000014,puVar6,puVar2)" identifier (argument_list "(&stack0x00000014,puVar6,puVar2)" ( (pointer_expression "&stack0x00000014" & identifier) , identifier , identifier )))) ;) (if_statement "if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }" { (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) })) (expression_statement "*(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;" (assignment_expression "*(undefined4 *)(param_1 + iVar7 * 4) = *puVar6" (pointer_expression "*(undefined4 *)(param_1 + iVar7 * 4)" * (cast_expression "(undefined4 *)(param_1 + iVar7 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar7 * 4)" ( (binary_expression "param_1 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 < iVar4)" ( (binary_expression "iVar5 < iVar4" identifier < identifier) )) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_0014d630;" 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_0014d630;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" else (compound_statement "{\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" { (expression_statement "puVar6 = (undefined4 *)(param_1 + param_2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + param_2 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 4)" ( (binary_expression "param_1 + param_2 * 4" identifier + (binary_expression "param_2 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar5 = param_2;" (assignment_expression "iVar5 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }" 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) )) (compound_statement "{\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }" { (expression_statement "local_20[0] = param_4;" (assignment_expression "local_20[0] = param_4" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0014d603;" goto statement_identifier ;) })) (labeled_statement "LAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" statement_identifier : (if_statement "if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" if (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar5)" ( (binary_expression "(int)(param_3 - 2) / 2 == iVar5" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" { (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" identifier = (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar5 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar5 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar5 * 4)" ( (binary_expression "param_1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar6 = *puVar2;" (assignment_expression "*puVar6 = *puVar2" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" identifier = identifier) ;) }))) }))) (expression_statement "local_20[0] = param_4;" (assignment_expression "local_20[0] = param_4" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 < iVar5)" ( (binary_expression "param_2 < iVar5" identifier < identifier) )) (compound_statement "{\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }" { (while_statement "while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }" { (expression_statement "iVar4 = (iVar5 + -1) / 2;" (assignment_expression "iVar4 = (iVar5 + -1) / 2" identifier = (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" ( (binary_expression "iVar5 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar4 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar4 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar4 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar4 * 4)" ( (binary_expression "param_1 + iVar4 * 4" identifier + (binary_expression "iVar4 * 4" identifier * number_literal)) )))) ;) (expression_statement "cVar3 = FUN_00149330(&local_21,puVar2,local_20);" (assignment_expression "cVar3 = FUN_00149330(&local_21,puVar2,local_20)" identifier = (call_expression "FUN_00149330(&local_21,puVar2,local_20)" identifier (argument_list "(&local_21,puVar2,local_20)" ( (pointer_expression "&local_21" & identifier) , identifier , identifier )))) ;) (expression_statement "puVar6 = (undefined4 *)(param_1 + iVar5 * 4);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + iVar5 * 4)" identifier = (cast_expression "(undefined4 *)(param_1 + iVar5 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar5 * 4)" ( (binary_expression "param_1 + iVar5 * 4" identifier + (binary_expression "iVar5 * 4" identifier * number_literal)) )))) ;) (if_statement "if (cVar3 == '\0') break;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar6 = *puVar2;" (assignment_expression "*puVar6 = *puVar2" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) (if_statement "if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }" if (parenthesized_expression "(iVar4 <= param_2)" ( (binary_expression "iVar4 <= param_2" identifier <= identifier) )) (compound_statement "{\n        *puVar2 = local_20[0];\n        return;\n      }" { (expression_statement "*puVar2 = local_20[0];" (assignment_expression "*puVar2 = local_20[0]" (pointer_expression "*puVar2" * identifier) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;) (return_statement "return;" return ;) })) })) })) (labeled_statement "LAB_0014d603:\n  *puVar6 = local_20[0];" statement_identifier : (expression_statement "*puVar6 = local_20[0];" (assignment_expression "*puVar6 = local_20[0]" (pointer_expression "*puVar6" * identifier) = (subscript_expression "local_20[0]" identifier [ number_literal ])) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_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 (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 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) )) ;) (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) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (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 = IDENT) ;) }))) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_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 IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (return_statement return ;) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;)) (return_statement return ;) })))
(function_definition "void FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0014d500(int param_1,int param_2,uint param_3,undefined4 param_4)" (identifier "FUN_0014d500") (parameter_list "(int param_1,int param_2,uint param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  char cVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  undefined1 local_21;\n  undefined4 local_20 [4];\n  \n  iVar4 = (int)(param_3 - 1) / 2;\n  if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }\n  local_20[0] = param_4;\n  if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }\nLAB_0014d603:\n  *puVar6 = local_20[0];\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined1 local_21;" (type_identifier "undefined1") (identifier "local_21") (; ";")) (declaration "undefined4 local_20 [4];" (type_identifier "undefined4") (array_declarator "local_20 [4]" (identifier "local_20") ([ "[") (number_literal "4") (] "]")) (; ";")) (expression_statement "iVar4 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar4 = (int)(param_3 - 1) / 2" (identifier "iVar4") (= "=") (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")"))) (/ "/") (number_literal "2"))) (; ";")) (if_statement "if (param_2 < iVar4) {\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }\n  else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < iVar4)" (( "(") (binary_expression "param_2 < iVar4" (identifier "param_2") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n    iVar7 = param_2;\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);\n    if ((param_3 & 1) == 0) goto LAB_0014d630;\n  }" ({ "{") (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" (identifier "iVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    } while (iVar5 < iVar4);" (do "do") (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);\n      iVar1 = iVar5 + -1;\n      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);\n      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);\n      if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }\n      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;\n      iVar7 = iVar5;\n    }" ({ "{") (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" (identifier "iVar5") (= "=") (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(param_1 + (iVar7 + 1) * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + (iVar7 + 1) * 8)" (( "(") (binary_expression "param_1 + (iVar7 + 1) * 8" (identifier "param_1") (+ "+") (binary_expression "(iVar7 + 1) * 8" (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar1 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar1 * 4)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar1 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar1 * 4)" (( "(") (binary_expression "param_1 + iVar1 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);" (assignment_expression "cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2)" (identifier "cVar3") (= "=") (call_expression "FUN_00149330(&stack0x00000014,puVar6,puVar2)" (identifier "FUN_00149330") (argument_list "(&stack0x00000014,puVar6,puVar2)" (( "(") (pointer_expression "&stack0x00000014" (& "&") (identifier "stack0x00000014")) (, ",") (identifier "puVar6") (, ",") (identifier "puVar2") () ")")))) (; ";")) (if_statement "if (cVar3 != '\0') {\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }" (if "if") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        iVar5 = iVar1;\n        puVar6 = puVar2;\n      }" ({ "{") (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" (identifier "iVar5") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" (identifier "puVar6") (= "=") (identifier "puVar2")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;" (assignment_expression "*(undefined4 *)(param_1 + iVar7 * 4) = *puVar6" (pointer_expression "*(undefined4 *)(param_1 + iVar7 * 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + iVar7 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar7 * 4)" (( "(") (binary_expression "param_1 + iVar7 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" (identifier "iVar7") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 < iVar4)" (( "(") (binary_expression "iVar5 < iVar4" (identifier "iVar5") (< "<") (identifier "iVar4")) () ")")) (; ";")) (if_statement "if ((param_3 & 1) == 0) goto LAB_0014d630;" (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_0014d630;" (goto "goto") (statement_identifier "LAB_0014d630") (; ";"))) (} "}")) (else_clause "else {\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" (else "else") (compound_statement "{\n    puVar6 = (undefined4 *)(param_1 + param_2 * 4);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }\nLAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }\n  }" ({ "{") (expression_statement "puVar6 = (undefined4 *)(param_1 + param_2 * 4);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + param_2 * 4)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(param_1 + param_2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 * 4)" (( "(") (binary_expression "param_1 + param_2 * 4" (identifier "param_1") (+ "+") (binary_expression "param_2 * 4" (identifier "param_2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar5 = param_2;" (assignment_expression "iVar5 = param_2" (identifier "iVar5") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_3 & 1) != 0) {\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }" (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")) () ")")) (compound_statement "{\n      local_20[0] = param_4;\n      goto LAB_0014d603;\n    }" ({ "{") (expression_statement "local_20[0] = param_4;" (assignment_expression "local_20[0] = param_4" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_4")) (; ";")) (goto_statement "goto LAB_0014d603;" (goto "goto") (statement_identifier "LAB_0014d603") (; ";")) (} "}"))) (labeled_statement "LAB_0014d630:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" (statement_identifier "LAB_0014d630") (: ":") (if_statement "if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" (if "if") (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar5)" (( "(") (binary_expression "(int)(param_3 - 2) / 2 == iVar5" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 2)" (( "(") (binary_expression "param_3 - 2" (identifier "param_3") (- "-") (number_literal "2")) () ")"))) (/ "/") (number_literal "2")) (== "==") (identifier "iVar5")) () ")")) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);\n      *puVar6 = *puVar2;\n      puVar6 = puVar2;\n    }" ({ "{") (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar5 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar5 * 4)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar5 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar5 * 4)" (( "(") (binary_expression "param_1 + iVar5 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar6 = *puVar2;" (assignment_expression "*puVar6 = *puVar2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar6 = puVar2;" (assignment_expression "puVar6 = puVar2" (identifier "puVar6") (= "=") (identifier "puVar2")) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_20[0] = param_4;" (assignment_expression "local_20[0] = param_4" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_4")) (; ";")) (if_statement "if (param_2 < iVar5) {\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < iVar5)" (( "(") (binary_expression "param_2 < iVar5" (identifier "param_2") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n    while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }\n  }" ({ "{") (while_statement "while( true ) {\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar4 = (iVar5 + -1) / 2;\n      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);\n      cVar3 = FUN_00149330(&local_21,puVar2,local_20);\n      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);\n      if (cVar3 == '\0') break;\n      *puVar6 = *puVar2;\n      iVar5 = iVar4;\n      if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }\n    }" ({ "{") (expression_statement "iVar4 = (iVar5 + -1) / 2;" (assignment_expression "iVar4 = (iVar5 + -1) / 2" (identifier "iVar4") (= "=") (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" (( "(") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1")) () ")")) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "puVar2 = (undefined4 *)(param_1 + iVar4 * 4);" (assignment_expression "puVar2 = (undefined4 *)(param_1 + iVar4 * 4)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar4 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar4 * 4)" (( "(") (binary_expression "param_1 + iVar4 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "cVar3 = FUN_00149330(&local_21,puVar2,local_20);" (assignment_expression "cVar3 = FUN_00149330(&local_21,puVar2,local_20)" (identifier "cVar3") (= "=") (call_expression "FUN_00149330(&local_21,puVar2,local_20)" (identifier "FUN_00149330") (argument_list "(&local_21,puVar2,local_20)" (( "(") (pointer_expression "&local_21" (& "&") (identifier "local_21")) (, ",") (identifier "puVar2") (, ",") (identifier "local_20") () ")")))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(param_1 + iVar5 * 4);" (assignment_expression "puVar6 = (undefined4 *)(param_1 + iVar5 * 4)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(param_1 + iVar5 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + iVar5 * 4)" (( "(") (binary_expression "param_1 + iVar5 * 4" (identifier "param_1") (+ "+") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (cVar3 == '\0') break;" (if "if") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar6 = *puVar2;" (assignment_expression "*puVar6 = *puVar2" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (iVar4 <= param_2) {\n        *puVar2 = local_20[0];\n        return;\n      }" (if "if") (parenthesized_expression "(iVar4 <= param_2)" (( "(") (binary_expression "iVar4 <= param_2" (identifier "iVar4") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n        *puVar2 = local_20[0];\n        return;\n      }" ({ "{") (expression_statement "*puVar2 = local_20[0];" (assignment_expression "*puVar2 = local_20[0]" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_0014d603:\n  *puVar6 = local_20[0];" (statement_identifier "LAB_0014d603") (: ":") (expression_statement "*puVar6 = local_20[0];" (assignment_expression "*puVar6 = local_20[0]" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (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<short unsigned int>::Hashkey, unsigned int>, false, true>*,
   std::vector<std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short
   unsigned int>::Hashkey, unsigned int>, false, true>,
   std::allocator<std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short
   unsigned int>::Hashkey, unsigned int>, false, true> > > >, int,
   std::__detail::_Node_iterator<std::pair<const gold::Stringpool_template<short unsigned
   int>::Hashkey, unsigned int>, false, true>,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<short unsigned
   int>::Stringpool_sort_comparison> > */

void var_2::
     __adjust_heap<__gnu_cxx::__normal_iterator<var_2::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,_false,var_6>*,_std::vector<var_2::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,_false,var_6>,_std::allocator<var_2::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,_false,var_6>_>_>_>,_int,_std::__detail::_Node_iterator<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,_false,var_6>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Stringpool_template<var_4>::type_2>_>
               (int var_11,int var_8,uint var_7,type_3 *__value)

{
  int var_13;
  type_1 *pSVar2;
  bool bVar3;
  int var_9;
  int var_12;
  type_1 *sort_info1;
  int 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_20 [4];
  
  var_9 = (int)(var_7 - 1) / 2;
  if (var_8 < var_9) {
    var_10 = var_8;
    do {
      var_12 = (var_10 + 1) * 2;
      sort_info1 = (type_1 *)(var_11 + (var_10 + 1) * 8);
      var_13 = var_12 + -1;
      pSVar2 = (type_1 *)(var_11 + var_13 * 4);
      bVar3 = gold::Stringpool_template<var_4>::type_2::var_14()
                        ((type_2 *)&stack0x00000014,sort_info1,pSVar2);
      if (bVar3) {
        var_12 = var_13;
        sort_info1 = pSVar2;
      }
      *(type_3 **)(var_11 + var_10 * 4) =
           (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_12;
    } while (var_12 < var_9);
    if ((var_7 & 1) == 0) goto LAB_0014d630;
  }
  else {
    sort_info1 = (type_1 *)(var_11 + var_8 * 4);
    var_12 = var_8;
    if ((var_7 & 1) != 0) {
      local_20[0]._M_cur = __value;
      goto LAB_0014d603;
    }
LAB_0014d630:
    if ((int)(var_7 - 2) / 2 == var_12) {
      var_12 = var_12 * 2 + 1;
      pSVar2 = (type_1 *)(var_11 + var_12 * 4);
      (sort_info1->
      super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
      )._M_cur = (pSVar2->
                 super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
                 )._M_cur;
      sort_info1 = pSVar2;
    }
  }
  local_20[0]._M_cur = __value;
  if (var_8 < var_12) {
    while( true ) {
      var_9 = (var_12 + -1) / 2;
      pSVar2 = (type_1 *)(var_11 + var_9 * 4);
      bVar3 = gold::Stringpool_template<var_4>::type_2::var_14()
                        ((type_2 *)&__cmp,pSVar2,
                         (type_1 *)local_20);
      sort_info1 = (type_1 *)(var_11 + var_12 * 4);
      if (!bVar3) break;
      (sort_info1->
      super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
      )._M_cur = (pSVar2->
                 super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
                 )._M_cur;
      var_12 = var_9;
      if (var_9 <= var_8) {
        (pSVar2->
        super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
        )._M_cur = local_20[0]._M_cur;
        return;
      }
    }
  }
LAB_0014d603:
  (sort_info1->
  super__Node_iterator_base<var_2::pair<var_3::Stringpool_template<var_4>::var_5,var_15>,var_6>
  )._M_cur = local_20[0]._M_cur;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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: (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)))) (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: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) 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: (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 (while_statement condition: (parenthesized_expression (true)) 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: (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))))) (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))))))) (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (return_statement))))))) (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(int param_1,int param_2,uint param_3,undefined4 param_4)

{
  int iVar1;
  undefined4 *puVar2;
  char cVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  int iVar7;
  undefined1 local_21;
  undefined4 local_20 [4];
  
  iVar4 = (int)(param_3 - 1) / 2;
  if (param_2 < iVar4) {
    iVar7 = param_2;
    do {
      iVar5 = (iVar7 + 1) * 2;
      puVar6 = (undefined4 *)(param_1 + (iVar7 + 1) * 8);
      iVar1 = iVar5 + -1;
      puVar2 = (undefined4 *)(param_1 + iVar1 * 4);
      cVar3 = FUN_00149330(&stack0x00000014,puVar6,puVar2);
      if (cVar3 != '\0') {
        iVar5 = iVar1;
        puVar6 = puVar2;
      }
      *(undefined4 *)(param_1 + iVar7 * 4) = *puVar6;
      iVar7 = iVar5;
    } while (iVar5 < iVar4);
    if ((param_3 & 1) == 0) goto LAB_0014d630;
  }
  else {
    puVar6 = (undefined4 *)(param_1 + param_2 * 4);
    iVar5 = param_2;
    if ((param_3 & 1) != 0) {
      local_20[0] = param_4;
      goto LAB_0014d603;
    }
LAB_0014d630:
    if ((int)(param_3 - 2) / 2 == iVar5) {
      iVar5 = iVar5 * 2 + 1;
      puVar2 = (undefined4 *)(param_1 + iVar5 * 4);
      *puVar6 = *puVar2;
      puVar6 = puVar2;
    }
  }
  local_20[0] = param_4;
  if (param_2 < iVar5) {
    while( true ) {
      iVar4 = (iVar5 + -1) / 2;
      puVar2 = (undefined4 *)(param_1 + iVar4 * 4);
      cVar3 = FUN_00149330(&local_21,puVar2,local_20);
      puVar6 = (undefined4 *)(param_1 + iVar5 * 4);
      if (cVar3 == '\0') break;
      *puVar6 = *puVar2;
      iVar5 = iVar4;
      if (iVar4 <= param_2) {
        *puVar2 = local_20[0];
        return;
      }
    }
  }
LAB_0014d603:
  *puVar6 = local_20[0];
  return;
}

