
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol**,
   std::vector<gold::Symbol*> >, long int, gold::Symbol*,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32> > > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,_long_int,_gold::Symbol*,___gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32>_>_>
               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>
                __first,long __holeIndex,long __len,Symbol *__value,
               _Iter_comp_iter<gold::Sort_commons<32>_> __comp)

{
  long lVar1;
  bool bVar2;
  long lVar3;
  Symbol **ppSVar4;
  Symbol **ppSVar5;
  long __topIndex;
  long lVar6;
  long lVar7;
  Sort_commons<32> local_58;
  _Iter_comp_val<gold::Sort_commons<32>_> __cmp;
  
  local_58._8_8_ = __comp._M_comp._8_8_;
  local_58.symtab_ = __comp._M_comp.symtab_;
  lVar3 = (__len + -1) / 2;
  if (__holeIndex < lVar3) {
    lVar7 = __holeIndex;
    do {
      lVar6 = (lVar7 + 1) * 2;
      lVar1 = lVar6 + -1;
      bVar2 = gold::Sort_commons<32>::operator()
                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);
      ppSVar5 = __first._M_current + (lVar7 + 1) * 2;
      if (bVar2) {
        lVar6 = lVar1;
        ppSVar5 = __first._M_current + lVar1;
      }
      __first._M_current[lVar7] = *ppSVar5;
      lVar7 = lVar6;
    } while (lVar6 < lVar3);
    ppSVar4 = ppSVar5;
    if ((__len & 1U) == 0) goto LAB_00462e40;
  }
  else {
    ppSVar5 = __first._M_current + __holeIndex;
    lVar6 = __holeIndex;
    if ((__len & 1U) != 0) goto LAB_00462e0d;
LAB_00462e40:
    ppSVar4 = ppSVar5;
    if ((__len + -2) / 2 == lVar6) {
      lVar6 = lVar6 * 2 + 1;
      ppSVar4 = __first._M_current + lVar6;
      *ppSVar5 = *ppSVar4;
    }
  }
  __cmp._M_comp.symtab_ = local_58.symtab_;
  __cmp._M_comp.sort_order_ = local_58.sort_order_;
  __cmp._M_comp._12_4_ = local_58._12_4_;
  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);
  ppSVar5 = ppSVar4;
  if (__holeIndex < lVar6) {
    do {
      lVar7 = lVar3 >> 1;
      ppSVar4 = __first._M_current + lVar7;
      bVar2 = gold::Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);
      ppSVar5 = __first._M_current + lVar6;
      if (!bVar2) break;
      __first._M_current[lVar6] = *ppSVar4;
      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);
      ppSVar5 = ppSVar4;
      lVar6 = lVar7;
    } while (__holeIndex < lVar7);
  }
LAB_00462e0d:
  *ppSVar5 = __value;
  return;
}



void FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,
                 undefined8 param_6)

{
  long lVar1;
  char cVar2;
  long lVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  long lVar6;
  long lVar7;
  undefined8 local_58;
  undefined8 uStack_50;
  undefined8 local_48;
  undefined8 uStack_40;
  
  lVar3 = (long)(param_3 - 1) / 2;
  local_58 = param_5;
  uStack_50 = param_6;
  if (param_2 < lVar3) {
    lVar7 = param_2;
    do {
      lVar6 = (lVar7 + 1) * 2;
      lVar1 = lVar6 + -1;
      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);
      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);
      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);
      if (cVar2 != '\0') {
        lVar6 = lVar1;
        puVar4 = puVar5;
      }
      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;
      lVar7 = lVar6;
    } while (lVar6 < lVar3);
    puVar5 = puVar4;
    if ((param_3 & 1) == 0) goto LAB_00462e40;
  }
  else {
    puVar4 = (undefined8 *)(param_1 + param_2 * 8);
    lVar6 = param_2;
    if ((param_3 & 1) != 0) goto LAB_00462e0d;
LAB_00462e40:
    puVar5 = puVar4;
    if ((long)(param_3 - 2) / 2 == lVar6) {
      lVar6 = lVar6 * 2 + 1;
      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);
      *puVar4 = *puVar5;
    }
  }
  local_48 = local_58;
  uStack_40 = uStack_50;
  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);
  puVar4 = puVar5;
  if (param_2 < lVar6) {
    do {
      lVar7 = lVar3 >> 1;
      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);
      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);
      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);
      if (cVar2 == '\0') break;
      *puVar4 = *puVar5;
      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);
      puVar4 = puVar5;
      lVar6 = lVar7;
    } while (param_2 < lVar7);
  }
LAB_00462e0d:
  *puVar4 = param_4;
  return;
}


