
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned int,
   unsigned int>*, std::vector<std::pair<unsigned int, unsigned int> > >, int,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32> > > */

void std::
     __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>
               (uint *__first,uint *__last,int __depth_limit,undefined1 param_4)

{
  uint uVar1;
  uint *puVar2;
  uint uVar3;
  uint *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  uint *local_24;
  
  iVar6 = (int)__last - (int)__first;
  if (0x80 < iVar6) {
    if (__depth_limit != 0) {
LAB_001b8c84:
      uVar3 = __first[2];
      __depth_limit = __depth_limit + -1;
      uVar7 = __last[-2];
      uVar8 = *__first;
      puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)
                         >> 1) * 2;
      uVar1 = *puVar2;
      if (uVar3 < uVar1) {
        if (uVar1 < uVar7) {
LAB_001b8e08:
          *__first = uVar1;
          *puVar2 = uVar8;
          uVar7 = __first[1];
          __first[1] = puVar2[1];
          puVar2[1] = uVar7;
          uVar8 = __first[2];
          uVar3 = *__first;
          goto LAB_001b8cc7;
        }
        if (uVar3 < uVar7) {
LAB_001b8d2c:
          *__first = uVar7;
          __last[-2] = uVar8;
          uVar7 = __first[1];
          __first[1] = __last[-1];
          __last[-1] = uVar7;
          uVar8 = __first[2];
          uVar3 = *__first;
          goto LAB_001b8cc7;
        }
      }
      else if (uVar7 <= uVar3) {
        if (uVar1 < uVar7) goto LAB_001b8d2c;
        goto LAB_001b8e08;
      }
      uVar7 = __first[1];
      *__first = uVar3;
      __first[2] = uVar8;
      __first[1] = __first[3];
      __first[3] = uVar7;
LAB_001b8cc7:
      uVar7 = __last[-2];
      puVar2 = __last;
      puVar4 = __first + 4;
      do {
        local_24 = puVar4 + -2;
        if (uVar3 <= uVar8) {
          puVar2 = puVar2 + -2;
          while (uVar3 < uVar7) {
            puVar2 = puVar2 + -2;
            uVar7 = *puVar2;
          }
          if (puVar2 <= local_24) goto LAB_001b8d48;
          puVar4[-2] = uVar7;
          *puVar2 = uVar8;
          uVar1 = puVar4[-1];
          puVar4[-1] = puVar2[1];
          uVar7 = puVar2[-2];
          puVar2[1] = uVar1;
          uVar3 = *__first;
        }
        uVar8 = *puVar4;
        puVar4 = puVar4 + 2;
      } while( true );
    }
    local_24 = __last;
LAB_001b8d82:
    for (iVar5 = (iVar6 >> 3) + -2 >> 1;
        __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>
                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),
        iVar5 != 0; iVar5 = iVar5 + -1) {
    }
    do {
      puVar2 = local_24 + -2;
      uVar7 = *puVar2;
      uVar1 = local_24[-1];
      *puVar2 = *__first;
      local_24[-1] = __first[1];
      __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>
                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);
      local_24 = puVar2;
    } while (8 < (int)puVar2 - (int)__first);
  }
  return;
LAB_001b8d48:
  iVar6 = (int)local_24 - (int)__first;
  __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>
            (local_24,__last,__depth_limit,param_4);
  if (iVar6 < 0x81) {
    return;
  }
  __last = local_24;
  if (__depth_limit == 0) goto LAB_001b8d82;
  goto LAB_001b8c84;
}



void FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)

{
  uint uVar1;
  uint *puVar2;
  uint uVar3;
  uint *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  uint *local_24;
  
  iVar6 = (int)param_2 - (int)param_1;
  if (0x80 < iVar6) {
    if (param_3 != 0) {
LAB_001b8c84:
      uVar3 = param_1[2];
      param_3 = param_3 + -1;
      uVar7 = param_2[-2];
      uVar8 = *param_1;
      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)
                         >> 1) * 2;
      uVar1 = *puVar2;
      if (uVar3 < uVar1) {
        if (uVar1 < uVar7) {
LAB_001b8e08:
          *param_1 = uVar1;
          *puVar2 = uVar8;
          uVar7 = param_1[1];
          param_1[1] = puVar2[1];
          puVar2[1] = uVar7;
          uVar8 = param_1[2];
          uVar3 = *param_1;
          goto LAB_001b8cc7;
        }
        if (uVar3 < uVar7) {
LAB_001b8d2c:
          *param_1 = uVar7;
          param_2[-2] = uVar8;
          uVar7 = param_1[1];
          param_1[1] = param_2[-1];
          param_2[-1] = uVar7;
          uVar8 = param_1[2];
          uVar3 = *param_1;
          goto LAB_001b8cc7;
        }
      }
      else if (uVar7 <= uVar3) {
        if (uVar1 < uVar7) goto LAB_001b8d2c;
        goto LAB_001b8e08;
      }
      uVar7 = param_1[1];
      *param_1 = uVar3;
      param_1[2] = uVar8;
      param_1[1] = param_1[3];
      param_1[3] = uVar7;
LAB_001b8cc7:
      uVar7 = param_2[-2];
      puVar2 = param_2;
      puVar4 = param_1 + 4;
      do {
        local_24 = puVar4 + -2;
        if (uVar3 <= uVar8) {
          puVar2 = puVar2 + -2;
          while (uVar3 < uVar7) {
            puVar2 = puVar2 + -2;
            uVar7 = *puVar2;
          }
          if (puVar2 <= local_24) goto LAB_001b8d48;
          puVar4[-2] = uVar7;
          *puVar2 = uVar8;
          uVar1 = puVar4[-1];
          puVar4[-1] = puVar2[1];
          uVar7 = puVar2[-2];
          puVar2[1] = uVar1;
          uVar3 = *param_1;
        }
        uVar8 = *puVar4;
        puVar4 = puVar4 + 2;
      } while( true );
    }
    local_24 = param_2;
LAB_001b8d82:
    for (iVar5 = (iVar6 >> 3) + -2 >> 1;
        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),
        iVar5 != 0; iVar5 = iVar5 + -1) {
    }
    do {
      puVar2 = local_24 + -2;
      uVar7 = *puVar2;
      uVar1 = local_24[-1];
      *puVar2 = *param_1;
      local_24[-1] = param_1[1];
      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);
      local_24 = puVar2;
    } while (8 < (int)puVar2 - (int)param_1);
  }
  return;
LAB_001b8d48:
  iVar6 = (int)local_24 - (int)param_1;
  FUN_001b8c50(local_24,param_2,param_3,param_4);
  if (iVar6 < 0x81) {
    return;
  }
  param_2 = local_24;
  if (param_3 == 0) goto LAB_001b8d82;
  goto LAB_001b8c84;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x30]
