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

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<gold::File_read::Read_multiple_entry*,_std::vector<gold::File_read::Read_multiple_entry>_>,_int,_gold::File_read::Read_multiple_entry,___gnu_cxx::__ops::_Iter_comp_iter<gold::Read_multiple_compare>_>
               (int __first,int __holeIndex,uint __len,uint __value,uint param_5,uint param_6,
               uint param_7)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint *puVar4;
  int iVar5;
  uint *puVar6;
  int iVar7;
  
  iVar3 = (int)(__len - 1) / 2;
  iVar7 = __holeIndex;
  if (__holeIndex < iVar3) {
    do {
      iVar5 = (iVar7 + 1) * 2;
      iVar1 = iVar5 + -1;
      puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);
      puVar6 = (uint *)(iVar1 * 0x10 + __first);
      iVar2 = puVar4[1] - puVar6[1];
      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=
          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {
        iVar5 = iVar1;
        puVar4 = puVar6;
      }
      puVar6 = (uint *)(iVar7 * 0x10 + __first);
      *puVar6 = *puVar4;
      puVar6[1] = puVar4[1];
      puVar6[2] = puVar4[2];
      puVar6[3] = puVar4[3];
      iVar7 = iVar5;
    } while (iVar5 < iVar3);
    if ((__len & 1) == 0) goto LAB_00156f48;
  }
  else {
    puVar4 = (uint *)(__holeIndex * 0x10 + __first);
    iVar5 = __holeIndex;
    if ((__len & 1) != 0) goto LAB_00156f09;
LAB_00156f48:
    if ((int)(__len - 2) / 2 == iVar5) {
      iVar5 = iVar5 * 2 + 1;
      puVar6 = (uint *)(iVar5 * 0x10 + __first);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      puVar4 = puVar6;
    }
  }
  iVar7 = (iVar5 + -1) / 2;
  if ((__holeIndex < iVar5) &&
     (puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,
     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=
     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0)) {
    do {
      puVar4 = (uint *)(iVar5 * 0x10 + __first);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      iVar3 = (iVar7 + -1) / 2;
      puVar4 = (uint *)(iVar7 * 0x10 + __first);
      if (iVar7 <= __holeIndex) break;
      puVar6 = (uint *)(iVar3 * 0x10 + __first);
      iVar1 = puVar6[1] - param_5;
      iVar5 = iVar7;
      iVar7 = iVar3;
    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=
             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0);
  }
LAB_00156f09:
  *puVar4 = __value;
  puVar4[1] = param_5;
  puVar4[2] = param_6;
  puVar4[3] = param_7;
  return;
}



void FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,
                 uint param_7)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint *puVar4;
  int iVar5;
  uint *puVar6;
  int iVar7;
  
  iVar3 = (int)(param_3 - 1) / 2;
  iVar7 = param_2;
  if (param_2 < iVar3) {
    do {
      iVar5 = (iVar7 + 1) * 2;
      iVar1 = iVar5 + -1;
      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);
      puVar6 = (uint *)(iVar1 * 0x10 + param_1);
      iVar2 = puVar4[1] - puVar6[1];
      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=
          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {
        iVar5 = iVar1;
        puVar4 = puVar6;
      }
      puVar6 = (uint *)(iVar7 * 0x10 + param_1);
      *puVar6 = *puVar4;
      puVar6[1] = puVar4[1];
      puVar6[2] = puVar4[2];
      puVar6[3] = puVar4[3];
      iVar7 = iVar5;
    } while (iVar5 < iVar3);
    if ((param_3 & 1) == 0) goto LAB_00156f48;
  }
  else {
    puVar4 = (uint *)(param_2 * 0x10 + param_1);
    iVar5 = param_2;
    if ((param_3 & 1) != 0) goto LAB_00156f09;
LAB_00156f48:
    if ((int)(param_3 - 2) / 2 == iVar5) {
      iVar5 = iVar5 * 2 + 1;
      puVar6 = (uint *)(iVar5 * 0x10 + param_1);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      puVar4 = puVar6;
    }
  }
  iVar7 = (iVar5 + -1) / 2;
  if ((param_2 < iVar5) &&
     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,
     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=
     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {
    do {
      puVar4 = (uint *)(iVar5 * 0x10 + param_1);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      iVar3 = (iVar7 + -1) / 2;
      puVar4 = (uint *)(iVar7 * 0x10 + param_1);
      if (iVar7 <= param_2) break;
      puVar6 = (uint *)(iVar3 * 0x10 + param_1);
      iVar1 = puVar6[1] - param_5;
      iVar5 = iVar7;
      iVar7 = iVar3;
    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=
             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);
  }
LAB_00156f09:
  *puVar4 = param_4;
  puVar4[1] = param_5;
  puVar4[2] = param_6;
  puVar4[3] = param_7;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [ESP + 0x38]
MOV EBX,dword ptr [ESP + 0x30]
AND EDI,0x1
SUB EAX,0x1
MOV dword ptr [ESP + 0x10],EDI
MOV EDI,dword ptr [ESP + 0x40]
MOV EBP,EAX
SHR EBP,0x1f
MOV dword ptr [ESP],EDI
MOV EDI,dword ptr [ESP + 0x44]
ADD EBP,EAX
MOV EAX,EBP
MOV EBP,dword ptr [ESP + 0x3c]
MOV dword ptr [ESP + 0x8],EDI
MOV EDI,dword ptr [ESP + 0x48]
SAR EAX,0x1
MOV dword ptr [ESP + 0xc],EDI
CMP dword ptr [ESP + 0x34],EAX
JGE 0x00156f30
MOV dword ptr [ESP + 0x14],EBP
MOV ECX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x4],EAX
LEA ESI,[ESI]
LEA EAX,[ECX + 0x1]
LEA EDX,[EAX + EAX*0x1]
SHL EAX,0x5
LEA EDI,[EDX + -0x1]
ADD EAX,EBX
MOV ESI,EDI
SHL ESI,0x4
ADD ESI,EBX
MOV EBP,dword ptr [ESI]
CMP dword ptr [EAX],EBP
MOV EBP,dword ptr [EAX + 0x4]
SBB EBP,dword ptr [ESI + 0x4]
CMOVL EAX,ESI
CMOVL EDX,EDI
SHL ECX,0x4
ADD ECX,EBX
MOV ESI,dword ptr [EAX]
MOV dword ptr [ECX],ESI
MOV ESI,dword ptr [EAX + 0x4]
MOV dword ptr [ECX + 0x4],ESI
MOV ESI,dword ptr [EAX + 0x8]
MOV dword ptr [ECX + 0x8],ESI
MOV ESI,dword ptr [EAX + 0xc]
MOV dword ptr [ECX + 0xc],ESI
MOV ECX,EDX
CMP EDX,dword ptr [ESP + 0x4]
JL 0x00156e40
MOV ECX,dword ptr [ESP + 0x10]
MOV EBP,dword ptr [ESP + 0x14]
TEST ECX,ECX
JZ 0x00156f48
LEA ECX,[EDX + -0x1]
MOV EDI,ECX
SHR EDI,0x1f
ADD EDI,ECX
SAR EDI,0x1
CMP EDX,dword ptr [ESP + 0x34]
JLE 0x00156f09
MOV ECX,EDI
SHL ECX,0x4
ADD ECX,EBX
MOV ESI,dword ptr [ECX + 0x4]
CMP dword ptr [ECX],EBP
SBB ESI,dword ptr [ESP]
JL 0x00156ed5
JMP 0x00156f09
MOV ECX,ESI
MOV EDX,EDI
MOV EDI,ESI
SHL ECX,0x4
ADD ECX,EBX
MOV ESI,dword ptr [ECX + 0x4]
CMP dword ptr [ECX],EBP
SBB ESI,dword ptr [ESP]
JGE 0x00156f09
MOV EAX,dword ptr [ECX]
SHL EDX,0x4
ADD EDX,EBX
MOV dword ptr [EDX],EAX
MOV EAX,dword ptr [ECX + 0x4]
MOV dword ptr [EDX + 0x4],EAX
MOV EAX,dword ptr [ECX + 0x8]
MOV dword ptr [EDX + 0x8],EAX
MOV EAX,dword ptr [ECX + 0xc]
MOV dword ptr [EDX + 0xc],EAX
LEA EAX,[EDI + -0x1]
MOV ESI,EAX
SHR ESI,0x1f
ADD ESI,EAX
MOV EAX,EDI
SHL EAX,0x4
SAR ESI,0x1
ADD EAX,EBX
CMP dword ptr [ESP + 0x34],EDI
JL 0x00156ec0
MOV EBX,dword ptr [ESP]
MOV dword ptr [EAX],EBP
MOV dword ptr [EAX + 0x4],EBX
MOV EBX,dword ptr [ESP + 0x8]
MOV dword ptr [EAX + 0x8],EBX
MOV EBX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + 0xc],EBX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x34]
MOV EDX,dword ptr [ESP + 0x10]
SHL EAX,0x4
ADD EAX,EBX
TEST EDX,EDX
JNZ 0x00156f09
MOV EDX,dword ptr [ESP + 0x34]
LEA ESI,[ESI]
MOV EDI,dword ptr [ESP + 0x38]
LEA ESI,[EDI + -0x2]
MOV ECX,ESI
SHR ECX,0x1f
ADD ECX,ESI
SAR ECX,0x1
CMP ECX,EDX
JNZ 0x00156e98
LEA EDX,[EDX + EDX*0x1 + 0x1]
MOV ECX,EDX
SHL ECX,0x4
ADD ECX,EBX
MOV ESI,dword ptr [ECX]
MOV dword ptr [EAX],ESI
MOV ESI,dword ptr [ECX + 0x4]
MOV dword ptr [EAX + 0x4],ESI
MOV ESI,dword ptr [ECX + 0x8]
MOV dword ptr [EAX + 0x8],ESI
MOV ESI,dword ptr [ECX + 0xc]
MOV dword ptr [EAX + 0xc],ESI
MOV EAX,ECX
JMP 0x00156e98
(translation_unit "void FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}\n\n" (function_definition "void FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}" primitive_type (function_declarator "FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)" identifier (parameter_list "(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar3 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar3 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" if (parenthesized_expression "(param_2 < iVar3)" ( (binary_expression "param_2 < iVar3" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }" { (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);" do (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    }" { (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" identifier = (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);" (assignment_expression "puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1)" identifier = (cast_expression "(uint *)((iVar7 + 1) * 0x20 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar7 + 1) * 0x20 + param_1)" ( (binary_expression "(iVar7 + 1) * 0x20 + param_1" (binary_expression "(iVar7 + 1) * 0x20" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar6 = (uint *)(iVar1 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar1 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar1 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * 0x10 + param_1)" ( (binary_expression "iVar1 * 0x10 + param_1" (binary_expression "iVar1 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar2 = puVar4[1] - puVar6[1];" (assignment_expression "iVar2 = puVar4[1] - puVar6[1]" identifier = (binary_expression "puVar4[1] - puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) - (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" if (parenthesized_expression "((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0)" ( (binary_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (parenthesized_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6)))" ( (binary_expression "SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" (call_expression "SBORROW4(puVar4[1],puVar6[1])" identifier (argument_list "(puVar4[1],puVar6[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) , (subscript_expression "puVar6[1]" identifier [ number_literal ]) ))) != (call_expression "SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" identifier (argument_list "(iVar2,(uint)(*puVar4 < *puVar6))" ( identifier , (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar4 < *puVar6)" ( (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" * identifier) < (pointer_expression "*puVar6" * identifier)) ))) )))) )) != (binary_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (cast_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - (uint)(*puVar4 < *puVar6))" ( (binary_expression "iVar2 - (uint)(*puVar4 < *puVar6)" identifier - (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar4 < *puVar6)" ( (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" * identifier) < (pointer_expression "*puVar6" * identifier)) )))) ))) < number_literal)) )) (compound_statement "{\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" { (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) })) (expression_statement "puVar6 = (uint *)(iVar7 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + param_1)" ( (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar6 = *puVar4;" (assignment_expression "*puVar6 = *puVar4" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar6[1] = puVar4[1];" (assignment_expression "puVar6[1] = puVar4[1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = puVar4[2];" (assignment_expression "puVar6[2] = puVar4[2]" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[3] = puVar4[3];" (assignment_expression "puVar6[3] = puVar4[3]" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00156f48;" 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_00156f48;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" else (compound_statement "{\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" { (expression_statement "puVar4 = (uint *)(param_2 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(param_2 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(param_2 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 * 0x10 + param_1)" ( (binary_expression "param_2 * 0x10 + param_1" (binary_expression "param_2 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar5 = param_2;" (assignment_expression "iVar5 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) goto LAB_00156f09;" 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_00156f09;" goto statement_identifier ;)) (labeled_statement "LAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" statement_identifier : (if_statement "if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" if (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar5)" ( (binary_expression "(int)(param_3 - 2) / 2 == iVar5" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" { (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" identifier = (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar6 = (uint *)(iVar5 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar5 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar5 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x10 + param_1)" ( (binary_expression "iVar5 * 0x10 + param_1" (binary_expression "iVar5 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) }))) }))) (expression_statement "iVar7 = (iVar5 + -1) / 2;" (assignment_expression "iVar7 = (iVar5 + -1) / 2" identifier = (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" ( (binary_expression "iVar5 + -1" identifier + number_literal) )) / number_literal)) ;) (if_statement "if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }" if (parenthesized_expression "((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0))" ( (binary_expression "(param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)" (parenthesized_expression "(param_2 < iVar5)" ( (binary_expression "param_2 < iVar5" identifier < identifier) )) && (parenthesized_expression "(puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)" ( (comma_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + param_1)" ( (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) , (comma_expression "iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (assignment_expression "iVar3 = puVar6[1] - param_5" identifier = (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) - identifier)) , (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4)))" ( (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))" (call_expression "SBORROW4(puVar6[1],param_5)" identifier (argument_list "(puVar6[1],param_5)" ( (subscript_expression "puVar6[1]" identifier [ number_literal ]) , identifier ))) != (call_expression "SBORROW4(iVar3,(uint)(*puVar6 < param_4))" identifier (argument_list "(iVar3,(uint)(*puVar6 < param_4))" ( identifier , (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) ))) )))) )) != (binary_expression "(int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (cast_expression "(int)(iVar3 - (uint)(*puVar6 < param_4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - (uint)(*puVar6 < param_4))" ( (binary_expression "iVar3 - (uint)(*puVar6 < param_4)" identifier - (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) )))) ))) < number_literal)))) ))) )) (compound_statement "{\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }" { (do_statement "do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);" do (compound_statement "{\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    }" { (expression_statement "puVar4 = (uint *)(iVar5 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(iVar5 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar5 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x10 + param_1)" ( (binary_expression "iVar5 * 0x10 + param_1" (binary_expression "iVar5 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (iVar7 + -1) / 2;" (assignment_expression "iVar3 = (iVar7 + -1) / 2" identifier = (binary_expression "(iVar7 + -1) / 2" (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar4 = (uint *)(iVar7 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(iVar7 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + param_1)" ( (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) ;) (if_statement "if (iVar7 <= param_2) break;" if (parenthesized_expression "(iVar7 <= param_2)" ( (binary_expression "iVar7 <= param_2" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar6 = (uint *)(iVar3 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar3 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar3 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 * 0x10 + param_1)" ( (binary_expression "iVar3 * 0x10 + param_1" (binary_expression "iVar3 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar1 = puVar6[1] - param_5;" (assignment_expression "iVar1 = puVar6[1] - param_5" identifier = (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) - identifier)) ;) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0)" ( (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4)))" ( (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))" (call_expression "SBORROW4(puVar6[1],param_5)" identifier (argument_list "(puVar6[1],param_5)" ( (subscript_expression "puVar6[1]" identifier [ number_literal ]) , identifier ))) != (call_expression "SBORROW4(iVar1,(uint)(*puVar6 < param_4))" identifier (argument_list "(iVar1,(uint)(*puVar6 < param_4))" ( identifier , (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) ))) )))) )) != (binary_expression "(int)(iVar1 - (uint)(*puVar6 < param_4)) < 0" (cast_expression "(int)(iVar1 - (uint)(*puVar6 < param_4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 - (uint)(*puVar6 < param_4))" ( (binary_expression "iVar1 - (uint)(*puVar6 < param_4)" identifier - (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) )))) ))) < number_literal)) )) ;) })) (labeled_statement "LAB_00156f09:\n  *puVar4 = param_4;" statement_identifier : (expression_statement "*puVar4 = param_4;" (assignment_expression "*puVar4 = param_4" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (expression_statement "puVar4[1] = param_5;" (assignment_expression "puVar4[1] = param_5" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = param_6;" (assignment_expression "puVar4[2] = param_6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = param_7;" (assignment_expression "puVar4[3] = param_7" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name:\n   __adjust_heap<__gnu_cxx::__normal_iterator<gold::File_read::Read_multiple_entry*,\n   std::vector<gold::File_read::Read_multiple_entry> >, int, gold::File_read::Read_multiple_entry,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Read_multiple_compare> > */\n\nvoid std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::File_read::Read_multiple_entry*,_std::vector<gold::File_read::Read_multiple_entry>_>,_int,_gold::File_read::Read_multiple_entry,___gnu_cxx::__ops::_Iter_comp_iter<gold::Read_multiple_compare>_>\n               (int __first,int __holeIndex,uint __len,uint __value,uint param_5,uint param_6,\n               uint param_7)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(__len - 1) / 2;\n  iVar7 = __holeIndex;\n  if (__holeIndex < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);\n      puVar6 = (uint *)(iVar1 * 0x10 + __first);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + __first);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((__len & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(__holeIndex * 0x10 + __first);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((__holeIndex < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + __first);\n      if (iVar7 <= __holeIndex) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + __first);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=\n             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = __value;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}\n\n" comment comment (declaration "void std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::File_read::Read_multiple_entry*,_std::vector<gold::File_read::Read_multiple_entry>_>,_int,_gold::File_read::Read_multiple_entry,___gnu_cxx::__ops::_Iter_comp_iter<gold::Read_multiple_compare>_>\n               (int __first,int __holeIndex,uint __len,uint __value,uint param_5,uint param_6,\n               uint param_7)\n\n{\n  int iVar1;" primitive_type (ERROR "std::\n     __adjust_heap<__gnu_cxx::__normal_iterator<gold::File_read::" identifier : : identifier < identifier : : identifier < identifier : : identifier : :) identifier (ERROR "*" *) , (ERROR "_std::vector<gold::File_read::Read_multiple_entry>" identifier : : identifier < identifier : : identifier : : identifier >) identifier (ERROR ">" >) , identifier , (ERROR "_gold::File_read::" identifier : : identifier : :) identifier , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Read_multiple_compare>_>\n               (int __first,int __holeIndex,uint __len,uint __value,uint param_5,uint param_6,\n               uint param_7)\n\n{\n  int" identifier : : identifier : : identifier < identifier : : identifier > (function_declarator "_>\n               (int __first,int __holeIndex,uint __len,uint __value,uint param_5,uint param_6,\n               uint param_7)" identifier (ERROR ">" >) (parameter_list "(int __first,int __holeIndex,uint __len,uint __value,uint param_5,uint param_6,\n               uint param_7)" ( (parameter_declaration "int __first" primitive_type identifier) , (parameter_declaration "int __holeIndex" primitive_type identifier) , (parameter_declaration "uint __len" type_identifier identifier) , (parameter_declaration "uint __value" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) ))) { primitive_type) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar3 = (int)(__len - 1) / 2;" (assignment_expression "iVar3 = (int)(__len - 1) / 2" identifier = (binary_expression "(int)(__len - 1) / 2" (cast_expression "(int)(__len - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__len - 1)" ( (binary_expression "__len - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "iVar7 = __holeIndex;" (assignment_expression "iVar7 = __holeIndex" identifier = identifier) ;) (if_statement "if (__holeIndex < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);\n      puVar6 = (uint *)(iVar1 * 0x10 + __first);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + __first);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((__len & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(__holeIndex * 0x10 + __first);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" if (parenthesized_expression "(__holeIndex < iVar3)" ( (binary_expression "__holeIndex < iVar3" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);\n      puVar6 = (uint *)(iVar1 * 0x10 + __first);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + __first);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((__len & 1) == 0) goto LAB_00156f48;\n  }" { (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);\n      puVar6 = (uint *)(iVar1 * 0x10 + __first);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + __first);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);" do (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);\n      puVar6 = (uint *)(iVar1 * 0x10 + __first);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + __first);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    }" { (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" identifier = (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first);" (assignment_expression "puVar4 = (uint *)((iVar7 + 1) * 0x20 + __first)" identifier = (cast_expression "(uint *)((iVar7 + 1) * 0x20 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar7 + 1) * 0x20 + __first)" ( (binary_expression "(iVar7 + 1) * 0x20 + __first" (binary_expression "(iVar7 + 1) * 0x20" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar6 = (uint *)(iVar1 * 0x10 + __first);" (assignment_expression "puVar6 = (uint *)(iVar1 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar1 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * 0x10 + __first)" ( (binary_expression "iVar1 * 0x10 + __first" (binary_expression "iVar1 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar2 = puVar4[1] - puVar6[1];" (assignment_expression "iVar2 = puVar4[1] - puVar6[1]" identifier = (binary_expression "puVar4[1] - puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) - (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" if (parenthesized_expression "((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0)" ( (binary_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (parenthesized_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6)))" ( (binary_expression "SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" (call_expression "SBORROW4(puVar4[1],puVar6[1])" identifier (argument_list "(puVar4[1],puVar6[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) , (subscript_expression "puVar6[1]" identifier [ number_literal ]) ))) != (call_expression "SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" identifier (argument_list "(iVar2,(uint)(*puVar4 < *puVar6))" ( identifier , (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar4 < *puVar6)" ( (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" * identifier) < (pointer_expression "*puVar6" * identifier)) ))) )))) )) != (binary_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (cast_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - (uint)(*puVar4 < *puVar6))" ( (binary_expression "iVar2 - (uint)(*puVar4 < *puVar6)" identifier - (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar4 < *puVar6)" ( (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" * identifier) < (pointer_expression "*puVar6" * identifier)) )))) ))) < number_literal)) )) (compound_statement "{\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" { (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) })) (expression_statement "puVar6 = (uint *)(iVar7 * 0x10 + __first);" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + __first)" ( (binary_expression "iVar7 * 0x10 + __first" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar6 = *puVar4;" (assignment_expression "*puVar6 = *puVar4" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar6[1] = puVar4[1];" (assignment_expression "puVar6[1] = puVar4[1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = puVar4[2];" (assignment_expression "puVar6[2] = puVar4[2]" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[3] = puVar4[3];" (assignment_expression "puVar6[3] = puVar4[3]" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) ;) (if_statement "if ((__len & 1) == 0) goto LAB_00156f48;" if (parenthesized_expression "((__len & 1) == 0)" ( (binary_expression "(__len & 1) == 0" (parenthesized_expression "(__len & 1)" ( (binary_expression "__len & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00156f48;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (uint *)(__holeIndex * 0x10 + __first);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" else (compound_statement "{\n    puVar4 = (uint *)(__holeIndex * 0x10 + __first);\n    iVar5 = __holeIndex;\n    if ((__len & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" { (expression_statement "puVar4 = (uint *)(__holeIndex * 0x10 + __first);" (assignment_expression "puVar4 = (uint *)(__holeIndex * 0x10 + __first)" identifier = (cast_expression "(uint *)(__holeIndex * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__holeIndex * 0x10 + __first)" ( (binary_expression "__holeIndex * 0x10 + __first" (binary_expression "__holeIndex * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar5 = __holeIndex;" (assignment_expression "iVar5 = __holeIndex" identifier = identifier) ;) (if_statement "if ((__len & 1) != 0) goto LAB_00156f09;" if (parenthesized_expression "((__len & 1) != 0)" ( (binary_expression "(__len & 1) != 0" (parenthesized_expression "(__len & 1)" ( (binary_expression "__len & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00156f09;" goto statement_identifier ;)) (labeled_statement "LAB_00156f48:\n    if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" statement_identifier : (if_statement "if ((int)(__len - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" if (parenthesized_expression "((int)(__len - 2) / 2 == iVar5)" ( (binary_expression "(int)(__len - 2) / 2 == iVar5" (binary_expression "(int)(__len - 2) / 2" (cast_expression "(int)(__len - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(__len - 2)" ( (binary_expression "__len - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" { (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" identifier = (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar6 = (uint *)(iVar5 * 0x10 + __first);" (assignment_expression "puVar6 = (uint *)(iVar5 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar5 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x10 + __first)" ( (binary_expression "iVar5 * 0x10 + __first" (binary_expression "iVar5 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) }))) }))) (expression_statement "iVar7 = (iVar5 + -1) / 2;" (assignment_expression "iVar7 = (iVar5 + -1) / 2" identifier = (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" ( (binary_expression "iVar5 + -1" identifier + number_literal) )) / number_literal)) ;) (if_statement "if ((__holeIndex < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + __first);\n      if (iVar7 <= __holeIndex) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + __first);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=\n             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0);\n  }" if (parenthesized_expression "((__holeIndex < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0))" ( (binary_expression "(__holeIndex < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0)" (parenthesized_expression "(__holeIndex < iVar5)" ( (binary_expression "__holeIndex < iVar5" identifier < identifier) )) && (parenthesized_expression "(puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0)" ( (comma_expression "puVar6 = (uint *)(iVar7 * 0x10 + __first), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + __first)" ( (binary_expression "iVar7 * 0x10 + __first" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) , (comma_expression "iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0" (assignment_expression "iVar3 = puVar6[1] - param_5" identifier = (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) - identifier)) , (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))) !=\n     (int)(iVar3 - (uint)(*puVar6 < __value)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value)))" ( (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < __value))" (call_expression "SBORROW4(puVar6[1],param_5)" identifier (argument_list "(puVar6[1],param_5)" ( (subscript_expression "puVar6[1]" identifier [ number_literal ]) , identifier ))) != (call_expression "SBORROW4(iVar3,(uint)(*puVar6 < __value))" identifier (argument_list "(iVar3,(uint)(*puVar6 < __value))" ( identifier , (call_expression "(uint)(*puVar6 < __value)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < __value)" ( (binary_expression "*puVar6 < __value" (pointer_expression "*puVar6" * identifier) < identifier) ))) )))) )) != (binary_expression "(int)(iVar3 - (uint)(*puVar6 < __value)) < 0" (cast_expression "(int)(iVar3 - (uint)(*puVar6 < __value))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - (uint)(*puVar6 < __value))" ( (binary_expression "iVar3 - (uint)(*puVar6 < __value)" identifier - (call_expression "(uint)(*puVar6 < __value)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < __value)" ( (binary_expression "*puVar6 < __value" (pointer_expression "*puVar6" * identifier) < identifier) )))) ))) < number_literal)))) ))) )) (compound_statement "{\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + __first);\n      if (iVar7 <= __holeIndex) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + __first);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=\n             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0);\n  }" { (do_statement "do {\n      puVar4 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + __first);\n      if (iVar7 <= __holeIndex) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + __first);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=\n             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0);" do (compound_statement "{\n      puVar4 = (uint *)(iVar5 * 0x10 + __first);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + __first);\n      if (iVar7 <= __holeIndex) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + __first);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    }" { (expression_statement "puVar4 = (uint *)(iVar5 * 0x10 + __first);" (assignment_expression "puVar4 = (uint *)(iVar5 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar5 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x10 + __first)" ( (binary_expression "iVar5 * 0x10 + __first" (binary_expression "iVar5 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (iVar7 + -1) / 2;" (assignment_expression "iVar3 = (iVar7 + -1) / 2" identifier = (binary_expression "(iVar7 + -1) / 2" (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar4 = (uint *)(iVar7 * 0x10 + __first);" (assignment_expression "puVar4 = (uint *)(iVar7 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + __first)" ( (binary_expression "iVar7 * 0x10 + __first" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) ;) (if_statement "if (iVar7 <= __holeIndex) break;" if (parenthesized_expression "(iVar7 <= __holeIndex)" ( (binary_expression "iVar7 <= __holeIndex" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar6 = (uint *)(iVar3 * 0x10 + __first);" (assignment_expression "puVar6 = (uint *)(iVar3 * 0x10 + __first)" identifier = (cast_expression "(uint *)(iVar3 * 0x10 + __first)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 * 0x10 + __first)" ( (binary_expression "iVar3 * 0x10 + __first" (binary_expression "iVar3 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar1 = puVar6[1] - param_5;" (assignment_expression "iVar1 = puVar6[1] - param_5" identifier = (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) - identifier)) ;) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=\n             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0)" ( (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))) !=\n             (int)(iVar1 - (uint)(*puVar6 < __value)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value)))" ( (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < __value))" (call_expression "SBORROW4(puVar6[1],param_5)" identifier (argument_list "(puVar6[1],param_5)" ( (subscript_expression "puVar6[1]" identifier [ number_literal ]) , identifier ))) != (call_expression "SBORROW4(iVar1,(uint)(*puVar6 < __value))" identifier (argument_list "(iVar1,(uint)(*puVar6 < __value))" ( identifier , (call_expression "(uint)(*puVar6 < __value)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < __value)" ( (binary_expression "*puVar6 < __value" (pointer_expression "*puVar6" * identifier) < identifier) ))) )))) )) != (binary_expression "(int)(iVar1 - (uint)(*puVar6 < __value)) < 0" (cast_expression "(int)(iVar1 - (uint)(*puVar6 < __value))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 - (uint)(*puVar6 < __value))" ( (binary_expression "iVar1 - (uint)(*puVar6 < __value)" identifier - (call_expression "(uint)(*puVar6 < __value)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < __value)" ( (binary_expression "*puVar6 < __value" (pointer_expression "*puVar6" * identifier) < identifier) )))) ))) < number_literal)) )) ;) })) (labeled_statement "LAB_00156f09:\n  *puVar4 = __value;" statement_identifier : (expression_statement "*puVar4 = __value;" (assignment_expression "*puVar4 = __value" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (expression_statement "puVar4[1] = param_5;" (assignment_expression "puVar4[1] = param_5" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = param_6;" (assignment_expression "puVar4[2] = param_6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = param_7;" (assignment_expression "puVar4[3] = param_7" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}\n\n" (function_definition "void FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}" primitive_type (function_declarator "FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)" identifier (parameter_list "(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) , (parameter_declaration "uint param_7" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "iVar3 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar3 = (int)(param_3 - 1) / 2" identifier = (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 1)" ( (binary_expression "param_3 - 1" identifier - number_literal) ))) / number_literal)) ;) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (if_statement "if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" if (parenthesized_expression "(param_2 < iVar3)" ( (binary_expression "param_2 < iVar3" identifier < identifier) )) (compound_statement "{\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }" { (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);" do (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    }" { (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" identifier = (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal)) ;) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);" (assignment_expression "puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1)" identifier = (cast_expression "(uint *)((iVar7 + 1) * 0x20 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar7 + 1) * 0x20 + param_1)" ( (binary_expression "(iVar7 + 1) * 0x20 + param_1" (binary_expression "(iVar7 + 1) * 0x20" (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) )) * number_literal) + identifier) )))) ;) (expression_statement "puVar6 = (uint *)(iVar1 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar1 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar1 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 * 0x10 + param_1)" ( (binary_expression "iVar1 * 0x10 + param_1" (binary_expression "iVar1 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar2 = puVar4[1] - puVar6[1];" (assignment_expression "iVar2 = puVar4[1] - puVar6[1]" identifier = (binary_expression "puVar4[1] - puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) - (subscript_expression "puVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" if (parenthesized_expression "((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0)" ( (binary_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (parenthesized_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6)))" ( (binary_expression "SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" (call_expression "SBORROW4(puVar4[1],puVar6[1])" identifier (argument_list "(puVar4[1],puVar6[1])" ( (subscript_expression "puVar4[1]" identifier [ number_literal ]) , (subscript_expression "puVar6[1]" identifier [ number_literal ]) ))) != (call_expression "SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" identifier (argument_list "(iVar2,(uint)(*puVar4 < *puVar6))" ( identifier , (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar4 < *puVar6)" ( (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" * identifier) < (pointer_expression "*puVar6" * identifier)) ))) )))) )) != (binary_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (cast_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar2 - (uint)(*puVar4 < *puVar6))" ( (binary_expression "iVar2 - (uint)(*puVar4 < *puVar6)" identifier - (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar4 < *puVar6)" ( (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" * identifier) < (pointer_expression "*puVar6" * identifier)) )))) ))) < number_literal)) )) (compound_statement "{\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" { (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) })) (expression_statement "puVar6 = (uint *)(iVar7 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + param_1)" ( (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar6 = *puVar4;" (assignment_expression "*puVar6 = *puVar4" (pointer_expression "*puVar6" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar6[1] = puVar4[1];" (assignment_expression "puVar6[1] = puVar4[1]" (subscript_expression "puVar6[1]" identifier [ number_literal ]) = (subscript_expression "puVar4[1]" identifier [ number_literal ])) ;) (expression_statement "puVar6[2] = puVar4[2];" (assignment_expression "puVar6[2] = puVar4[2]" (subscript_expression "puVar6[2]" identifier [ number_literal ]) = (subscript_expression "puVar4[2]" identifier [ number_literal ])) ;) (expression_statement "puVar6[3] = puVar4[3];" (assignment_expression "puVar6[3] = puVar4[3]" (subscript_expression "puVar6[3]" identifier [ number_literal ]) = (subscript_expression "puVar4[3]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) }) while (parenthesized_expression "(iVar5 < iVar3)" ( (binary_expression "iVar5 < iVar3" identifier < identifier) )) ;) (if_statement "if ((param_3 & 1) == 0) goto LAB_00156f48;" 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_00156f48;" goto statement_identifier ;)) }) (else_clause "else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" else (compound_statement "{\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" { (expression_statement "puVar4 = (uint *)(param_2 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(param_2 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(param_2 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 * 0x10 + param_1)" ( (binary_expression "param_2 * 0x10 + param_1" (binary_expression "param_2 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar5 = param_2;" (assignment_expression "iVar5 = param_2" identifier = identifier) ;) (if_statement "if ((param_3 & 1) != 0) goto LAB_00156f09;" 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_00156f09;" goto statement_identifier ;)) (labeled_statement "LAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" statement_identifier : (if_statement "if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" if (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar5)" ( (binary_expression "(int)(param_3 - 2) / 2 == iVar5" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_3 - 2)" ( (binary_expression "param_3 - 2" identifier - number_literal) ))) / number_literal) == identifier) )) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" { (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" identifier = (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "puVar6 = (uint *)(iVar5 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar5 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar5 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x10 + param_1)" ( (binary_expression "iVar5 * 0x10 + param_1" (binary_expression "iVar5 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) }))) }))) (expression_statement "iVar7 = (iVar5 + -1) / 2;" (assignment_expression "iVar7 = (iVar5 + -1) / 2" identifier = (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" ( (binary_expression "iVar5 + -1" identifier + number_literal) )) / number_literal)) ;) (if_statement "if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }" if (parenthesized_expression "((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0))" ( (binary_expression "(param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)" (parenthesized_expression "(param_2 < iVar5)" ( (binary_expression "param_2 < iVar5" identifier < identifier) )) && (parenthesized_expression "(puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)" ( (comma_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + param_1)" ( (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) , (comma_expression "iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (assignment_expression "iVar3 = puVar6[1] - param_5" identifier = (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) - identifier)) , (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4)))" ( (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))" (call_expression "SBORROW4(puVar6[1],param_5)" identifier (argument_list "(puVar6[1],param_5)" ( (subscript_expression "puVar6[1]" identifier [ number_literal ]) , identifier ))) != (call_expression "SBORROW4(iVar3,(uint)(*puVar6 < param_4))" identifier (argument_list "(iVar3,(uint)(*puVar6 < param_4))" ( identifier , (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) ))) )))) )) != (binary_expression "(int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (cast_expression "(int)(iVar3 - (uint)(*puVar6 < param_4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - (uint)(*puVar6 < param_4))" ( (binary_expression "iVar3 - (uint)(*puVar6 < param_4)" identifier - (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) )))) ))) < number_literal)))) ))) )) (compound_statement "{\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }" { (do_statement "do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);" do (compound_statement "{\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    }" { (expression_statement "puVar4 = (uint *)(iVar5 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(iVar5 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar5 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x10 + param_1)" ( (binary_expression "iVar5 * 0x10 + param_1" (binary_expression "iVar5 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" * identifier) = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = (subscript_expression "puVar6[2]" identifier [ number_literal ])) ;) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = (subscript_expression "puVar6[3]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = (iVar7 + -1) / 2;" (assignment_expression "iVar3 = (iVar7 + -1) / 2" identifier = (binary_expression "(iVar7 + -1) / 2" (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) )) / number_literal)) ;) (expression_statement "puVar4 = (uint *)(iVar7 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(iVar7 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 * 0x10 + param_1)" ( (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" identifier * number_literal) + identifier) )))) ;) (if_statement "if (iVar7 <= param_2) break;" if (parenthesized_expression "(iVar7 <= param_2)" ( (binary_expression "iVar7 <= param_2" identifier <= identifier) )) (break_statement "break;" break ;)) (expression_statement "puVar6 = (uint *)(iVar3 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar3 * 0x10 + param_1)" identifier = (cast_expression "(uint *)(iVar3 * 0x10 + param_1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 * 0x10 + param_1)" ( (binary_expression "iVar3 * 0x10 + param_1" (binary_expression "iVar3 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "iVar1 = puVar6[1] - param_5;" (assignment_expression "iVar1 = puVar6[1] - param_5" identifier = (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" identifier [ number_literal ]) - identifier)) ;) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0)" ( (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4)))" ( (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))" (call_expression "SBORROW4(puVar6[1],param_5)" identifier (argument_list "(puVar6[1],param_5)" ( (subscript_expression "puVar6[1]" identifier [ number_literal ]) , identifier ))) != (call_expression "SBORROW4(iVar1,(uint)(*puVar6 < param_4))" identifier (argument_list "(iVar1,(uint)(*puVar6 < param_4))" ( identifier , (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) ))) )))) )) != (binary_expression "(int)(iVar1 - (uint)(*puVar6 < param_4)) < 0" (cast_expression "(int)(iVar1 - (uint)(*puVar6 < param_4))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar1 - (uint)(*puVar6 < param_4))" ( (binary_expression "iVar1 - (uint)(*puVar6 < param_4)" identifier - (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*puVar6 < param_4)" ( (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" * identifier) < identifier) )))) ))) < number_literal)) )) ;) })) (labeled_statement "LAB_00156f09:\n  *puVar4 = param_4;" statement_identifier : (expression_statement "*puVar4 = param_4;" (assignment_expression "*puVar4 = param_4" (pointer_expression "*puVar4" * identifier) = identifier) ;)) (expression_statement "puVar4[1] = param_5;" (assignment_expression "puVar4[1] = param_5" (subscript_expression "puVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[2] = param_6;" (assignment_expression "puVar4[2] = param_6" (subscript_expression "puVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[3] = param_7;" (assignment_expression "puVar4[3] = param_7" (subscript_expression "puVar4[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_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 (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 (binary_expression IDENT * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) != (call_expression IDENT (argument_list ( IDENT , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT)) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT)) )))) ))) < LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + 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 ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) ))) / LIT) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }))) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < IDENT) )))) ))) < LIT)))) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < IDENT) ))) )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * IDENT) < IDENT) )))) ))) < LIT)) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00156de0(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)" (identifier "FUN_00156de0") (parameter_list "(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,\n                 uint param_7)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) (, ",") (parameter_declaration "uint param_7" (type_identifier "uint") (identifier "param_7")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  uint *puVar4;\n  int iVar5;\n  uint *puVar6;\n  int iVar7;\n  \n  iVar3 = (int)(param_3 - 1) / 2;\n  iVar7 = param_2;\n  if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }\n  iVar7 = (iVar5 + -1) / 2;\n  if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }\nLAB_00156f09:\n  *puVar4 = param_4;\n  puVar4[1] = param_5;\n  puVar4[2] = param_6;\n  puVar4[3] = param_7;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "iVar3 = (int)(param_3 - 1) / 2;" (assignment_expression "iVar3 = (int)(param_3 - 1) / 2" (identifier "iVar3") (= "=") (binary_expression "(int)(param_3 - 1) / 2" (cast_expression "(int)(param_3 - 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 1)" (( "(") (binary_expression "param_3 - 1" (identifier "param_3") (- "-") (number_literal "1")) () ")"))) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" (identifier "iVar7") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_2 < iVar3) {\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }\n  else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < iVar3)" (( "(") (binary_expression "param_2 < iVar3" (identifier "param_2") (< "<") (identifier "iVar3")) () ")")) (compound_statement "{\n    do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);\n    if ((param_3 & 1) == 0) goto LAB_00156f48;\n  }" ({ "{") (do_statement "do {\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    } while (iVar5 < iVar3);" (do "do") (compound_statement "{\n      iVar5 = (iVar7 + 1) * 2;\n      iVar1 = iVar5 + -1;\n      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);\n      puVar6 = (uint *)(iVar1 * 0x10 + param_1);\n      iVar2 = puVar4[1] - puVar6[1];\n      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }\n      puVar6 = (uint *)(iVar7 * 0x10 + param_1);\n      *puVar6 = *puVar4;\n      puVar6[1] = puVar4[1];\n      puVar6[2] = puVar4[2];\n      puVar6[3] = puVar4[3];\n      iVar7 = iVar5;\n    }" ({ "{") (expression_statement "iVar5 = (iVar7 + 1) * 2;" (assignment_expression "iVar5 = (iVar7 + 1) * 2" (identifier "iVar5") (= "=") (binary_expression "(iVar7 + 1) * 2" (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar1 = iVar5 + -1;" (assignment_expression "iVar1 = iVar5 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);" (assignment_expression "puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1)" (identifier "puVar4") (= "=") (cast_expression "(uint *)((iVar7 + 1) * 0x20 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar7 + 1) * 0x20 + param_1)" (( "(") (binary_expression "(iVar7 + 1) * 0x20 + param_1" (binary_expression "(iVar7 + 1) * 0x20" (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "0x20")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "puVar6 = (uint *)(iVar1 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar1 * 0x10 + param_1)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(iVar1 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 * 0x10 + param_1)" (( "(") (binary_expression "iVar1 * 0x10 + param_1" (binary_expression "iVar1 * 0x10" (identifier "iVar1") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "iVar2 = puVar4[1] - puVar6[1];" (assignment_expression "iVar2 = puVar4[1] - puVar6[1]" (identifier "iVar2") (= "=") (binary_expression "puVar4[1] - puVar6[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (- "-") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" (if "if") (parenthesized_expression "((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0)" (( "(") (binary_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=\n          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (parenthesized_expression "(SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6)))" (( "(") (binary_expression "SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" (call_expression "SBORROW4(puVar4[1],puVar6[1])" (identifier "SBORROW4") (argument_list "(puVar4[1],puVar6[1])" (( "(") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) () ")"))) (!= "!=") (call_expression "SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))" (identifier "SBORROW4") (argument_list "(iVar2,(uint)(*puVar4 < *puVar6))" (( "(") (identifier "iVar2") (, ",") (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar4 < *puVar6)" (( "(") (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (< "<") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0" (cast_expression "(int)(iVar2 - (uint)(*puVar4 < *puVar6))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar2 - (uint)(*puVar4 < *puVar6))" (( "(") (binary_expression "iVar2 - (uint)(*puVar4 < *puVar6)" (identifier "iVar2") (- "-") (call_expression "(uint)(*puVar4 < *puVar6)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar4 < *puVar6)" (( "(") (binary_expression "*puVar4 < *puVar6" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (< "<") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n        iVar5 = iVar1;\n        puVar4 = puVar6;\n      }" ({ "{") (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" (identifier "iVar5") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";")) (} "}"))) (expression_statement "puVar6 = (uint *)(iVar7 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 * 0x10 + param_1)" (( "(") (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" (identifier "iVar7") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "*puVar6 = *puVar4;" (assignment_expression "*puVar6 = *puVar4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar6[1] = puVar4[1];" (assignment_expression "puVar6[1] = puVar4[1]" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar6[2] = puVar4[2];" (assignment_expression "puVar6[2] = puVar4[2]" (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar6[3] = puVar4[3];" (assignment_expression "puVar6[3] = puVar4[3]" (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" (identifier "iVar7") (= "=") (identifier "iVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 < iVar3)" (( "(") (binary_expression "iVar5 < iVar3" (identifier "iVar5") (< "<") (identifier "iVar3")) () ")")) (; ";")) (if_statement "if ((param_3 & 1) == 0) goto LAB_00156f48;" (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_00156f48;" (goto "goto") (statement_identifier "LAB_00156f48") (; ";"))) (} "}")) (else_clause "else {\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" (else "else") (compound_statement "{\n    puVar4 = (uint *)(param_2 * 0x10 + param_1);\n    iVar5 = param_2;\n    if ((param_3 & 1) != 0) goto LAB_00156f09;\nLAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }\n  }" ({ "{") (expression_statement "puVar4 = (uint *)(param_2 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(param_2 * 0x10 + param_1)" (identifier "puVar4") (= "=") (cast_expression "(uint *)(param_2 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 * 0x10 + param_1)" (( "(") (binary_expression "param_2 * 0x10 + param_1" (binary_expression "param_2 * 0x10" (identifier "param_2") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "iVar5 = param_2;" (assignment_expression "iVar5 = param_2" (identifier "iVar5") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((param_3 & 1) != 0) goto LAB_00156f09;" (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_00156f09;" (goto "goto") (statement_identifier "LAB_00156f09") (; ";"))) (labeled_statement "LAB_00156f48:\n    if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" (statement_identifier "LAB_00156f48") (: ":") (if_statement "if ((int)(param_3 - 2) / 2 == iVar5) {\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" (if "if") (parenthesized_expression "((int)(param_3 - 2) / 2 == iVar5)" (( "(") (binary_expression "(int)(param_3 - 2) / 2 == iVar5" (binary_expression "(int)(param_3 - 2) / 2" (cast_expression "(int)(param_3 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_3 - 2)" (( "(") (binary_expression "param_3 - 2" (identifier "param_3") (- "-") (number_literal "2")) () ")"))) (/ "/") (number_literal "2")) (== "==") (identifier "iVar5")) () ")")) (compound_statement "{\n      iVar5 = iVar5 * 2 + 1;\n      puVar6 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      puVar4 = puVar6;\n    }" ({ "{") (expression_statement "iVar5 = iVar5 * 2 + 1;" (assignment_expression "iVar5 = iVar5 * 2 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = (uint *)(iVar5 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar5 * 0x10 + param_1)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(iVar5 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 * 0x10 + param_1)" (( "(") (binary_expression "iVar5 * 0x10 + param_1" (binary_expression "iVar5 * 0x10" (identifier "iVar5") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";")) (} "}")))) (} "}")))) (expression_statement "iVar7 = (iVar5 + -1) / 2;" (assignment_expression "iVar7 = (iVar5 + -1) / 2" (identifier "iVar7") (= "=") (binary_expression "(iVar5 + -1) / 2" (parenthesized_expression "(iVar5 + -1)" (( "(") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1")) () ")")) (/ "/") (number_literal "2"))) (; ";")) (if_statement "if ((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }" (if "if") (parenthesized_expression "((param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0))" (( "(") (binary_expression "(param_2 < iVar5) &&\n     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)" (parenthesized_expression "(param_2 < iVar5)" (( "(") (binary_expression "param_2 < iVar5" (identifier "param_2") (< "<") (identifier "iVar5")) () ")")) (&& "&&") (parenthesized_expression "(puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)" (( "(") (comma_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (assignment_expression "puVar6 = (uint *)(iVar7 * 0x10 + param_1)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 * 0x10 + param_1)" (( "(") (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" (identifier "iVar7") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (, ",") (comma_expression "iVar3 = puVar6[1] - param_5,\n     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (assignment_expression "iVar3 = puVar6[1] - param_5" (identifier "iVar3") (= "=") (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (- "-") (identifier "param_5"))) (, ",") (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=\n     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4)))" (( "(") (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))" (call_expression "SBORROW4(puVar6[1],param_5)" (identifier "SBORROW4") (argument_list "(puVar6[1],param_5)" (( "(") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_5") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar3,(uint)(*puVar6 < param_4))" (identifier "SBORROW4") (argument_list "(iVar3,(uint)(*puVar6 < param_4))" (( "(") (identifier "iVar3") (, ",") (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar6 < param_4)" (( "(") (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (< "<") (identifier "param_4")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar3 - (uint)(*puVar6 < param_4)) < 0" (cast_expression "(int)(iVar3 - (uint)(*puVar6 < param_4))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar3 - (uint)(*puVar6 < param_4))" (( "(") (binary_expression "iVar3 - (uint)(*puVar6 < param_4)" (identifier "iVar3") (- "-") (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar6 < param_4)" (( "(") (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (< "<") (identifier "param_4")) () ")")))) () ")"))) (< "<") (number_literal "0"))))) () ")"))) () ")")) (compound_statement "{\n    do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);\n  }" ({ "{") (do_statement "do {\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);" (do "do") (compound_statement "{\n      puVar4 = (uint *)(iVar5 * 0x10 + param_1);\n      *puVar4 = *puVar6;\n      puVar4[1] = puVar6[1];\n      puVar4[2] = puVar6[2];\n      puVar4[3] = puVar6[3];\n      iVar3 = (iVar7 + -1) / 2;\n      puVar4 = (uint *)(iVar7 * 0x10 + param_1);\n      if (iVar7 <= param_2) break;\n      puVar6 = (uint *)(iVar3 * 0x10 + param_1);\n      iVar1 = puVar6[1] - param_5;\n      iVar5 = iVar7;\n      iVar7 = iVar3;\n    }" ({ "{") (expression_statement "puVar4 = (uint *)(iVar5 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(iVar5 * 0x10 + param_1)" (identifier "puVar4") (= "=") (cast_expression "(uint *)(iVar5 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 * 0x10 + param_1)" (( "(") (binary_expression "iVar5 * 0x10 + param_1" (binary_expression "iVar5 * 0x10" (identifier "iVar5") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "*puVar4 = *puVar6;" (assignment_expression "*puVar4 = *puVar6" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "puVar4[1] = puVar6[1];" (assignment_expression "puVar4[1] = puVar6[1]" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar4[2] = puVar6[2];" (assignment_expression "puVar4[2] = puVar6[2]" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar4[3] = puVar6[3];" (assignment_expression "puVar4[3] = puVar6[3]" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar3 = (iVar7 + -1) / 2;" (assignment_expression "iVar3 = (iVar7 + -1) / 2" (identifier "iVar3") (= "=") (binary_expression "(iVar7 + -1) / 2" (parenthesized_expression "(iVar7 + -1)" (( "(") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1")) () ")")) (/ "/") (number_literal "2"))) (; ";")) (expression_statement "puVar4 = (uint *)(iVar7 * 0x10 + param_1);" (assignment_expression "puVar4 = (uint *)(iVar7 * 0x10 + param_1)" (identifier "puVar4") (= "=") (cast_expression "(uint *)(iVar7 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 * 0x10 + param_1)" (( "(") (binary_expression "iVar7 * 0x10 + param_1" (binary_expression "iVar7 * 0x10" (identifier "iVar7") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (iVar7 <= param_2) break;" (if "if") (parenthesized_expression "(iVar7 <= param_2)" (( "(") (binary_expression "iVar7 <= param_2" (identifier "iVar7") (<= "<=") (identifier "param_2")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar6 = (uint *)(iVar3 * 0x10 + param_1);" (assignment_expression "puVar6 = (uint *)(iVar3 * 0x10 + param_1)" (identifier "puVar6") (= "=") (cast_expression "(uint *)(iVar3 * 0x10 + param_1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 * 0x10 + param_1)" (( "(") (binary_expression "iVar3 * 0x10 + param_1" (binary_expression "iVar3 * 0x10" (identifier "iVar3") (* "*") (number_literal "0x10")) (+ "+") (identifier "param_1")) () ")")))) (; ";")) (expression_statement "iVar1 = puVar6[1] - param_5;" (assignment_expression "iVar1 = puVar6[1] - param_5" (identifier "iVar1") (= "=") (binary_expression "puVar6[1] - param_5" (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (- "-") (identifier "param_5"))) (; ";")) (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" (identifier "iVar5") (= "=") (identifier "iVar7")) (; ";")) (expression_statement "iVar7 = iVar3;" (assignment_expression "iVar7 = iVar3" (identifier "iVar7") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0)" (( "(") (binary_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=\n             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0" (parenthesized_expression "(SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4)))" (( "(") (binary_expression "SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))" (call_expression "SBORROW4(puVar6[1],param_5)" (identifier "SBORROW4") (argument_list "(puVar6[1],param_5)" (( "(") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_5") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar1,(uint)(*puVar6 < param_4))" (identifier "SBORROW4") (argument_list "(iVar1,(uint)(*puVar6 < param_4))" (( "(") (identifier "iVar1") (, ",") (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar6 < param_4)" (( "(") (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (< "<") (identifier "param_4")) () ")"))) () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar1 - (uint)(*puVar6 < param_4)) < 0" (cast_expression "(int)(iVar1 - (uint)(*puVar6 < param_4))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar1 - (uint)(*puVar6 < param_4))" (( "(") (binary_expression "iVar1 - (uint)(*puVar6 < param_4)" (identifier "iVar1") (- "-") (call_expression "(uint)(*puVar6 < param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*puVar6 < param_4)" (( "(") (binary_expression "*puVar6 < param_4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (< "<") (identifier "param_4")) () ")")))) () ")"))) (< "<") (number_literal "0"))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00156f09:\n  *puVar4 = param_4;" (statement_identifier "LAB_00156f09") (: ":") (expression_statement "*puVar4 = param_4;" (assignment_expression "*puVar4 = param_4" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (identifier "param_4")) (; ";"))) (expression_statement "puVar4[1] = param_5;" (assignment_expression "puVar4[1] = param_5" (subscript_expression "puVar4[1]" (identifier "puVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "puVar4[2] = param_6;" (assignment_expression "puVar4[2] = param_6" (subscript_expression "puVar4[2]" (identifier "puVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "puVar4[3] = param_7;" (assignment_expression "puVar4[3] = param_7" (subscript_expression "puVar4[3]" (identifier "puVar4") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "param_7")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void std::
     __adjust_heap<__gnu_cxx::__normal_iterator<gold::File_read::Read_multiple_entry*,_std::vector<gold::File_read::Read_multiple_entry>_>,_int,_gold::File_read::Read_multiple_entry,___gnu_cxx::__ops::_Iter_comp_iter<gold::Read_multiple_compare>_>
               (int var_6,int var_2,type_1 var_1,type_1 var_11,type_1 var_10,type_1 param_6,
               type_1 param_7)

{
  int var_7;
  int var_9;
  int var_3;
  type_1 *puVar4;
  int var_5;
  type_1 *puVar6;
  int var_4;
  
  var_3 = (int)(var_1 - 1) / 2;
  var_4 = var_2;
  if (var_2 < var_3) {
    do {
      var_5 = (var_4 + 1) * 2;
      var_7 = var_5 + -1;
      puVar4 = (type_1 *)((var_4 + 1) * 0x20 + var_6);
      puVar6 = (type_1 *)(var_7 * 0x10 + var_6);
      var_9 = puVar4[1] - puVar6[1];
      if ((var_8(puVar4[1],puVar6[1]) != var_8(var_9,(type_1)(*puVar4 < *puVar6))) !=
          (int)(var_9 - (type_1)(*puVar4 < *puVar6)) < 0) {
        var_5 = var_7;
        puVar4 = puVar6;
      }
      puVar6 = (type_1 *)(var_4 * 0x10 + var_6);
      *puVar6 = *puVar4;
      puVar6[1] = puVar4[1];
      puVar6[2] = puVar4[2];
      puVar6[3] = puVar4[3];
      var_4 = var_5;
    } while (var_5 < var_3);
    if ((var_1 & 1) == 0) goto LAB_00156f48;
  }
  else {
    puVar4 = (type_1 *)(var_2 * 0x10 + var_6);
    var_5 = var_2;
    if ((var_1 & 1) != 0) goto LAB_00156f09;
LAB_00156f48:
    if ((int)(var_1 - 2) / 2 == var_5) {
      var_5 = var_5 * 2 + 1;
      puVar6 = (type_1 *)(var_5 * 0x10 + var_6);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      puVar4 = puVar6;
    }
  }
  var_4 = (var_5 + -1) / 2;
  if ((var_2 < var_5) &&
     (puVar6 = (type_1 *)(var_4 * 0x10 + var_6), var_3 = puVar6[1] - var_10,
     (var_8(puVar6[1],var_10) != var_8(var_3,(type_1)(*puVar6 < var_11))) !=
     (int)(var_3 - (type_1)(*puVar6 < var_11)) < 0)) {
    do {
      puVar4 = (type_1 *)(var_5 * 0x10 + var_6);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      var_3 = (var_4 + -1) / 2;
      puVar4 = (type_1 *)(var_4 * 0x10 + var_6);
      if (var_4 <= var_2) break;
      puVar6 = (type_1 *)(var_3 * 0x10 + var_6);
      var_7 = puVar6[1] - var_10;
      var_5 = var_4;
      var_4 = var_3;
    } while ((var_8(puVar6[1],var_10) != var_8(var_7,(type_1)(*puVar6 < var_11))) !=
             (int)(var_7 - (type_1)(*puVar6 < var_11)) < 0);
  }
LAB_00156f09:
  *puVar4 = var_11;
  puVar4[1] = var_10;
  puVar4[2] = param_6;
  puVar4[3] = param_7;
  return;
}


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

void MASKED(int param_1,int param_2,uint param_3,uint param_4,uint param_5,uint param_6,
                 uint param_7)

{
  int iVar1;
  int iVar2;
  int iVar3;
  uint *puVar4;
  int iVar5;
  uint *puVar6;
  int iVar7;
  
  iVar3 = (int)(param_3 - 1) / 2;
  iVar7 = param_2;
  if (param_2 < iVar3) {
    do {
      iVar5 = (iVar7 + 1) * 2;
      iVar1 = iVar5 + -1;
      puVar4 = (uint *)((iVar7 + 1) * 0x20 + param_1);
      puVar6 = (uint *)(iVar1 * 0x10 + param_1);
      iVar2 = puVar4[1] - puVar6[1];
      if ((SBORROW4(puVar4[1],puVar6[1]) != SBORROW4(iVar2,(uint)(*puVar4 < *puVar6))) !=
          (int)(iVar2 - (uint)(*puVar4 < *puVar6)) < 0) {
        iVar5 = iVar1;
        puVar4 = puVar6;
      }
      puVar6 = (uint *)(iVar7 * 0x10 + param_1);
      *puVar6 = *puVar4;
      puVar6[1] = puVar4[1];
      puVar6[2] = puVar4[2];
      puVar6[3] = puVar4[3];
      iVar7 = iVar5;
    } while (iVar5 < iVar3);
    if ((param_3 & 1) == 0) goto LAB_00156f48;
  }
  else {
    puVar4 = (uint *)(param_2 * 0x10 + param_1);
    iVar5 = param_2;
    if ((param_3 & 1) != 0) goto LAB_00156f09;
LAB_00156f48:
    if ((int)(param_3 - 2) / 2 == iVar5) {
      iVar5 = iVar5 * 2 + 1;
      puVar6 = (uint *)(iVar5 * 0x10 + param_1);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      puVar4 = puVar6;
    }
  }
  iVar7 = (iVar5 + -1) / 2;
  if ((param_2 < iVar5) &&
     (puVar6 = (uint *)(iVar7 * 0x10 + param_1), iVar3 = puVar6[1] - param_5,
     (SBORROW4(puVar6[1],param_5) != SBORROW4(iVar3,(uint)(*puVar6 < param_4))) !=
     (int)(iVar3 - (uint)(*puVar6 < param_4)) < 0)) {
    do {
      puVar4 = (uint *)(iVar5 * 0x10 + param_1);
      *puVar4 = *puVar6;
      puVar4[1] = puVar6[1];
      puVar4[2] = puVar6[2];
      puVar4[3] = puVar6[3];
      iVar3 = (iVar7 + -1) / 2;
      puVar4 = (uint *)(iVar7 * 0x10 + param_1);
      if (iVar7 <= param_2) break;
      puVar6 = (uint *)(iVar3 * 0x10 + param_1);
      iVar1 = puVar6[1] - param_5;
      iVar5 = iVar7;
      iVar7 = iVar3;
    } while ((SBORROW4(puVar6[1],param_5) != SBORROW4(iVar1,(uint)(*puVar6 < param_4))) !=
             (int)(iVar1 - (uint)(*puVar6 < param_4)) < 0);
  }
LAB_00156f09:
  *puVar4 = param_4;
  puVar4[1] = param_5;
  puVar4[2] = param_6;
  puVar4[3] = param_7;
  return;
}

