
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __heap_select<__gnu_cxx::__normal_iterator<gold::Output_reloc<4, true, 32,
   false>*, std::vector<gold::Output_reloc<4, true, 32, false>, std::allocator<gold::Output_reloc<4,
   true, 32, false> > > >, __gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4, true,
   32, false>::Sort_relocs_comparison> > */

void std::
     __heap_select<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>
               (Output_reloc<9,_true,_32,_false> *__first,Output_reloc<9,_true,_32,_false> *__middle
               ,Output_reloc<9,_true,_32,_false> *__last)

{
  anon_union_8_2_238bdeaa_for_u2_ aVar1;
  uint uVar2;
  undefined4 uVar3;
  uint uVar4;
  int iVar5;
  long lVar6;
  long lVar7;
  _ValueType __value;
  
  lVar7 = ((long)__middle - (long)__first >> 3) * -0x3333333333333333;
  if ((long)__middle - (long)__first < 0x29) goto LAB_002354d0;
  lVar6 = (lVar7 + -2) / 2;
  while( true ) {
    __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>
              (__first,lVar6,lVar7);
    if (lVar6 == 0) break;
    lVar6 = lVar6 + -1;
  }
  if (__middle < __last) {
    do {
      iVar5 = gold::Output_reloc<9,_true,_32,_false>::compare(__middle,__first);
      if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {
        aVar1 = __first->u2_;
        __middle->u1_ = __first->u1_;
        __middle->u2_ = aVar1;
        uVar2 = __first->local_sym_index_;
        uVar3 = *(undefined4 *)&__first->field_0x18;
        uVar4 = __first->shndx_;
        __middle->address_ = __first->address_;
        __middle->local_sym_index_ = uVar2;
        *(undefined4 *)&__middle->field_0x18 = uVar3;
        __middle->shndx_ = uVar4;
        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;
        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>
                  (__first,0,lVar7);
      }
      __middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;
LAB_002354d0:
    } while (__middle < __last);
  }
  return;
}



void FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)

{
  undefined8 uVar1;
  int iVar2;
  long lVar3;
  long lVar4;
  
  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;
  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;
  lVar3 = (lVar4 + -2) / 2;
  while( true ) {
    FUN_00235150(param_1,lVar3,lVar4);
    if (lVar3 == 0) break;
    lVar3 = lVar3 + -1;
  }
  if (param_2 < param_3) {
    do {
      iVar2 = FUN_0022ac70(param_2,param_1);
      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {
        uVar1 = param_1[1];
        *param_2 = *param_1;
        param_2[1] = uVar1;
        uVar1 = param_1[3];
        param_2[2] = param_1[2];
        param_2[3] = uVar1;
        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);
        FUN_00235150(param_1,0,lVar4);
      }
      param_2 = param_2 + 5;
LAB_002354d0:
    } while (param_2 < param_3);
  }
  return;
}