MOV ESI,EDI
SUB ESI,EBX
CMP ESI,0x80
JLE 0x001b8dfb
MOV EDX,dword ptr [ESP + 0x38]
TEST EDX,EDX
JZ 0x001b8e28
LEA EAX,[EBX + 0x10]
MOV EBP,EDI
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,EBP
MOV ECX,dword ptr [EBX + 0x8]
SUB dword ptr [ESP + 0x38],0x1
SUB EAX,EBX
MOV ESI,dword ptr [EBP + -0x8]
MOV EDI,dword ptr [EBX]
SAR EAX,0x3
MOV EDX,EAX
SHR EAX,0x1f
ADD EAX,EDX
SAR EAX,0x1
LEA EAX,[EBX + EAX*0x8]
MOV EDX,dword ptr [EAX]
CMP ECX,EDX
JNC 0x001b8d20
CMP EDX,ESI
JC 0x001b8e08
CMP ECX,ESI
JC 0x001b8d2c
MOV EAX,dword ptr [EBX + 0x4]
MOV EDX,dword ptr [EBX + 0xc]
MOV dword ptr [EBX],ECX
MOV dword ptr [EBX + 0x8],EDI
MOV dword ptr [EBX + 0x4],EDX
MOV dword ptr [EBX + 0xc],EAX
MOV ESI,dword ptr [EBP + -0x8]
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x4],EBP
MOV EAX,EBP
LEA ESI,[ESI]
LEA EBP,[EDX + -0x8]
MOV dword ptr [ESP + 0x8],EBP
CMP EDI,ECX
JC 0x001b8d19
SUB EAX,0x8
CMP ECX,ESI
JNC 0x001b8cfd
MOV EBP,dword ptr [ESP + 0x4]
NOP
SUB EAX,0x8
MOV ESI,dword ptr [EAX]
CMP ECX,ESI
JC 0x001b8cf0
MOV dword ptr [ESP + 0x4],EBP
CMP EAX,dword ptr [ESP + 0x8]
JBE 0x001b8d48
MOV dword ptr [EDX + -0x8],ESI
MOV ESI,dword ptr [EAX + 0x4]
MOV dword ptr [EAX],EDI
MOV ECX,dword ptr [EDX + -0x4]
MOV dword ptr [EDX + -0x4],ESI
MOV ESI,dword ptr [EAX + -0x8]
MOV dword ptr [EAX + 0x4],ECX
MOV ECX,dword ptr [EBX]
MOV EDI,dword ptr [EDX]
ADD EDX,0x8
JMP 0x001b8cd8
CMP ECX,ESI
JC 0x001b8cb6
CMP EDX,ESI
JNC 0x001b8e08
MOV dword ptr [EBX],ESI
MOV EDX,dword ptr [EBP + -0x4]
MOV dword ptr [EBP + -0x8],EDI
MOV EAX,dword ptr [EBX + 0x4]
MOV dword ptr [EBX + 0x4],EDX
MOV dword ptr [EBP + -0x4],EAX
MOV EDI,dword ptr [EBX + 0x8]
MOV ECX,dword ptr [EBX]
JMP 0x001b8cc7
MOV EBP,dword ptr [ESP + 0x4]
MOVZX EAX,byte ptr [ESP + 0x3c]
PUSH EAX
PUSH dword ptr [ESP + 0x3c]
PUSH EBP
MOV ESI,dword ptr [ESP + 0x14]
PUSH ESI
SUB ESI,EBX
CALL 0x001b8c50
ADD ESP,0x10
CMP ESI,0x80
JLE 0x001b8dfb
MOV EAX,dword ptr [ESP + 0x38]
MOV EBP,dword ptr [ESP + 0x8]
TEST EAX,EAX
JNZ 0x001b8c84
SAR ESI,0x3
MOVZX EDI,byte ptr [ESP + 0x3c]
LEA EBP,[ESI + -0x2]
SAR EBP,0x1
JMP 0x001b8d9b
SUB EBP,0x1
MOV EAX,dword ptr [EBX + EBP*0x8]
MOV EDX,dword ptr [EBX + EBP*0x8 + 0x4]
SUB ESP,0x8
PUSH EDI
PUSH EDX
PUSH EAX
PUSH ESI
PUSH EBP
PUSH EBX
CALL 0x001b8b00
ADD ESP,0x20
TEST EBP,EBP
JNZ 0x001b8d98
MOV EDI,dword ptr [ESP + 0x8]
MOVZX ESI,byte ptr [ESP + 0x3c]
SUB EDI,0x8
LEA ESI,[ESI]
NOP
MOV ECX,dword ptr [EBX]
MOV EAX,dword ptr [EDI]
MOV EBP,EDI
SUB ESP,0x8
MOV EDX,dword ptr [EDI + 0x4]
SUB EBP,EBX
SUB EDI,0x8
MOV dword ptr [EDI + 0x8],ECX
MOV ECX,dword ptr [EBX + 0x4]
MOV dword ptr [EDI + 0xc],ECX
PUSH ESI
PUSH EDX
PUSH EAX
MOV EAX,EBP
SAR EAX,0x3
PUSH EAX
PUSH 0x0
PUSH EBX
CALL 0x001b8b00
ADD ESP,0x20
CMP EBP,0x8
JG 0x001b8dc8
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EBX],EDX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [EAX],EDI
MOV EDX,dword ptr [EBX + 0x4]
MOV dword ptr [EBX + 0x4],ECX
MOV dword ptr [EAX + 0x4],EDX
MOV EDI,dword ptr [EBX + 0x8]
MOV ECX,dword ptr [EBX]
JMP 0x001b8cc7
MOV EAX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x8],EAX
JMP 0x001b8d82
(translation_unit "void FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}\n\n" (function_definition "void FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}" primitive_type (function_declarator "FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)" identifier (parameter_list "(uint *param_1,uint *param_2,int param_3,undefined1 param_4)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "iVar6 = (int)param_2 - (int)param_1;" (assignment_expression "iVar6 = (int)param_2 - (int)param_1" identifier = (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }" if (parenthesized_expression "(0x80 < iVar6)" ( (binary_expression "0x80 < iVar6" number_literal < identifier) )) (compound_statement "{\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }" { (if_statement "if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" { (labeled_statement "LAB_001b8c84:\n      uVar3 = param_1[2];" statement_identifier : (expression_statement "uVar3 = param_1[2];" (assignment_expression "uVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;)) (expression_statement "param_3 = param_3 + -1;" (assignment_expression "param_3 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = param_2[-2];" (assignment_expression "uVar7 = param_2[-2]" identifier = (subscript_expression "param_2[-2]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;" (assignment_expression "puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" identifier = (binary_expression "param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" identifier + (binary_expression "(((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" (parenthesized_expression "(((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1)" ( (binary_expression "((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1" (binary_expression "((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)" (parenthesized_expression "((int)param_2 - (int)param_1 >> 3)" ( (binary_expression "(int)param_2 - (int)param_1 >> 3" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) - (parenthesized_expression "((int)param_2 - (int)param_1 >> 0x1f)" ( (binary_expression "(int)param_2 - (int)param_1 >> 0x1f" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) ))) >> number_literal) )) * number_literal))) ;) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" if (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) (compound_statement "{\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }" { (if_statement "if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" if (parenthesized_expression "(uVar1 < uVar7)" ( (binary_expression "uVar1 < uVar7" identifier < identifier) )) (compound_statement "{\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" { (labeled_statement "LAB_001b8e08:\n          *param_1 = uVar1;" statement_identifier : (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = puVar2[1];" (assignment_expression "param_1[1] = puVar2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar2[1] = uVar7;" (assignment_expression "puVar2[1] = uVar7" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = param_1[2];" (assignment_expression "uVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_001b8cc7;" goto statement_identifier ;) })) (if_statement "if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" if (parenthesized_expression "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) )) (compound_statement "{\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" { (labeled_statement "LAB_001b8d2c:\n          *param_1 = uVar7;" statement_identifier : (expression_statement "*param_1 = uVar7;" (assignment_expression "*param_1 = uVar7" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_2[-2] = uVar8;" (assignment_expression "param_2[-2] = uVar8" (subscript_expression "param_2[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_2[-1];" (assignment_expression "param_1[1] = param_2[-1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_2[-1]" identifier [ number_literal ])) ;) (expression_statement "param_2[-1] = uVar7;" (assignment_expression "param_2[-1] = uVar7" (subscript_expression "param_2[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = param_1[2];" (assignment_expression "uVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_001b8cc7;" goto statement_identifier ;) })) }) (else_clause "else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" else (if_statement "if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" if (parenthesized_expression "(uVar7 <= uVar3)" ( (binary_expression "uVar7 <= uVar3" identifier <= identifier) )) (compound_statement "{\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" { (if_statement "if (uVar1 < uVar7) goto LAB_001b8d2c;" if (parenthesized_expression "(uVar1 < uVar7)" ( (binary_expression "uVar1 < uVar7" identifier < identifier) )) (goto_statement "goto LAB_001b8d2c;" goto statement_identifier ;)) (goto_statement "goto LAB_001b8e08;" goto statement_identifier ;) })))) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = uVar3;" (assignment_expression "*param_1 = uVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[2] = uVar8;" (assignment_expression "param_1[2] = uVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = param_1[3];" (assignment_expression "param_1[1] = param_1[3]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = uVar7;" (assignment_expression "param_1[3] = uVar7" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_001b8cc7:\n      uVar7 = param_2[-2];" statement_identifier : (expression_statement "uVar7 = param_2[-2];" (assignment_expression "uVar7 = param_2[-2]" identifier = (subscript_expression "param_2[-2]" identifier [ number_literal ])) ;)) (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" identifier = identifier) ;) (expression_statement "puVar4 = param_1 + 4;" (assignment_expression "puVar4 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (do_statement "do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );" do (compound_statement "{\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      }" { (expression_statement "local_24 = puVar4 + -2;" (assignment_expression "local_24 = puVar4 + -2" identifier = (binary_expression "puVar4 + -2" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }" if (parenthesized_expression "(uVar3 <= uVar8)" ( (binary_expression "uVar3 <= uVar8" identifier <= identifier) )) (compound_statement "{\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }" { (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" identifier = (binary_expression "puVar2 + -2" identifier + number_literal)) ;) (while_statement "while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" while (parenthesized_expression "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) )) (compound_statement "{\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" { (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" identifier = (binary_expression "puVar2 + -2" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) (if_statement "if (puVar2 <= local_24) goto LAB_001b8d48;" if (parenthesized_expression "(puVar2 <= local_24)" ( (binary_expression "puVar2 <= local_24" identifier <= identifier) )) (goto_statement "goto LAB_001b8d48;" goto statement_identifier ;)) (expression_statement "puVar4[-2] = uVar7;" (assignment_expression "puVar4[-2] = uVar7" (subscript_expression "puVar4[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "uVar1 = puVar4[-1];" (assignment_expression "uVar1 = puVar4[-1]" identifier = (subscript_expression "puVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[-1] = puVar2[1];" (assignment_expression "puVar4[-1] = puVar2[1]" (subscript_expression "puVar4[-1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar2[-2];" (assignment_expression "uVar7 = puVar2[-2]" identifier = (subscript_expression "puVar2[-2]" identifier [ number_literal ])) ;) (expression_statement "puVar2[1] = uVar1;" (assignment_expression "puVar2[1] = uVar1" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" identifier = identifier) ;) (labeled_statement "LAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" statement_identifier : (for_statement "for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" for ( (assignment_expression "iVar5 = (iVar6 >> 3) + -2 >> 1" identifier = (binary_expression "(iVar6 >> 3) + -2 >> 1" (binary_expression "(iVar6 >> 3) + -2" (parenthesized_expression "(iVar6 >> 3)" ( (binary_expression "iVar6 >> 3" identifier >> number_literal) )) + number_literal) >> number_literal)) ; (comma_expression "FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0" (call_expression "FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4)" identifier (argument_list "(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4)" ( identifier , identifier , (binary_expression "iVar6 >> 3" identifier >> number_literal) , (subscript_expression "param_1[iVar5 * 2]" identifier [ (binary_expression "iVar5 * 2" identifier * number_literal) ]) , (subscript_expression "param_1[iVar5 * 2 + 1]" identifier [ (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal) ]) , identifier ))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n    }" { }))) (do_statement "do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);" do (compound_statement "{\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    }" { (expression_statement "puVar2 = local_24 + -2;" (assignment_expression "puVar2 = local_24 + -2" identifier = (binary_expression "local_24 + -2" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar1 = local_24[-1];" (assignment_expression "uVar1 = local_24[-1]" identifier = (subscript_expression "local_24[-1]" identifier [ number_literal ])) ;) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_24[-1] = param_1[1];" (assignment_expression "local_24[-1] = param_1[1]" (subscript_expression "local_24[-1]" identifier [ number_literal ]) = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);" (call_expression "FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4)" identifier (argument_list "(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4)" ( identifier , number_literal , (binary_expression "(int)puVar2 - (int)param_1 >> 3" (binary_expression "(int)puVar2 - (int)param_1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) , identifier , identifier , identifier ))) ;) (expression_statement "local_24 = puVar2;" (assignment_expression "local_24 = puVar2" identifier = identifier) ;) }) while (parenthesized_expression "(8 < (int)puVar2 - (int)param_1)" ( (binary_expression "8 < (int)puVar2 - (int)param_1" number_literal < (binary_expression "(int)puVar2 - (int)param_1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) )) ;) })) (return_statement "return;" return ;) (labeled_statement "LAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;" statement_identifier : (expression_statement "iVar6 = (int)local_24 - (int)param_1;" (assignment_expression "iVar6 = (int)local_24 - (int)param_1" identifier = (binary_expression "(int)local_24 - (int)param_1" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "FUN_001b8c50(local_24,param_2,param_3,param_4);" (call_expression "FUN_001b8c50(local_24,param_2,param_3,param_4)" identifier (argument_list "(local_24,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (iVar6 < 0x81) {\n    return;\n  }" if (parenthesized_expression "(iVar6 < 0x81)" ( (binary_expression "iVar6 < 0x81" identifier < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "param_2 = local_24;" (assignment_expression "param_2 = local_24" identifier = identifier) ;) (if_statement "if (param_3 == 0) goto LAB_001b8d82;" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001b8d82;" goto statement_identifier ;)) (goto_statement "goto LAB_001b8c84;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* DWARF original name: __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned int,\n   unsigned int>*, std::vector<std::pair<unsigned int, unsigned int> > >, int,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32> > > */\n\nvoid std::\n     __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n               (uint *__first,uint *__last,int __depth_limit,undefined1 param_4)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)__last - (int)__first;\n  if (0x80 < iVar6) {\n    if (__depth_limit != 0) {\nLAB_001b8c84:\n      uVar3 = __first[2];\n      __depth_limit = __depth_limit + -1;\n      uVar7 = __last[-2];\n      uVar8 = *__first;\n      puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = __first[1];\n      *__first = uVar3;\n      __first[2] = uVar8;\n      __first[1] = __first[3];\n      __first[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = __last[-2];\n      puVar2 = __last;\n      puVar4 = __first + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = __last;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *__first;\n      local_24[-1] = __first[1];\n      __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)__first);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)__first;\n  __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n            (local_24,__last,__depth_limit,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  __last = local_24;\n  if (__depth_limit == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}\n\n" comment comment (declaration "void std::\n     __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n               (uint *__first,uint *__last,int __depth_limit,undefined1 param_4)\n\n{\n  uint uVar1;" primitive_type (ERROR "std::\n     __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<" identifier : : identifier < identifier : : identifier < identifier : : identifier <) identifier , identifier (ERROR ">*" > *) , (ERROR "_std::vector<std::pair<" identifier : : identifier < identifier : : identifier <) identifier , identifier (ERROR ">_>_>" > identifier > identifier >) , identifier , (ERROR "___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n               (uint *__first,uint *__last,int __depth_limit,undefined1 param_4)\n\n{\n  uint" identifier : : identifier : : identifier < identifier : : identifier : : identifier < number_literal > identifier > (function_declarator "_>\n               (uint *__first,uint *__last,int __depth_limit,undefined1 param_4)" identifier (ERROR ">" >) (parameter_list "(uint *__first,uint *__last,int __depth_limit,undefined1 param_4)" ( (parameter_declaration "uint *__first" type_identifier (pointer_declarator "*__first" * identifier)) , (parameter_declaration "uint *__last" type_identifier (pointer_declarator "*__last" * identifier)) , (parameter_declaration "int __depth_limit" primitive_type identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) ))) { identifier) identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "iVar6 = (int)__last - (int)__first;" (assignment_expression "iVar6 = (int)__last - (int)__first" identifier = (binary_expression "(int)__last - (int)__first" (cast_expression "(int)__last" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (0x80 < iVar6) {\n    if (__depth_limit != 0) {\nLAB_001b8c84:\n      uVar3 = __first[2];\n      __depth_limit = __depth_limit + -1;\n      uVar7 = __last[-2];\n      uVar8 = *__first;\n      puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = __first[1];\n      *__first = uVar3;\n      __first[2] = uVar8;\n      __first[1] = __first[3];\n      __first[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = __last[-2];\n      puVar2 = __last;\n      puVar4 = __first + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = __last;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *__first;\n      local_24[-1] = __first[1];\n      __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)__first);\n  }" if (parenthesized_expression "(0x80 < iVar6)" ( (binary_expression "0x80 < iVar6" number_literal < identifier) )) (compound_statement "{\n    if (__depth_limit != 0) {\nLAB_001b8c84:\n      uVar3 = __first[2];\n      __depth_limit = __depth_limit + -1;\n      uVar7 = __last[-2];\n      uVar8 = *__first;\n      puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = __first[1];\n      *__first = uVar3;\n      __first[2] = uVar8;\n      __first[1] = __first[3];\n      __first[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = __last[-2];\n      puVar2 = __last;\n      puVar4 = __first + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = __last;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *__first;\n      local_24[-1] = __first[1];\n      __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)__first);\n  }" { (if_statement "if (__depth_limit != 0) {\nLAB_001b8c84:\n      uVar3 = __first[2];\n      __depth_limit = __depth_limit + -1;\n      uVar7 = __last[-2];\n      uVar8 = *__first;\n      puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = __first[1];\n      *__first = uVar3;\n      __first[2] = uVar8;\n      __first[1] = __first[3];\n      __first[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = __last[-2];\n      puVar2 = __last;\n      puVar4 = __first + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" if (parenthesized_expression "(__depth_limit != 0)" ( (binary_expression "__depth_limit != 0" identifier != number_literal) )) (compound_statement "{\nLAB_001b8c84:\n      uVar3 = __first[2];\n      __depth_limit = __depth_limit + -1;\n      uVar7 = __last[-2];\n      uVar8 = *__first;\n      puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = __first[1];\n      *__first = uVar3;\n      __first[2] = uVar8;\n      __first[1] = __first[3];\n      __first[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = __last[-2];\n      puVar2 = __last;\n      puVar4 = __first + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" { (labeled_statement "LAB_001b8c84:\n      uVar3 = __first[2];" statement_identifier : (expression_statement "uVar3 = __first[2];" (assignment_expression "uVar3 = __first[2]" identifier = (subscript_expression "__first[2]" identifier [ number_literal ])) ;)) (expression_statement "__depth_limit = __depth_limit + -1;" (assignment_expression "__depth_limit = __depth_limit + -1" identifier = (binary_expression "__depth_limit + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = __last[-2];" (assignment_expression "uVar7 = __last[-2]" identifier = (subscript_expression "__last[-2]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = *__first;" (assignment_expression "uVar8 = *__first" identifier = (pointer_expression "*__first" * identifier)) ;) (expression_statement "puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2;" (assignment_expression "puVar2 = __first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2" identifier = (binary_expression "__first + (((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2" identifier + (binary_expression "(((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1) * 2" (parenthesized_expression "(((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1)" ( (binary_expression "((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)\n                         >> 1" (binary_expression "((int)__last - (int)__first >> 3) - ((int)__last - (int)__first >> 0x1f)" (parenthesized_expression "((int)__last - (int)__first >> 3)" ( (binary_expression "(int)__last - (int)__first >> 3" (binary_expression "(int)__last - (int)__first" (cast_expression "(int)__last" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) - (parenthesized_expression "((int)__last - (int)__first >> 0x1f)" ( (binary_expression "(int)__last - (int)__first >> 0x1f" (binary_expression "(int)__last - (int)__first" (cast_expression "(int)__last" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) ))) >> number_literal) )) * number_literal))) ;) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" if (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) (compound_statement "{\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }\n      }" { (if_statement "if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }" if (parenthesized_expression "(uVar1 < uVar7)" ( (binary_expression "uVar1 < uVar7" identifier < identifier) )) (compound_statement "{\nLAB_001b8e08:\n          *__first = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = __first[1];\n          __first[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }" { (labeled_statement "LAB_001b8e08:\n          *__first = uVar1;" statement_identifier : (expression_statement "*__first = uVar1;" (assignment_expression "*__first = uVar1" (pointer_expression "*__first" * identifier) = identifier) ;)) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "uVar7 = __first[1];" (assignment_expression "uVar7 = __first[1]" identifier = (subscript_expression "__first[1]" identifier [ number_literal ])) ;) (expression_statement "__first[1] = puVar2[1];" (assignment_expression "__first[1] = puVar2[1]" (subscript_expression "__first[1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar2[1] = uVar7;" (assignment_expression "puVar2[1] = uVar7" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = __first[2];" (assignment_expression "uVar8 = __first[2]" identifier = (subscript_expression "__first[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *__first;" (assignment_expression "uVar3 = *__first" identifier = (pointer_expression "*__first" * identifier)) ;) (goto_statement "goto LAB_001b8cc7;" goto statement_identifier ;) })) (if_statement "if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }" if (parenthesized_expression "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) )) (compound_statement "{\nLAB_001b8d2c:\n          *__first = uVar7;\n          __last[-2] = uVar8;\n          uVar7 = __first[1];\n          __first[1] = __last[-1];\n          __last[-1] = uVar7;\n          uVar8 = __first[2];\n          uVar3 = *__first;\n          goto LAB_001b8cc7;\n        }" { (labeled_statement "LAB_001b8d2c:\n          *__first = uVar7;" statement_identifier : (expression_statement "*__first = uVar7;" (assignment_expression "*__first = uVar7" (pointer_expression "*__first" * identifier) = identifier) ;)) (expression_statement "__last[-2] = uVar8;" (assignment_expression "__last[-2] = uVar8" (subscript_expression "__last[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = __first[1];" (assignment_expression "uVar7 = __first[1]" identifier = (subscript_expression "__first[1]" identifier [ number_literal ])) ;) (expression_statement "__first[1] = __last[-1];" (assignment_expression "__first[1] = __last[-1]" (subscript_expression "__first[1]" identifier [ number_literal ]) = (subscript_expression "__last[-1]" identifier [ number_literal ])) ;) (expression_statement "__last[-1] = uVar7;" (assignment_expression "__last[-1] = uVar7" (subscript_expression "__last[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = __first[2];" (assignment_expression "uVar8 = __first[2]" identifier = (subscript_expression "__first[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *__first;" (assignment_expression "uVar3 = *__first" identifier = (pointer_expression "*__first" * identifier)) ;) (goto_statement "goto LAB_001b8cc7;" goto statement_identifier ;) })) }) (else_clause "else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" else (if_statement "if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" if (parenthesized_expression "(uVar7 <= uVar3)" ( (binary_expression "uVar7 <= uVar3" identifier <= identifier) )) (compound_statement "{\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" { (if_statement "if (uVar1 < uVar7) goto LAB_001b8d2c;" if (parenthesized_expression "(uVar1 < uVar7)" ( (binary_expression "uVar1 < uVar7" identifier < identifier) )) (goto_statement "goto LAB_001b8d2c;" goto statement_identifier ;)) (goto_statement "goto LAB_001b8e08;" goto statement_identifier ;) })))) (expression_statement "uVar7 = __first[1];" (assignment_expression "uVar7 = __first[1]" identifier = (subscript_expression "__first[1]" identifier [ number_literal ])) ;) (expression_statement "*__first = uVar3;" (assignment_expression "*__first = uVar3" (pointer_expression "*__first" * identifier) = identifier) ;) (expression_statement "__first[2] = uVar8;" (assignment_expression "__first[2] = uVar8" (subscript_expression "__first[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "__first[1] = __first[3];" (assignment_expression "__first[1] = __first[3]" (subscript_expression "__first[1]" identifier [ number_literal ]) = (subscript_expression "__first[3]" identifier [ number_literal ])) ;) (expression_statement "__first[3] = uVar7;" (assignment_expression "__first[3] = uVar7" (subscript_expression "__first[3]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_001b8cc7:\n      uVar7 = __last[-2];" statement_identifier : (expression_statement "uVar7 = __last[-2];" (assignment_expression "uVar7 = __last[-2]" identifier = (subscript_expression "__last[-2]" identifier [ number_literal ])) ;)) (expression_statement "puVar2 = __last;" (assignment_expression "puVar2 = __last" identifier = identifier) ;) (expression_statement "puVar4 = __first + 4;" (assignment_expression "puVar4 = __first + 4" identifier = (binary_expression "__first + 4" identifier + number_literal)) ;) (do_statement "do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );" do (compound_statement "{\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      }" { (expression_statement "local_24 = puVar4 + -2;" (assignment_expression "local_24 = puVar4 + -2" identifier = (binary_expression "puVar4 + -2" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }" if (parenthesized_expression "(uVar3 <= uVar8)" ( (binary_expression "uVar3 <= uVar8" identifier <= identifier) )) (compound_statement "{\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *__first;\n        }" { (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" identifier = (binary_expression "puVar2 + -2" identifier + number_literal)) ;) (while_statement "while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" while (parenthesized_expression "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) )) (compound_statement "{\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" { (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" identifier = (binary_expression "puVar2 + -2" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) (if_statement "if (puVar2 <= local_24) goto LAB_001b8d48;" if (parenthesized_expression "(puVar2 <= local_24)" ( (binary_expression "puVar2 <= local_24" identifier <= identifier) )) (goto_statement "goto LAB_001b8d48;" goto statement_identifier ;)) (expression_statement "puVar4[-2] = uVar7;" (assignment_expression "puVar4[-2] = uVar7" (subscript_expression "puVar4[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "uVar1 = puVar4[-1];" (assignment_expression "uVar1 = puVar4[-1]" identifier = (subscript_expression "puVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[-1] = puVar2[1];" (assignment_expression "puVar4[-1] = puVar2[1]" (subscript_expression "puVar4[-1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar2[-2];" (assignment_expression "uVar7 = puVar2[-2]" identifier = (subscript_expression "puVar2[-2]" identifier [ number_literal ])) ;) (expression_statement "puVar2[1] = uVar1;" (assignment_expression "puVar2[1] = uVar1" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = *__first;" (assignment_expression "uVar3 = *__first" identifier = (pointer_expression "*__first" * identifier)) ;) })) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_24 = __last;" (assignment_expression "local_24 = __last" identifier = identifier) ;) (labeled_statement "LAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" statement_identifier : (for_statement "for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" for ( (assignment_expression "iVar5 = (iVar6 >> 3) + -2 >> 1" identifier = (binary_expression "(iVar6 >> 3) + -2 >> 1" (binary_expression "(iVar6 >> 3) + -2" (parenthesized_expression "(iVar6 >> 3)" ( (binary_expression "iVar6 >> 3" identifier >> number_literal) )) + number_literal) >> number_literal)) ; (ERROR "__adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::" (comma_expression "__adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<std" (binary_expression "__adjust_heap<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , (binary_expression "_unsigned_int>*,_std" identifier > (pointer_expression "*,_std" * (ERROR "," ,) identifier))) : : (binary_expression "vector<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_unsigned_int>_>_>,_int,_std" (binary_expression "pair<unsigned_int" identifier < identifier) , (comma_expression "_unsigned_int>_>_>,_int,_std" (binary_expression "_unsigned_int>_>_>,_int" (binary_expression "_unsigned_int>_>_" (binary_expression "_unsigned_int>_" identifier > identifier) > identifier) > (ERROR "," ,) identifier) , identifier)) : : (comma_expression "pair<unsigned_int,_unsigned_int>,___gnu_cxx" (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,___gnu_cxx" identifier > (ERROR "," ,) identifier)) : : identifier : : (binary_expression "_Iter_comp_iter<gold" identifier < identifier) : : identifier : :) (comma_expression "Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4),\n        iVar5 != 0" (binary_expression "Fde_address_compare<32>_>_>\n                  (__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4)" (binary_expression "Fde_address_compare<32>_>_" (binary_expression "Fde_address_compare<32>_" (binary_expression "Fde_address_compare<32" identifier < number_literal) > identifier) > identifier) > (parenthesized_expression "(__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4)" ( (comma_expression "__first,iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4" identifier , (comma_expression "iVar5,iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4" identifier , (comma_expression "iVar6 >> 3,__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4" (binary_expression "iVar6 >> 3" identifier >> number_literal) , (comma_expression "__first[iVar5 * 2],__first[iVar5 * 2 + 1],param_4" (subscript_expression "__first[iVar5 * 2]" identifier [ (binary_expression "iVar5 * 2" identifier * number_literal) ]) , (comma_expression "__first[iVar5 * 2 + 1],param_4" (subscript_expression "__first[iVar5 * 2 + 1]" identifier [ (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal) ]) , identifier))))) ))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n    }" { }))) (do_statement "do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *__first;\n      local_24[-1] = __first[1];\n      __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)__first);" do (compound_statement "{\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *__first;\n      local_24[-1] = __first[1];\n      __adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    }" { (expression_statement "puVar2 = local_24 + -2;" (assignment_expression "puVar2 = local_24 + -2" identifier = (binary_expression "local_24 + -2" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar1 = local_24[-1];" (assignment_expression "uVar1 = local_24[-1]" identifier = (subscript_expression "local_24[-1]" identifier [ number_literal ])) ;) (expression_statement "*puVar2 = *__first;" (assignment_expression "*puVar2 = *__first" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*__first" * identifier)) ;) (expression_statement "local_24[-1] = __first[1];" (assignment_expression "local_24[-1] = __first[1]" (subscript_expression "local_24[-1]" identifier [ number_literal ]) = (subscript_expression "__first[1]" identifier [ number_literal ])) ;) (ERROR "__adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,_std::pair<unsigned_int,_unsigned_int>,___gnu_cxx::" (comma_expression "__adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<std::pair<unsigned_int" (binary_expression "__adjust_heap<__gnu_cxx::__normal_iterator<std" (binary_expression "__adjust_heap<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) , (binary_expression "_unsigned_int>*,_std" identifier > (pointer_expression "*,_std" * (ERROR "," ,) identifier))) : : (binary_expression "vector<std" identifier < identifier) : : (comma_expression "pair<unsigned_int,_unsigned_int>_>_>,_int,_std" (binary_expression "pair<unsigned_int" identifier < identifier) , (comma_expression "_unsigned_int>_>_>,_int,_std" (binary_expression "_unsigned_int>_>_>,_int" (binary_expression "_unsigned_int>_>_" (binary_expression "_unsigned_int>_" identifier > identifier) > identifier) > (ERROR "," ,) identifier) , identifier)) : : (comma_expression "pair<unsigned_int,_unsigned_int>,___gnu_cxx" (binary_expression "pair<unsigned_int" identifier < identifier) , (binary_expression "_unsigned_int>,___gnu_cxx" identifier > (ERROR "," ,) identifier)) : :) (labeled_statement "__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);" statement_identifier (ERROR "::_Iter_comp_iter<gold:" : : (binary_expression "_Iter_comp_iter<gold" identifier < identifier) :) : (labeled_statement "Eh_frame_hdr::Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);" statement_identifier : (ERROR ":" :) (expression_statement "Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4);" (binary_expression "Fde_address_compare<32>_>_>\n                (__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4)" (binary_expression "Fde_address_compare<32>_>_" (binary_expression "Fde_address_compare<32>_" (binary_expression "Fde_address_compare<32" identifier < number_literal) > identifier) > identifier) > (parenthesized_expression "(__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4)" ( (comma_expression "__first,0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4" identifier , (comma_expression "0,(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4" number_literal , (comma_expression "(int)puVar2 - (int)__first >> 3,uVar7,uVar1,param_4" (binary_expression "(int)puVar2 - (int)__first >> 3" (binary_expression "(int)puVar2 - (int)__first" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) , (comma_expression "uVar7,uVar1,param_4" identifier , (comma_expression "uVar1,param_4" identifier , identifier))))) ))) ;))) (expression_statement "local_24 = puVar2;" (assignment_expression "local_24 = puVar2" identifier = identifier) ;) }) while (parenthesized_expression "(8 < (int)puVar2 - (int)__first)" ( (binary_expression "8 < (int)puVar2 - (int)__first" number_literal < (binary_expression "(int)puVar2 - (int)__first" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier))) )) ;) })) (return_statement "return;" return ;) (labeled_statement "LAB_001b8d48:\n  iVar6 = (int)local_24 - (int)__first;" statement_identifier : (expression_statement "iVar6 = (int)local_24 - (int)__first;" (assignment_expression "iVar6 = (int)local_24 - (int)__first" identifier = (binary_expression "(int)local_24 - (int)__first" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__first" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n            (local_24,__last,__depth_limit,param_4);" (update_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n            (local_24,__last,__depth_limit,param_4)" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_>\n            (local_24,__last,__depth_limit,param_4)" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_>_" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32>_" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int,___gnu_cxx::__ops::_Iter_comp_iter<gold" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_>,_int" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_>_" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int,_unsigned_int>_" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std::pair<unsigned_int" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std::vector<std" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int,_unsigned_int>*,_std" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned_int" (binary_expression "__introsort_loop<__gnu_cxx::__normal_iterator<std" (binary_expression "__introsort_loop<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR ",_unsigned_int" , identifier) > (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::pair" : : identifier) < identifier) (ERROR ",_unsigned_int" , identifier) > identifier) > identifier) > (ERROR "," ,) identifier) (ERROR ",___gnu_cxx::__ops::_Iter_comp_iter" , identifier : : identifier : : identifier) < identifier) (ERROR "::Eh_frame_hdr::Fde_address_compare" : : identifier : : identifier) < number_literal) > identifier) > identifier) > (parenthesized_expression "(local_24,__last,__depth_limit,param_4)" ( (comma_expression "local_24,__last,__depth_limit,param_4" identifier , (comma_expression "__last,__depth_limit,param_4" identifier , (comma_expression "__depth_limit,param_4" identifier , identifier))) ))) --) ;) (if_statement "if (iVar6 < 0x81) {\n    return;\n  }" if (parenthesized_expression "(iVar6 < 0x81)" ( (binary_expression "iVar6 < 0x81" identifier < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "__last = local_24;" (assignment_expression "__last = local_24" identifier = identifier) ;) (if_statement "if (__depth_limit == 0) goto LAB_001b8d82;" if (parenthesized_expression "(__depth_limit == 0)" ( (binary_expression "__depth_limit == 0" identifier == number_literal) )) (goto_statement "goto LAB_001b8d82;" goto statement_identifier ;)) (goto_statement "goto LAB_001b8c84;" goto statement_identifier ;) (ERROR "}" }))
(translation_unit "void FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}\n\n" (function_definition "void FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}" primitive_type (function_declarator "FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)" identifier (parameter_list "(uint *param_1,uint *param_2,int param_3,undefined1 param_4)" ( (parameter_declaration "uint *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint *local_24;" type_identifier (pointer_declarator "*local_24" * identifier) ;) (expression_statement "iVar6 = (int)param_2 - (int)param_1;" (assignment_expression "iVar6 = (int)param_2 - (int)param_1" identifier = (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }" if (parenthesized_expression "(0x80 < iVar6)" ( (binary_expression "0x80 < iVar6" number_literal < identifier) )) (compound_statement "{\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }" { (if_statement "if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" if (parenthesized_expression "(param_3 != 0)" ( (binary_expression "param_3 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" { (labeled_statement "LAB_001b8c84:\n      uVar3 = param_1[2];" statement_identifier : (expression_statement "uVar3 = param_1[2];" (assignment_expression "uVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;)) (expression_statement "param_3 = param_3 + -1;" (assignment_expression "param_3 = param_3 + -1" identifier = (binary_expression "param_3 + -1" identifier + number_literal)) ;) (expression_statement "uVar7 = param_2[-2];" (assignment_expression "uVar7 = param_2[-2]" identifier = (subscript_expression "param_2[-2]" identifier [ number_literal ])) ;) (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;" (assignment_expression "puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" identifier = (binary_expression "param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" identifier + (binary_expression "(((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" (parenthesized_expression "(((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1)" ( (binary_expression "((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1" (binary_expression "((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)" (parenthesized_expression "((int)param_2 - (int)param_1 >> 3)" ( (binary_expression "(int)param_2 - (int)param_1 >> 3" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )) - (parenthesized_expression "((int)param_2 - (int)param_1 >> 0x1f)" ( (binary_expression "(int)param_2 - (int)param_1 >> 0x1f" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) ))) >> number_literal) )) * number_literal))) ;) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (if_statement "if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" if (parenthesized_expression "(uVar3 < uVar1)" ( (binary_expression "uVar3 < uVar1" identifier < identifier) )) (compound_statement "{\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }" { (if_statement "if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" if (parenthesized_expression "(uVar1 < uVar7)" ( (binary_expression "uVar1 < uVar7" identifier < identifier) )) (compound_statement "{\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" { (labeled_statement "LAB_001b8e08:\n          *param_1 = uVar1;" statement_identifier : (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = puVar2[1];" (assignment_expression "param_1[1] = puVar2[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar2[1] = uVar7;" (assignment_expression "puVar2[1] = uVar7" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = param_1[2];" (assignment_expression "uVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_001b8cc7;" goto statement_identifier ;) })) (if_statement "if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" if (parenthesized_expression "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) )) (compound_statement "{\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" { (labeled_statement "LAB_001b8d2c:\n          *param_1 = uVar7;" statement_identifier : (expression_statement "*param_1 = uVar7;" (assignment_expression "*param_1 = uVar7" (pointer_expression "*param_1" * identifier) = identifier) ;)) (expression_statement "param_2[-2] = uVar8;" (assignment_expression "param_2[-2] = uVar8" (subscript_expression "param_2[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_2[-1];" (assignment_expression "param_1[1] = param_2[-1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_2[-1]" identifier [ number_literal ])) ;) (expression_statement "param_2[-1] = uVar7;" (assignment_expression "param_2[-1] = uVar7" (subscript_expression "param_2[-1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar8 = param_1[2];" (assignment_expression "uVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (goto_statement "goto LAB_001b8cc7;" goto statement_identifier ;) })) }) (else_clause "else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" else (if_statement "if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" if (parenthesized_expression "(uVar7 <= uVar3)" ( (binary_expression "uVar7 <= uVar3" identifier <= identifier) )) (compound_statement "{\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" { (if_statement "if (uVar1 < uVar7) goto LAB_001b8d2c;" if (parenthesized_expression "(uVar1 < uVar7)" ( (binary_expression "uVar1 < uVar7" identifier < identifier) )) (goto_statement "goto LAB_001b8d2c;" goto statement_identifier ;)) (goto_statement "goto LAB_001b8e08;" goto statement_identifier ;) })))) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = uVar3;" (assignment_expression "*param_1 = uVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[2] = uVar8;" (assignment_expression "param_1[2] = uVar8" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = param_1[3];" (assignment_expression "param_1[1] = param_1[3]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = uVar7;" (assignment_expression "param_1[3] = uVar7" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_001b8cc7:\n      uVar7 = param_2[-2];" statement_identifier : (expression_statement "uVar7 = param_2[-2];" (assignment_expression "uVar7 = param_2[-2]" identifier = (subscript_expression "param_2[-2]" identifier [ number_literal ])) ;)) (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" identifier = identifier) ;) (expression_statement "puVar4 = param_1 + 4;" (assignment_expression "puVar4 = param_1 + 4" identifier = (binary_expression "param_1 + 4" identifier + number_literal)) ;) (do_statement "do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );" do (compound_statement "{\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      }" { (expression_statement "local_24 = puVar4 + -2;" (assignment_expression "local_24 = puVar4 + -2" identifier = (binary_expression "puVar4 + -2" identifier + number_literal)) ;) (if_statement "if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }" if (parenthesized_expression "(uVar3 <= uVar8)" ( (binary_expression "uVar3 <= uVar8" identifier <= identifier) )) (compound_statement "{\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }" { (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" identifier = (binary_expression "puVar2 + -2" identifier + number_literal)) ;) (while_statement "while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" while (parenthesized_expression "(uVar3 < uVar7)" ( (binary_expression "uVar3 < uVar7" identifier < identifier) )) (compound_statement "{\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" { (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" identifier = (binary_expression "puVar2 + -2" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) })) (if_statement "if (puVar2 <= local_24) goto LAB_001b8d48;" if (parenthesized_expression "(puVar2 <= local_24)" ( (binary_expression "puVar2 <= local_24" identifier <= identifier) )) (goto_statement "goto LAB_001b8d48;" goto statement_identifier ;)) (expression_statement "puVar4[-2] = uVar7;" (assignment_expression "puVar4[-2] = uVar7" (subscript_expression "puVar4[-2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "uVar1 = puVar4[-1];" (assignment_expression "uVar1 = puVar4[-1]" identifier = (subscript_expression "puVar4[-1]" identifier [ number_literal ])) ;) (expression_statement "puVar4[-1] = puVar2[1];" (assignment_expression "puVar4[-1] = puVar2[1]" (subscript_expression "puVar4[-1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "uVar7 = puVar2[-2];" (assignment_expression "uVar7 = puVar2[-2]" identifier = (subscript_expression "puVar2[-2]" identifier [ number_literal ])) ;) (expression_statement "puVar2[1] = uVar1;" (assignment_expression "puVar2[1] = uVar1" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" identifier = identifier) ;) (labeled_statement "LAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" statement_identifier : (for_statement "for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" for ( (assignment_expression "iVar5 = (iVar6 >> 3) + -2 >> 1" identifier = (binary_expression "(iVar6 >> 3) + -2 >> 1" (binary_expression "(iVar6 >> 3) + -2" (parenthesized_expression "(iVar6 >> 3)" ( (binary_expression "iVar6 >> 3" identifier >> number_literal) )) + number_literal) >> number_literal)) ; (comma_expression "FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0" (call_expression "FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4)" identifier (argument_list "(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4)" ( identifier , identifier , (binary_expression "iVar6 >> 3" identifier >> number_literal) , (subscript_expression "param_1[iVar5 * 2]" identifier [ (binary_expression "iVar5 * 2" identifier * number_literal) ]) , (subscript_expression "param_1[iVar5 * 2 + 1]" identifier [ (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" identifier * number_literal) + number_literal) ]) , identifier ))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ; (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ) (compound_statement "{\n    }" { }))) (do_statement "do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);" do (compound_statement "{\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    }" { (expression_statement "puVar2 = local_24 + -2;" (assignment_expression "puVar2 = local_24 + -2" identifier = (binary_expression "local_24 + -2" identifier + number_literal)) ;) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" identifier = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "uVar1 = local_24[-1];" (assignment_expression "uVar1 = local_24[-1]" identifier = (subscript_expression "local_24[-1]" identifier [ number_literal ])) ;) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" * identifier) = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_24[-1] = param_1[1];" (assignment_expression "local_24[-1] = param_1[1]" (subscript_expression "local_24[-1]" identifier [ number_literal ]) = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);" (call_expression "FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4)" identifier (argument_list "(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4)" ( identifier , number_literal , (binary_expression "(int)puVar2 - (int)param_1 >> 3" (binary_expression "(int)puVar2 - (int)param_1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) , identifier , identifier , identifier ))) ;) (expression_statement "local_24 = puVar2;" (assignment_expression "local_24 = puVar2" identifier = identifier) ;) }) while (parenthesized_expression "(8 < (int)puVar2 - (int)param_1)" ( (binary_expression "8 < (int)puVar2 - (int)param_1" number_literal < (binary_expression "(int)puVar2 - (int)param_1" (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) )) ;) })) (return_statement "return;" return ;) (labeled_statement "LAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;" statement_identifier : (expression_statement "iVar6 = (int)local_24 - (int)param_1;" (assignment_expression "iVar6 = (int)local_24 - (int)param_1" identifier = (binary_expression "(int)local_24 - (int)param_1" (cast_expression "(int)local_24" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "FUN_001b8c50(local_24,param_2,param_3,param_4);" (call_expression "FUN_001b8c50(local_24,param_2,param_3,param_4)" identifier (argument_list "(local_24,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) (if_statement "if (iVar6 < 0x81) {\n    return;\n  }" if (parenthesized_expression "(iVar6 < 0x81)" ( (binary_expression "iVar6 < 0x81" identifier < number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "param_2 = local_24;" (assignment_expression "param_2 = local_24" identifier = identifier) ;) (if_statement "if (param_3 == 0) goto LAB_001b8d82;" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001b8d82;" goto statement_identifier ;)) (goto_statement "goto LAB_001b8c84;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) )) - (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) ))) >> LIT) )) * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (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 IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (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 ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (for_statement for ( (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) + LIT) >> LIT)) ; (comma_expression (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT >> LIT) , (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) , (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) , IDENT ))) , (binary_expression IDENT != LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { }))) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT) , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) ;) })) (return_statement return ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "void FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)\n\n{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}" (primitive_type "void") (function_declarator "FUN_001b8c50(uint *param_1,uint *param_2,int param_3,undefined1 param_4)" (identifier "FUN_001b8c50") (parameter_list "(uint *param_1,uint *param_2,int param_3,undefined1 param_4)" (( "(") (parameter_declaration "uint *param_1" (type_identifier "uint") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint *param_2" (type_identifier "uint") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined1 param_4" (type_identifier "undefined1") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint *puVar2;\n  uint uVar3;\n  uint *puVar4;\n  int iVar5;\n  int iVar6;\n  uint uVar7;\n  uint uVar8;\n  uint *local_24;\n  \n  iVar6 = (int)param_2 - (int)param_1;\n  if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }\n  return;\nLAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;\n  FUN_001b8c50(local_24,param_2,param_3,param_4);\n  if (iVar6 < 0x81) {\n    return;\n  }\n  param_2 = local_24;\n  if (param_3 == 0) goto LAB_001b8d82;\n  goto LAB_001b8c84;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint *puVar2;" (type_identifier "uint") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint *local_24;" (type_identifier "uint") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (expression_statement "iVar6 = (int)param_2 - (int)param_1;" (assignment_expression "iVar6 = (int)param_2 - (int)param_1" (identifier "iVar6") (= "=") (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (0x80 < iVar6) {\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }" (if "if") (parenthesized_expression "(0x80 < iVar6)" (( "(") (binary_expression "0x80 < iVar6" (number_literal "0x80") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n    if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }\n    local_24 = param_2;\nLAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }\n    do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);\n  }" ({ "{") (if_statement "if (param_3 != 0) {\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(param_3 != 0)" (( "(") (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_001b8c84:\n      uVar3 = param_1[2];\n      param_3 = param_3 + -1;\n      uVar7 = param_2[-2];\n      uVar8 = *param_1;\n      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;\n      uVar1 = *puVar2;\n      if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }\n      uVar7 = param_1[1];\n      *param_1 = uVar3;\n      param_1[2] = uVar8;\n      param_1[1] = param_1[3];\n      param_1[3] = uVar7;\nLAB_001b8cc7:\n      uVar7 = param_2[-2];\n      puVar2 = param_2;\n      puVar4 = param_1 + 4;\n      do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );\n    }" ({ "{") (labeled_statement "LAB_001b8c84:\n      uVar3 = param_1[2];" (statement_identifier "LAB_001b8c84") (: ":") (expression_statement "uVar3 = param_1[2];" (assignment_expression "uVar3 = param_1[2]" (identifier "uVar3") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";"))) (expression_statement "param_3 = param_3 + -1;" (assignment_expression "param_3 = param_3 + -1" (identifier "param_3") (= "=") (binary_expression "param_3 + -1" (identifier "param_3") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar7 = param_2[-2];" (assignment_expression "uVar7 = param_2[-2]" (identifier "uVar7") (= "=") (subscript_expression "param_2[-2]" (identifier "param_2") ([ "[") (number_literal "-2") (] "]"))) (; ";")) (expression_statement "uVar8 = *param_1;" (assignment_expression "uVar8 = *param_1" (identifier "uVar8") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2;" (assignment_expression "puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" (identifier "puVar2") (= "=") (binary_expression "param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" (identifier "param_1") (+ "+") (binary_expression "(((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1) * 2" (parenthesized_expression "(((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1)" (( "(") (binary_expression "((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)\n                         >> 1" (binary_expression "((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)" (parenthesized_expression "((int)param_2 - (int)param_1 >> 3)" (( "(") (binary_expression "(int)param_2 - (int)param_1 >> 3" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (>> ">>") (number_literal "3")) () ")")) (- "-") (parenthesized_expression "((int)param_2 - (int)param_1 >> 0x1f)" (( "(") (binary_expression "(int)param_2 - (int)param_1 >> 0x1f" (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (>> ">>") (number_literal "0x1f")) () ")"))) (>> ">>") (number_literal "1")) () ")")) (* "*") (number_literal "2")))) (; ";")) (expression_statement "uVar1 = *puVar2;" (assignment_expression "uVar1 = *puVar2" (identifier "uVar1") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (if_statement "if (uVar3 < uVar1) {\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }\n      else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" (if "if") (parenthesized_expression "(uVar3 < uVar1)" (( "(") (binary_expression "uVar3 < uVar1" (identifier "uVar3") (< "<") (identifier "uVar1")) () ")")) (compound_statement "{\n        if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n        if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }\n      }" ({ "{") (if_statement "if (uVar1 < uVar7) {\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" (if "if") (parenthesized_expression "(uVar1 < uVar7)" (( "(") (binary_expression "uVar1 < uVar7" (identifier "uVar1") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\nLAB_001b8e08:\n          *param_1 = uVar1;\n          *puVar2 = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = puVar2[1];\n          puVar2[1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" ({ "{") (labeled_statement "LAB_001b8e08:\n          *param_1 = uVar1;" (statement_identifier "LAB_001b8e08") (: ":") (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";"))) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" (identifier "uVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = puVar2[1];" (assignment_expression "param_1[1] = puVar2[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar2[1] = uVar7;" (assignment_expression "puVar2[1] = uVar7" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "uVar8 = param_1[2];" (assignment_expression "uVar8 = param_1[2]" (identifier "uVar8") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (goto_statement "goto LAB_001b8cc7;" (goto "goto") (statement_identifier "LAB_001b8cc7") (; ";")) (} "}"))) (if_statement "if (uVar3 < uVar7) {\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" (if "if") (parenthesized_expression "(uVar3 < uVar7)" (( "(") (binary_expression "uVar3 < uVar7" (identifier "uVar3") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\nLAB_001b8d2c:\n          *param_1 = uVar7;\n          param_2[-2] = uVar8;\n          uVar7 = param_1[1];\n          param_1[1] = param_2[-1];\n          param_2[-1] = uVar7;\n          uVar8 = param_1[2];\n          uVar3 = *param_1;\n          goto LAB_001b8cc7;\n        }" ({ "{") (labeled_statement "LAB_001b8d2c:\n          *param_1 = uVar7;" (statement_identifier "LAB_001b8d2c") (: ":") (expression_statement "*param_1 = uVar7;" (assignment_expression "*param_1 = uVar7" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar7")) (; ";"))) (expression_statement "param_2[-2] = uVar8;" (assignment_expression "param_2[-2] = uVar8" (subscript_expression "param_2[-2]" (identifier "param_2") ([ "[") (number_literal "-2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" (identifier "uVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[1] = param_2[-1];" (assignment_expression "param_1[1] = param_2[-1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_2[-1]" (identifier "param_2") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "param_2[-1] = uVar7;" (assignment_expression "param_2[-1] = uVar7" (subscript_expression "param_2[-1]" (identifier "param_2") ([ "[") (number_literal "-1") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "uVar8 = param_1[2];" (assignment_expression "uVar8 = param_1[2]" (identifier "uVar8") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (goto_statement "goto LAB_001b8cc7;" (goto "goto") (statement_identifier "LAB_001b8cc7") (; ";")) (} "}"))) (} "}")) (else_clause "else if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" (else "else") (if_statement "if (uVar7 <= uVar3) {\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" (if "if") (parenthesized_expression "(uVar7 <= uVar3)" (( "(") (binary_expression "uVar7 <= uVar3" (identifier "uVar7") (<= "<=") (identifier "uVar3")) () ")")) (compound_statement "{\n        if (uVar1 < uVar7) goto LAB_001b8d2c;\n        goto LAB_001b8e08;\n      }" ({ "{") (if_statement "if (uVar1 < uVar7) goto LAB_001b8d2c;" (if "if") (parenthesized_expression "(uVar1 < uVar7)" (( "(") (binary_expression "uVar1 < uVar7" (identifier "uVar1") (< "<") (identifier "uVar7")) () ")")) (goto_statement "goto LAB_001b8d2c;" (goto "goto") (statement_identifier "LAB_001b8d2c") (; ";"))) (goto_statement "goto LAB_001b8e08;" (goto "goto") (statement_identifier "LAB_001b8e08") (; ";")) (} "}"))))) (expression_statement "uVar7 = param_1[1];" (assignment_expression "uVar7 = param_1[1]" (identifier "uVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = uVar3;" (assignment_expression "*param_1 = uVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "param_1[2] = uVar8;" (assignment_expression "param_1[2] = uVar8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "param_1[1] = param_1[3];" (assignment_expression "param_1[1] = param_1[3]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[3] = uVar7;" (assignment_expression "param_1[3] = uVar7" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (labeled_statement "LAB_001b8cc7:\n      uVar7 = param_2[-2];" (statement_identifier "LAB_001b8cc7") (: ":") (expression_statement "uVar7 = param_2[-2];" (assignment_expression "uVar7 = param_2[-2]" (identifier "uVar7") (= "=") (subscript_expression "param_2[-2]" (identifier "param_2") ([ "[") (number_literal "-2") (] "]"))) (; ";"))) (expression_statement "puVar2 = param_2;" (assignment_expression "puVar2 = param_2" (identifier "puVar2") (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar4 = param_1 + 4;" (assignment_expression "puVar4 = param_1 + 4" (identifier "puVar4") (= "=") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4"))) (; ";")) (do_statement "do {\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      } while( true );" (do "do") (compound_statement "{\n        local_24 = puVar4 + -2;\n        if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }\n        uVar8 = *puVar4;\n        puVar4 = puVar4 + 2;\n      }" ({ "{") (expression_statement "local_24 = puVar4 + -2;" (assignment_expression "local_24 = puVar4 + -2" (identifier "local_24") (= "=") (binary_expression "puVar4 + -2" (identifier "puVar4") (+ "+") (number_literal "-2"))) (; ";")) (if_statement "if (uVar3 <= uVar8) {\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }" (if "if") (parenthesized_expression "(uVar3 <= uVar8)" (( "(") (binary_expression "uVar3 <= uVar8" (identifier "uVar3") (<= "<=") (identifier "uVar8")) () ")")) (compound_statement "{\n          puVar2 = puVar2 + -2;\n          while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }\n          if (puVar2 <= local_24) goto LAB_001b8d48;\n          puVar4[-2] = uVar7;\n          *puVar2 = uVar8;\n          uVar1 = puVar4[-1];\n          puVar4[-1] = puVar2[1];\n          uVar7 = puVar2[-2];\n          puVar2[1] = uVar1;\n          uVar3 = *param_1;\n        }" ({ "{") (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" (identifier "puVar2") (= "=") (binary_expression "puVar2 + -2" (identifier "puVar2") (+ "+") (number_literal "-2"))) (; ";")) (while_statement "while (uVar3 < uVar7) {\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" (while "while") (parenthesized_expression "(uVar3 < uVar7)" (( "(") (binary_expression "uVar3 < uVar7" (identifier "uVar3") (< "<") (identifier "uVar7")) () ")")) (compound_statement "{\n            puVar2 = puVar2 + -2;\n            uVar7 = *puVar2;\n          }" ({ "{") (expression_statement "puVar2 = puVar2 + -2;" (assignment_expression "puVar2 = puVar2 + -2" (identifier "puVar2") (= "=") (binary_expression "puVar2 + -2" (identifier "puVar2") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" (identifier "uVar7") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (} "}"))) (if_statement "if (puVar2 <= local_24) goto LAB_001b8d48;" (if "if") (parenthesized_expression "(puVar2 <= local_24)" (( "(") (binary_expression "puVar2 <= local_24" (identifier "puVar2") (<= "<=") (identifier "local_24")) () ")")) (goto_statement "goto LAB_001b8d48;" (goto "goto") (statement_identifier "LAB_001b8d48") (; ";"))) (expression_statement "puVar4[-2] = uVar7;" (assignment_expression "puVar4[-2] = uVar7" (subscript_expression "puVar4[-2]" (identifier "puVar4") ([ "[") (number_literal "-2") (] "]")) (= "=") (identifier "uVar7")) (; ";")) (expression_statement "*puVar2 = uVar8;" (assignment_expression "*puVar2 = uVar8" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "uVar8")) (; ";")) (expression_statement "uVar1 = puVar4[-1];" (assignment_expression "uVar1 = puVar4[-1]" (identifier "uVar1") (= "=") (subscript_expression "puVar4[-1]" (identifier "puVar4") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "puVar4[-1] = puVar2[1];" (assignment_expression "puVar4[-1] = puVar2[1]" (subscript_expression "puVar4[-1]" (identifier "puVar4") ([ "[") (number_literal "-1") (] "]")) (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar7 = puVar2[-2];" (assignment_expression "uVar7 = puVar2[-2]" (identifier "uVar7") (= "=") (subscript_expression "puVar2[-2]" (identifier "puVar2") ([ "[") (number_literal "-2") (] "]"))) (; ";")) (expression_statement "puVar2[1] = uVar1;" (assignment_expression "puVar2[1] = uVar1" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (expression_statement "uVar8 = *puVar4;" (assignment_expression "uVar8 = *puVar4" (identifier "uVar8") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "local_24 = param_2;" (assignment_expression "local_24 = param_2" (identifier "local_24") (= "=") (identifier "param_2")) (; ";")) (labeled_statement "LAB_001b8d82:\n    for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" (statement_identifier "LAB_001b8d82") (: ":") (for_statement "for (iVar5 = (iVar6 >> 3) + -2 >> 1;\n        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0; iVar5 = iVar5 + -1) {\n    }" (for "for") (( "(") (assignment_expression "iVar5 = (iVar6 >> 3) + -2 >> 1" (identifier "iVar5") (= "=") (binary_expression "(iVar6 >> 3) + -2 >> 1" (binary_expression "(iVar6 >> 3) + -2" (parenthesized_expression "(iVar6 >> 3)" (( "(") (binary_expression "iVar6 >> 3" (identifier "iVar6") (>> ">>") (number_literal "3")) () ")")) (+ "+") (number_literal "-2")) (>> ">>") (number_literal "1"))) (; ";") (comma_expression "FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),\n        iVar5 != 0" (call_expression "FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4)" (identifier "FUN_001b8b00") (argument_list "(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4)" (( "(") (identifier "param_1") (, ",") (identifier "iVar5") (, ",") (binary_expression "iVar6 >> 3" (identifier "iVar6") (>> ">>") (number_literal "3")) (, ",") (subscript_expression "param_1[iVar5 * 2]" (identifier "param_1") ([ "[") (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2")) (] "]")) (, ",") (subscript_expression "param_1[iVar5 * 2 + 1]" (identifier "param_1") ([ "[") (binary_expression "iVar5 * 2 + 1" (binary_expression "iVar5 * 2" (identifier "iVar5") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (, ",") (identifier "param_4") () ")"))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) (; ";") (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    }" ({ "{") (} "}")))) (do_statement "do {\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    } while (8 < (int)puVar2 - (int)param_1);" (do "do") (compound_statement "{\n      puVar2 = local_24 + -2;\n      uVar7 = *puVar2;\n      uVar1 = local_24[-1];\n      *puVar2 = *param_1;\n      local_24[-1] = param_1[1];\n      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);\n      local_24 = puVar2;\n    }" ({ "{") (expression_statement "puVar2 = local_24 + -2;" (assignment_expression "puVar2 = local_24 + -2" (identifier "puVar2") (= "=") (binary_expression "local_24 + -2" (identifier "local_24") (+ "+") (number_literal "-2"))) (; ";")) (expression_statement "uVar7 = *puVar2;" (assignment_expression "uVar7 = *puVar2" (identifier "uVar7") (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "uVar1 = local_24[-1];" (assignment_expression "uVar1 = local_24[-1]" (identifier "uVar1") (= "=") (subscript_expression "local_24[-1]" (identifier "local_24") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "*puVar2 = *param_1;" (assignment_expression "*puVar2 = *param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_24[-1] = param_1[1];" (assignment_expression "local_24[-1] = param_1[1]" (subscript_expression "local_24[-1]" (identifier "local_24") ([ "[") (number_literal "-1") (] "]")) (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);" (call_expression "FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4)" (identifier "FUN_001b8b00") (argument_list "(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (binary_expression "(int)puVar2 - (int)param_1 >> 3" (binary_expression "(int)puVar2 - (int)param_1" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (>> ">>") (number_literal "3")) (, ",") (identifier "uVar7") (, ",") (identifier "uVar1") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "local_24 = puVar2;" (assignment_expression "local_24 = puVar2" (identifier "local_24") (= "=") (identifier "puVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(8 < (int)puVar2 - (int)param_1)" (( "(") (binary_expression "8 < (int)puVar2 - (int)param_1" (number_literal "8") (< "<") (binary_expression "(int)puVar2 - (int)param_1" (cast_expression "(int)puVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (labeled_statement "LAB_001b8d48:\n  iVar6 = (int)local_24 - (int)param_1;" (statement_identifier "LAB_001b8d48") (: ":") (expression_statement "iVar6 = (int)local_24 - (int)param_1;" (assignment_expression "iVar6 = (int)local_24 - (int)param_1" (identifier "iVar6") (= "=") (binary_expression "(int)local_24 - (int)param_1" (cast_expression "(int)local_24" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_24")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";"))) (expression_statement "FUN_001b8c50(local_24,param_2,param_3,param_4);" (call_expression "FUN_001b8c50(local_24,param_2,param_3,param_4)" (identifier "FUN_001b8c50") (argument_list "(local_24,param_2,param_3,param_4)" (( "(") (identifier "local_24") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (if_statement "if (iVar6 < 0x81) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar6 < 0x81)" (( "(") (binary_expression "iVar6 < 0x81" (identifier "iVar6") (< "<") (number_literal "0x81")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_2 = local_24;" (assignment_expression "param_2 = local_24" (identifier "param_2") (= "=") (identifier "local_24")) (; ";")) (if_statement "if (param_3 == 0) goto LAB_001b8d82;" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001b8d82;" (goto "goto") (statement_identifier "LAB_001b8d82") (; ";"))) (goto_statement "goto LAB_001b8c84;" (goto "goto") (statement_identifier "LAB_001b8c84") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* DWARF original name: __introsort_loop<__gnu_cxx::__normal_iterator<std::pair<unsigned int,
   unsigned int>*, std::vector<std::pair<unsigned int, unsigned int> > >, int,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Eh_frame_hdr::Fde_address_compare<32> > > */

void var_16::
     var_14<var_15::__normal_iterator<var_16::pair<var_17,_unsigned_int>*,_std::vector<var_16::pair<var_17,_unsigned_int>var_12>var_12>,var_18,___gnu_cxx::__ops::_Iter_comp_iter<var_19::Eh_frame_hdr::var_11<32>var_12>var_12>
               (type_1 *var_3,type_1 *__last,int var_2,undefined1 param_4)

{
  type_1 var_5;
  type_1 *var_9;
  type_1 var_4;
  type_1 *var_7;
  int var_13;
  int var_1;
  type_1 var_6;
  type_1 var_8;
  type_1 *var_10;
  
  var_1 = (int)__last - (int)var_3;
  if (0x80 < var_1) {
    if (var_2 != 0) {
LAB_001b8c84:
      var_4 = var_3[2];
      var_2 = var_2 + -1;
      var_6 = __last[-2];
      var_8 = *var_3;
      var_9 = var_3 + (((int)__last - (int)var_3 >> 3) - ((int)__last - (int)var_3 >> 0x1f)
                         >> 1) * 2;
      var_5 = *var_9;
      if (var_4 < var_5) {
        if (var_5 < var_6) {
LAB_001b8e08:
          *var_3 = var_5;
          *var_9 = var_8;
          var_6 = var_3[1];
          var_3[1] = var_9[1];
          var_9[1] = var_6;
          var_8 = var_3[2];
          var_4 = *var_3;
          goto LAB_001b8cc7;
        }
        if (var_4 < var_6) {
LAB_001b8d2c:
          *var_3 = var_6;
          __last[-2] = var_8;
          var_6 = var_3[1];
          var_3[1] = __last[-1];
          __last[-1] = var_6;
          var_8 = var_3[2];
          var_4 = *var_3;
          goto LAB_001b8cc7;
        }
      }
      else if (var_6 <= var_4) {
        if (var_5 < var_6) goto LAB_001b8d2c;
        goto LAB_001b8e08;
      }
      var_6 = var_3[1];
      *var_3 = var_4;
      var_3[2] = var_8;
      var_3[1] = var_3[3];
      var_3[3] = var_6;
LAB_001b8cc7:
      var_6 = __last[-2];
      var_9 = __last;
      var_7 = var_3 + 4;
      do {
        var_10 = var_7 + -2;
        if (var_4 <= var_8) {
          var_9 = var_9 + -2;
          while (var_4 < var_6) {
            var_9 = var_9 + -2;
            var_6 = *var_9;
          }
          if (var_9 <= var_10) goto LAB_001b8d48;
          var_7[-2] = var_6;
          *var_9 = var_8;
          var_5 = var_7[-1];
          var_7[-1] = var_9[1];
          var_6 = var_9[-2];
          var_9[1] = var_5;
          var_4 = *var_3;
        }
        var_8 = *var_7;
        var_7 = var_7 + 2;
      } while( true );
    }
    var_10 = __last;
LAB_001b8d82:
    for (var_13 = (var_1 >> 3) + -2 >> 1;
        __adjust_heap<var_15::__normal_iterator<var_16::pair<var_17,_unsigned_int>*,_std::vector<var_16::pair<var_17,_unsigned_int>var_12>var_12>,var_18,_std::pair<var_17,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<var_19::Eh_frame_hdr::var_11<32>var_12>var_12>
                  (var_3,var_13,var_1 >> 3,var_3[var_13 * 2],var_3[var_13 * 2 + 1],param_4),
        var_13 != 0; var_13 = var_13 + -1) {
    }
    do {
      var_9 = var_10 + -2;
      var_6 = *var_9;
      var_5 = var_10[-1];
      *var_9 = *var_3;
      var_10[-1] = var_3[1];
      __adjust_heap<var_15::__normal_iterator<var_16::pair<var_17,_unsigned_int>*,_std::vector<var_16::pair<var_17,_unsigned_int>var_12>var_12>,var_18,_std::pair<var_17,_unsigned_int>,___gnu_cxx::__ops::_Iter_comp_iter<var_19::Eh_frame_hdr::var_11<32>var_12>var_12>
                (var_3,0,(int)var_9 - (int)var_3 >> 3,var_6,var_5,param_4);
      var_10 = var_9;
    } while (8 < (int)var_9 - (int)var_3);
  }
  return;
LAB_001b8d48:
  var_1 = (int)var_10 - (int)var_3;
  var_14<var_15::__normal_iterator<var_16::pair<var_17,_unsigned_int>*,_std::vector<var_16::pair<var_17,_unsigned_int>var_12>var_12>,var_18,___gnu_cxx::__ops::_Iter_comp_iter<var_19::Eh_frame_hdr::var_11<32>var_12>var_12>
            (var_10,__last,var_2,param_4);
  if (var_1 < 0x81) {
    return;
  }
  __last = var_10;
  if (var_2 == 0) goto LAB_001b8d82;
  goto LAB_001b8c84;
}


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

void MASKED(uint *param_1,uint *param_2,int param_3,undefined1 param_4)

{
  uint uVar1;
  uint *puVar2;
  uint uVar3;
  uint *puVar4;
  int iVar5;
  int iVar6;
  uint uVar7;
  uint uVar8;
  uint *local_24;
  
  iVar6 = (int)param_2 - (int)param_1;
  if (0x80 < iVar6) {
    if (param_3 != 0) {
LAB_001b8c84:
      uVar3 = param_1[2];
      param_3 = param_3 + -1;
      uVar7 = param_2[-2];
      uVar8 = *param_1;
      puVar2 = param_1 + (((int)param_2 - (int)param_1 >> 3) - ((int)param_2 - (int)param_1 >> 0x1f)
                         >> 1) * 2;
      uVar1 = *puVar2;
      if (uVar3 < uVar1) {
        if (uVar1 < uVar7) {
LAB_001b8e08:
          *param_1 = uVar1;
          *puVar2 = uVar8;
          uVar7 = param_1[1];
          param_1[1] = puVar2[1];
          puVar2[1] = uVar7;
          uVar8 = param_1[2];
          uVar3 = *param_1;
          goto LAB_001b8cc7;
        }
        if (uVar3 < uVar7) {
LAB_001b8d2c:
          *param_1 = uVar7;
          param_2[-2] = uVar8;
          uVar7 = param_1[1];
          param_1[1] = param_2[-1];
          param_2[-1] = uVar7;
          uVar8 = param_1[2];
          uVar3 = *param_1;
          goto LAB_001b8cc7;
        }
      }
      else if (uVar7 <= uVar3) {
        if (uVar1 < uVar7) goto LAB_001b8d2c;
        goto LAB_001b8e08;
      }
      uVar7 = param_1[1];
      *param_1 = uVar3;
      param_1[2] = uVar8;
      param_1[1] = param_1[3];
      param_1[3] = uVar7;
LAB_001b8cc7:
      uVar7 = param_2[-2];
      puVar2 = param_2;
      puVar4 = param_1 + 4;
      do {
        local_24 = puVar4 + -2;
        if (uVar3 <= uVar8) {
          puVar2 = puVar2 + -2;
          while (uVar3 < uVar7) {
            puVar2 = puVar2 + -2;
            uVar7 = *puVar2;
          }
          if (puVar2 <= local_24) goto LAB_001b8d48;
          puVar4[-2] = uVar7;
          *puVar2 = uVar8;
          uVar1 = puVar4[-1];
          puVar4[-1] = puVar2[1];
          uVar7 = puVar2[-2];
          puVar2[1] = uVar1;
          uVar3 = *param_1;
        }
        uVar8 = *puVar4;
        puVar4 = puVar4 + 2;
      } while( true );
    }
    local_24 = param_2;
LAB_001b8d82:
    for (iVar5 = (iVar6 >> 3) + -2 >> 1;
        FUN_001b8b00(param_1,iVar5,iVar6 >> 3,param_1[iVar5 * 2],param_1[iVar5 * 2 + 1],param_4),
        iVar5 != 0; iVar5 = iVar5 + -1) {
    }
    do {
      puVar2 = local_24 + -2;
      uVar7 = *puVar2;
      uVar1 = local_24[-1];
      *puVar2 = *param_1;
      local_24[-1] = param_1[1];
      FUN_001b8b00(param_1,0,(int)puVar2 - (int)param_1 >> 3,uVar7,uVar1,param_4);
      local_24 = puVar2;
    } while (8 < (int)puVar2 - (int)param_1);
  }
  return;
LAB_001b8d48:
  iVar6 = (int)local_24 - (int)param_1;
  MASKED(local_24,param_2,param_3,param_4);
  if (iVar6 < 0x81) {
    return;
  }
  param_2 = local_24;
  if (param_3 == 0) goto LAB_001b8d82;
  goto LAB_001b8c84;
}