PUSH R15
LEA RAX,[RDX + -0x1]
PUSH R14
PUSH R13
MOV R13,RDI
PUSH R12
PUSH RBP
MOV RBP,RAX
PUSH RBX
SHR RBP,0x3f
ADD RBP,RAX
MOV RAX,RBP
SUB RSP,0x58
SAR RAX,0x1
MOV qword ptr [RSP],RCX
MOV RCX,RDX
AND ECX,0x1
MOV qword ptr [RSP + 0x8],RSI
MOV qword ptr [RSP + 0x28],RDX
MOV qword ptr [RSP + 0x30],R8
MOV qword ptr [RSP + 0x38],R9
MOV qword ptr [RSP + 0x10],RAX
MOV qword ptr [RSP + 0x20],RCX
CMP RSI,RAX
JGE 0x00462e28
LEA RAX,[RSP + 0x30]
MOV R15,RSI
MOV qword ptr [RSP + 0x18],RAX
NOP dword ptr [RAX + RAX*0x1]
LEA RBX,[R15 + 0x1]
MOV RDI,qword ptr [RSP + 0x18]
LEA R12,[RBX + RBX*0x1]
SHL RBX,0x4
LEA R14,[R12 + -0x1]
ADD RBX,R13
LEA RBP,[R13 + R14*0x8]
MOV RSI,qword ptr [RBX]
MOV RDX,qword ptr [RBP]
CALL 0x00462940
TEST AL,AL
CMOVNZ RBX,RBP
CMOVNZ R12,R14
MOV RAX,qword ptr [RBX]
MOV qword ptr [R13 + R15*0x8],RAX
MOV R15,R12
CMP R12,qword ptr [RSP + 0x10]
JL 0x00462d48
CMP qword ptr [RSP + 0x20],0x0
JZ 0x00462e40
LEA RAX,[R12 + -0x1]
MOVDQU XMM0,xmmword ptr [RSP + 0x30]
MOV R14,RAX
SHR R14,0x3f
MOVAPS xmmword ptr [RSP + 0x40],XMM0
ADD R14,RAX
SAR R14,0x1
CMP R12,qword ptr [RSP + 0x8]
JLE 0x00462e0d
LEA RBP,[RSP + 0x40]
JMP 0x00462df0
MOV RAX,qword ptr [R15]
LEA RDX,[R14 + -0x1]
MOV R12,R14
MOV qword ptr [RBX],RAX
MOV RAX,RDX
SHR RAX,0x3f
ADD RAX,RDX
SAR RAX,0x1
CMP qword ptr [RSP + 0x8],R14
JGE 0x00462e80
MOV R14,RAX
LEA R15,[R13 + R14*0x8]
MOV RDX,qword ptr [RSP]
MOV RDI,RBP
LEA RBX,[R13 + R12*0x8]
MOV RSI,qword ptr [R15]
CALL 0x00462940
TEST AL,AL
JNZ 0x00462dc8
MOV RAX,qword ptr [RSP]
MOV qword ptr [RBX],RAX
ADD RSP,0x58
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RAX,qword ptr [RSP + 0x8]
CMP qword ptr [RSP + 0x20],0x0
LEA RBX,[RDI + RAX*0x8]
JNZ 0x00462e0d
MOV R12,qword ptr [RSP + 0x8]
NOP
MOV RAX,qword ptr [RSP + 0x28]
SUB RAX,0x2
MOV R15,RAX
SHR R15,0x3f
ADD R15,RAX
SAR R15,0x1
CMP R15,R12
JNZ 0x00462d9a
LEA R12,[R12 + R12*0x1 + 0x1]
LEA RAX,[R13 + R12*0x8]
MOV RDX,qword ptr [RAX]
MOV qword ptr [RBX],RDX
MOV RBX,RAX
JMP 0x00462d9a
MOV RBX,R15
JMP 0x00462e0d
(translation_unit "void FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}\n\n" (function_definition "void FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)" identifier (parameter_list "(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "undefined8 param_6" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_58;" type_identifier identifier ;) (declaration "undefined8 uStack_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 uStack_40;" type_identifier identifier ;) (expression_statement "lVar3 = (long)(param_3 - 1) / 2;" (assignment_expression "lVar3 = (long)(param_3 - 1) / 2" identifier = (binary_expression "(long)(param_3 - 1) / 2" (cast_expression "(long)(param_3 - 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "local_58 = param_5;" (assignment_expression "local_58 = param_5" identifier = identifier) ;) (expression_statement "uStack_50 = param_6;" (assignment_expression "uStack_50 = param_6" identifier = identifier) ;) (if_statement "if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" if (parenthesized_expression "(param_2 < lVar3)" ( (binary_expression "param_2 < lVar3" identifier < identifier) )) (compound_statement "{\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }" { (expression_statement "lVar7 = param_2;" (assignment_expression "lVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" do (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    }" { (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" identifier = (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);" (assignment_expression "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1)" identifier = (cast_expression "(undefined8 *)((lVar7 + 1) * 0x10 + param_1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((lVar7 + 1) * 0x10 + param_1)" ( (binary_expression "(lVar7 + 1) * 0x10 + param_1" (binary_expression "(lVar7 + 1) * 0x10" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar1 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar1 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar1 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1 * 8)" ( (binary_expression "param_1 + lVar1 * 8" identifier + (binary_expression "lVar1 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);" (assignment_expression "cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5)" identifier = (call_expression "FUN_00462940(&local_58,*puVar4,*puVar5)" identifier (argument_list "(&local_58,*puVar4,*puVar5)" ( (pointer_expression "&local_58" & identifier) , (pointer_expression "*puVar4" * identifier) , (pointer_expression "*puVar5" * identifier) )))) ;) (if_statement "if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" { (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) })) (expression_statement "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;" (assignment_expression "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4" (pointer_expression "*(undefined8 *)(param_1 + lVar7 * 8)" * (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar7 * 8)" ( (binary_expression "param_1 + lVar7 * 8" identifier + (binary_expression "lVar7 * 8" identifier * number_literal)) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" identifier = identifier) ;) }) while (parenthesized_expression "(lVar6 < lVar3)" ( (binary_expression "lVar6 < lVar3" identifier < identifier) )) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00462e40;" 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_00462e40;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" else (compound_statement "{\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" { (expression_statement "puVar4 = (undefined8 *)(param_1 + param_2 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + param_2 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + param_2 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 8)" ( (binary_expression "param_1 + param_2 * 8" identifier + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (expression_statement "lVar6 = param_2;" (assignment_expression "lVar6 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) goto LAB_00462e0d;" 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_00462e0d;" goto statement_identifier ;)) (labeled_statement "LAB_00462e40:\n    puVar5 = puVar4;" statement_identifier : (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;)) (if_statement "if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" if (parenthesized_expression "((long)(param_3 - 2) / 2 == lVar6)" ( (binary_expression "(long)(param_3 - 2) / 2 == lVar6" (binary_expression "(long)(param_3 - 2) / 2" (cast_expression "(long)(param_3 - 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" { (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" identifier = (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) })) }))) (expression_statement "local_48 = local_58;" (assignment_expression "local_48 = local_58" identifier = identifier) ;) (expression_statement "uStack_40 = uStack_50;" (assignment_expression "uStack_40 = uStack_50" identifier = identifier) ;) (expression_statement "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" identifier = (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" ( (binary_expression "lVar6 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar6 + -1 >> 0x3f)" ( (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (if_statement "if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }" if (parenthesized_expression "(param_2 < lVar6)" ( (binary_expression "param_2 < lVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }" { (do_statement "do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);" do (compound_statement "{\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    }" { (expression_statement "lVar7 = lVar3 >> 1;" (assignment_expression "lVar7 = lVar3 >> 1" identifier = (binary_expression "lVar3 >> 1" identifier >> number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar7 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar7 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar7 * 8)" ( (binary_expression "param_1 + lVar7 * 8" identifier + (binary_expression "lVar7 * 8" identifier * number_literal)) )))) ;) (expression_statement "puVar4 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_00462940(&local_48,*puVar5,param_4);" (assignment_expression "cVar2 = FUN_00462940(&local_48,*puVar5,param_4)" identifier = (call_expression "FUN_00462940(&local_48,*puVar5,param_4)" identifier (argument_list "(&local_48,*puVar5,param_4)" ( (pointer_expression "&local_48" & identifier) , (pointer_expression "*puVar5" * identifier) , identifier )))) ;) (if_statement "if (cVar2 == '\0') break;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f)" identifier = (binary_expression "(lVar7 + -1) - (lVar7 + -1 >> 0x3f)" (parenthesized_expression "(lVar7 + -1)" ( (binary_expression "lVar7 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar7 + -1 >> 0x3f)" ( (binary_expression "lVar7 + -1 >> 0x3f" (binary_expression "lVar7 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < lVar7)" ( (binary_expression "param_2 < lVar7" identifier < identifier) )) ;) })) (labeled_statement "LAB_00462e0d:\n  *puVar4 = param_4;" statement_identifier : (expression_statement "*puVar4 = param_4;" (assignment_expression "*puVar4 = param_4" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name: __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol**,\n   std::vector<gold::Symbol*> >, long int, gold::Symbol*,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32> > > */\n\nvoid std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,_long_int,_gold::Symbol*,___gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32>_>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,long __holeIndex,long __len,Symbol *__value,\n               _Iter_comp_iter<gold::Sort_commons<32>_> __comp)\n\n{\n  long lVar1;\n  bool bVar2;\n  long lVar3;\n  Symbol **ppSVar4;\n  Symbol **ppSVar5;\n  long __topIndex;\n  long lVar6;\n  long lVar7;\n  Sort_commons<32> local_58;\n  _Iter_comp_val<gold::Sort_commons<32>_> __cmp;\n  \n  local_58._8_8_ = __comp._M_comp._8_8_;\n  local_58.symtab_ = __comp._M_comp.symtab_;\n  lVar3 = (__len + -1) / 2;\n  if (__holeIndex < lVar3) {\n    lVar7 = __holeIndex;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      bVar2 = gold::Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);\n      ppSVar5 = __first._M_current + (lVar7 + 1) * 2;\n      if (bVar2) {\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }\n      __first._M_current[lVar7] = *ppSVar5;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    ppSVar4 = ppSVar5;\n    if ((__len & 1U) == 0) goto LAB_00462e40;\n  }\n  else {\n    ppSVar5 = __first._M_current + __holeIndex;\n    lVar6 = __holeIndex;\n    if ((__len & 1U) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    ppSVar4 = ppSVar5;\n    if ((__len + -2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      ppSVar4 = __first._M_current + lVar6;\n      *ppSVar5 = *ppSVar4;\n    }\n  }\n  __cmp._M_comp.symtab_ = local_58.symtab_;\n  __cmp._M_comp.sort_order_ = local_58.sort_order_;\n  __cmp._M_comp._12_4_ = local_58._12_4_;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  ppSVar5 = ppSVar4;\n  if (__holeIndex < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      ppSVar4 = __first._M_current + lVar7;\n      bVar2 = gold::Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);\n      ppSVar5 = __first._M_current + lVar6;\n      if (!bVar2) break;\n      __first._M_current[lVar6] = *ppSVar4;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      ppSVar5 = ppSVar4;\n      lVar6 = lVar7;\n    } while (__holeIndex < lVar7);\n  }\nLAB_00462e0d:\n  *ppSVar5 = __value;\n  return;\n}\n\n" comment comment (declaration "void std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*>_>,_long_int,_gold::Symbol*,___gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32>_>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,long __holeIndex,long __len,Symbol *__value,\n               _Iter_comp_iter<gold::Sort_commons<32>_> __comp)\n\n{\n  long lVar1;" primitive_type (ERROR "std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol" identifier : : identifier < identifier : : identifier < identifier : : identifier) (pointer_declarator "**,_std::vector<gold::Symbol*>_" * (pointer_declarator "*,_std::vector<gold::Symbol*>_" * (ERROR ",_std::vector<gold::Symbol*>" , identifier : : identifier < identifier : : identifier * >) identifier)) (ERROR ">" >) , identifier , (ERROR "_gold::" identifier : :) identifier (ERROR "*" *) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32>_>_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,long __holeIndex,long __len,Symbol *__value,\n               _Iter_comp_iter<gold::Sort_commons<32>_> __comp)\n\n{\n  long" identifier : : identifier : : identifier < identifier : : identifier < number_literal > identifier > (function_declarator "_>\n               (__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,long __holeIndex,long __len,Symbol *__value,\n               _Iter_comp_iter<gold::Sort_commons<32>_> __comp)" identifier (ERROR ">" >) (parameter_list "(__normal_iterator<gold::Symbol**,_std::vector<gold::Symbol*,_std::allocator<gold::Symbol*>_>_>\n                __first,long __holeIndex,long __len,Symbol *__value,\n               _Iter_comp_iter<gold::Sort_commons<32>_> __comp)" ( (parameter_declaration "__normal_iterator<gold::Symbol**" type_identifier (ERROR "<gold::Symbol" < identifier : : identifier) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , (parameter_declaration "_std::vector<gold::Symbol*" type_identifier (ERROR "::vector<gold::Symbol" : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Symbol*>_>_>\n                __first" type_identifier (ERROR "::allocator<gold::Symbol*>_>_>" : : identifier < identifier : : identifier * > identifier > identifier >) identifier) , (parameter_declaration "long __holeIndex" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long __len" (sized_type_specifier "long" long) identifier) , (parameter_declaration "Symbol *__value" type_identifier (pointer_declarator "*__value" * identifier)) , (parameter_declaration "_Iter_comp_iter<gold::Sort_commons<32>_> __comp" type_identifier (ERROR "<gold::Sort_commons<32>_>" < identifier : : identifier < number_literal > identifier >) identifier) ))) { long) identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "Symbol **ppSVar4;" type_identifier (pointer_declarator "**ppSVar4" * (pointer_declarator "*ppSVar4" * identifier)) ;) (declaration "Symbol **ppSVar5;" type_identifier (pointer_declarator "**ppSVar5" * (pointer_declarator "*ppSVar5" * identifier)) ;) (declaration "long __topIndex;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (expression_statement "Sort_commons<32> local_58;" (update_expression "Sort_commons<32> local_58" (binary_expression "Sort_commons<32> local_58" (binary_expression "Sort_commons<32" identifier < number_literal) > identifier) --) ;) (expression_statement "_Iter_comp_val<gold::Sort_commons<32>_> __cmp;" (update_expression "_Iter_comp_val<gold::Sort_commons<32>_> __cmp" (binary_expression "_Iter_comp_val<gold::Sort_commons<32>_> __cmp" (binary_expression "_Iter_comp_val<gold::Sort_commons<32>_" (binary_expression "_Iter_comp_val<gold::Sort_commons<32" (binary_expression "_Iter_comp_val<gold" identifier < identifier) (ERROR "::Sort_commons" : : identifier) < number_literal) > identifier) > identifier) --) ;) (expression_statement "local_58._8_8_ = __comp._M_comp._8_8_;" (assignment_expression "local_58._8_8_ = __comp._M_comp._8_8_" (field_expression "local_58._8_8_" identifier . field_identifier) = (field_expression "__comp._M_comp._8_8_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) ;) (expression_statement "local_58.symtab_ = __comp._M_comp.symtab_;" (assignment_expression "local_58.symtab_ = __comp._M_comp.symtab_" (field_expression "local_58.symtab_" identifier . field_identifier) = (field_expression "__comp._M_comp.symtab_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) ;) (expression_statement "lVar3 = (__len + -1) / 2;" (assignment_expression "lVar3 = (__len + -1) / 2" identifier = (binary_expression "(__len + -1) / 2" (parenthesized_expression "(__len + -1)" ( (binary_expression "__len + -1" identifier + number_literal) )) / number_literal)) ;) (if_statement "if (__holeIndex < lVar3) {\n    lVar7 = __holeIndex;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      bVar2 = gold::Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);\n      ppSVar5 = __first._M_current + (lVar7 + 1) * 2;\n      if (bVar2) {\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }\n      __first._M_current[lVar7] = *ppSVar5;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    ppSVar4 = ppSVar5;\n    if ((__len & 1U) == 0) goto LAB_00462e40;\n  }\n  else {\n    ppSVar5 = __first._M_current + __holeIndex;\n    lVar6 = __holeIndex;\n    if ((__len & 1U) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    ppSVar4 = ppSVar5;\n    if ((__len + -2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      ppSVar4 = __first._M_current + lVar6;\n      *ppSVar5 = *ppSVar4;\n    }\n  }" if (parenthesized_expression "(__holeIndex < lVar3)" ( (binary_expression "__holeIndex < lVar3" identifier < identifier) )) (compound_statement "{\n    lVar7 = __holeIndex;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      bVar2 = gold::Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);\n      ppSVar5 = __first._M_current + (lVar7 + 1) * 2;\n      if (bVar2) {\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }\n      __first._M_current[lVar7] = *ppSVar5;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    ppSVar4 = ppSVar5;\n    if ((__len & 1U) == 0) goto LAB_00462e40;\n  }" { (expression_statement "lVar7 = __holeIndex;" (assignment_expression "lVar7 = __holeIndex" identifier = identifier) ;) (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      bVar2 = gold::Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);\n      ppSVar5 = __first._M_current + (lVar7 + 1) * 2;\n      if (bVar2) {\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }\n      __first._M_current[lVar7] = *ppSVar5;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" do (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      bVar2 = gold::Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);\n      ppSVar5 = __first._M_current + (lVar7 + 1) * 2;\n      if (bVar2) {\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }\n      __first._M_current[lVar7] = *ppSVar5;\n      lVar7 = lVar6;\n    }" { (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" identifier = (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (ERROR "bVar2 = gold::" (assignment_expression "bVar2 = gold" identifier = identifier) : :) (expression_statement "Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1]);" (binary_expression "Sort_commons<32>::operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1])" (binary_expression "Sort_commons<32" identifier < number_literal) > (ERROR "::" : :) (call_expression "operator()\n                        (&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1])" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "(&local_58,__first._M_current[(lVar7 + 1) * 2],__first._M_current[lVar1])" ( (pointer_expression "&local_58" & identifier) , (subscript_expression "__first._M_current[(lVar7 + 1) * 2]" (field_expression "__first._M_current" identifier . field_identifier) [ (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal) ]) , (subscript_expression "__first._M_current[lVar1]" (field_expression "__first._M_current" identifier . field_identifier) [ identifier ]) )))) ;) (expression_statement "ppSVar5 = __first._M_current + (lVar7 + 1) * 2;" (assignment_expression "ppSVar5 = __first._M_current + (lVar7 + 1) * 2" identifier = (binary_expression "__first._M_current + (lVar7 + 1) * 2" (field_expression "__first._M_current" identifier . field_identifier) + (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal))) ;) (if_statement "if (bVar2) {\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n        lVar6 = lVar1;\n        ppSVar5 = __first._M_current + lVar1;\n      }" { (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" identifier = identifier) ;) (expression_statement "ppSVar5 = __first._M_current + lVar1;" (assignment_expression "ppSVar5 = __first._M_current + lVar1" identifier = (binary_expression "__first._M_current + lVar1" (field_expression "__first._M_current" identifier . field_identifier) + identifier)) ;) })) (expression_statement "__first._M_current[lVar7] = *ppSVar5;" (assignment_expression "__first._M_current[lVar7] = *ppSVar5" (subscript_expression "__first._M_current[lVar7]" (field_expression "__first._M_current" identifier . field_identifier) [ identifier ]) = (pointer_expression "*ppSVar5" * identifier)) ;) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" identifier = identifier) ;) }) while (parenthesized_expression "(lVar6 < lVar3)" ( (binary_expression "lVar6 < lVar3" identifier < identifier) )) ;) (expression_statement "ppSVar4 = ppSVar5;" (assignment_expression "ppSVar4 = ppSVar5" identifier = identifier) ;) (if_statement "if ((__len & 1U) == 0) goto LAB_00462e40;" if (parenthesized_expression "((__len & 1U) == 0)" ( (binary_expression "(__len & 1U) == 0" (parenthesized_expression "(__len & 1U)" ( (binary_expression "__len & 1U" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00462e40;" goto statement_identifier ;)) }) (else_clause "else {\n    ppSVar5 = __first._M_current + __holeIndex;\n    lVar6 = __holeIndex;\n    if ((__len & 1U) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    ppSVar4 = ppSVar5;\n    if ((__len + -2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      ppSVar4 = __first._M_current + lVar6;\n      *ppSVar5 = *ppSVar4;\n    }\n  }" else (compound_statement "{\n    ppSVar5 = __first._M_current + __holeIndex;\n    lVar6 = __holeIndex;\n    if ((__len & 1U) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    ppSVar4 = ppSVar5;\n    if ((__len + -2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      ppSVar4 = __first._M_current + lVar6;\n      *ppSVar5 = *ppSVar4;\n    }\n  }" { (expression_statement "ppSVar5 = __first._M_current + __holeIndex;" (assignment_expression "ppSVar5 = __first._M_current + __holeIndex" identifier = (binary_expression "__first._M_current + __holeIndex" (field_expression "__first._M_current" identifier . field_identifier) + identifier)) ;) (expression_statement "lVar6 = __holeIndex;" (assignment_expression "lVar6 = __holeIndex" identifier = identifier) ;) (if_statement "if ((__len & 1U) != 0) goto LAB_00462e0d;" if (parenthesized_expression "((__len & 1U) != 0)" ( (binary_expression "(__len & 1U) != 0" (parenthesized_expression "(__len & 1U)" ( (binary_expression "__len & 1U" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00462e0d;" goto statement_identifier ;)) (labeled_statement "LAB_00462e40:\n    ppSVar4 = ppSVar5;" statement_identifier : (expression_statement "ppSVar4 = ppSVar5;" (assignment_expression "ppSVar4 = ppSVar5" identifier = identifier) ;)) (if_statement "if ((__len + -2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      ppSVar4 = __first._M_current + lVar6;\n      *ppSVar5 = *ppSVar4;\n    }" if (parenthesized_expression "((__len + -2) / 2 == lVar6)" ( (binary_expression "(__len + -2) / 2 == lVar6" (binary_expression "(__len + -2) / 2" (parenthesized_expression "(__len + -2)" ( (binary_expression "__len + -2" identifier + number_literal) )) / number_literal) == identifier) )) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      ppSVar4 = __first._M_current + lVar6;\n      *ppSVar5 = *ppSVar4;\n    }" { (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" identifier = (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "ppSVar4 = __first._M_current + lVar6;" (assignment_expression "ppSVar4 = __first._M_current + lVar6" identifier = (binary_expression "__first._M_current + lVar6" (field_expression "__first._M_current" identifier . field_identifier) + identifier)) ;) (expression_statement "*ppSVar5 = *ppSVar4;" (assignment_expression "*ppSVar5 = *ppSVar4" (pointer_expression "*ppSVar5" * identifier) = (pointer_expression "*ppSVar4" * identifier)) ;) })) }))) (expression_statement "__cmp._M_comp.symtab_ = local_58.symtab_;" (assignment_expression "__cmp._M_comp.symtab_ = local_58.symtab_" (field_expression "__cmp._M_comp.symtab_" (field_expression "__cmp._M_comp" identifier . field_identifier) . field_identifier) = (field_expression "local_58.symtab_" identifier . field_identifier)) ;) (expression_statement "__cmp._M_comp.sort_order_ = local_58.sort_order_;" (assignment_expression "__cmp._M_comp.sort_order_ = local_58.sort_order_" (field_expression "__cmp._M_comp.sort_order_" (field_expression "__cmp._M_comp" identifier . field_identifier) . field_identifier) = (field_expression "local_58.sort_order_" identifier . field_identifier)) ;) (expression_statement "__cmp._M_comp._12_4_ = local_58._12_4_;" (assignment_expression "__cmp._M_comp._12_4_ = local_58._12_4_" (field_expression "__cmp._M_comp._12_4_" (field_expression "__cmp._M_comp" identifier . field_identifier) . field_identifier) = (field_expression "local_58._12_4_" identifier . field_identifier)) ;) (expression_statement "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" identifier = (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" ( (binary_expression "lVar6 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar6 + -1 >> 0x3f)" ( (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "ppSVar5 = ppSVar4;" (assignment_expression "ppSVar5 = ppSVar4" identifier = identifier) ;) (if_statement "if (__holeIndex < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      ppSVar4 = __first._M_current + lVar7;\n      bVar2 = gold::Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);\n      ppSVar5 = __first._M_current + lVar6;\n      if (!bVar2) break;\n      __first._M_current[lVar6] = *ppSVar4;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      ppSVar5 = ppSVar4;\n      lVar6 = lVar7;\n    } while (__holeIndex < lVar7);\n  }" if (parenthesized_expression "(__holeIndex < lVar6)" ( (binary_expression "__holeIndex < lVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar7 = lVar3 >> 1;\n      ppSVar4 = __first._M_current + lVar7;\n      bVar2 = gold::Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);\n      ppSVar5 = __first._M_current + lVar6;\n      if (!bVar2) break;\n      __first._M_current[lVar6] = *ppSVar4;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      ppSVar5 = ppSVar4;\n      lVar6 = lVar7;\n    } while (__holeIndex < lVar7);\n  }" { (do_statement "do {\n      lVar7 = lVar3 >> 1;\n      ppSVar4 = __first._M_current + lVar7;\n      bVar2 = gold::Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);\n      ppSVar5 = __first._M_current + lVar6;\n      if (!bVar2) break;\n      __first._M_current[lVar6] = *ppSVar4;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      ppSVar5 = ppSVar4;\n      lVar6 = lVar7;\n    } while (__holeIndex < lVar7);" do (compound_statement "{\n      lVar7 = lVar3 >> 1;\n      ppSVar4 = __first._M_current + lVar7;\n      bVar2 = gold::Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);\n      ppSVar5 = __first._M_current + lVar6;\n      if (!bVar2) break;\n      __first._M_current[lVar6] = *ppSVar4;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      ppSVar5 = ppSVar4;\n      lVar6 = lVar7;\n    }" { (expression_statement "lVar7 = lVar3 >> 1;" (assignment_expression "lVar7 = lVar3 >> 1" identifier = (binary_expression "lVar3 >> 1" identifier >> number_literal)) ;) (expression_statement "ppSVar4 = __first._M_current + lVar7;" (assignment_expression "ppSVar4 = __first._M_current + lVar7" identifier = (binary_expression "__first._M_current + lVar7" (field_expression "__first._M_current" identifier . field_identifier) + identifier)) ;) (ERROR "bVar2 = gold::" (assignment_expression "bVar2 = gold" identifier = identifier) : :) (expression_statement "Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value);" (binary_expression "Sort_commons<32>::operator()(&__cmp._M_comp,*ppSVar4,__value)" (binary_expression "Sort_commons<32" identifier < number_literal) > (ERROR "::" : :) (call_expression "operator()(&__cmp._M_comp,*ppSVar4,__value)" (call_expression "operator()" identifier (argument_list "()" ( ))) (argument_list "(&__cmp._M_comp,*ppSVar4,__value)" ( (pointer_expression "&__cmp._M_comp" & (field_expression "__cmp._M_comp" identifier . field_identifier)) , (pointer_expression "*ppSVar4" * identifier) , identifier )))) ;) (expression_statement "ppSVar5 = __first._M_current + lVar6;" (assignment_expression "ppSVar5 = __first._M_current + lVar6" identifier = (binary_expression "__first._M_current + lVar6" (field_expression "__first._M_current" identifier . field_identifier) + identifier)) ;) (if_statement "if (!bVar2) break;" if (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (break_statement "break;" break ;)) (expression_statement "__first._M_current[lVar6] = *ppSVar4;" (assignment_expression "__first._M_current[lVar6] = *ppSVar4" (subscript_expression "__first._M_current[lVar6]" (field_expression "__first._M_current" identifier . field_identifier) [ identifier ]) = (pointer_expression "*ppSVar4" * identifier)) ;) (expression_statement "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f)" identifier = (binary_expression "(lVar7 + -1) - (lVar7 + -1 >> 0x3f)" (parenthesized_expression "(lVar7 + -1)" ( (binary_expression "lVar7 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar7 + -1 >> 0x3f)" ( (binary_expression "lVar7 + -1 >> 0x3f" (binary_expression "lVar7 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "ppSVar5 = ppSVar4;" (assignment_expression "ppSVar5 = ppSVar4" identifier = identifier) ;) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" identifier = identifier) ;) }) while (parenthesized_expression "(__holeIndex < lVar7)" ( (binary_expression "__holeIndex < lVar7" identifier < identifier) )) ;) })) (labeled_statement "LAB_00462e0d:\n  *ppSVar5 = __value;" statement_identifier : (expression_statement "*ppSVar5 = __value;" (assignment_expression "*ppSVar5 = __value" (pointer_expression "*ppSVar5" * identifier) = identifier) ;)) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}\n\n" (function_definition "void FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}" primitive_type (function_declarator "FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)" identifier (parameter_list "(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) , (parameter_declaration "undefined8 param_6" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 local_58;" type_identifier identifier ;) (declaration "undefined8 uStack_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined8 uStack_40;" type_identifier identifier ;) (expression_statement "lVar3 = (long)(param_3 - 1) / 2;" (assignment_expression "lVar3 = (long)(param_3 - 1) / 2" identifier = (binary_expression "(long)(param_3 - 1) / 2" (cast_expression "(long)(param_3 - 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "local_58 = param_5;" (assignment_expression "local_58 = param_5" identifier = identifier) ;) (expression_statement "uStack_50 = param_6;" (assignment_expression "uStack_50 = param_6" identifier = identifier) ;) (if_statement "if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" if (parenthesized_expression "(param_2 < lVar3)" ( (binary_expression "param_2 < lVar3" identifier < identifier) )) (compound_statement "{\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }" { (expression_statement "lVar7 = param_2;" (assignment_expression "lVar7 = param_2" identifier = identifier) ;) (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" do (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    }" { (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" identifier = (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);" (assignment_expression "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1)" identifier = (cast_expression "(undefined8 *)((lVar7 + 1) * 0x10 + param_1)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((lVar7 + 1) * 0x10 + param_1)" ( (binary_expression "(lVar7 + 1) * 0x10 + param_1" (binary_expression "(lVar7 + 1) * 0x10" (parenthesized_expression "(lVar7 + 1)" ( (binary_expression "lVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar1 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar1 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar1 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar1 * 8)" ( (binary_expression "param_1 + lVar1 * 8" identifier + (binary_expression "lVar1 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);" (assignment_expression "cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5)" identifier = (call_expression "FUN_00462940(&local_58,*puVar4,*puVar5)" identifier (argument_list "(&local_58,*puVar4,*puVar5)" ( (pointer_expression "&local_58" & identifier) , (pointer_expression "*puVar4" * identifier) , (pointer_expression "*puVar5" * identifier) )))) ;) (if_statement "if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" { (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) })) (expression_statement "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;" (assignment_expression "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4" (pointer_expression "*(undefined8 *)(param_1 + lVar7 * 8)" * (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar7 * 8)" ( (binary_expression "param_1 + lVar7 * 8" identifier + (binary_expression "lVar7 * 8" identifier * number_literal)) )))) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" identifier = identifier) ;) }) while (parenthesized_expression "(lVar6 < lVar3)" ( (binary_expression "lVar6 < lVar3" identifier < identifier) )) ;) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00462e40;" 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_00462e40;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" else (compound_statement "{\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" { (expression_statement "puVar4 = (undefined8 *)(param_1 + param_2 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + param_2 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + param_2 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + param_2 * 8)" ( (binary_expression "param_1 + param_2 * 8" identifier + (binary_expression "param_2 * 8" identifier * number_literal)) )))) ;) (expression_statement "lVar6 = param_2;" (assignment_expression "lVar6 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) goto LAB_00462e0d;" 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_00462e0d;" goto statement_identifier ;)) (labeled_statement "LAB_00462e40:\n    puVar5 = puVar4;" statement_identifier : (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" identifier = identifier) ;)) (if_statement "if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" if (parenthesized_expression "((long)(param_3 - 2) / 2 == lVar6)" ( (binary_expression "(long)(param_3 - 2) / 2 == lVar6" (binary_expression "(long)(param_3 - 2) / 2" (cast_expression "(long)(param_3 - 2)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" { (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" identifier = (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) })) }))) (expression_statement "local_48 = local_58;" (assignment_expression "local_48 = local_58" identifier = identifier) ;) (expression_statement "uStack_40 = uStack_50;" (assignment_expression "uStack_40 = uStack_50" identifier = identifier) ;) (expression_statement "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" identifier = (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" ( (binary_expression "lVar6 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar6 + -1 >> 0x3f)" ( (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (if_statement "if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }" if (parenthesized_expression "(param_2 < lVar6)" ( (binary_expression "param_2 < lVar6" identifier < identifier) )) (compound_statement "{\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }" { (do_statement "do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);" do (compound_statement "{\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    }" { (expression_statement "lVar7 = lVar3 >> 1;" (assignment_expression "lVar7 = lVar3 >> 1" identifier = (binary_expression "lVar3 >> 1" identifier >> number_literal)) ;) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar7 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar7 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar7 * 8)" ( (binary_expression "param_1 + lVar7 * 8" identifier + (binary_expression "lVar7 * 8" identifier * number_literal)) )))) ;) (expression_statement "puVar4 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + lVar6 * 8)" identifier = (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar6 * 8)" ( (binary_expression "param_1 + lVar6 * 8" identifier + (binary_expression "lVar6 * 8" identifier * number_literal)) )))) ;) (expression_statement "cVar2 = FUN_00462940(&local_48,*puVar5,param_4);" (assignment_expression "cVar2 = FUN_00462940(&local_48,*puVar5,param_4)" identifier = (call_expression "FUN_00462940(&local_48,*puVar5,param_4)" identifier (argument_list "(&local_48,*puVar5,param_4)" ( (pointer_expression "&local_48" & identifier) , (pointer_expression "*puVar5" * identifier) , identifier )))) ;) (if_statement "if (cVar2 == '\0') break;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f)" identifier = (binary_expression "(lVar7 + -1) - (lVar7 + -1 >> 0x3f)" (parenthesized_expression "(lVar7 + -1)" ( (binary_expression "lVar7 + -1" identifier + number_literal) )) - (parenthesized_expression "(lVar7 + -1 >> 0x3f)" ( (binary_expression "lVar7 + -1 >> 0x3f" (binary_expression "lVar7 + -1" identifier + number_literal) >> number_literal) )))) ;) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" identifier = identifier) ;) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" identifier = identifier) ;) }) while (parenthesized_expression "(param_2 < lVar7)" ( (binary_expression "param_2 < lVar7" identifier < identifier) )) ;) })) (labeled_statement "LAB_00462e0d:\n  *puVar4 = param_4;" statement_identifier : (expression_statement "*puVar4 = param_4;" (assignment_expression "*puVar4 = param_4" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) })) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression * IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (return_statement return ;) })))
(function_definition "void FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00462ce0(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)" (identifier "FUN_00462ce0") (parameter_list "(long param_1,long param_2,ulong param_3,undefined8 param_4,undefined8 param_5,\n                 undefined8 param_6)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "ulong param_3" (type_identifier "ulong") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) (, ",") (parameter_declaration "undefined8 param_6" (type_identifier "undefined8") (identifier "param_6")) () ")"))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  undefined8 *puVar5;\n  long lVar6;\n  long lVar7;\n  undefined8 local_58;\n  undefined8 uStack_50;\n  undefined8 local_48;\n  undefined8 uStack_40;\n  \n  lVar3 = (long)(param_3 - 1) / 2;\n  local_58 = param_5;\n  uStack_50 = param_6;\n  if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }\n  local_48 = local_58;\n  uStack_40 = uStack_50;\n  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);\n  puVar4 = puVar5;\n  if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }\nLAB_00462e0d:\n  *puVar4 = param_4;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined8 *puVar5;" (type_identifier "undefined8") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "undefined8 local_58;" (type_identifier "undefined8") (identifier "local_58") (; ";")) (declaration "undefined8 uStack_50;" (type_identifier "undefined8") (identifier "uStack_50") (; ";")) (declaration "undefined8 local_48;" (type_identifier "undefined8") (identifier "local_48") (; ";")) (declaration "undefined8 uStack_40;" (type_identifier "undefined8") (identifier "uStack_40") (; ";")) (expression_statement "lVar3 = (long)(param_3 - 1) / 2;" (assignment_expression "lVar3 = (long)(param_3 - 1) / 2" (identifier "lVar3") (= "=") (binary_expression "(long)(param_3 - 1) / 2" (cast_expression "(long)(param_3 - 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")"))) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "local_58 = param_5;" (assignment_expression "local_58 = param_5" (identifier "local_58") (= "=") (identifier "param_5")) (; ";")) (expression_statement "uStack_50 = param_6;" (assignment_expression "uStack_50 = param_6" (identifier "uStack_50") (= "=") (identifier "param_6")) (; ";")) (if_statement "if (param_2 < lVar3) {\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }\n  else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < lVar3)" (( "(") (binary_expression "param_2 < lVar3" (identifier "param_2") (< "<") (identifier "lVar3")) () ")")) (compound_statement "{\n    lVar7 = param_2;\n    do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);\n    puVar5 = puVar4;\n    if ((param_3 & 1) == 0) goto LAB_00462e40;\n  }" ({ "{") (expression_statement "lVar7 = param_2;" (assignment_expression "lVar7 = param_2" (identifier "lVar7") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    } while (lVar6 < lVar3);" (do "do") (compound_statement "{\n      lVar6 = (lVar7 + 1) * 2;\n      lVar1 = lVar6 + -1;\n      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);\n      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);\n      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);\n      if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }\n      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;\n      lVar7 = lVar6;\n    }" ({ "{") (expression_statement "lVar6 = (lVar7 + 1) * 2;" (assignment_expression "lVar6 = (lVar7 + 1) * 2" (identifier "lVar6") (= "=") (binary_expression "(lVar7 + 1) * 2" (parenthesized_expression "(lVar7 + 1)" (( "(") (binary_expression "lVar7 + 1" (identifier "lVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "lVar1 = lVar6 + -1;" (assignment_expression "lVar1 = lVar6 + -1" (identifier "lVar1") (= "=") (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);" (assignment_expression "puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)((lVar7 + 1) * 0x10 + param_1)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((lVar7 + 1) * 0x10 + param_1)" (( "(") (binary_expression "(lVar7 + 1) * 0x10 + param_1" (binary_expression "(lVar7 + 1) * 0x10" (parenthesized_expression "(lVar7 + 1)" (( "(") (binary_expression "lVar7 + 1" (identifier "lVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar1 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar1 * 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar1 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar1 * 8)" (( "(") (binary_expression "param_1 + lVar1 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar1 * 8" (identifier "lVar1") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);" (assignment_expression "cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5)" (identifier "cVar2") (= "=") (call_expression "FUN_00462940(&local_58,*puVar4,*puVar5)" (identifier "FUN_00462940") (argument_list "(&local_58,*puVar4,*puVar5)" (( "(") (pointer_expression "&local_58" (& "&") (identifier "local_58")) (, ",") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (, ",") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') {\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        lVar6 = lVar1;\n        puVar4 = puVar5;\n      }" ({ "{") (expression_statement "lVar6 = lVar1;" (assignment_expression "lVar6 = lVar1" (identifier "lVar6") (= "=") (identifier "lVar1")) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;" (assignment_expression "*(undefined8 *)(param_1 + lVar7 * 8) = *puVar4" (pointer_expression "*(undefined8 *)(param_1 + lVar7 * 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar7 * 8)" (( "(") (binary_expression "param_1 + lVar7 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar7 * 8" (identifier "lVar7") (* "*") (number_literal "8"))) () ")")))) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "lVar7 = lVar6;" (assignment_expression "lVar7 = lVar6" (identifier "lVar7") (= "=") (identifier "lVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar6 < lVar3)" (( "(") (binary_expression "lVar6 < lVar3" (identifier "lVar6") (< "<") (identifier "lVar3")) () ")")) (; ";")) (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if ((param_3 & 1) == 0) goto LAB_00462e40;" (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_00462e40;" (goto "goto") (statement_identifier "LAB_00462e40") (; ";"))) (} "}")) (else_clause "else {\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" (else "else") (compound_statement "{\n    puVar4 = (undefined8 *)(param_1 + param_2 * 8);\n    lVar6 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00462e0d;\nLAB_00462e40:\n    puVar5 = puVar4;\n    if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }\n  }" ({ "{") (expression_statement "puVar4 = (undefined8 *)(param_1 + param_2 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + param_2 * 8)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)(param_1 + param_2 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + param_2 * 8)" (( "(") (binary_expression "param_1 + param_2 * 8" (identifier "param_1") (+ "+") (binary_expression "param_2 * 8" (identifier "param_2") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "lVar6 = param_2;" (assignment_expression "lVar6 = param_2" (identifier "lVar6") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_3 & 1) != 0) goto LAB_00462e0d;" (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_00462e0d;" (goto "goto") (statement_identifier "LAB_00462e0d") (; ";"))) (labeled_statement "LAB_00462e40:\n    puVar5 = puVar4;" (statement_identifier "LAB_00462e40") (: ":") (expression_statement "puVar5 = puVar4;" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (; ";"))) (if_statement "if ((long)(param_3 - 2) / 2 == lVar6) {\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" (if "if") (parenthesized_expression "((long)(param_3 - 2) / 2 == lVar6)" (( "(") (binary_expression "(long)(param_3 - 2) / 2 == lVar6" (binary_expression "(long)(param_3 - 2) / 2" (cast_expression "(long)(param_3 - 2)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(param_3 - 2)" (( "(") (binary_expression "param_3 - 2" (identifier "param_3") (- "-") (number_literal "2")) () ")"))) (/ "/") (number_literal "2")) (== "==") (identifier "lVar6")) () ")")) (compound_statement "{\n      lVar6 = lVar6 * 2 + 1;\n      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);\n      *puVar4 = *puVar5;\n    }" ({ "{") (expression_statement "lVar6 = lVar6 * 2 + 1;" (assignment_expression "lVar6 = lVar6 * 2 + 1" (identifier "lVar6") (= "=") (binary_expression "lVar6 * 2 + 1" (binary_expression "lVar6 * 2" (identifier "lVar6") (* "*") (number_literal "2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar6 * 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar6 * 8)" (( "(") (binary_expression "param_1 + lVar6 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar6 * 8" (identifier "lVar6") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "local_48 = local_58;" (assignment_expression "local_48 = local_58" (identifier "local_48") (= "=") (identifier "local_58")) (; ";")) (expression_statement "uStack_40 = uStack_50;" (assignment_expression "uStack_40 = uStack_50" (identifier "uStack_40") (= "=") (identifier "uStack_50")) (; ";")) (expression_statement "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (identifier "lVar3") (= "=") (binary_expression "(lVar6 + -1) - (lVar6 + -1 >> 0x3f)" (parenthesized_expression "(lVar6 + -1)" (( "(") (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1")) () ")")) (- "-") (parenthesized_expression "(lVar6 + -1 >> 0x3f)" (( "(") (binary_expression "lVar6 + -1 >> 0x3f" (binary_expression "lVar6 + -1" (identifier "lVar6") (+ "+") (number_literal "-1")) (>> ">>") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (param_2 < lVar6) {\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }" (if "if") (parenthesized_expression "(param_2 < lVar6)" (( "(") (binary_expression "param_2 < lVar6" (identifier "param_2") (< "<") (identifier "lVar6")) () ")")) (compound_statement "{\n    do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);\n  }" ({ "{") (do_statement "do {\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    } while (param_2 < lVar7);" (do "do") (compound_statement "{\n      lVar7 = lVar3 >> 1;\n      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);\n      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);\n      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);\n      if (cVar2 == '\0') break;\n      *puVar4 = *puVar5;\n      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);\n      puVar4 = puVar5;\n      lVar6 = lVar7;\n    }" ({ "{") (expression_statement "lVar7 = lVar3 >> 1;" (assignment_expression "lVar7 = lVar3 >> 1" (identifier "lVar7") (= "=") (binary_expression "lVar3 >> 1" (identifier "lVar3") (>> ">>") (number_literal "1"))) (; ";")) (expression_statement "puVar5 = (undefined8 *)(param_1 + lVar7 * 8);" (assignment_expression "puVar5 = (undefined8 *)(param_1 + lVar7 * 8)" (identifier "puVar5") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar7 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar7 * 8)" (( "(") (binary_expression "param_1 + lVar7 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar7 * 8" (identifier "lVar7") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "puVar4 = (undefined8 *)(param_1 + lVar6 * 8);" (assignment_expression "puVar4 = (undefined8 *)(param_1 + lVar6 * 8)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)(param_1 + lVar6 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + lVar6 * 8)" (( "(") (binary_expression "param_1 + lVar6 * 8" (identifier "param_1") (+ "+") (binary_expression "lVar6 * 8" (identifier "lVar6") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "cVar2 = FUN_00462940(&local_48,*puVar5,param_4);" (assignment_expression "cVar2 = FUN_00462940(&local_48,*puVar5,param_4)" (identifier "cVar2") (= "=") (call_expression "FUN_00462940(&local_48,*puVar5,param_4)" (identifier "FUN_00462940") (argument_list "(&local_48,*puVar5,param_4)" (( "(") (pointer_expression "&local_48" (& "&") (identifier "local_48")) (, ",") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (, ",") (identifier "param_4") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') break;" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*puVar4 = *puVar5;" (assignment_expression "*puVar4 = *puVar5" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);" (assignment_expression "lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f)" (identifier "lVar3") (= "=") (binary_expression "(lVar7 + -1) - (lVar7 + -1 >> 0x3f)" (parenthesized_expression "(lVar7 + -1)" (( "(") (binary_expression "lVar7 + -1" (identifier "lVar7") (+ "+") (number_literal "-1")) () ")")) (- "-") (parenthesized_expression "(lVar7 + -1 >> 0x3f)" (( "(") (binary_expression "lVar7 + -1 >> 0x3f" (binary_expression "lVar7 + -1" (identifier "lVar7") (+ "+") (number_literal "-1")) (>> ">>") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "puVar4 = puVar5;" (assignment_expression "puVar4 = puVar5" (identifier "puVar4") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "lVar6 = lVar7;" (assignment_expression "lVar6 = lVar7" (identifier "lVar6") (= "=") (identifier "lVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_2 < lVar7)" (( "(") (binary_expression "param_2 < lVar7" (identifier "param_2") (< "<") (identifier "lVar7")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00462e0d:\n  *puVar4 = param_4;" (statement_identifier "LAB_00462e0d") (: ":") (expression_statement "*puVar4 = param_4;" (assignment_expression "*puVar4 = param_4" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "param_4")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __adjust_heap<__gnu_cxx::__normal_iterator<gold::Symbol**,
   std::vector<gold::Symbol*> >, long int, gold::Symbol*,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Sort_commons<32> > > */

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<var_4::type_1**,_std::vector<var_4::type_1*>var_5>,_long_int,_gold::type_1*,___gnu_cxx::__ops::_Iter_comp_iter<var_4::var_1<32>var_5>var_5>
               (__normal_iterator<var_4::type_1**,_std::vector<var_4::type_1*,_std::allocator<var_4::type_1*>var_5>var_5>
                __first,long var_8,long var_7,type_1 *__value,
               _Iter_comp_iter<var_4::var_1<32>var_5> __comp)

{
  long var_13;
  bool bVar2;
  long var_9;
  type_1 **ppSVar4;
  type_1 **ppSVar5;
  long __topIndex;
  long var_11;
  long var_10;
  var_1<32> var_2;
  var_3<var_4::var_1<32>var_5> var_6;
  
  var_2._8_8_ = __comp._M_comp._8_8_;
  var_2.symtab_ = __comp._M_comp.symtab_;
  var_9 = (var_7 + -1) / 2;
  if (var_8 < var_9) {
    var_10 = var_8;
    do {
      var_11 = (var_10 + 1) * 2;
      var_13 = var_11 + -1;
      bVar2 = var_4::var_1<32>::var_12()
                        (&var_2,__first._M_current[(var_10 + 1) * 2],__first._M_current[var_13]);
      ppSVar5 = __first._M_current + (var_10 + 1) * 2;
      if (bVar2) {
        var_11 = var_13;
        ppSVar5 = __first._M_current + var_13;
      }
      __first._M_current[var_10] = *ppSVar5;
      var_10 = var_11;
    } while (var_11 < var_9);
    ppSVar4 = ppSVar5;
    if ((var_7 & 1U) == 0) goto LAB_00462e40;
  }
  else {
    ppSVar5 = __first._M_current + var_8;
    var_11 = var_8;
    if ((var_7 & 1U) != 0) goto LAB_00462e0d;
LAB_00462e40:
    ppSVar4 = ppSVar5;
    if ((var_7 + -2) / 2 == var_11) {
      var_11 = var_11 * 2 + 1;
      ppSVar4 = __first._M_current + var_11;
      *ppSVar5 = *ppSVar4;
    }
  }
  var_6._M_comp.symtab_ = var_2.symtab_;
  var_6._M_comp.sort_order_ = var_2.sort_order_;
  var_6._M_comp._12_4_ = var_2._12_4_;
  var_9 = (var_11 + -1) - (var_11 + -1 >> 0x3f);
  ppSVar5 = ppSVar4;
  if (var_8 < var_11) {
    do {
      var_10 = var_9 >> 1;
      ppSVar4 = __first._M_current + var_10;
      bVar2 = var_4::var_1<32>::var_12()(&var_6._M_comp,*ppSVar4,__value);
      ppSVar5 = __first._M_current + var_11;
      if (!bVar2) break;
      __first._M_current[var_11] = *ppSVar4;
      var_9 = (var_10 + -1) - (var_10 + -1 >> 0x3f);
      ppSVar5 = ppSVar4;
      var_11 = var_10;
    } while (var_8 < var_10);
  }
LAB_00462e0d:
  *ppSVar5 = __value;
  return;
}


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

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

{
  long lVar1;
  char cVar2;
  long lVar3;
  undefined8 *puVar4;
  undefined8 *puVar5;
  long lVar6;
  long lVar7;
  undefined8 local_58;
  undefined8 uStack_50;
  undefined8 local_48;
  undefined8 uStack_40;
  
  lVar3 = (long)(param_3 - 1) / 2;
  local_58 = param_5;
  uStack_50 = param_6;
  if (param_2 < lVar3) {
    lVar7 = param_2;
    do {
      lVar6 = (lVar7 + 1) * 2;
      lVar1 = lVar6 + -1;
      puVar4 = (undefined8 *)((lVar7 + 1) * 0x10 + param_1);
      puVar5 = (undefined8 *)(param_1 + lVar1 * 8);
      cVar2 = FUN_00462940(&local_58,*puVar4,*puVar5);
      if (cVar2 != '\0') {
        lVar6 = lVar1;
        puVar4 = puVar5;
      }
      *(undefined8 *)(param_1 + lVar7 * 8) = *puVar4;
      lVar7 = lVar6;
    } while (lVar6 < lVar3);
    puVar5 = puVar4;
    if ((param_3 & 1) == 0) goto LAB_00462e40;
  }
  else {
    puVar4 = (undefined8 *)(param_1 + param_2 * 8);
    lVar6 = param_2;
    if ((param_3 & 1) != 0) goto LAB_00462e0d;
LAB_00462e40:
    puVar5 = puVar4;
    if ((long)(param_3 - 2) / 2 == lVar6) {
      lVar6 = lVar6 * 2 + 1;
      puVar5 = (undefined8 *)(param_1 + lVar6 * 8);
      *puVar4 = *puVar5;
    }
  }
  local_48 = local_58;
  uStack_40 = uStack_50;
  lVar3 = (lVar6 + -1) - (lVar6 + -1 >> 0x3f);
  puVar4 = puVar5;
  if (param_2 < lVar6) {
    do {
      lVar7 = lVar3 >> 1;
      puVar5 = (undefined8 *)(param_1 + lVar7 * 8);
      puVar4 = (undefined8 *)(param_1 + lVar6 * 8);
      cVar2 = FUN_00462940(&local_48,*puVar5,param_4);
      if (cVar2 == '\0') break;
      *puVar4 = *puVar5;
      lVar3 = (lVar7 + -1) - (lVar7 + -1 >> 0x3f);
      puVar4 = puVar5;
      lVar6 = lVar7;
    } while (param_2 < lVar7);
  }
LAB_00462e0d:
  *puVar4 = param_4;
  return;
}