MOV RAX,RSI
PUSH R14
MOV R14,RDX
MOV RDX,-0x3333333333333333
PUSH R13
SUB RAX,RDI
PUSH R12
MOV R13,RAX
PUSH RBP
SAR R13,0x3
MOV RBP,RDI
PUSH RBX
IMUL R13,RDX
MOV RBX,RSI
SUB RSP,0x30
CMP RAX,0x28
JLE 0x002354d0
LEA RAX,[R13 + -0x2]
MOV R12,RAX
SHR R12,0x3f
ADD R12,RAX
SAR R12,0x1
JMP 0x002353f4
SUB R12,0x1
LEA RDX,[R12 + R12*0x4]
SUB RSP,0x8
MOV RSI,R12
MOV RDI,RBP
LEA RAX,[RDX*0x8]
MOVDQU XMM0,xmmword ptr [RBP + RDX*0x8]
MOV RDX,R13
MOVDQU XMM1,xmmword ptr [RBP + RAX*0x1 + 0x10]
MOV RAX,qword ptr [RBP + RAX*0x1 + 0x20]
MOVAPS xmmword ptr [RSP + 0x8],XMM0
MOVAPS xmmword ptr [RSP + 0x18],XMM1
MOV qword ptr [RSP + 0x28],RAX
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
CALL 0x00235150
ADD RSP,0x30
TEST R12,R12
JNZ 0x002353f0
CMP R14,RBX
JA 0x002354d5
ADD RSP,0x30
POP RBX
POP RBP
POP R12
POP R13
POP R14
RET
MOV EAX,dword ptr [RBP + 0x20]
CMP dword ptr [RBX + 0x20],EAX
JNC 0x002354cc
MOVDQU XMM4,xmmword ptr [RBP]
MOV RAX,qword ptr [RBX + 0x20]
SUB RSP,0x8
MOV RDX,R13
MOVDQU XMM2,xmmword ptr [RBX]
MOVDQU XMM3,xmmword ptr [RBX + 0x10]
XOR ESI,ESI
MOV RDI,RBP
MOVUPS xmmword ptr [RBX],XMM4
MOVDQU XMM5,xmmword ptr [RBP + 0x10]
MOV qword ptr [RSP + 0x28],RAX
MOVUPS xmmword ptr [RBX + 0x10],XMM5
MOV EAX,dword ptr [RBP + 0x20]
MOVAPS xmmword ptr [RSP + 0x8],XMM2
MOVAPS xmmword ptr [RSP + 0x18],XMM3
MOV dword ptr [RBX + 0x20],EAX
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
PUSH qword ptr [RSP + 0x28]
CALL 0x00235150
ADD RSP,0x30
ADD RBX,0x28
CMP R14,RBX
JBE 0x00235458
MOV RSI,RBP
MOV RDI,RBX
CALL 0x0022ac70
TEST EAX,EAX
JS 0x00235470
JNZ 0x002354cc
JMP 0x00235468
(translation_unit "void FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;" (assignment_expression "lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333" identifier = (binary_expression "((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333" (parenthesized_expression "((long)param_2 - (long)param_1 >> 3)" ( (binary_expression "(long)param_2 - (long)param_1 >> 3" (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal)) ;) (if_statement "if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;" if (parenthesized_expression "((long)param_2 - (long)param_1 < 0x29)" ( (binary_expression "(long)param_2 - (long)param_1 < 0x29" (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) < number_literal) )) (goto_statement "goto LAB_002354d0;" goto statement_identifier ;)) (expression_statement "lVar3 = (lVar4 + -2) / 2;" (assignment_expression "lVar3 = (lVar4 + -2) / 2" identifier = (binary_expression "(lVar4 + -2) / 2" (parenthesized_expression "(lVar4 + -2)" ( (binary_expression "lVar4 + -2" identifier + number_literal) )) / number_literal)) ;) (while_statement "while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }" { (expression_statement "FUN_00235150(param_1,lVar3,lVar4);" (call_expression "FUN_00235150(param_1,lVar3,lVar4)" identifier (argument_list "(param_1,lVar3,lVar4)" ( identifier , identifier , identifier ))) ;) (if_statement "if (lVar3 == 0) break;" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar3 = lVar3 + -1;" (assignment_expression "lVar3 = lVar3 + -1" identifier = (binary_expression "lVar3 + -1" identifier + number_literal)) ;) })) (if_statement "if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }" if (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }" { (do_statement "do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);" do (compound_statement "{\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    }" { (expression_statement "iVar2 = FUN_0022ac70(param_2,param_1);" (assignment_expression "iVar2 = FUN_0022ac70(param_2,param_1)" identifier = (call_expression "FUN_0022ac70(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }" if (parenthesized_expression "((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))))" ( (binary_expression "(iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))" ( (parenthesized_expression "(iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" ( (binary_expression "iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "iVar2 == 0" identifier == number_literal) && (parenthesized_expression "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }" { (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*param_2 = *param_1;" (assignment_expression "*param_2 = *param_1" (pointer_expression "*param_2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = param_1[2];" (assignment_expression "param_2[2] = param_1[2]" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[3] = uVar1;" (assignment_expression "param_2[3] = uVar1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_00235150(param_1,0,lVar4);" (call_expression "FUN_00235150(param_1,0,lVar4)" identifier (argument_list "(param_1,0,lVar4)" ( identifier , number_literal , identifier ))) ;) })) (expression_statement "param_2 = param_2 + 5;" (assignment_expression "param_2 = param_2 + 5" identifier = (binary_expression "param_2 + 5" identifier + number_literal)) ;) (labeled_statement "LAB_002354d0:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name: __heap_select<__gnu_cxx::__normal_iterator<gold::Output_reloc<4, true, 32,\n   false>*, std::vector<gold::Output_reloc<4, true, 32, false>, std::allocator<gold::Output_reloc<4,\n   true, 32, false> > > >, __gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4, true,\n   32, false>::Sort_relocs_comparison> > */\n\nvoid std::\n     __heap_select<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n               (Output_reloc<9,_true,_32,_false> *__first,Output_reloc<9,_true,_32,_false> *__middle\n               ,Output_reloc<9,_true,_32,_false> *__last)\n\n{\n  anon_union_8_2_238bdeaa_for_u2_ aVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  uint uVar4;\n  int iVar5;\n  long lVar6;\n  long lVar7;\n  _ValueType __value;\n  \n  lVar7 = ((long)__middle - (long)__first >> 3) * -0x3333333333333333;\n  if ((long)__middle - (long)__first < 0x29) goto LAB_002354d0;\n  lVar6 = (lVar7 + -2) / 2;\n  while( true ) {\n    __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7);\n    if (lVar6 == 0) break;\n    lVar6 = lVar6 + -1;\n  }\n  if (__middle < __last) {\n    do {\n      iVar5 = gold::Output_reloc<9,_true,_32,_false>::compare(__middle,__first);\n      if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }\n      __middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;\nLAB_002354d0:\n    } while (__middle < __last);\n  }\n  return;\n}\n\n" comment comment (declaration "void std::\n     __heap_select<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n               (Output_reloc<9,_true,_32,_false> *__first,Output_reloc<9,_true,_32,_false> *__middle\n               ,Output_reloc<9,_true,_32,_false> *__last)\n\n{\n  anon_union_8_2_238bdeaa_for_u2_ aVar1;" primitive_type (ERROR "std::\n     __heap_select<__gnu_cxx::__normal_iterator<gold::" identifier : : identifier < identifier : : identifier < identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , identifier (ERROR ">*" > *) , (ERROR "_std::vector<gold::" identifier : : identifier < identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , identifier (ERROR ">" >) , (ERROR "_std::allocator<gold::" identifier : : identifier < identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , identifier (ERROR ">_>_>_>" > identifier > identifier > identifier >) , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::" identifier : : identifier : : identifier < identifier : :) identifier (ERROR "<4" < number_literal) , identifier , identifier , (ERROR "_false>::Sort_relocs_comparison>_>\n               (Output_reloc<9,_true,_32,_false> *__first,Output_reloc<9,_true,_32,_false> *__middle\n               ,Output_reloc<9,_true,_32,_false> *__last)\n\n{\n  anon_union_8_2_238bdeaa_for_u2_" identifier > : : identifier > (function_declarator "_>\n               (Output_reloc<9,_true,_32,_false> *__first,Output_reloc<9,_true,_32,_false> *__middle\n               ,Output_reloc<9,_true,_32,_false> *__last)" identifier (ERROR ">" >) (parameter_list "(Output_reloc<9,_true,_32,_false> *__first,Output_reloc<9,_true,_32,_false> *__middle\n               ,Output_reloc<9,_true,_32,_false> *__last)" ( (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_false> *__first" type_identifier (ERROR ">" >) (pointer_declarator "*__first" * identifier)) , (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_false> *__middle" type_identifier (ERROR ">" >) (pointer_declarator "*__middle" * identifier)) , (parameter_declaration "Output_reloc" type_identifier) (ERROR "<9" < number_literal) , (parameter_declaration "_true" type_identifier) , (parameter_declaration "_32" type_identifier) , (parameter_declaration "_false> *__last" type_identifier (ERROR ">" >) (pointer_declarator "*__last" * identifier)) ))) { identifier) identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "_ValueType __value;" type_identifier identifier ;) (expression_statement "lVar7 = ((long)__middle - (long)__first >> 3) * -0x3333333333333333;" (assignment_expression "lVar7 = ((long)__middle - (long)__first >> 3) * -0x3333333333333333" identifier = (binary_expression "((long)__middle - (long)__first >> 3) * -0x3333333333333333" (parenthesized_expression "((long)__middle - (long)__first >> 3)" ( (binary_expression "(long)__middle - (long)__first >> 3" (binary_expression "(long)__middle - (long)__first" (cast_expression "(long)__middle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__first" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal)) ;) (if_statement "if ((long)__middle - (long)__first < 0x29) goto LAB_002354d0;" if (parenthesized_expression "((long)__middle - (long)__first < 0x29)" ( (binary_expression "(long)__middle - (long)__first < 0x29" (binary_expression "(long)__middle - (long)__first" (cast_expression "(long)__middle" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__first" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) < number_literal) )) (goto_statement "goto LAB_002354d0;" goto statement_identifier ;)) (expression_statement "lVar6 = (lVar7 + -2) / 2;" (assignment_expression "lVar6 = (lVar7 + -2) / 2" identifier = (binary_expression "(lVar7 + -2) / 2" (parenthesized_expression "(lVar7 + -2)" ( (binary_expression "lVar7 + -2" identifier + number_literal) )) / number_literal)) ;) (while_statement "while( true ) {\n    __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7);\n    if (lVar6 == 0) break;\n    lVar6 = lVar6 + -1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7);\n    if (lVar6 == 0) break;\n    lVar6 = lVar6 + -1;\n  }" { (ERROR "__adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::" (comma_expression "__adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<gold" (binary_expression "__adjust_heap<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Output_reloc" : : identifier) < number_literal) , (comma_expression "_true,_32,_false>*,_std" identifier , (comma_expression "_32,_false>*,_std" identifier , (binary_expression "_false>*,_std" identifier > (pointer_expression "*,_std" * (ERROR "," ,) identifier))))) : : (binary_expression "vector<gold" identifier < identifier) : : (comma_expression "Output_reloc<4,_true,_32,_false>,_std" (binary_expression "Output_reloc<4" identifier < number_literal) , (comma_expression "_true,_32,_false>,_std" identifier , (comma_expression "_32,_false>,_std" identifier , (binary_expression "_false>,_std" identifier > (ERROR "," ,) identifier)))) : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold" (binary_expression "Output_reloc<4" identifier < number_literal) , (comma_expression "_true,_32,_false>_>_>_>,_long_int,_gold" identifier , (comma_expression "_32,_false>_>_>_>,_long_int,_gold" identifier , (comma_expression "_false>_>_>_>,_long_int,_gold" (binary_expression "_false>_>_>_>,_long_int" (binary_expression "_false>_>_>_" (binary_expression "_false>_>_" (binary_expression "_false>_" identifier > identifier) > identifier) > identifier) > (ERROR "," ,) identifier) , identifier)))) : : (comma_expression "Output_reloc<4,_true,_32,_false>,___gnu_cxx" (binary_expression "Output_reloc<4" identifier < number_literal) , (comma_expression "_true,_32,_false>,___gnu_cxx" identifier , (comma_expression "_32,_false>,___gnu_cxx" identifier , (binary_expression "_false>,___gnu_cxx" identifier > (ERROR "," ,) identifier)))) : :) (labeled_statement "__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7);" statement_identifier (ERROR "::_Iter_comp_iter<gold:" : : (binary_expression "_Iter_comp_iter<gold" identifier < identifier) :) : (expression_statement "Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7);" (comma_expression "Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7)" (binary_expression "Output_data_reloc_base<4" identifier < number_literal) , (comma_expression "_true,_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7)" identifier , (comma_expression "_32,_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7)" identifier , (binary_expression "_false>::Sort_relocs_comparison>_>\n              (__first,lVar6,lVar7)" (binary_expression "_false>::Sort_relocs_comparison>_" (binary_expression "_false>::Sort_relocs_comparison" identifier > (ERROR "::" : :) identifier) > identifier) > (parenthesized_expression "(__first,lVar6,lVar7)" ( (comma_expression "__first,lVar6,lVar7" identifier , (comma_expression "lVar6,lVar7" identifier , identifier)) )))))) ;)) (if_statement "if (lVar6 == 0) break;" if (parenthesized_expression "(lVar6 == 0)" ( (binary_expression "lVar6 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar6 = lVar6 + -1;" (assignment_expression "lVar6 = lVar6 + -1" identifier = (binary_expression "lVar6 + -1" identifier + number_literal)) ;) })) (if_statement "if (__middle < __last) {\n    do {\n      iVar5 = gold::Output_reloc<9,_true,_32,_false>::compare(__middle,__first);\n      if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }\n      __middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;\nLAB_002354d0:\n    } while (__middle < __last);\n  }" if (parenthesized_expression "(__middle < __last)" ( (binary_expression "__middle < __last" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar5 = gold::Output_reloc<9,_true,_32,_false>::compare(__middle,__first);\n      if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }\n      __middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;\nLAB_002354d0:\n    } while (__middle < __last);\n  }" { (do_statement "do {\n      iVar5 = gold::Output_reloc<9,_true,_32,_false>::compare(__middle,__first);\n      if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }\n      __middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;\nLAB_002354d0:\n    } while (__middle < __last);" do (compound_statement "{\n      iVar5 = gold::Output_reloc<9,_true,_32,_false>::compare(__middle,__first);\n      if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }\n      __middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;\nLAB_002354d0:\n    }" { (ERROR "iVar5 = gold::" (assignment_expression "iVar5 = gold" identifier = identifier) : :) (expression_statement "Output_reloc<9,_true,_32,_false>::compare(__middle,__first);" (comma_expression "Output_reloc<9,_true,_32,_false>::compare(__middle,__first)" (binary_expression "Output_reloc<9" identifier < number_literal) , (comma_expression "_true,_32,_false>::compare(__middle,__first)" identifier , (comma_expression "_32,_false>::compare(__middle,__first)" identifier , (binary_expression "_false>::compare(__middle,__first)" identifier > (ERROR "::" : :) (call_expression "compare(__middle,__first)" identifier (argument_list "(__middle,__first)" ( identifier , identifier ))))))) ;) (if_statement "if ((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))) {\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }" if (parenthesized_expression "((iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_))))" ( (binary_expression "(iVar5 < 0) || ((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))" (parenthesized_expression "(iVar5 < 0)" ( (binary_expression "iVar5 < 0" identifier < number_literal) )) || (parenthesized_expression "((iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)))" ( (parenthesized_expression "(iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_))" ( (binary_expression "iVar5 == 0 && (*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)" (binary_expression "iVar5 == 0" identifier == number_literal) && (parenthesized_expression "(*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_)" ( (binary_expression "*(uint *)&__middle[1].u1_ < *(uint *)&__first[1].u1_" (pointer_expression "*(uint *)&__middle[1].u1_" * (cast_expression "(uint *)&__middle[1].u1_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__middle[1].u1_" & (field_expression "__middle[1].u1_" (subscript_expression "__middle[1]" identifier [ number_literal ]) . field_identifier)))) < (pointer_expression "*(uint *)&__first[1].u1_" * (cast_expression "(uint *)&__first[1].u1_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__first[1].u1_" & (field_expression "__first[1].u1_" (subscript_expression "__first[1]" identifier [ number_literal ]) . field_identifier))))) ))) )) ))) )) (compound_statement "{\n        aVar1 = __first->u2_;\n        __middle->u1_ = __first->u1_;\n        __middle->u2_ = aVar1;\n        uVar2 = __first->local_sym_index_;\n        uVar3 = *(undefined4 *)&__first->field_0x18;\n        uVar4 = __first->shndx_;\n        __middle->address_ = __first->address_;\n        __middle->local_sym_index_ = uVar2;\n        *(undefined4 *)&__middle->field_0x18 = uVar3;\n        __middle->shndx_ = uVar4;\n        *(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;\n        __adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);\n      }" { (expression_statement "aVar1 = __first->u2_;" (assignment_expression "aVar1 = __first->u2_" identifier = (field_expression "__first->u2_" identifier -> field_identifier)) ;) (expression_statement "__middle->u1_ = __first->u1_;" (assignment_expression "__middle->u1_ = __first->u1_" (field_expression "__middle->u1_" identifier -> field_identifier) = (field_expression "__first->u1_" identifier -> field_identifier)) ;) (expression_statement "__middle->u2_ = aVar1;" (assignment_expression "__middle->u2_ = aVar1" (field_expression "__middle->u2_" identifier -> field_identifier) = identifier) ;) (expression_statement "uVar2 = __first->local_sym_index_;" (assignment_expression "uVar2 = __first->local_sym_index_" identifier = (field_expression "__first->local_sym_index_" identifier -> field_identifier)) ;) (expression_statement "uVar3 = *(undefined4 *)&__first->field_0x18;" (assignment_expression "uVar3 = *(undefined4 *)&__first->field_0x18" identifier = (pointer_expression "*(undefined4 *)&__first->field_0x18" * (cast_expression "(undefined4 *)&__first->field_0x18" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__first->field_0x18" & (field_expression "__first->field_0x18" identifier -> field_identifier))))) ;) (expression_statement "uVar4 = __first->shndx_;" (assignment_expression "uVar4 = __first->shndx_" identifier = (field_expression "__first->shndx_" identifier -> field_identifier)) ;) (expression_statement "__middle->address_ = __first->address_;" (assignment_expression "__middle->address_ = __first->address_" (field_expression "__middle->address_" identifier -> field_identifier) = (field_expression "__first->address_" identifier -> field_identifier)) ;) (expression_statement "__middle->local_sym_index_ = uVar2;" (assignment_expression "__middle->local_sym_index_ = uVar2" (field_expression "__middle->local_sym_index_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&__middle->field_0x18 = uVar3;" (assignment_expression "*(undefined4 *)&__middle->field_0x18 = uVar3" (pointer_expression "*(undefined4 *)&__middle->field_0x18" * (cast_expression "(undefined4 *)&__middle->field_0x18" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__middle->field_0x18" & (field_expression "__middle->field_0x18" identifier -> field_identifier)))) = identifier) ;) (expression_statement "__middle->shndx_ = uVar4;" (assignment_expression "__middle->shndx_ = uVar4" (field_expression "__middle->shndx_" identifier -> field_identifier) = identifier) ;) (expression_statement "*(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_;" (assignment_expression "*(undefined4 *)&__middle[1].u1_ = *(undefined4 *)&__first[1].u1_" (pointer_expression "*(undefined4 *)&__middle[1].u1_" * (cast_expression "(undefined4 *)&__middle[1].u1_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__middle[1].u1_" & (field_expression "__middle[1].u1_" (subscript_expression "__middle[1]" identifier [ number_literal ]) . field_identifier)))) = (pointer_expression "*(undefined4 *)&__first[1].u1_" * (cast_expression "(undefined4 *)&__first[1].u1_" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&__first[1].u1_" & (field_expression "__first[1].u1_" (subscript_expression "__first[1]" identifier [ number_literal ]) . field_identifier))))) ;) (ERROR "__adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std::vector<gold::Output_reloc<4,_true,_32,_false>,_std::allocator<gold::Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold::Output_reloc<4,_true,_32,_false>,___gnu_cxx::" (comma_expression "__adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4,_true,_32,_false>*,_std" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<gold::Output_reloc<4" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<gold" (binary_expression "__adjust_heap<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Output_reloc" : : identifier) < number_literal) , (comma_expression "_true,_32,_false>*,_std" identifier , (comma_expression "_32,_false>*,_std" identifier , (binary_expression "_false>*,_std" identifier > (pointer_expression "*,_std" * (ERROR "," ,) identifier))))) : : (binary_expression "vector<gold" identifier < identifier) : : (comma_expression "Output_reloc<4,_true,_32,_false>,_std" (binary_expression "Output_reloc<4" identifier < number_literal) , (comma_expression "_true,_32,_false>,_std" identifier , (comma_expression "_32,_false>,_std" identifier , (binary_expression "_false>,_std" identifier > (ERROR "," ,) identifier)))) : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Output_reloc<4,_true,_32,_false>_>_>_>,_long_int,_gold" (binary_expression "Output_reloc<4" identifier < number_literal) , (comma_expression "_true,_32,_false>_>_>_>,_long_int,_gold" identifier , (comma_expression "_32,_false>_>_>_>,_long_int,_gold" identifier , (comma_expression "_false>_>_>_>,_long_int,_gold" (binary_expression "_false>_>_>_>,_long_int" (binary_expression "_false>_>_>_" (binary_expression "_false>_>_" (binary_expression "_false>_" identifier > identifier) > identifier) > identifier) > (ERROR "," ,) identifier) , identifier)))) : : (comma_expression "Output_reloc<4,_true,_32,_false>,___gnu_cxx" (binary_expression "Output_reloc<4" identifier < number_literal) , (comma_expression "_true,_32,_false>,___gnu_cxx" identifier , (comma_expression "_32,_false>,___gnu_cxx" identifier , (binary_expression "_false>,___gnu_cxx" identifier > (ERROR "," ,) identifier)))) : :) (labeled_statement "__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);" statement_identifier (ERROR "::_Iter_comp_iter<gold:" : : (binary_expression "_Iter_comp_iter<gold" identifier < identifier) :) : (expression_statement "Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7);" (comma_expression "Output_data_reloc_base<4,_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7)" (binary_expression "Output_data_reloc_base<4" identifier < number_literal) , (comma_expression "_true,_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7)" identifier , (comma_expression "_32,_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7)" identifier , (binary_expression "_false>::Sort_relocs_comparison>_>\n                  (__first,0,lVar7)" (binary_expression "_false>::Sort_relocs_comparison>_" (binary_expression "_false>::Sort_relocs_comparison" identifier > (ERROR "::" : :) identifier) > identifier) > (parenthesized_expression "(__first,0,lVar7)" ( (comma_expression "__first,0,lVar7" identifier , (comma_expression "0,lVar7" number_literal , identifier)) )))))) ;)) })) (expression_statement "__middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_;" (assignment_expression "__middle = (Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_" identifier = (binary_expression "(Output_reloc<9,_true,_32,_false> *)&__middle[1].u2_" (parenthesized_expression "(Output_reloc<9,_true,_32,_false> *)" ( (comma_expression "Output_reloc<9,_true,_32,_false> *" (binary_expression "Output_reloc<9" identifier < number_literal) , (comma_expression "_true,_32,_false> *" identifier , (comma_expression "_32,_false> *" identifier , (binary_expression "_false> *" identifier > (pointer_expression "*" * identifier))))) )) & (field_expression "__middle[1].u2_" (subscript_expression "__middle[1]" identifier [ number_literal ]) . field_identifier))) ;) (labeled_statement "LAB_002354d0:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(__middle < __last)" ( (binary_expression "__middle < __last" identifier < identifier) )) ;) })) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;" (assignment_expression "lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333" identifier = (binary_expression "((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333" (parenthesized_expression "((long)param_2 - (long)param_1 >> 3)" ( (binary_expression "(long)param_2 - (long)param_1 >> 3" (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal) )) * number_literal)) ;) (if_statement "if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;" if (parenthesized_expression "((long)param_2 - (long)param_1 < 0x29)" ( (binary_expression "(long)param_2 - (long)param_1 < 0x29" (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) < number_literal) )) (goto_statement "goto LAB_002354d0;" goto statement_identifier ;)) (expression_statement "lVar3 = (lVar4 + -2) / 2;" (assignment_expression "lVar3 = (lVar4 + -2) / 2" identifier = (binary_expression "(lVar4 + -2) / 2" (parenthesized_expression "(lVar4 + -2)" ( (binary_expression "lVar4 + -2" identifier + number_literal) )) / number_literal)) ;) (while_statement "while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }" { (expression_statement "FUN_00235150(param_1,lVar3,lVar4);" (call_expression "FUN_00235150(param_1,lVar3,lVar4)" identifier (argument_list "(param_1,lVar3,lVar4)" ( identifier , identifier , identifier ))) ;) (if_statement "if (lVar3 == 0) break;" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar3 = lVar3 + -1;" (assignment_expression "lVar3 = lVar3 + -1" identifier = (binary_expression "lVar3 + -1" identifier + number_literal)) ;) })) (if_statement "if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }" if (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }" { (do_statement "do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);" do (compound_statement "{\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    }" { (expression_statement "iVar2 = FUN_0022ac70(param_2,param_1);" (assignment_expression "iVar2 = FUN_0022ac70(param_2,param_1)" identifier = (call_expression "FUN_0022ac70(param_2,param_1)" identifier (argument_list "(param_2,param_1)" ( identifier , identifier )))) ;) (if_statement "if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }" if (parenthesized_expression "((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))))" ( (binary_expression "(iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))" (parenthesized_expression "(iVar2 < 0)" ( (binary_expression "iVar2 < 0" identifier < number_literal) )) || (parenthesized_expression "((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))" ( (parenthesized_expression "(iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" ( (binary_expression "iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "iVar2 == 0" identifier == number_literal) && (parenthesized_expression "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" ( (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" * (cast_expression "(uint *)(param_2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) < (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }" { (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*param_2 = *param_1;" (assignment_expression "*param_2 = *param_1" (pointer_expression "*param_2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_2[2] = param_1[2];" (assignment_expression "param_2[2] = param_1[2]" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "param_2[3] = uVar1;" (assignment_expression "param_2[3] = uVar1" (subscript_expression "param_2[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(param_2 + 4)" * (cast_expression "(undefined4 *)(param_2 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 4)" ( (binary_expression "param_2 + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "FUN_00235150(param_1,0,lVar4);" (call_expression "FUN_00235150(param_1,0,lVar4)" identifier (argument_list "(param_1,0,lVar4)" ( identifier , number_literal , identifier ))) ;) })) (expression_statement "param_2 = param_2 + 5;" (assignment_expression "param_2 = param_2 + 5" identifier = (binary_expression "param_2 + 5" identifier + number_literal)) ;) (labeled_statement "LAB_002354d0:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(param_2 < param_3)" ( (binary_expression "param_2 < param_3" identifier < identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) >> LIT) )) * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (labeled_statement statement_identifier : (expression_statement ;)) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)\n\n{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002353a0(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)" (identifier "FUN_002353a0") (parameter_list "(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  int iVar2;\n  long lVar3;\n  long lVar4;\n  \n  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;\n  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;\n  lVar3 = (lVar4 + -2) / 2;\n  while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }\n  if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (expression_statement "lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;" (assignment_expression "lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333" (identifier "lVar4") (= "=") (binary_expression "((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333" (parenthesized_expression "((long)param_2 - (long)param_1 >> 3)" (( "(") (binary_expression "(long)param_2 - (long)param_1 >> 3" (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (>> ">>") (number_literal "3")) () ")")) (* "*") (number_literal "-0x3333333333333333"))) (; ";")) (if_statement "if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;" (if "if") (parenthesized_expression "((long)param_2 - (long)param_1 < 0x29)" (( "(") (binary_expression "(long)param_2 - (long)param_1 < 0x29" (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (< "<") (number_literal "0x29")) () ")")) (goto_statement "goto LAB_002354d0;" (goto "goto") (statement_identifier "LAB_002354d0") (; ";"))) (expression_statement "lVar3 = (lVar4 + -2) / 2;" (assignment_expression "lVar3 = (lVar4 + -2) / 2" (identifier "lVar3") (= "=") (binary_expression "(lVar4 + -2) / 2" (parenthesized_expression "(lVar4 + -2)" (( "(") (binary_expression "lVar4 + -2" (identifier "lVar4") (+ "+") (number_literal "-2")) () ")")) (/ "/") (number_literal "2"))) (; ";")) (while_statement "while( true ) {\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    FUN_00235150(param_1,lVar3,lVar4);\n    if (lVar3 == 0) break;\n    lVar3 = lVar3 + -1;\n  }" ({ "{") (expression_statement "FUN_00235150(param_1,lVar3,lVar4);" (call_expression "FUN_00235150(param_1,lVar3,lVar4)" (identifier "FUN_00235150") (argument_list "(param_1,lVar3,lVar4)" (( "(") (identifier "param_1") (, ",") (identifier "lVar3") (, ",") (identifier "lVar4") () ")"))) (; ";")) (if_statement "if (lVar3 == 0) break;" (if "if") (parenthesized_expression "(lVar3 == 0)" (( "(") (binary_expression "lVar3 == 0" (identifier "lVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar3 = lVar3 + -1;" (assignment_expression "lVar3 = lVar3 + -1" (identifier "lVar3") (= "=") (binary_expression "lVar3 + -1" (identifier "lVar3") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (param_2 < param_3) {\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }" (if "if") (parenthesized_expression "(param_2 < param_3)" (( "(") (binary_expression "param_2 < param_3" (identifier "param_2") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);\n  }" ({ "{") (do_statement "do {\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    } while (param_2 < param_3);" (do "do") (compound_statement "{\n      iVar2 = FUN_0022ac70(param_2,param_1);\n      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }\n      param_2 = param_2 + 5;\nLAB_002354d0:\n    }" ({ "{") (expression_statement "iVar2 = FUN_0022ac70(param_2,param_1);" (assignment_expression "iVar2 = FUN_0022ac70(param_2,param_1)" (identifier "iVar2") (= "=") (call_expression "FUN_0022ac70(param_2,param_1)" (identifier "FUN_0022ac70") (argument_list "(param_2,param_1)" (( "(") (identifier "param_2") (, ",") (identifier "param_1") () ")")))) (; ";")) (if_statement "if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }" (if "if") (parenthesized_expression "((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))))" (( "(") (binary_expression "(iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))" (parenthesized_expression "(iVar2 < 0)" (( "(") (binary_expression "iVar2 < 0" (identifier "iVar2") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))" (( "(") (parenthesized_expression "(iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)))" (( "(") (binary_expression "iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) (&& "&&") (parenthesized_expression "(*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))" (( "(") (binary_expression "*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)" (pointer_expression "*(uint *)(param_2 + 4)" (* "*") (cast_expression "(uint *)(param_2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (< "<") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        uVar1 = param_1[1];\n        *param_2 = *param_1;\n        param_2[1] = uVar1;\n        uVar1 = param_1[3];\n        param_2[2] = param_1[2];\n        param_2[3] = uVar1;\n        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);\n        FUN_00235150(param_1,0,lVar4);\n      }" ({ "{") (expression_statement "uVar1 = param_1[1];" (assignment_expression "uVar1 = param_1[1]" (identifier "uVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_2 = *param_1;" (assignment_expression "*param_2 = *param_1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "param_2[1] = uVar1;" (assignment_expression "param_2[1] = uVar1" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar1 = param_1[3];" (assignment_expression "uVar1 = param_1[3]" (identifier "uVar1") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_2[2] = param_1[2];" (assignment_expression "param_2[2] = param_1[2]" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "param_2[3] = uVar1;" (assignment_expression "param_2[3] = uVar1" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(param_2 + 4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 4)" (( "(") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "FUN_00235150(param_1,0,lVar4);" (call_expression "FUN_00235150(param_1,0,lVar4)" (identifier "FUN_00235150") (argument_list "(param_1,0,lVar4)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (identifier "lVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "param_2 = param_2 + 5;" (assignment_expression "param_2 = param_2 + 5" (identifier "param_2") (= "=") (binary_expression "param_2 + 5" (identifier "param_2") (+ "+") (number_literal "5"))) (; ";")) (labeled_statement "LAB_002354d0:" (statement_identifier "LAB_002354d0") (: ":") (expression_statement "" (; ""))) (} "}")) (while "while") (parenthesized_expression "(param_2 < param_3)" (( "(") (binary_expression "param_2 < param_3" (identifier "param_2") (< "<") (identifier "param_3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __heap_select<__gnu_cxx::__normal_iterator<gold::Output_reloc<4, true, 32,
   false>*, std::vector<gold::Output_reloc<4, true, 32, false>, std::allocator<gold::Output_reloc<4,
   true, 32, false> > > >, __gnu_cxx::__ops::_Iter_comp_iter<gold::Output_data_reloc_base<4, true,
   32, false>::Sort_relocs_comparison> > */

void std::
     __heap_select<__gnu_cxx::__normal_iterator<gold::var_9<4,_true,_32,var_3>*,_std::vector<gold::var_9<4,_true,_32,var_3>,_std::allocator<gold::var_9<4,_true,_32,var_3>var_5>var_5>var_5>,___gnu_cxx::__ops::_Iter_comp_iter<gold::var_2<4,_true,_32,var_3>::var_4>var_5>
               (var_9<9,_true,_32,var_3> *__first,var_9<9,_true,_32,var_3> *var_7
               ,var_9<9,_true,_32,var_3> *var_8)

{
  anon_union_8_2_238bdeaa_for_u2_ aVar1;
  type_1 uVar2;
  type_2 uVar3;
  type_1 uVar4;
  int var_11;
  long var_6;
  long var_1;
  type_3 __value;
  
  var_1 = ((long)var_7 - (long)__first >> 3) * -0x3333333333333333;
  if ((long)var_7 - (long)__first < 0x29) goto LAB_002354d0;
  var_6 = (var_1 + -2) / 2;
  while( true ) {
    __adjust_heap<__gnu_cxx::__normal_iterator<gold::var_9<4,_true,_32,var_3>*,_std::vector<gold::var_9<4,_true,_32,var_3>,_std::allocator<gold::var_9<4,_true,_32,var_3>var_5>var_5>var_5>,_long_int,_gold::var_9<4,_true,_32,var_3>,___gnu_cxx::__ops::_Iter_comp_iter<gold::var_2<4,_true,_32,var_3>::var_4>var_5>
              (__first,var_6,var_1);
    if (var_6 == 0) break;
    var_6 = var_6 + -1;
  }
  if (var_7 < var_8) {
    do {
      var_11 = gold::var_9<9,_true,_32,var_3>::var_10(var_7,__first);
      if ((var_11 < 0) || ((var_11 == 0 && (*(type_1 *)&var_7[1].u1_ < *(type_1 *)&__first[1].u1_)))) {
        aVar1 = __first->u2_;
        var_7->u1_ = __first->u1_;
        var_7->u2_ = aVar1;
        uVar2 = __first->local_sym_index_;
        uVar3 = *(type_2 *)&__first->field_0x18;
        uVar4 = __first->shndx_;
        var_7->address_ = __first->address_;
        var_7->local_sym_index_ = uVar2;
        *(type_2 *)&var_7->field_0x18 = uVar3;
        var_7->shndx_ = uVar4;
        *(type_2 *)&var_7[1].u1_ = *(type_2 *)&__first[1].u1_;
        __adjust_heap<__gnu_cxx::__normal_iterator<gold::var_9<4,_true,_32,var_3>*,_std::vector<gold::var_9<4,_true,_32,var_3>,_std::allocator<gold::var_9<4,_true,_32,var_3>var_5>var_5>var_5>,_long_int,_gold::var_9<4,_true,_32,var_3>,___gnu_cxx::__ops::_Iter_comp_iter<gold::var_2<4,_true,_32,var_3>::var_4>var_5>
                  (__first,0,var_1);
      }
      var_7 = (var_9<9,_true,_32,var_3> *)&var_7[1].u2_;
LAB_002354d0:
    } while (var_7 < var_8);
  }
  return;
}


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

void MASKED(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3)

{
  undefined8 uVar1;
  int iVar2;
  long lVar3;
  long lVar4;
  
  lVar4 = ((long)param_2 - (long)param_1 >> 3) * -0x3333333333333333;
  if ((long)param_2 - (long)param_1 < 0x29) goto LAB_002354d0;
  lVar3 = (lVar4 + -2) / 2;
  while( true ) {
    FUN_00235150(param_1,lVar3,lVar4);
    if (lVar3 == 0) break;
    lVar3 = lVar3 + -1;
  }
  if (param_2 < param_3) {
    do {
      iVar2 = FUN_0022ac70(param_2,param_1);
      if ((iVar2 < 0) || ((iVar2 == 0 && (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4))))) {
        uVar1 = param_1[1];
        *param_2 = *param_1;
        param_2[1] = uVar1;
        uVar1 = param_1[3];
        param_2[2] = param_1[2];
        param_2[3] = uVar1;
        *(undefined4 *)(param_2 + 4) = *(undefined4 *)(param_1 + 4);
        FUN_00235150(param_1,0,lVar4);
      }
      param_2 = param_2 + 5;
LAB_002354d0:
    } while (param_2 < param_3);
  }
  return;
}

