
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*> >, long int, gold::Output_segment**,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */

void std::
     __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>
               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
                        __middle,
               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,
               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)

{
  Output_segment *pOVar1;
  bool bVar2;
  long lVar3;
  __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
  __last_00;
  Output_segment **ppOVar4;
  Output_segment **ppOVar5;
  size_t __n;
  long local_68;
  long local_60;
  __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
  local_58;
  __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
  local_50;
  
  while( true ) {
    lVar3 = __buffer_size;
    if (__len2 <= __buffer_size) {
      lVar3 = __len2;
    }
    if (__len1 <= lVar3) {
      __n = (long)__middle._M_current - (long)__first._M_current;
      if (__middle._M_current != __first._M_current) {
        memmove(__buffer,__first._M_current,__n);
      }
      ppOVar5 = (Output_segment **)((long)__buffer + __n);
      if (__buffer == ppOVar5) {
        return;
      }
      if (__last._M_current != __middle._M_current) {
        do {
          bVar2 = gold::Layout::segment_precedes
                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);
          if (bVar2) {
            pOVar1 = *__middle._M_current;
            __middle._M_current = __middle._M_current + 1;
            *__first._M_current = pOVar1;
          }
          else {
            pOVar1 = *__buffer;
            __buffer = __buffer + 1;
            *__first._M_current = pOVar1;
          }
          if (ppOVar5 == __buffer) {
            return;
          }
          __first._M_current = __first._M_current + 1;
        } while (__last._M_current != __middle._M_current);
        __n = (long)ppOVar5 - (long)__buffer;
      }
      goto LAB_0038f5b2;
    }
    if (__len2 <= __buffer_size) break;
    if (__len2 < __len1) {
      local_60 = __len1 / 2;
      local_58._M_current = __first._M_current + local_60;
      local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>
                           (__middle,__last,local_58._M_current,
                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);
      local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;
    }
    else {
      local_68 = __len2 / 2;
      local_50._M_current = __middle._M_current + local_68;
      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>
                           (__first,__middle,local_50._M_current,
                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);
      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;
    }
    __len1 = __len1 - local_60;
    __last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int>
                          (local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size);
    __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>
              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);
    __len2 = __len2 - local_68;
    __middle._M_current = local_50._M_current;
    __first = __last_00;
  }
  __n = (long)__last._M_current - (long)__middle._M_current;
  if (__last._M_current != __middle._M_current) {
    memmove(__buffer,__middle._M_current,__n);
  }
  ppOVar5 = (Output_segment **)((long)__buffer + __n);
  if (__middle._M_current == __first._M_current) {
    if (__buffer != ppOVar5) {
      __first._M_current = __last._M_current - __n;
LAB_0038f5b2:
      memmove(__first._M_current,__buffer,__n);
      return;
    }
  }
  else if (__buffer != ppOVar5) {
    ppOVar4 = __middle._M_current + -1;
    ppOVar5 = ppOVar5 + -1;
    while( true ) {
      while( true ) {
        __last._M_current = __last._M_current + -1;
        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);
        if (bVar2) break;
        *__last._M_current = *ppOVar5;
        if (__buffer == ppOVar5) {
          return;
        }
        ppOVar5 = ppOVar5 + -1;
      }
      *__last._M_current = *ppOVar4;
      if (ppOVar4 == __first._M_current) break;
      ppOVar4 = ppOVar4 + -1;
    }
    if (__buffer != ppOVar5 + 1) {
      __n = (long)(ppOVar5 + 1) - (long)__buffer;
      __first._M_current = __last._M_current - __n;
      goto LAB_0038f5b2;
    }
  }
  return;
}



void FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,
                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)

{
  undefined8 uVar1;
  char cVar2;
  long lVar3;
  undefined8 *puVar4;
  size_t __n;
  long local_68;
  long local_60;
  undefined8 *local_58;
  undefined8 *local_50;
  
  while( true ) {
    lVar3 = param_7;
    if (param_5 <= param_7) {
      lVar3 = param_5;
    }
    if (param_4 <= lVar3) {
      __n = (long)param_2 - (long)param_1;
      if (param_2 != param_1) {
        memmove(param_6,param_1,__n);
      }
      puVar4 = (undefined8 *)((long)param_6 + __n);
      if (param_6 == puVar4) {
        return;
      }
      if (param_3 != param_2) {
        do {
          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);
          if (cVar2 == '\0') {
            uVar1 = *param_6;
            param_6 = param_6 + 1;
            *param_1 = uVar1;
          }
          else {
            uVar1 = *param_2;
            param_2 = param_2 + 1;
            *param_1 = uVar1;
          }
          if (puVar4 == param_6) {
            return;
          }
          param_1 = param_1 + 1;
        } while (param_3 != param_2);
        __n = (long)puVar4 - (long)param_6;
      }
      goto LAB_0038f5b2;
    }
    if (param_5 <= param_7) break;
    if (param_5 < param_4) {
      local_60 = param_4 / 2;
      local_58 = param_1 + local_60;
      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);
      local_68 = (long)local_50 - (long)param_2 >> 3;
    }
    else {
      local_68 = param_5 / 2;
      local_50 = param_2 + local_68;
      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);
      local_60 = (long)local_58 - (long)param_1 >> 3;
    }
    param_4 = param_4 - local_60;
    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);
    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);
    param_5 = param_5 - local_68;
    param_2 = local_50;
    param_1 = puVar4;
  }
  __n = (long)param_3 - (long)param_2;
  if (param_3 != param_2) {
    memmove(param_6,param_2,__n);
  }
  puVar4 = (undefined8 *)((long)param_6 + __n);
  if (param_2 == param_1) {
    if (param_6 != puVar4) {
      param_1 = (undefined8 *)((long)param_3 - __n);
LAB_0038f5b2:
      memmove(param_1,param_6,__n);
      return;
    }
  }
  else if (param_6 != puVar4) {
    param_2 = param_2 + -1;
    puVar4 = puVar4 + -1;
    while( true ) {
      while( true ) {
        param_3 = param_3 + -1;
        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);
        if (cVar2 != '\0') break;
        *param_3 = *puVar4;
        if (param_6 == puVar4) {
          return;
        }
        puVar4 = puVar4 + -1;
      }
      *param_3 = *param_2;
      if (param_2 == param_1) break;
      param_2 = param_2 + -1;
    }
    if (param_6 != puVar4 + 1) {
      __n = (long)(puVar4 + 1) - (long)param_6;
      param_1 = (undefined8 *)((long)param_3 - __n);
      goto LAB_0038f5b2;
    }
  }
  return;
}


PUSH R15
PUSH R14
PUSH R13
MOV R13,R8
PUSH R12
MOV R12,RDX
PUSH RBP
MOV RBP,R9
PUSH RBX
MOV RBX,RSI
SUB RSP,0x38
MOV R14,qword ptr [RSP + 0x70]
MOV R15,qword ptr [RSP + 0x78]
CMP R8,R14
MOV RAX,R14
CMOVLE RAX,R8
CMP RCX,RAX
JG 0x0038f410
MOV R14,RSI
MOV R8,RDI
MOV RCX,RSI
SUB R14,RDI
CMP RSI,RDI
JZ 0x0038f398
MOV qword ptr [RSP + 0x8],RSI
MOV RDX,R14
MOV RSI,RDI
MOV qword ptr [RSP],RDI
MOV RDI,R9
CALL 0x001776d0
MOV RCX,qword ptr [RSP + 0x8]
MOV R8,qword ptr [RSP]
LEA R13,[RBP + R14*0x1]
CMP RBP,R13
JZ 0x0038f3fd
CMP R12,RBX
JZ 0x0038f5a9
MOV RBX,RCX
MOV R14,R8
JMP 0x0038f3d5
MOV RAX,qword ptr [RBX]
ADD R14,0x8
ADD RBX,0x8
MOV qword ptr [R14 + -0x8],RAX
CMP R13,RBP
JZ 0x0038f3fd
CMP R12,RBX
JZ 0x0038f5a0
MOV RDX,qword ptr [RBP]
MOV RSI,qword ptr [RBX]
MOV RDI,R15
CALL 0x0037bea0
TEST AL,AL
JNZ 0x0038f3b8
MOV RAX,qword ptr [RBP]
ADD RBP,0x8
ADD R14,0x8
MOV qword ptr [R14 + -0x8],RAX
CMP R13,RBP
JNZ 0x0038f3cc
ADD RSP,0x38
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV R10,RDI
CMP R8,R14
JG 0x0038f4a8
MOV R14,RDX
SUB R14,RSI
CMP RDX,RSI
JZ 0x0038f43a
MOV qword ptr [RSP],RDI
MOV RDX,R14
MOV RDI,R9
CALL 0x001776d0
MOV R10,qword ptr [RSP]
LEA R13,[RBP + R14*0x1]
CMP RBX,R10
JZ 0x0038f640
CMP RBP,R13
JZ 0x0038f3fd
SUB RBX,0x8
SUB R13,0x8
SUB R12,0x8
MOV R14,R10
JMP 0x0038f478
MOV RAX,qword ptr [RBX]
MOV qword ptr [R12],RAX
CMP RBX,R14
JZ 0x0038f620
SUB RBX,0x8
SUB R12,0x8
MOV RDX,qword ptr [RBX]
MOV RSI,qword ptr [R13]
MOV RDI,R15
CALL 0x0037bea0
TEST AL,AL
JNZ 0x0038f460
MOV RAX,qword ptr [R13]
MOV qword ptr [R12],RAX
CMP RBP,R13
JZ 0x0038f3fd
SUB R13,0x8
JMP 0x0038f474
CMP RCX,R8
JG 0x0038f5c8
MOV RAX,R8
MOV qword ptr [RSP + 0x20],RCX
MOV RCX,R15
SHR RAX,0x3f
MOV qword ptr [RSP + 0x8],RDI
ADD RAX,R8
SAR RAX,0x1
MOV qword ptr [RSP],RAX
LEA RAX,[RSI + RAX*0x8]
MOV RDX,RAX
MOV qword ptr [RSP + 0x18],RAX
CALL 0x0038edb0
MOV R10,qword ptr [RSP + 0x8]
MOV R11,qword ptr [RSP + 0x20]
MOV qword ptr [RSP + 0x10],RAX
SUB RAX,R10
SAR RAX,0x3
MOV qword ptr [RSP + 0x8],RAX
SUB R11,qword ptr [RSP + 0x8]
MOV qword ptr [RSP + 0x28],R10
MOV R9,RBP
MOV RSI,RBX
SUB RSP,0x8
MOV RCX,R11
PUSH R14
MOV R8,qword ptr [RSP + 0x10]
MOV RDI,qword ptr [RSP + 0x20]
MOV RDX,qword ptr [RSP + 0x28]
MOV qword ptr [RSP + 0x30],R11
CALL 0x0038f220
MOV R9,RBP
MOV RBX,RAX
POP RAX
POP RDX
PUSH R15
PUSH R14
MOV R10,qword ptr [RSP + 0x38]
MOV RDX,RBX
MOV R8,qword ptr [RSP + 0x10]
MOV RCX,qword ptr [RSP + 0x18]
MOV RSI,qword ptr [RSP + 0x20]
MOV RDI,R10
CALL 0x0038f330
MOV R11,qword ptr [RSP + 0x30]
MOV R8,R13
MOV R9,RBP
SUB R8,qword ptr [RSP + 0x10]
MOV RSI,qword ptr [RSP + 0x28]
MOV RDX,R12
MOV RDI,RBX
MOV qword ptr [RSP + 0x88],R15
MOV RCX,R11
MOV qword ptr [RSP + 0x80],R14
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
JMP 0x0038f330
MOV R8,R14
MOV R14,R13
SUB R14,RBP
MOV RDX,R14
MOV RSI,RBP
MOV RDI,R8
ADD RSP,0x38
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
JMP 0x001776d0
MOV RAX,RCX
MOV qword ptr [RSP + 0x28],RCX
MOV RSI,R12
SHR RAX,0x3f
MOV qword ptr [RSP + 0x20],RDI
ADD RAX,RCX
MOV RCX,R15
SAR RAX,0x1
MOV qword ptr [RSP + 0x8],RAX
LEA RAX,[RDI + RAX*0x8]
MOV RDI,RBX
MOV RDX,RAX
MOV qword ptr [RSP + 0x10],RAX
CALL 0x0038ed30
MOV R10,qword ptr [RSP + 0x20]
MOV R11,qword ptr [RSP + 0x28]
MOV qword ptr [RSP + 0x18],RAX
SUB RAX,RBX
SAR RAX,0x3
MOV qword ptr [RSP],RAX
JMP 0x0038f4fb
LEA RDX,[R13 + 0x8]
CMP RBP,RDX
JZ 0x0038f3fd
SUB RDX,RBP
MOV RDI,R12
MOV RSI,RBP
SUB RDI,RDX
JMP 0x0038f5b2
CMP RBP,R13
JZ 0x0038f3fd
MOV RDI,R12
MOV RDX,R14
MOV RSI,RBP
SUB RDI,R14
JMP 0x0038f5b2
(translation_unit "void FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_8" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long local_68;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined8 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (while_statement "while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }" { (expression_statement "lVar3 = param_7;" (assignment_expression "lVar3 = param_7" identifier = identifier) ;) (if_statement "if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }" if (parenthesized_expression "(param_5 <= param_7)" ( (binary_expression "param_5 <= param_7" identifier <= identifier) )) (compound_statement "{\n      lVar3 = param_5;\n    }" { (expression_statement "lVar3 = param_5;" (assignment_expression "lVar3 = param_5" identifier = identifier) ;) })) (if_statement "if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }" if (parenthesized_expression "(param_4 <= lVar3)" ( (binary_expression "param_4 <= lVar3" identifier <= identifier) )) (compound_statement "{\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }" { (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" identifier = (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n        memmove(param_6,param_1,__n);\n      }" { (expression_statement "memmove(param_6,param_1,__n);" (call_expression "memmove(param_6,param_1,__n)" identifier (argument_list "(param_6,param_1,__n)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar4 = (undefined8 *)((long)param_6 + __n);" (assignment_expression "puVar4 = (undefined8 *)((long)param_6 + __n)" identifier = (cast_expression "(undefined8 *)((long)param_6 + __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + __n)" ( (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (param_6 == puVar4) {\n        return;\n      }" if (parenthesized_expression "(param_6 == puVar4)" ( (binary_expression "param_6 == puVar4" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }" if (parenthesized_expression "(param_3 != param_2)" ( (binary_expression "param_3 != param_2" identifier != identifier) )) (compound_statement "{\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }" { (do_statement "do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);" do (compound_statement "{\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        }" { (expression_statement "cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);" (assignment_expression "cVar2 = FUN_0037bea0(param_8,*param_2,*param_6)" identifier = (call_expression "FUN_0037bea0(param_8,*param_2,*param_6)" identifier (argument_list "(param_8,*param_2,*param_6)" ( identifier , (pointer_expression "*param_2" * identifier) , (pointer_expression "*param_6" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }" { (expression_statement "uVar1 = *param_6;" (assignment_expression "uVar1 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "param_6 = param_6 + 1;" (assignment_expression "param_6 = param_6 + 1" identifier = (binary_expression "param_6 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" else (compound_statement "{\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" { (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }))) (if_statement "if (puVar4 == param_6) {\n            return;\n          }" if (parenthesized_expression "(puVar4 == param_6)" ( (binary_expression "puVar4 == param_6" identifier == identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != param_2)" ( (binary_expression "param_3 != param_2" identifier != identifier) )) ;) (expression_statement "__n = (long)puVar4 - (long)param_6;" (assignment_expression "__n = (long)puVar4 - (long)param_6" identifier = (binary_expression "(long)puVar4 - (long)param_6" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) })) (goto_statement "goto LAB_0038f5b2;" goto statement_identifier ;) })) (if_statement "if (param_5 <= param_7) break;" if (parenthesized_expression "(param_5 <= param_7)" ( (binary_expression "param_5 <= param_7" identifier <= identifier) )) (break_statement "break;" break ;)) (if_statement "if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" if (parenthesized_expression "(param_5 < param_4)" ( (binary_expression "param_5 < param_4" identifier < identifier) )) (compound_statement "{\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }" { (expression_statement "local_60 = param_4 / 2;" (assignment_expression "local_60 = param_4 / 2" identifier = (binary_expression "param_4 / 2" identifier / number_literal)) ;) (expression_statement "local_58 = param_1 + local_60;" (assignment_expression "local_58 = param_1 + local_60" identifier = (binary_expression "param_1 + local_60" identifier + identifier)) ;) (expression_statement "local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);" (assignment_expression "local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8)" identifier = (cast_expression "(undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0038ed30(param_2,param_3,local_58,param_8)" identifier (argument_list "(param_2,param_3,local_58,param_8)" ( identifier , identifier , identifier , identifier ))))) ;) (expression_statement "local_68 = (long)local_50 - (long)param_2 >> 3;" (assignment_expression "local_68 = (long)local_50 - (long)param_2 >> 3" identifier = (binary_expression "(long)local_50 - (long)param_2 >> 3" (binary_expression "(long)local_50 - (long)param_2" (cast_expression "(long)local_50" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) }) (else_clause "else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" else (compound_statement "{\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" { (expression_statement "local_68 = param_5 / 2;" (assignment_expression "local_68 = param_5 / 2" identifier = (binary_expression "param_5 / 2" identifier / number_literal)) ;) (expression_statement "local_50 = param_2 + local_68;" (assignment_expression "local_50 = param_2 + local_68" identifier = (binary_expression "param_2 + local_68" identifier + identifier)) ;) (expression_statement "local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);" (assignment_expression "local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8)" identifier = (cast_expression "(undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0038edb0(param_1,param_2,local_50,param_8)" identifier (argument_list "(param_1,param_2,local_50,param_8)" ( identifier , identifier , identifier , identifier ))))) ;) (expression_statement "local_60 = (long)local_58 - (long)param_1 >> 3;" (assignment_expression "local_60 = (long)local_58 - (long)param_1 >> 3" identifier = (binary_expression "(long)local_58 - (long)param_1 >> 3" (binary_expression "(long)local_58 - (long)param_1" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) }))) (expression_statement "param_4 = param_4 - local_60;" (assignment_expression "param_4 = param_4 - local_60" identifier = (binary_expression "param_4 - local_60" identifier - identifier)) ;) (expression_statement "puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);" (assignment_expression "puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" identifier = (cast_expression "(undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" identifier (argument_list "(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);" (call_expression "FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8)" identifier (argument_list "(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "param_5 = param_5 - local_68;" (assignment_expression "param_5 = param_5 - local_68" identifier = (binary_expression "param_5 - local_68" identifier - identifier)) ;) (expression_statement "param_2 = local_50;" (assignment_expression "param_2 = local_50" identifier = identifier) ;) (expression_statement "param_1 = puVar4;" (assignment_expression "param_1 = puVar4" identifier = identifier) ;) })) (expression_statement "__n = (long)param_3 - (long)param_2;" (assignment_expression "__n = (long)param_3 - (long)param_2" identifier = (binary_expression "(long)param_3 - (long)param_2" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }" if (parenthesized_expression "(param_3 != param_2)" ( (binary_expression "param_3 != param_2" identifier != identifier) )) (compound_statement "{\n    memmove(param_6,param_2,__n);\n  }" { (expression_statement "memmove(param_6,param_2,__n);" (call_expression "memmove(param_6,param_2,__n)" identifier (argument_list "(param_6,param_2,__n)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar4 = (undefined8 *)((long)param_6 + __n);" (assignment_expression "puVar4 = (undefined8 *)((long)param_6 + __n)" identifier = (cast_expression "(undefined8 *)((long)param_6 + __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + __n)" ( (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" if (parenthesized_expression "(param_2 == param_1)" ( (binary_expression "param_2 == param_1" identifier == identifier) )) (compound_statement "{\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }" { (if_statement "if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }" if (parenthesized_expression "(param_6 != puVar4)" ( (binary_expression "param_6 != puVar4" identifier != identifier) )) (compound_statement "{\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }" { (expression_statement "param_1 = (undefined8 *)((long)param_3 - __n);" (assignment_expression "param_1 = (undefined8 *)((long)param_3 - __n)" identifier = (cast_expression "(undefined8 *)((long)param_3 - __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_3 - __n)" ( (binary_expression "(long)param_3 - __n" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) )))) ;) (labeled_statement "LAB_0038f5b2:\n      memmove(param_1,param_6,__n);" statement_identifier : (expression_statement "memmove(param_1,param_6,__n);" (call_expression "memmove(param_1,param_6,__n)" identifier (argument_list "(param_1,param_6,__n)" ( identifier , identifier , identifier ))) ;)) (return_statement "return;" return ;) })) }) (else_clause "else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" else (if_statement "if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" if (parenthesized_expression "(param_6 != puVar4)" ( (binary_expression "param_6 != puVar4" identifier != identifier) )) (compound_statement "{\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" { (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" identifier = (binary_expression "puVar4 + -1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }" { (while_statement "while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }" { (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 "cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);" (assignment_expression "cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2)" identifier = (call_expression "FUN_0037bea0(param_8,*puVar4,*param_2)" identifier (argument_list "(param_8,*puVar4,*param_2)" ( identifier , (pointer_expression "*puVar4" * identifier) , (pointer_expression "*param_2" * identifier) )))) ;) (if_statement "if (cVar2 != '\0') break;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*param_3 = *puVar4;" (assignment_expression "*param_3 = *puVar4" (pointer_expression "*param_3" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (param_6 == puVar4) {\n          return;\n        }" if (parenthesized_expression "(param_6 == puVar4)" ( (binary_expression "param_6 == puVar4" identifier == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" identifier = (binary_expression "puVar4 + -1" identifier + number_literal)) ;) })) (expression_statement "*param_3 = *param_2;" (assignment_expression "*param_3 = *param_2" (pointer_expression "*param_3" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (param_2 == param_1) break;" if (parenthesized_expression "(param_2 == param_1)" ( (binary_expression "param_2 == param_1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) })) (if_statement "if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }" if (parenthesized_expression "(param_6 != puVar4 + 1)" ( (binary_expression "param_6 != puVar4 + 1" identifier != (binary_expression "puVar4 + 1" identifier + number_literal)) )) (compound_statement "{\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }" { (expression_statement "__n = (long)(puVar4 + 1) - (long)param_6;" (assignment_expression "__n = (long)(puVar4 + 1) - (long)param_6" identifier = (binary_expression "(long)(puVar4 + 1) - (long)param_6" (cast_expression "(long)(puVar4 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) - (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1 = (undefined8 *)((long)param_3 - __n);" (assignment_expression "param_1 = (undefined8 *)((long)param_3 - __n)" identifier = (cast_expression "(undefined8 *)((long)param_3 - __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_3 - __n)" ( (binary_expression "(long)param_3 - __n" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) )))) ;) (goto_statement "goto LAB_0038f5b2;" goto statement_identifier ;) })) })))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original name: __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,\n   std::vector<gold::Output_segment*> >, long int, gold::Output_segment**,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */\n\nvoid std::\n     __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __middle,\n               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,\n               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1;\n  bool bVar2;\n  long lVar3;\n  __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  __last_00;\n  Output_segment **ppOVar4;\n  Output_segment **ppOVar5;\n  size_t __n;\n  long local_68;\n  long local_60;\n  __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_58;\n  __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_50;\n  \n  while( true ) {\n    lVar3 = __buffer_size;\n    if (__len2 <= __buffer_size) {\n      lVar3 = __len2;\n    }\n    if (__len1 <= lVar3) {\n      __n = (long)__middle._M_current - (long)__first._M_current;\n      if (__middle._M_current != __first._M_current) {\n        memmove(__buffer,__first._M_current,__n);\n      }\n      ppOVar5 = (Output_segment **)((long)__buffer + __n);\n      if (__buffer == ppOVar5) {\n        return;\n      }\n      if (__last._M_current != __middle._M_current) {\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (__len2 <= __buffer_size) break;\n    if (__len2 < __len1) {\n      local_60 = __len1 / 2;\n      local_58._M_current = __first._M_current + local_60;\n      local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;\n    }\n    else {\n      local_68 = __len2 / 2;\n      local_50._M_current = __middle._M_current + local_68;\n      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;\n    }\n    __len1 = __len1 - local_60;\n    __last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int>\n                          (local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size);\n    __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);\n    __len2 = __len2 - local_68;\n    __middle._M_current = local_50._M_current;\n    __first = __last_00;\n  }\n  __n = (long)__last._M_current - (long)__middle._M_current;\n  if (__last._M_current != __middle._M_current) {\n    memmove(__buffer,__middle._M_current,__n);\n  }\n  ppOVar5 = (Output_segment **)((long)__buffer + __n);\n  if (__middle._M_current == __first._M_current) {\n    if (__buffer != ppOVar5) {\n      __first._M_current = __last._M_current - __n;\nLAB_0038f5b2:\n      memmove(__first._M_current,__buffer,__n);\n      return;\n    }\n  }\n  else if (__buffer != ppOVar5) {\n    ppOVar4 = __middle._M_current + -1;\n    ppOVar5 = ppOVar5 + -1;\n    while( true ) {\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }\n    if (__buffer != ppOVar5 + 1) {\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}\n\n" comment comment comment (declaration "void std::\n     __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __middle,\n               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,\n               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1;" primitive_type (ERROR "std::\n     __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment" identifier : : identifier < identifier : : identifier < identifier : : identifier) (pointer_declarator "**,_std::vector<gold::Output_segment*>_" * (pointer_declarator "*,_std::vector<gold::Output_segment*>_" * (ERROR ",_std::vector<gold::Output_segment*>" , identifier : : identifier < identifier : : identifier * >) identifier)) (ERROR ">" >) , identifier , (ERROR "_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __middle,\n               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,\n               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment" identifier : : identifier (pointer_declarator "**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __middle,\n               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,\n               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)" * (function_declarator "*,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n               (__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __middle,\n               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,\n               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)" (pointer_declarator "*,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_" * (ERROR ",___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>" , identifier : : identifier : : identifier < identifier : : identifier : : identifier >) identifier) (ERROR ">" >) (parameter_list "(__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                __first,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                        __middle,\n               __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n               __last,long __len1,long __len2,Output_segment **__buffer,long __buffer_size,\n               _Iter_comp_iter<gold::Layout::Compare_segments> __comp)" ( (parameter_declaration "__normal_iterator<gold::Output_segment**" type_identifier (ERROR "<gold::Output_segment" < identifier : : identifier) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , (parameter_declaration "_std::vector<gold::Output_segment*" type_identifier (ERROR "::vector<gold::Output_segment" : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_segment*>_>_>\n                __first" type_identifier (ERROR "::allocator<gold::Output_segment*>_>_>" : : identifier < identifier : : identifier * > identifier > identifier >) identifier) , (parameter_declaration "__normal_iterator<gold::Output_segment**" type_identifier (ERROR "<gold::Output_segment" < identifier : : identifier) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , (parameter_declaration "_std::vector<gold::Output_segment*" type_identifier (ERROR "::vector<gold::Output_segment" : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_segment*>_>_>\n                        __middle" type_identifier (ERROR "::allocator<gold::Output_segment*>_>_>" : : identifier < identifier : : identifier * > identifier > identifier >) identifier) , (parameter_declaration "__normal_iterator<gold::Output_segment**" type_identifier (ERROR "<gold::Output_segment" < identifier : : identifier) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , (parameter_declaration "_std::vector<gold::Output_segment*" type_identifier (ERROR "::vector<gold::Output_segment" : : identifier < identifier : : identifier) (abstract_pointer_declarator "*" *)) , (parameter_declaration "_std::allocator<gold::Output_segment*>_>_>\n               __last" type_identifier (ERROR "::allocator<gold::Output_segment*>_>_>" : : identifier < identifier : : identifier * > identifier > identifier >) identifier) , (parameter_declaration "long __len1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long __len2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "Output_segment **__buffer" type_identifier (pointer_declarator "**__buffer" * (pointer_declarator "*__buffer" * identifier))) , (parameter_declaration "long __buffer_size" (sized_type_specifier "long" long) identifier) , (parameter_declaration "_Iter_comp_iter<gold::Layout::Compare_segments> __comp" type_identifier (ERROR "<gold::Layout::Compare_segments>" < identifier : : identifier : : identifier >) identifier) )))) { identifier) (pointer_declarator "*pOVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  __last_00;" (update_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  __last_00" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  __last_00" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std" (binary_expression "__normal_iterator<gold" identifier < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > identifier) > identifier) --) ;) (declaration "Output_segment **ppOVar4;" type_identifier (pointer_declarator "**ppOVar4" * (pointer_declarator "*ppOVar4" * identifier)) ;) (declaration "Output_segment **ppOVar5;" type_identifier (pointer_declarator "**ppOVar5" * (pointer_declarator "*ppOVar5" * identifier)) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long local_68;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (expression_statement "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_58;" (update_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_58" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_58" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std" (binary_expression "__normal_iterator<gold" identifier < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > identifier) > identifier) --) ;) (expression_statement "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_50;" (update_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_50" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n  local_50" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std" (binary_expression "__normal_iterator<gold" identifier < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > identifier) > identifier) --) ;) (while_statement "while( true ) {\n    lVar3 = __buffer_size;\n    if (__len2 <= __buffer_size) {\n      lVar3 = __len2;\n    }\n    if (__len1 <= lVar3) {\n      __n = (long)__middle._M_current - (long)__first._M_current;\n      if (__middle._M_current != __first._M_current) {\n        memmove(__buffer,__first._M_current,__n);\n      }\n      ppOVar5 = (Output_segment **)((long)__buffer + __n);\n      if (__buffer == ppOVar5) {\n        return;\n      }\n      if (__last._M_current != __middle._M_current) {\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (__len2 <= __buffer_size) break;\n    if (__len2 < __len1) {\n      local_60 = __len1 / 2;\n      local_58._M_current = __first._M_current + local_60;\n      local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;\n    }\n    else {\n      local_68 = __len2 / 2;\n      local_50._M_current = __middle._M_current + local_68;\n      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;\n    }\n    __len1 = __len1 - local_60;\n    __last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int>\n                          (local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size);\n    __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);\n    __len2 = __len2 - local_68;\n    __middle._M_current = local_50._M_current;\n    __first = __last_00;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    lVar3 = __buffer_size;\n    if (__len2 <= __buffer_size) {\n      lVar3 = __len2;\n    }\n    if (__len1 <= lVar3) {\n      __n = (long)__middle._M_current - (long)__first._M_current;\n      if (__middle._M_current != __first._M_current) {\n        memmove(__buffer,__first._M_current,__n);\n      }\n      ppOVar5 = (Output_segment **)((long)__buffer + __n);\n      if (__buffer == ppOVar5) {\n        return;\n      }\n      if (__last._M_current != __middle._M_current) {\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (__len2 <= __buffer_size) break;\n    if (__len2 < __len1) {\n      local_60 = __len1 / 2;\n      local_58._M_current = __first._M_current + local_60;\n      local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;\n    }\n    else {\n      local_68 = __len2 / 2;\n      local_50._M_current = __middle._M_current + local_68;\n      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;\n    }\n    __len1 = __len1 - local_60;\n    __last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int>\n                          (local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size);\n    __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);\n    __len2 = __len2 - local_68;\n    __middle._M_current = local_50._M_current;\n    __first = __last_00;\n  }" { (expression_statement "lVar3 = __buffer_size;" (assignment_expression "lVar3 = __buffer_size" identifier = identifier) ;) (if_statement "if (__len2 <= __buffer_size) {\n      lVar3 = __len2;\n    }" if (parenthesized_expression "(__len2 <= __buffer_size)" ( (binary_expression "__len2 <= __buffer_size" identifier <= identifier) )) (compound_statement "{\n      lVar3 = __len2;\n    }" { (expression_statement "lVar3 = __len2;" (assignment_expression "lVar3 = __len2" identifier = identifier) ;) })) (if_statement "if (__len1 <= lVar3) {\n      __n = (long)__middle._M_current - (long)__first._M_current;\n      if (__middle._M_current != __first._M_current) {\n        memmove(__buffer,__first._M_current,__n);\n      }\n      ppOVar5 = (Output_segment **)((long)__buffer + __n);\n      if (__buffer == ppOVar5) {\n        return;\n      }\n      if (__last._M_current != __middle._M_current) {\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }\n      goto LAB_0038f5b2;\n    }" if (parenthesized_expression "(__len1 <= lVar3)" ( (binary_expression "__len1 <= lVar3" identifier <= identifier) )) (compound_statement "{\n      __n = (long)__middle._M_current - (long)__first._M_current;\n      if (__middle._M_current != __first._M_current) {\n        memmove(__buffer,__first._M_current,__n);\n      }\n      ppOVar5 = (Output_segment **)((long)__buffer + __n);\n      if (__buffer == ppOVar5) {\n        return;\n      }\n      if (__last._M_current != __middle._M_current) {\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }\n      goto LAB_0038f5b2;\n    }" { (expression_statement "__n = (long)__middle._M_current - (long)__first._M_current;" (assignment_expression "__n = (long)__middle._M_current - (long)__first._M_current" identifier = (binary_expression "(long)__middle._M_current - (long)__first._M_current" (cast_expression "(long)__middle._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "__middle._M_current" identifier . field_identifier)) - (cast_expression "(long)__first._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "__first._M_current" identifier . field_identifier)))) ;) (if_statement "if (__middle._M_current != __first._M_current) {\n        memmove(__buffer,__first._M_current,__n);\n      }" if (parenthesized_expression "(__middle._M_current != __first._M_current)" ( (binary_expression "__middle._M_current != __first._M_current" (field_expression "__middle._M_current" identifier . field_identifier) != (field_expression "__first._M_current" identifier . field_identifier)) )) (compound_statement "{\n        memmove(__buffer,__first._M_current,__n);\n      }" { (expression_statement "memmove(__buffer,__first._M_current,__n);" (call_expression "memmove(__buffer,__first._M_current,__n)" identifier (argument_list "(__buffer,__first._M_current,__n)" ( identifier , (field_expression "__first._M_current" identifier . field_identifier) , identifier ))) ;) })) (expression_statement "ppOVar5 = (Output_segment **)((long)__buffer + __n);" (assignment_expression "ppOVar5 = (Output_segment **)((long)__buffer + __n)" identifier = (cast_expression "(Output_segment **)((long)__buffer + __n)" ( (type_descriptor "Output_segment **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__buffer + __n)" ( (binary_expression "(long)__buffer + __n" (cast_expression "(long)__buffer" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (__buffer == ppOVar5) {\n        return;\n      }" if (parenthesized_expression "(__buffer == ppOVar5)" ( (binary_expression "__buffer == ppOVar5" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (__last._M_current != __middle._M_current) {\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }" if (parenthesized_expression "(__last._M_current != __middle._M_current)" ( (binary_expression "__last._M_current != __middle._M_current" (field_expression "__last._M_current" identifier . field_identifier) != (field_expression "__middle._M_current" identifier . field_identifier)) )) (compound_statement "{\n        do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);\n        __n = (long)ppOVar5 - (long)__buffer;\n      }" { (do_statement "do {\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        } while (__last._M_current != __middle._M_current);" do (compound_statement "{\n          bVar2 = gold::Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);\n          if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }\n          if (ppOVar5 == __buffer) {\n            return;\n          }\n          __first._M_current = __first._M_current + 1;\n        }" { (ERROR "bVar2 = gold::" (assignment_expression "bVar2 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer);" (call_expression "segment_precedes\n                            ((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer)" identifier (argument_list "((Layout *)__comp._M_comp.layout_,*__middle._M_current,*__buffer)" ( (cast_expression "(Layout *)__comp._M_comp.layout_" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "__comp._M_comp.layout_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) , (pointer_expression "*__middle._M_current" * (field_expression "__middle._M_current" identifier . field_identifier)) , (pointer_expression "*__buffer" * identifier) ))) ;)) (if_statement "if (bVar2) {\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }\n          else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n            pOVar1 = *__middle._M_current;\n            __middle._M_current = __middle._M_current + 1;\n            *__first._M_current = pOVar1;\n          }" { (expression_statement "pOVar1 = *__middle._M_current;" (assignment_expression "pOVar1 = *__middle._M_current" identifier = (pointer_expression "*__middle._M_current" * (field_expression "__middle._M_current" identifier . field_identifier))) ;) (expression_statement "__middle._M_current = __middle._M_current + 1;" (assignment_expression "__middle._M_current = __middle._M_current + 1" (field_expression "__middle._M_current" identifier . field_identifier) = (binary_expression "__middle._M_current + 1" (field_expression "__middle._M_current" identifier . field_identifier) + number_literal)) ;) (expression_statement "*__first._M_current = pOVar1;" (assignment_expression "*__first._M_current = pOVar1" (pointer_expression "*__first._M_current" * (field_expression "__first._M_current" identifier . field_identifier)) = identifier) ;) }) (else_clause "else {\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }" else (compound_statement "{\n            pOVar1 = *__buffer;\n            __buffer = __buffer + 1;\n            *__first._M_current = pOVar1;\n          }" { (expression_statement "pOVar1 = *__buffer;" (assignment_expression "pOVar1 = *__buffer" identifier = (pointer_expression "*__buffer" * identifier)) ;) (expression_statement "__buffer = __buffer + 1;" (assignment_expression "__buffer = __buffer + 1" identifier = (binary_expression "__buffer + 1" identifier + number_literal)) ;) (expression_statement "*__first._M_current = pOVar1;" (assignment_expression "*__first._M_current = pOVar1" (pointer_expression "*__first._M_current" * (field_expression "__first._M_current" identifier . field_identifier)) = identifier) ;) }))) (if_statement "if (ppOVar5 == __buffer) {\n            return;\n          }" if (parenthesized_expression "(ppOVar5 == __buffer)" ( (binary_expression "ppOVar5 == __buffer" identifier == identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "__first._M_current = __first._M_current + 1;" (assignment_expression "__first._M_current = __first._M_current + 1" (field_expression "__first._M_current" identifier . field_identifier) = (binary_expression "__first._M_current + 1" (field_expression "__first._M_current" identifier . field_identifier) + number_literal)) ;) }) while (parenthesized_expression "(__last._M_current != __middle._M_current)" ( (binary_expression "__last._M_current != __middle._M_current" (field_expression "__last._M_current" identifier . field_identifier) != (field_expression "__middle._M_current" identifier . field_identifier)) )) ;) (expression_statement "__n = (long)ppOVar5 - (long)__buffer;" (assignment_expression "__n = (long)ppOVar5 - (long)__buffer" identifier = (binary_expression "(long)ppOVar5 - (long)__buffer" (cast_expression "(long)ppOVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__buffer" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) })) (goto_statement "goto LAB_0038f5b2;" goto statement_identifier ;) })) (if_statement "if (__len2 <= __buffer_size) break;" if (parenthesized_expression "(__len2 <= __buffer_size)" ( (binary_expression "__len2 <= __buffer_size" identifier <= identifier) )) (break_statement "break;" break ;)) (if_statement "if (__len2 < __len1) {\n      local_60 = __len1 / 2;\n      local_58._M_current = __first._M_current + local_60;\n      local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;\n    }\n    else {\n      local_68 = __len2 / 2;\n      local_50._M_current = __middle._M_current + local_68;\n      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;\n    }" if (parenthesized_expression "(__len2 < __len1)" ( (binary_expression "__len2 < __len1" identifier < identifier) )) (compound_statement "{\n      local_60 = __len1 / 2;\n      local_58._M_current = __first._M_current + local_60;\n      local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;\n    }" { (expression_statement "local_60 = __len1 / 2;" (assignment_expression "local_60 = __len1 / 2" identifier = (binary_expression "__len1 / 2" identifier / number_literal)) ;) (expression_statement "local_58._M_current = __first._M_current + local_60;" (assignment_expression "local_58._M_current = __first._M_current + local_60" (field_expression "local_58._M_current" identifier . field_identifier) = (binary_expression "__first._M_current + local_60" (field_expression "__first._M_current" identifier . field_identifier) + identifier)) ;) (expression_statement "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_);" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_>\n                           (__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold::Layout::Compare_segments>_" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Iter_comp_val<gold" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std" (binary_expression "local_50 = __lower_bound<__gnu_cxx::__normal_iterator<gold" (assignment_expression "local_50 = __lower_bound<__gnu_cxx" identifier = (binary_expression "__lower_bound<__gnu_cxx" identifier < identifier)) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::__ops::_Iter_comp_val" : : identifier : : identifier) < identifier) (ERROR "::Layout::Compare_segments" : : identifier : : identifier) > identifier) > (parenthesized_expression "(__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" ( (comma_expression "__middle,__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" identifier , (comma_expression "__last,local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" identifier , (comma_expression "local_58._M_current,\n                            (_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" (field_expression "local_58._M_current" identifier . field_identifier) , (parenthesized_expression "(_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" ( (binary_expression "_Iter_comp_val<gold::Layout::Compare_segments>)__comp._M_comp.layout_" (binary_expression "_Iter_comp_val<gold" identifier < identifier) (ERROR "::Layout::Compare_segments" : : identifier : : identifier) > (ERROR ")" )) (field_expression "__comp._M_comp.layout_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) ))))) ))) ;) (expression_statement "local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3;" (assignment_expression "local_68 = (long)local_50._M_current - (long)__middle._M_current >> 3" identifier = (binary_expression "(long)local_50._M_current - (long)__middle._M_current >> 3" (binary_expression "(long)local_50._M_current - (long)__middle._M_current" (cast_expression "(long)local_50._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "local_50._M_current" identifier . field_identifier)) - (cast_expression "(long)__middle._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "__middle._M_current" identifier . field_identifier))) >> number_literal)) ;) }) (else_clause "else {\n      local_68 = __len2 / 2;\n      local_50._M_current = __middle._M_current + local_68;\n      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;\n    }" else (compound_statement "{\n      local_68 = __len2 / 2;\n      local_50._M_current = __middle._M_current + local_68;\n      local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);\n      local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;\n    }" { (expression_statement "local_68 = __len2 / 2;" (assignment_expression "local_68 = __len2 / 2" identifier = (binary_expression "__len2 / 2" identifier / number_literal)) ;) (expression_statement "local_50._M_current = __middle._M_current + local_68;" (assignment_expression "local_50._M_current = __middle._M_current + local_68" (field_expression "local_50._M_current" identifier . field_identifier) = (binary_expression "__middle._M_current + local_68" (field_expression "__middle._M_current" identifier . field_identifier) + identifier)) ;) (expression_statement "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_);" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_>\n                           (__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold::Layout::Compare_segments>_" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx::__ops::_Val_comp_iter<gold" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment*,___gnu_cxx" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std" (binary_expression "local_58 = __upper_bound<__gnu_cxx::__normal_iterator<gold" (assignment_expression "local_58 = __upper_bound<__gnu_cxx" identifier = (binary_expression "__upper_bound<__gnu_cxx" identifier < identifier)) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::__ops::_Val_comp_iter" : : identifier : : identifier) < identifier) (ERROR "::Layout::Compare_segments" : : identifier : : identifier) > identifier) > (parenthesized_expression "(__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" ( (comma_expression "__first,__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" identifier , (comma_expression "__middle,local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" identifier , (comma_expression "local_50._M_current,\n                            (_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" (field_expression "local_50._M_current" identifier . field_identifier) , (parenthesized_expression "(_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_)" ( (binary_expression "_Val_comp_iter<gold::Layout::Compare_segments>)__comp._M_comp.layout_" (binary_expression "_Val_comp_iter<gold" identifier < identifier) (ERROR "::Layout::Compare_segments" : : identifier : : identifier) > (ERROR ")" )) (field_expression "__comp._M_comp.layout_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) ))))) ))) ;) (expression_statement "local_60 = (long)local_58._M_current - (long)__first._M_current >> 3;" (assignment_expression "local_60 = (long)local_58._M_current - (long)__first._M_current >> 3" identifier = (binary_expression "(long)local_58._M_current - (long)__first._M_current >> 3" (binary_expression "(long)local_58._M_current - (long)__first._M_current" (cast_expression "(long)local_58._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "local_58._M_current" identifier . field_identifier)) - (cast_expression "(long)__first._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "__first._M_current" identifier . field_identifier))) >> number_literal)) ;) }))) (expression_statement "__len1 = __len1 - local_60;" (assignment_expression "__len1 = __len1 - local_60" identifier = (binary_expression "__len1 - local_60" identifier - identifier)) ;) (expression_statement "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int>\n                          (local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size);" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int>\n                          (local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size)" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,_long_int" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std" (binary_expression "__last_00 = __rotate_adaptive<__gnu_cxx::__normal_iterator<gold" (assignment_expression "__last_00 = __rotate_adaptive<__gnu_cxx" identifier = (binary_expression "__rotate_adaptive<__gnu_cxx" identifier < identifier)) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_long_int" * (ERROR "," ,) identifier)) > (parenthesized_expression "(local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size)" ( (comma_expression "local_58,__middle,local_50,__len1,local_68,__buffer,__buffer_size" identifier , (comma_expression "__middle,local_50,__len1,local_68,__buffer,__buffer_size" identifier , (comma_expression "local_50,__len1,local_68,__buffer,__buffer_size" identifier , (comma_expression "__len1,local_68,__buffer,__buffer_size" identifier , (comma_expression "local_68,__buffer,__buffer_size" identifier , (comma_expression "__buffer,__buffer_size" identifier , identifier)))))) ))) ;) (ERROR "__merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold::Output_segment**,___gnu_cxx::" (comma_expression "__merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int,_gold" (binary_expression "__merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_long_int" (binary_expression "__merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_" (binary_expression "__merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "__merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std" (binary_expression "__merge_adaptive<__gnu_cxx::__normal_iterator<gold" (binary_expression "__merge_adaptive<__gnu_cxx" identifier < identifier) (ERROR "::__normal_iterator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (pointer_expression "*,_std" * (ERROR "," ,) identifier)) (ERROR "::vector" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) > (ERROR "," ,) identifier) , identifier) : : (binary_expression "Output_segment**,___gnu_cxx" identifier * (pointer_expression "*,___gnu_cxx" * (ERROR "," ,) identifier)) : :) (labeled_statement "__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);" statement_identifier (ERROR "::_Iter_comp_iter<gold:" : : (binary_expression "_Iter_comp_iter<gold" identifier < identifier) :) : (labeled_statement "Layout::Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);" statement_identifier : (ERROR ":" :) (expression_statement "Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp);" (binary_expression "Compare_segments>_>\n              (__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp)" (binary_expression "Compare_segments>_" identifier > identifier) > (parenthesized_expression "(__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp)" ( (comma_expression "__first,local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp" identifier , (comma_expression "local_58,__last_00,local_60,local_68,__buffer,__buffer_size,__comp" identifier , (comma_expression "__last_00,local_60,local_68,__buffer,__buffer_size,__comp" identifier , (comma_expression "local_60,local_68,__buffer,__buffer_size,__comp" identifier , (comma_expression "local_68,__buffer,__buffer_size,__comp" identifier , (comma_expression "__buffer,__buffer_size,__comp" identifier , (comma_expression "__buffer_size,__comp" identifier , identifier))))))) ))) ;))) (expression_statement "__len2 = __len2 - local_68;" (assignment_expression "__len2 = __len2 - local_68" identifier = (binary_expression "__len2 - local_68" identifier - identifier)) ;) (expression_statement "__middle._M_current = local_50._M_current;" (assignment_expression "__middle._M_current = local_50._M_current" (field_expression "__middle._M_current" identifier . field_identifier) = (field_expression "local_50._M_current" identifier . field_identifier)) ;) (expression_statement "__first = __last_00;" (assignment_expression "__first = __last_00" identifier = identifier) ;) })) (expression_statement "__n = (long)__last._M_current - (long)__middle._M_current;" (assignment_expression "__n = (long)__last._M_current - (long)__middle._M_current" identifier = (binary_expression "(long)__last._M_current - (long)__middle._M_current" (cast_expression "(long)__last._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "__last._M_current" identifier . field_identifier)) - (cast_expression "(long)__middle._M_current" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "__middle._M_current" identifier . field_identifier)))) ;) (if_statement "if (__last._M_current != __middle._M_current) {\n    memmove(__buffer,__middle._M_current,__n);\n  }" if (parenthesized_expression "(__last._M_current != __middle._M_current)" ( (binary_expression "__last._M_current != __middle._M_current" (field_expression "__last._M_current" identifier . field_identifier) != (field_expression "__middle._M_current" identifier . field_identifier)) )) (compound_statement "{\n    memmove(__buffer,__middle._M_current,__n);\n  }" { (expression_statement "memmove(__buffer,__middle._M_current,__n);" (call_expression "memmove(__buffer,__middle._M_current,__n)" identifier (argument_list "(__buffer,__middle._M_current,__n)" ( identifier , (field_expression "__middle._M_current" identifier . field_identifier) , identifier ))) ;) })) (expression_statement "ppOVar5 = (Output_segment **)((long)__buffer + __n);" (assignment_expression "ppOVar5 = (Output_segment **)((long)__buffer + __n)" identifier = (cast_expression "(Output_segment **)((long)__buffer + __n)" ( (type_descriptor "Output_segment **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__buffer + __n)" ( (binary_expression "(long)__buffer + __n" (cast_expression "(long)__buffer" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (__middle._M_current == __first._M_current) {\n    if (__buffer != ppOVar5) {\n      __first._M_current = __last._M_current - __n;\nLAB_0038f5b2:\n      memmove(__first._M_current,__buffer,__n);\n      return;\n    }\n  }\n  else if (__buffer != ppOVar5) {\n    ppOVar4 = __middle._M_current + -1;\n    ppOVar5 = ppOVar5 + -1;\n    while( true ) {\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }\n    if (__buffer != ppOVar5 + 1) {\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }\n  }" if (parenthesized_expression "(__middle._M_current == __first._M_current)" ( (binary_expression "__middle._M_current == __first._M_current" (field_expression "__middle._M_current" identifier . field_identifier) == (field_expression "__first._M_current" identifier . field_identifier)) )) (compound_statement "{\n    if (__buffer != ppOVar5) {\n      __first._M_current = __last._M_current - __n;\nLAB_0038f5b2:\n      memmove(__first._M_current,__buffer,__n);\n      return;\n    }\n  }" { (if_statement "if (__buffer != ppOVar5) {\n      __first._M_current = __last._M_current - __n;\nLAB_0038f5b2:\n      memmove(__first._M_current,__buffer,__n);\n      return;\n    }" if (parenthesized_expression "(__buffer != ppOVar5)" ( (binary_expression "__buffer != ppOVar5" identifier != identifier) )) (compound_statement "{\n      __first._M_current = __last._M_current - __n;\nLAB_0038f5b2:\n      memmove(__first._M_current,__buffer,__n);\n      return;\n    }" { (expression_statement "__first._M_current = __last._M_current - __n;" (assignment_expression "__first._M_current = __last._M_current - __n" (field_expression "__first._M_current" identifier . field_identifier) = (binary_expression "__last._M_current - __n" (field_expression "__last._M_current" identifier . field_identifier) - identifier)) ;) (labeled_statement "LAB_0038f5b2:\n      memmove(__first._M_current,__buffer,__n);" statement_identifier : (expression_statement "memmove(__first._M_current,__buffer,__n);" (call_expression "memmove(__first._M_current,__buffer,__n)" identifier (argument_list "(__first._M_current,__buffer,__n)" ( (field_expression "__first._M_current" identifier . field_identifier) , identifier , identifier ))) ;)) (return_statement "return;" return ;) })) }) (else_clause "else if (__buffer != ppOVar5) {\n    ppOVar4 = __middle._M_current + -1;\n    ppOVar5 = ppOVar5 + -1;\n    while( true ) {\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }\n    if (__buffer != ppOVar5 + 1) {\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }\n  }" else (if_statement "if (__buffer != ppOVar5) {\n    ppOVar4 = __middle._M_current + -1;\n    ppOVar5 = ppOVar5 + -1;\n    while( true ) {\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }\n    if (__buffer != ppOVar5 + 1) {\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }\n  }" if (parenthesized_expression "(__buffer != ppOVar5)" ( (binary_expression "__buffer != ppOVar5" identifier != identifier) )) (compound_statement "{\n    ppOVar4 = __middle._M_current + -1;\n    ppOVar5 = ppOVar5 + -1;\n    while( true ) {\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }\n    if (__buffer != ppOVar5 + 1) {\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }\n  }" { (expression_statement "ppOVar4 = __middle._M_current + -1;" (assignment_expression "ppOVar4 = __middle._M_current + -1" identifier = (binary_expression "__middle._M_current + -1" (field_expression "__middle._M_current" identifier . field_identifier) + number_literal)) ;) (expression_statement "ppOVar5 = ppOVar5 + -1;" (assignment_expression "ppOVar5 = ppOVar5 + -1" identifier = (binary_expression "ppOVar5 + -1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }\n      *__last._M_current = *ppOVar4;\n      if (ppOVar4 == __first._M_current) break;\n      ppOVar4 = ppOVar4 + -1;\n    }" { (while_statement "while( true ) {\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        __last._M_current = __last._M_current + -1;\n        bVar2 = gold::Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);\n        if (bVar2) break;\n        *__last._M_current = *ppOVar5;\n        if (__buffer == ppOVar5) {\n          return;\n        }\n        ppOVar5 = ppOVar5 + -1;\n      }" { (expression_statement "__last._M_current = __last._M_current + -1;" (assignment_expression "__last._M_current = __last._M_current + -1" (field_expression "__last._M_current" identifier . field_identifier) = (binary_expression "__last._M_current + -1" (field_expression "__last._M_current" identifier . field_identifier) + number_literal)) ;) (ERROR "bVar2 = gold::" (assignment_expression "bVar2 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4);" (call_expression "segment_precedes((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4)" identifier (argument_list "((Layout *)__comp._M_comp.layout_,*ppOVar5,*ppOVar4)" ( (cast_expression "(Layout *)__comp._M_comp.layout_" ( (type_descriptor "Layout *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "__comp._M_comp.layout_" (field_expression "__comp._M_comp" identifier . field_identifier) . field_identifier)) , (pointer_expression "*ppOVar5" * identifier) , (pointer_expression "*ppOVar4" * identifier) ))) ;)) (if_statement "if (bVar2) break;" if (parenthesized_expression "(bVar2)" ( identifier )) (break_statement "break;" break ;)) (expression_statement "*__last._M_current = *ppOVar5;" (assignment_expression "*__last._M_current = *ppOVar5" (pointer_expression "*__last._M_current" * (field_expression "__last._M_current" identifier . field_identifier)) = (pointer_expression "*ppOVar5" * identifier)) ;) (if_statement "if (__buffer == ppOVar5) {\n          return;\n        }" if (parenthesized_expression "(__buffer == ppOVar5)" ( (binary_expression "__buffer == ppOVar5" identifier == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "ppOVar5 = ppOVar5 + -1;" (assignment_expression "ppOVar5 = ppOVar5 + -1" identifier = (binary_expression "ppOVar5 + -1" identifier + number_literal)) ;) })) (expression_statement "*__last._M_current = *ppOVar4;" (assignment_expression "*__last._M_current = *ppOVar4" (pointer_expression "*__last._M_current" * (field_expression "__last._M_current" identifier . field_identifier)) = (pointer_expression "*ppOVar4" * identifier)) ;) (if_statement "if (ppOVar4 == __first._M_current) break;" if (parenthesized_expression "(ppOVar4 == __first._M_current)" ( (binary_expression "ppOVar4 == __first._M_current" identifier == (field_expression "__first._M_current" identifier . field_identifier)) )) (break_statement "break;" break ;)) (expression_statement "ppOVar4 = ppOVar4 + -1;" (assignment_expression "ppOVar4 = ppOVar4 + -1" identifier = (binary_expression "ppOVar4 + -1" identifier + number_literal)) ;) })) (if_statement "if (__buffer != ppOVar5 + 1) {\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }" if (parenthesized_expression "(__buffer != ppOVar5 + 1)" ( (binary_expression "__buffer != ppOVar5 + 1" identifier != (binary_expression "ppOVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n      __n = (long)(ppOVar5 + 1) - (long)__buffer;\n      __first._M_current = __last._M_current - __n;\n      goto LAB_0038f5b2;\n    }" { (expression_statement "__n = (long)(ppOVar5 + 1) - (long)__buffer;" (assignment_expression "__n = (long)(ppOVar5 + 1) - (long)__buffer" identifier = (binary_expression "(long)(ppOVar5 + 1) - (long)__buffer" (cast_expression "(long)(ppOVar5 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(ppOVar5 + 1)" ( (binary_expression "ppOVar5 + 1" identifier + number_literal) ))) - (cast_expression "(long)__buffer" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "__first._M_current = __last._M_current - __n;" (assignment_expression "__first._M_current = __last._M_current - __n" (field_expression "__first._M_current" identifier . field_identifier) = (binary_expression "__last._M_current - __n" (field_expression "__last._M_current" identifier . field_identifier) - identifier)) ;) (goto_statement "goto LAB_0038f5b2;" goto statement_identifier ;) })) })))) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)" identifier (parameter_list "(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_5" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 *param_6" type_identifier (pointer_declarator "*param_6" * identifier)) , (parameter_declaration "long param_7" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_8" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long local_68;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined8 *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (while_statement "while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }" { (expression_statement "lVar3 = param_7;" (assignment_expression "lVar3 = param_7" identifier = identifier) ;) (if_statement "if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }" if (parenthesized_expression "(param_5 <= param_7)" ( (binary_expression "param_5 <= param_7" identifier <= identifier) )) (compound_statement "{\n      lVar3 = param_5;\n    }" { (expression_statement "lVar3 = param_5;" (assignment_expression "lVar3 = param_5" identifier = identifier) ;) })) (if_statement "if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }" if (parenthesized_expression "(param_4 <= lVar3)" ( (binary_expression "param_4 <= lVar3" identifier <= identifier) )) (compound_statement "{\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }" { (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" identifier = (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }" if (parenthesized_expression "(param_2 != param_1)" ( (binary_expression "param_2 != param_1" identifier != identifier) )) (compound_statement "{\n        memmove(param_6,param_1,__n);\n      }" { (expression_statement "memmove(param_6,param_1,__n);" (call_expression "memmove(param_6,param_1,__n)" identifier (argument_list "(param_6,param_1,__n)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar4 = (undefined8 *)((long)param_6 + __n);" (assignment_expression "puVar4 = (undefined8 *)((long)param_6 + __n)" identifier = (cast_expression "(undefined8 *)((long)param_6 + __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + __n)" ( (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (param_6 == puVar4) {\n        return;\n      }" if (parenthesized_expression "(param_6 == puVar4)" ( (binary_expression "param_6 == puVar4" identifier == identifier) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (if_statement "if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }" if (parenthesized_expression "(param_3 != param_2)" ( (binary_expression "param_3 != param_2" identifier != identifier) )) (compound_statement "{\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }" { (do_statement "do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);" do (compound_statement "{\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        }" { (expression_statement "cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);" (assignment_expression "cVar2 = FUN_0037bea0(param_8,*param_2,*param_6)" identifier = (call_expression "FUN_0037bea0(param_8,*param_2,*param_6)" identifier (argument_list "(param_8,*param_2,*param_6)" ( identifier , (pointer_expression "*param_2" * identifier) , (pointer_expression "*param_6" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }" { (expression_statement "uVar1 = *param_6;" (assignment_expression "uVar1 = *param_6" identifier = (pointer_expression "*param_6" * identifier)) ;) (expression_statement "param_6 = param_6 + 1;" (assignment_expression "param_6 = param_6 + 1" identifier = (binary_expression "param_6 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }) (else_clause "else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" else (compound_statement "{\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" { (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) }))) (if_statement "if (puVar4 == param_6) {\n            return;\n          }" if (parenthesized_expression "(puVar4 == param_6)" ( (binary_expression "puVar4 == param_6" identifier == identifier) )) (compound_statement "{\n            return;\n          }" { (return_statement "return;" return ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != param_2)" ( (binary_expression "param_3 != param_2" identifier != identifier) )) ;) (expression_statement "__n = (long)puVar4 - (long)param_6;" (assignment_expression "__n = (long)puVar4 - (long)param_6" identifier = (binary_expression "(long)puVar4 - (long)param_6" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) })) (goto_statement "goto LAB_0038f5b2;" goto statement_identifier ;) })) (if_statement "if (param_5 <= param_7) break;" if (parenthesized_expression "(param_5 <= param_7)" ( (binary_expression "param_5 <= param_7" identifier <= identifier) )) (break_statement "break;" break ;)) (if_statement "if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" if (parenthesized_expression "(param_5 < param_4)" ( (binary_expression "param_5 < param_4" identifier < identifier) )) (compound_statement "{\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }" { (expression_statement "local_60 = param_4 / 2;" (assignment_expression "local_60 = param_4 / 2" identifier = (binary_expression "param_4 / 2" identifier / number_literal)) ;) (expression_statement "local_58 = param_1 + local_60;" (assignment_expression "local_58 = param_1 + local_60" identifier = (binary_expression "param_1 + local_60" identifier + identifier)) ;) (expression_statement "local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);" (assignment_expression "local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8)" identifier = (cast_expression "(undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0038ed30(param_2,param_3,local_58,param_8)" identifier (argument_list "(param_2,param_3,local_58,param_8)" ( identifier , identifier , identifier , identifier ))))) ;) (expression_statement "local_68 = (long)local_50 - (long)param_2 >> 3;" (assignment_expression "local_68 = (long)local_50 - (long)param_2 >> 3" identifier = (binary_expression "(long)local_50 - (long)param_2 >> 3" (binary_expression "(long)local_50 - (long)param_2" (cast_expression "(long)local_50" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) }) (else_clause "else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" else (compound_statement "{\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" { (expression_statement "local_68 = param_5 / 2;" (assignment_expression "local_68 = param_5 / 2" identifier = (binary_expression "param_5 / 2" identifier / number_literal)) ;) (expression_statement "local_50 = param_2 + local_68;" (assignment_expression "local_50 = param_2 + local_68" identifier = (binary_expression "param_2 + local_68" identifier + identifier)) ;) (expression_statement "local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);" (assignment_expression "local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8)" identifier = (cast_expression "(undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0038edb0(param_1,param_2,local_50,param_8)" identifier (argument_list "(param_1,param_2,local_50,param_8)" ( identifier , identifier , identifier , identifier ))))) ;) (expression_statement "local_60 = (long)local_58 - (long)param_1 >> 3;" (assignment_expression "local_60 = (long)local_58 - (long)param_1 >> 3" identifier = (binary_expression "(long)local_58 - (long)param_1 >> 3" (binary_expression "(long)local_58 - (long)param_1" (cast_expression "(long)local_58" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) >> number_literal)) ;) }))) (expression_statement "param_4 = param_4 - local_60;" (assignment_expression "param_4 = param_4 - local_60" identifier = (binary_expression "param_4 - local_60" identifier - identifier)) ;) (expression_statement "puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);" (assignment_expression "puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" identifier = (cast_expression "(undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" identifier (argument_list "(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);" (call_expression "FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8)" identifier (argument_list "(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "param_5 = param_5 - local_68;" (assignment_expression "param_5 = param_5 - local_68" identifier = (binary_expression "param_5 - local_68" identifier - identifier)) ;) (expression_statement "param_2 = local_50;" (assignment_expression "param_2 = local_50" identifier = identifier) ;) (expression_statement "param_1 = puVar4;" (assignment_expression "param_1 = puVar4" identifier = identifier) ;) })) (expression_statement "__n = (long)param_3 - (long)param_2;" (assignment_expression "__n = (long)param_3 - (long)param_2" identifier = (binary_expression "(long)param_3 - (long)param_2" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }" if (parenthesized_expression "(param_3 != param_2)" ( (binary_expression "param_3 != param_2" identifier != identifier) )) (compound_statement "{\n    memmove(param_6,param_2,__n);\n  }" { (expression_statement "memmove(param_6,param_2,__n);" (call_expression "memmove(param_6,param_2,__n)" identifier (argument_list "(param_6,param_2,__n)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "puVar4 = (undefined8 *)((long)param_6 + __n);" (assignment_expression "puVar4 = (undefined8 *)((long)param_6 + __n)" identifier = (cast_expression "(undefined8 *)((long)param_6 + __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_6 + __n)" ( (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + identifier) )))) ;) (if_statement "if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" if (parenthesized_expression "(param_2 == param_1)" ( (binary_expression "param_2 == param_1" identifier == identifier) )) (compound_statement "{\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }" { (if_statement "if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }" if (parenthesized_expression "(param_6 != puVar4)" ( (binary_expression "param_6 != puVar4" identifier != identifier) )) (compound_statement "{\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }" { (expression_statement "param_1 = (undefined8 *)((long)param_3 - __n);" (assignment_expression "param_1 = (undefined8 *)((long)param_3 - __n)" identifier = (cast_expression "(undefined8 *)((long)param_3 - __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_3 - __n)" ( (binary_expression "(long)param_3 - __n" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) )))) ;) (labeled_statement "LAB_0038f5b2:\n      memmove(param_1,param_6,__n);" statement_identifier : (expression_statement "memmove(param_1,param_6,__n);" (call_expression "memmove(param_1,param_6,__n)" identifier (argument_list "(param_1,param_6,__n)" ( identifier , identifier , identifier ))) ;)) (return_statement "return;" return ;) })) }) (else_clause "else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" else (if_statement "if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" if (parenthesized_expression "(param_6 != puVar4)" ( (binary_expression "param_6 != puVar4" identifier != identifier) )) (compound_statement "{\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" { (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" identifier = (binary_expression "puVar4 + -1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }" { (while_statement "while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }" { (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 "cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);" (assignment_expression "cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2)" identifier = (call_expression "FUN_0037bea0(param_8,*puVar4,*param_2)" identifier (argument_list "(param_8,*puVar4,*param_2)" ( identifier , (pointer_expression "*puVar4" * identifier) , (pointer_expression "*param_2" * identifier) )))) ;) (if_statement "if (cVar2 != '\0') break;" if (parenthesized_expression "(cVar2 != '\0')" ( (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (break_statement "break;" break ;)) (expression_statement "*param_3 = *puVar4;" (assignment_expression "*param_3 = *puVar4" (pointer_expression "*param_3" * identifier) = (pointer_expression "*puVar4" * identifier)) ;) (if_statement "if (param_6 == puVar4) {\n          return;\n        }" if (parenthesized_expression "(param_6 == puVar4)" ( (binary_expression "param_6 == puVar4" identifier == identifier) )) (compound_statement "{\n          return;\n        }" { (return_statement "return;" return ;) })) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" identifier = (binary_expression "puVar4 + -1" identifier + number_literal)) ;) })) (expression_statement "*param_3 = *param_2;" (assignment_expression "*param_3 = *param_2" (pointer_expression "*param_3" * identifier) = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (param_2 == param_1) break;" if (parenthesized_expression "(param_2 == param_1)" ( (binary_expression "param_2 == param_1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ;) })) (if_statement "if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }" if (parenthesized_expression "(param_6 != puVar4 + 1)" ( (binary_expression "param_6 != puVar4 + 1" identifier != (binary_expression "puVar4 + 1" identifier + number_literal)) )) (compound_statement "{\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }" { (expression_statement "__n = (long)(puVar4 + 1) - (long)param_6;" (assignment_expression "__n = (long)(puVar4 + 1) - (long)param_6" identifier = (binary_expression "(long)(puVar4 + 1) - (long)param_6" (cast_expression "(long)(puVar4 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(puVar4 + 1)" ( (binary_expression "puVar4 + 1" identifier + number_literal) ))) - (cast_expression "(long)param_6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1 = (undefined8 *)((long)param_3 - __n);" (assignment_expression "param_1 = (undefined8 *)((long)param_3 - __n)" identifier = (cast_expression "(undefined8 *)((long)param_3 - __n)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_3 - __n)" ( (binary_expression "(long)param_3 - __n" (cast_expression "(long)param_3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - identifier) )))) ;) (goto_statement "goto LAB_0038f5b2;" goto statement_identifier ;) })) })))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) >> LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) >> LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - IDENT) )))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (break_statement break ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - IDENT) )))) ;) (goto_statement goto statement_identifier ;) })) })))) (return_statement return ;) })))
(function_definition "void FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)\n\n{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0038f330(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)" (identifier "FUN_0038f330") (parameter_list "(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,\n                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 *param_3" (type_identifier "undefined8") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "long param_5" (sized_type_specifier "long" (long "long")) (identifier "param_5")) (, ",") (parameter_declaration "undefined8 *param_6" (type_identifier "undefined8") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) (, ",") (parameter_declaration "long param_7" (sized_type_specifier "long" (long "long")) (identifier "param_7")) (, ",") (parameter_declaration "undefined8 param_8" (type_identifier "undefined8") (identifier "param_8")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 *puVar4;\n  size_t __n;\n  long local_68;\n  long local_60;\n  undefined8 *local_58;\n  undefined8 *local_50;\n  \n  while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }\n  __n = (long)param_3 - (long)param_2;\n  if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }\n  puVar4 = (undefined8 *)((long)param_6 + __n);\n  if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }\n  return;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 *puVar4;" (type_identifier "undefined8") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "long local_68;" (sized_type_specifier "long" (long "long")) (identifier "local_68") (; ";")) (declaration "long local_60;" (sized_type_specifier "long" (long "long")) (identifier "local_60") (; ";")) (declaration "undefined8 *local_58;" (type_identifier "undefined8") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "undefined8 *local_50;" (type_identifier "undefined8") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (while_statement "while( true ) {\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    lVar3 = param_7;\n    if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }\n    if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }\n    if (param_5 <= param_7) break;\n    if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }\n    param_4 = param_4 - local_60;\n    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);\n    FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);\n    param_5 = param_5 - local_68;\n    param_2 = local_50;\n    param_1 = puVar4;\n  }" ({ "{") (expression_statement "lVar3 = param_7;" (assignment_expression "lVar3 = param_7" (identifier "lVar3") (= "=") (identifier "param_7")) (; ";")) (if_statement "if (param_5 <= param_7) {\n      lVar3 = param_5;\n    }" (if "if") (parenthesized_expression "(param_5 <= param_7)" (( "(") (binary_expression "param_5 <= param_7" (identifier "param_5") (<= "<=") (identifier "param_7")) () ")")) (compound_statement "{\n      lVar3 = param_5;\n    }" ({ "{") (expression_statement "lVar3 = param_5;" (assignment_expression "lVar3 = param_5" (identifier "lVar3") (= "=") (identifier "param_5")) (; ";")) (} "}"))) (if_statement "if (param_4 <= lVar3) {\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }" (if "if") (parenthesized_expression "(param_4 <= lVar3)" (( "(") (binary_expression "param_4 <= lVar3" (identifier "param_4") (<= "<=") (identifier "lVar3")) () ")")) (compound_statement "{\n      __n = (long)param_2 - (long)param_1;\n      if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }\n      puVar4 = (undefined8 *)((long)param_6 + __n);\n      if (param_6 == puVar4) {\n        return;\n      }\n      if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }\n      goto LAB_0038f5b2;\n    }" ({ "{") (expression_statement "__n = (long)param_2 - (long)param_1;" (assignment_expression "__n = (long)param_2 - (long)param_1" (identifier "__n") (= "=") (binary_expression "(long)param_2 - (long)param_1" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";")) (if_statement "if (param_2 != param_1) {\n        memmove(param_6,param_1,__n);\n      }" (if "if") (parenthesized_expression "(param_2 != param_1)" (( "(") (binary_expression "param_2 != param_1" (identifier "param_2") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n        memmove(param_6,param_1,__n);\n      }" ({ "{") (expression_statement "memmove(param_6,param_1,__n);" (call_expression "memmove(param_6,param_1,__n)" (identifier "memmove") (argument_list "(param_6,param_1,__n)" (( "(") (identifier "param_6") (, ",") (identifier "param_1") (, ",") (identifier "__n") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined8 *)((long)param_6 + __n);" (assignment_expression "puVar4 = (undefined8 *)((long)param_6 + __n)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)((long)param_6 + __n)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_6 + __n)" (( "(") (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_6")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (if_statement "if (param_6 == puVar4) {\n        return;\n      }" (if "if") (parenthesized_expression "(param_6 == puVar4)" (( "(") (binary_expression "param_6 == puVar4" (identifier "param_6") (== "==") (identifier "puVar4")) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_3 != param_2) {\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }" (if "if") (parenthesized_expression "(param_3 != param_2)" (( "(") (binary_expression "param_3 != param_2" (identifier "param_3") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n        do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);\n        __n = (long)puVar4 - (long)param_6;\n      }" ({ "{") (do_statement "do {\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        } while (param_3 != param_2);" (do "do") (compound_statement "{\n          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);\n          if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }\n          if (puVar4 == param_6) {\n            return;\n          }\n          param_1 = param_1 + 1;\n        }" ({ "{") (expression_statement "cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);" (assignment_expression "cVar2 = FUN_0037bea0(param_8,*param_2,*param_6)" (identifier "cVar2") (= "=") (call_expression "FUN_0037bea0(param_8,*param_2,*param_6)" (identifier "FUN_0037bea0") (argument_list "(param_8,*param_2,*param_6)" (( "(") (identifier "param_8") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (pointer_expression "*param_6" (* "*") (identifier "param_6")) () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }\n          else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            uVar1 = *param_6;\n            param_6 = param_6 + 1;\n            *param_1 = uVar1;\n          }" ({ "{") (expression_statement "uVar1 = *param_6;" (assignment_expression "uVar1 = *param_6" (identifier "uVar1") (= "=") (pointer_expression "*param_6" (* "*") (identifier "param_6"))) (; ";")) (expression_statement "param_6 = param_6 + 1;" (assignment_expression "param_6 = param_6 + 1" (identifier "param_6") (= "=") (binary_expression "param_6 + 1" (identifier "param_6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";")) (} "}")) (else_clause "else {\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" (else "else") (compound_statement "{\n            uVar1 = *param_2;\n            param_2 = param_2 + 1;\n            *param_1 = uVar1;\n          }" ({ "{") (expression_statement "uVar1 = *param_2;" (assignment_expression "uVar1 = *param_2" (identifier "uVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";")) (} "}")))) (if_statement "if (puVar4 == param_6) {\n            return;\n          }" (if "if") (parenthesized_expression "(puVar4 == param_6)" (( "(") (binary_expression "puVar4 == param_6" (identifier "puVar4") (== "==") (identifier "param_6")) () ")")) (compound_statement "{\n            return;\n          }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != param_2)" (( "(") (binary_expression "param_3 != param_2" (identifier "param_3") (!= "!=") (identifier "param_2")) () ")")) (; ";")) (expression_statement "__n = (long)puVar4 - (long)param_6;" (assignment_expression "__n = (long)puVar4 - (long)param_6" (identifier "__n") (= "=") (binary_expression "(long)puVar4 - (long)param_6" (cast_expression "(long)puVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar4")) (- "-") (cast_expression "(long)param_6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_6")))) (; ";")) (} "}"))) (goto_statement "goto LAB_0038f5b2;" (goto "goto") (statement_identifier "LAB_0038f5b2") (; ";")) (} "}"))) (if_statement "if (param_5 <= param_7) break;" (if "if") (parenthesized_expression "(param_5 <= param_7)" (( "(") (binary_expression "param_5 <= param_7" (identifier "param_5") (<= "<=") (identifier "param_7")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (param_5 < param_4) {\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }\n    else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" (if "if") (parenthesized_expression "(param_5 < param_4)" (( "(") (binary_expression "param_5 < param_4" (identifier "param_5") (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n      local_60 = param_4 / 2;\n      local_58 = param_1 + local_60;\n      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);\n      local_68 = (long)local_50 - (long)param_2 >> 3;\n    }" ({ "{") (expression_statement "local_60 = param_4 / 2;" (assignment_expression "local_60 = param_4 / 2" (identifier "local_60") (= "=") (binary_expression "param_4 / 2" (identifier "param_4") (/ "/") (number_literal "2"))) (; ";")) (expression_statement "local_58 = param_1 + local_60;" (assignment_expression "local_58 = param_1 + local_60" (identifier "local_58") (= "=") (binary_expression "param_1 + local_60" (identifier "param_1") (+ "+") (identifier "local_60"))) (; ";")) (expression_statement "local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);" (assignment_expression "local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8)" (identifier "local_50") (= "=") (cast_expression "(undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0038ed30(param_2,param_3,local_58,param_8)" (identifier "FUN_0038ed30") (argument_list "(param_2,param_3,local_58,param_8)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "local_58") (, ",") (identifier "param_8") () ")"))))) (; ";")) (expression_statement "local_68 = (long)local_50 - (long)param_2 >> 3;" (assignment_expression "local_68 = (long)local_50 - (long)param_2 >> 3" (identifier "local_68") (= "=") (binary_expression "(long)local_50 - (long)param_2 >> 3" (binary_expression "(long)local_50 - (long)param_2" (cast_expression "(long)local_50" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_50")) (- "-") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2"))) (>> ">>") (number_literal "3"))) (; ";")) (} "}")) (else_clause "else {\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" (else "else") (compound_statement "{\n      local_68 = param_5 / 2;\n      local_50 = param_2 + local_68;\n      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);\n      local_60 = (long)local_58 - (long)param_1 >> 3;\n    }" ({ "{") (expression_statement "local_68 = param_5 / 2;" (assignment_expression "local_68 = param_5 / 2" (identifier "local_68") (= "=") (binary_expression "param_5 / 2" (identifier "param_5") (/ "/") (number_literal "2"))) (; ";")) (expression_statement "local_50 = param_2 + local_68;" (assignment_expression "local_50 = param_2 + local_68" (identifier "local_50") (= "=") (binary_expression "param_2 + local_68" (identifier "param_2") (+ "+") (identifier "local_68"))) (; ";")) (expression_statement "local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);" (assignment_expression "local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8)" (identifier "local_58") (= "=") (cast_expression "(undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0038edb0(param_1,param_2,local_50,param_8)" (identifier "FUN_0038edb0") (argument_list "(param_1,param_2,local_50,param_8)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "local_50") (, ",") (identifier "param_8") () ")"))))) (; ";")) (expression_statement "local_60 = (long)local_58 - (long)param_1 >> 3;" (assignment_expression "local_60 = (long)local_58 - (long)param_1 >> 3" (identifier "local_60") (= "=") (binary_expression "(long)local_58 - (long)param_1 >> 3" (binary_expression "(long)local_58 - (long)param_1" (cast_expression "(long)local_58" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_58")) (- "-") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1"))) (>> ">>") (number_literal "3"))) (; ";")) (} "}")))) (expression_statement "param_4 = param_4 - local_60;" (assignment_expression "param_4 = param_4 - local_60" (identifier "param_4") (= "=") (binary_expression "param_4 - local_60" (identifier "param_4") (- "-") (identifier "local_60"))) (; ";")) (expression_statement "puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);" (assignment_expression "puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" (identifier "FUN_0038f220") (argument_list "(local_58,param_2,local_50,param_4,local_68,param_6,param_7)" (( "(") (identifier "local_58") (, ",") (identifier "param_2") (, ",") (identifier "local_50") (, ",") (identifier "param_4") (, ",") (identifier "local_68") (, ",") (identifier "param_6") (, ",") (identifier "param_7") () ")"))))) (; ";")) (expression_statement "FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);" (call_expression "FUN_0038f330(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8)" (identifier "FUN_0038f330") (argument_list "(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8)" (( "(") (identifier "param_1") (, ",") (identifier "local_58") (, ",") (identifier "puVar4") (, ",") (identifier "local_60") (, ",") (identifier "local_68") (, ",") (identifier "param_6") (, ",") (identifier "param_7") (, ",") (identifier "param_8") () ")"))) (; ";")) (expression_statement "param_5 = param_5 - local_68;" (assignment_expression "param_5 = param_5 - local_68" (identifier "param_5") (= "=") (binary_expression "param_5 - local_68" (identifier "param_5") (- "-") (identifier "local_68"))) (; ";")) (expression_statement "param_2 = local_50;" (assignment_expression "param_2 = local_50" (identifier "param_2") (= "=") (identifier "local_50")) (; ";")) (expression_statement "param_1 = puVar4;" (assignment_expression "param_1 = puVar4" (identifier "param_1") (= "=") (identifier "puVar4")) (; ";")) (} "}"))) (expression_statement "__n = (long)param_3 - (long)param_2;" (assignment_expression "__n = (long)param_3 - (long)param_2" (identifier "__n") (= "=") (binary_expression "(long)param_3 - (long)param_2" (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")) (- "-") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")))) (; ";")) (if_statement "if (param_3 != param_2) {\n    memmove(param_6,param_2,__n);\n  }" (if "if") (parenthesized_expression "(param_3 != param_2)" (( "(") (binary_expression "param_3 != param_2" (identifier "param_3") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n    memmove(param_6,param_2,__n);\n  }" ({ "{") (expression_statement "memmove(param_6,param_2,__n);" (call_expression "memmove(param_6,param_2,__n)" (identifier "memmove") (argument_list "(param_6,param_2,__n)" (( "(") (identifier "param_6") (, ",") (identifier "param_2") (, ",") (identifier "__n") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined8 *)((long)param_6 + __n);" (assignment_expression "puVar4 = (undefined8 *)((long)param_6 + __n)" (identifier "puVar4") (= "=") (cast_expression "(undefined8 *)((long)param_6 + __n)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_6 + __n)" (( "(") (binary_expression "(long)param_6 + __n" (cast_expression "(long)param_6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_6")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (if_statement "if (param_2 == param_1) {\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }\n  else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" (if "if") (parenthesized_expression "(param_2 == param_1)" (( "(") (binary_expression "param_2 == param_1" (identifier "param_2") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n    if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }\n  }" ({ "{") (if_statement "if (param_6 != puVar4) {\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }" (if "if") (parenthesized_expression "(param_6 != puVar4)" (( "(") (binary_expression "param_6 != puVar4" (identifier "param_6") (!= "!=") (identifier "puVar4")) () ")")) (compound_statement "{\n      param_1 = (undefined8 *)((long)param_3 - __n);\nLAB_0038f5b2:\n      memmove(param_1,param_6,__n);\n      return;\n    }" ({ "{") (expression_statement "param_1 = (undefined8 *)((long)param_3 - __n);" (assignment_expression "param_1 = (undefined8 *)((long)param_3 - __n)" (identifier "param_1") (= "=") (cast_expression "(undefined8 *)((long)param_3 - __n)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_3 - __n)" (( "(") (binary_expression "(long)param_3 - __n" (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")) (- "-") (identifier "__n")) () ")")))) (; ";")) (labeled_statement "LAB_0038f5b2:\n      memmove(param_1,param_6,__n);" (statement_identifier "LAB_0038f5b2") (: ":") (expression_statement "memmove(param_1,param_6,__n);" (call_expression "memmove(param_1,param_6,__n)" (identifier "memmove") (argument_list "(param_1,param_6,__n)" (( "(") (identifier "param_1") (, ",") (identifier "param_6") (, ",") (identifier "__n") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" (else "else") (if_statement "if (param_6 != puVar4) {\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" (if "if") (parenthesized_expression "(param_6 != puVar4)" (( "(") (binary_expression "param_6 != puVar4" (identifier "param_6") (!= "!=") (identifier "puVar4")) () ")")) (compound_statement "{\n    param_2 = param_2 + -1;\n    puVar4 = puVar4 + -1;\n    while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }\n    if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }\n  }" ({ "{") (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + -1" (identifier "puVar4") (+ "+") (number_literal "-1"))) (; ";")) (while_statement "while( true ) {\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }\n      *param_3 = *param_2;\n      if (param_2 == param_1) break;\n      param_2 = param_2 + -1;\n    }" ({ "{") (while_statement "while( true ) {\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        param_3 = param_3 + -1;\n        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);\n        if (cVar2 != '\0') break;\n        *param_3 = *puVar4;\n        if (param_6 == puVar4) {\n          return;\n        }\n        puVar4 = puVar4 + -1;\n      }" ({ "{") (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 "cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);" (assignment_expression "cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2)" (identifier "cVar2") (= "=") (call_expression "FUN_0037bea0(param_8,*puVar4,*param_2)" (identifier "FUN_0037bea0") (argument_list "(param_8,*puVar4,*param_2)" (( "(") (identifier "param_8") (, ",") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")))) (; ";")) (if_statement "if (cVar2 != '\0') break;" (if "if") (parenthesized_expression "(cVar2 != '\0')" (( "(") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "*param_3 = *puVar4;" (assignment_expression "*param_3 = *puVar4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (if_statement "if (param_6 == puVar4) {\n          return;\n        }" (if "if") (parenthesized_expression "(param_6 == puVar4)" (( "(") (binary_expression "param_6 == puVar4" (identifier "param_6") (== "==") (identifier "puVar4")) () ")")) (compound_statement "{\n          return;\n        }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar4 = puVar4 + -1;" (assignment_expression "puVar4 = puVar4 + -1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + -1" (identifier "puVar4") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "*param_3 = *param_2;" (assignment_expression "*param_3 = *param_2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (param_2 == param_1) break;" (if "if") (parenthesized_expression "(param_2 == param_1)" (( "(") (binary_expression "param_2 == param_1" (identifier "param_2") (== "==") (identifier "param_1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_2 = param_2 + -1;" (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (if_statement "if (param_6 != puVar4 + 1) {\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }" (if "if") (parenthesized_expression "(param_6 != puVar4 + 1)" (( "(") (binary_expression "param_6 != puVar4 + 1" (identifier "param_6") (!= "!=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n      __n = (long)(puVar4 + 1) - (long)param_6;\n      param_1 = (undefined8 *)((long)param_3 - __n);\n      goto LAB_0038f5b2;\n    }" ({ "{") (expression_statement "__n = (long)(puVar4 + 1) - (long)param_6;" (assignment_expression "__n = (long)(puVar4 + 1) - (long)param_6" (identifier "__n") (= "=") (binary_expression "(long)(puVar4 + 1) - (long)param_6" (cast_expression "(long)(puVar4 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(puVar4 + 1)" (( "(") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1")) () ")"))) (- "-") (cast_expression "(long)param_6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_6")))) (; ";")) (expression_statement "param_1 = (undefined8 *)((long)param_3 - __n);" (assignment_expression "param_1 = (undefined8 *)((long)param_3 - __n)" (identifier "param_1") (= "=") (cast_expression "(undefined8 *)((long)param_3 - __n)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_3 - __n)" (( "(") (binary_expression "(long)param_3 - __n" (cast_expression "(long)param_3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_3")) (- "-") (identifier "__n")) () ")")))) (; ";")) (goto_statement "goto LAB_0038f5b2;" (goto "goto") (statement_identifier "LAB_0038f5b2") (; ";")) (} "}"))) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: __merge_adaptive<__gnu_cxx::__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*> >, long int, gold::Output_segment**,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */

void std::
     __merge_adaptive<var_19::var_1<var_2::type_1**,var_3::vector<var_2::type_1*>var_4>,_long_int,var_20::type_1**,var_21::__ops::_Iter_comp_iter<var_2::type_2::var_27>var_4>
               (var_1<var_2::type_1**,var_3::vector<var_2::type_1*,var_3::allocator<var_2::type_1*>var_4>var_4>
                __first,var_1<var_2::type_1**,var_3::vector<var_2::type_1*,var_3::allocator<var_2::type_1*>var_4>var_4>
                        __middle,
               var_1<var_2::type_1**,var_3::vector<var_2::type_1*,var_3::allocator<var_2::type_1*>var_4>var_4>
               __last,long var_10,long var_8,type_1 **var_14,long var_9,
               _Iter_comp_iter<var_2::type_2::var_27> __comp)

{
  type_1 *pOVar1;
  bool bVar2;
  long var_11;
  var_1<var_2::type_1**,var_3::vector<var_2::type_1*,var_3::allocator<var_2::type_1*>var_4>var_4>
  var_5;
  type_1 **var_28;
  type_1 **var_15;
  size_t var_13;
  long var_23;
  long var_17;
  var_1<var_2::type_1**,var_3::vector<var_2::type_1*,var_3::allocator<var_2::type_1*>var_4>var_4>
  var_6;
  var_1<var_2::type_1**,var_3::vector<var_2::type_1*,var_3::allocator<var_2::type_1*>var_4>var_4>
  var_7;
  
  while( true ) {
    var_11 = var_9;
    if (var_8 <= var_9) {
      var_11 = var_8;
    }
    if (var_10 <= var_11) {
      var_13 = (long)__middle._M_current - (long)__first._M_current;
      if (__middle._M_current != __first._M_current) {
        var_12(var_14,__first._M_current,var_13);
      }
      var_15 = (type_1 **)((long)var_14 + var_13);
      if (var_14 == var_15) {
        return;
      }
      if (__last._M_current != __middle._M_current) {
        do {
          bVar2 = var_2::Layout::var_16
                            ((type_2 *)__comp._M_comp.layout_,*__middle._M_current,*var_14);
          if (bVar2) {
            pOVar1 = *__middle._M_current;
            __middle._M_current = __middle._M_current + 1;
            *__first._M_current = pOVar1;
          }
          else {
            pOVar1 = *var_14;
            var_14 = var_14 + 1;
            *__first._M_current = pOVar1;
          }
          if (var_15 == var_14) {
            return;
          }
          __first._M_current = __first._M_current + 1;
        } while (__last._M_current != __middle._M_current);
        var_13 = (long)var_15 - (long)var_14;
      }
      goto LAB_0038f5b2;
    }
    if (var_8 <= var_9) break;
    if (var_8 < var_10) {
      var_17 = var_10 / 2;
      var_6._M_current = __first._M_current + var_17;
      var_7 = var_18<var_19::var_1<var_2::type_1**,var_3::vector<var_2::type_1*>var_4>,var_20::type_1*,var_21::__ops::var_22<var_2::type_2::var_27>var_4>
                           (__middle,__last,var_6._M_current,
                            (var_22<var_2::type_2::var_27>)__comp._M_comp.layout_);
      var_23 = (long)var_7._M_current - (long)__middle._M_current >> 3;
    }
    else {
      var_23 = var_8 / 2;
      var_7._M_current = __middle._M_current + var_23;
      var_6 = var_24<var_19::var_1<var_2::type_1**,var_3::vector<var_2::type_1*>var_4>,var_20::type_1*,var_21::__ops::var_25<var_2::type_2::var_27>var_4>
                           (__first,__middle,var_7._M_current,
                            (var_25<var_2::type_2::var_27>)__comp._M_comp.layout_);
      var_17 = (long)var_6._M_current - (long)__first._M_current >> 3;
    }
    var_10 = var_10 - var_17;
    var_5 = var_26<var_19::var_1<var_2::type_1**,var_3::vector<var_2::type_1*>var_4>,var_20::type_1**,_long_int>
                          (var_6,__middle,var_7,var_10,var_23,var_14,var_9);
    __merge_adaptive<var_19::var_1<var_2::type_1**,var_3::vector<var_2::type_1*>var_4>,_long_int,var_20::type_1**,var_21::__ops::_Iter_comp_iter<var_2::Layout::var_27>var_4>
              (__first,var_6,var_5,var_17,var_23,var_14,var_9,__comp);
    var_8 = var_8 - var_23;
    __middle._M_current = var_7._M_current;
    __first = var_5;
  }
  var_13 = (long)__last._M_current - (long)__middle._M_current;
  if (__last._M_current != __middle._M_current) {
    var_12(var_14,__middle._M_current,var_13);
  }
  var_15 = (type_1 **)((long)var_14 + var_13);
  if (__middle._M_current == __first._M_current) {
    if (var_14 != var_15) {
      __first._M_current = __last._M_current - var_13;
LAB_0038f5b2:
      var_12(__first._M_current,var_14,var_13);
      return;
    }
  }
  else if (var_14 != var_15) {
    var_28 = __middle._M_current + -1;
    var_15 = var_15 + -1;
    while( true ) {
      while( true ) {
        __last._M_current = __last._M_current + -1;
        bVar2 = var_2::Layout::var_16((type_2 *)__comp._M_comp.layout_,*var_15,*var_28);
        if (bVar2) break;
        *__last._M_current = *var_15;
        if (var_14 == var_15) {
          return;
        }
        var_15 = var_15 + -1;
      }
      *__last._M_current = *var_28;
      if (var_28 == __first._M_current) break;
      var_28 = var_28 + -1;
    }
    if (var_14 != var_15 + 1) {
      var_13 = (long)(var_15 + 1) - (long)var_14;
      __first._M_current = __last._M_current - var_13;
      goto LAB_0038f5b2;
    }
  }
  return;
}


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

void MASKED(undefined8 *param_1,undefined8 *param_2,undefined8 *param_3,long param_4,
                 long param_5,undefined8 *param_6,long param_7,undefined8 param_8)

{
  undefined8 uVar1;
  char cVar2;
  long lVar3;
  undefined8 *puVar4;
  size_t __n;
  long local_68;
  long local_60;
  undefined8 *local_58;
  undefined8 *local_50;
  
  while( true ) {
    lVar3 = param_7;
    if (param_5 <= param_7) {
      lVar3 = param_5;
    }
    if (param_4 <= lVar3) {
      __n = (long)param_2 - (long)param_1;
      if (param_2 != param_1) {
        memmove(param_6,param_1,__n);
      }
      puVar4 = (undefined8 *)((long)param_6 + __n);
      if (param_6 == puVar4) {
        return;
      }
      if (param_3 != param_2) {
        do {
          cVar2 = FUN_0037bea0(param_8,*param_2,*param_6);
          if (cVar2 == '\0') {
            uVar1 = *param_6;
            param_6 = param_6 + 1;
            *param_1 = uVar1;
          }
          else {
            uVar1 = *param_2;
            param_2 = param_2 + 1;
            *param_1 = uVar1;
          }
          if (puVar4 == param_6) {
            return;
          }
          param_1 = param_1 + 1;
        } while (param_3 != param_2);
        __n = (long)puVar4 - (long)param_6;
      }
      goto LAB_0038f5b2;
    }
    if (param_5 <= param_7) break;
    if (param_5 < param_4) {
      local_60 = param_4 / 2;
      local_58 = param_1 + local_60;
      local_50 = (undefined8 *)FUN_0038ed30(param_2,param_3,local_58,param_8);
      local_68 = (long)local_50 - (long)param_2 >> 3;
    }
    else {
      local_68 = param_5 / 2;
      local_50 = param_2 + local_68;
      local_58 = (undefined8 *)FUN_0038edb0(param_1,param_2,local_50,param_8);
      local_60 = (long)local_58 - (long)param_1 >> 3;
    }
    param_4 = param_4 - local_60;
    puVar4 = (undefined8 *)FUN_0038f220(local_58,param_2,local_50,param_4,local_68,param_6,param_7);
    MASKED(param_1,local_58,puVar4,local_60,local_68,param_6,param_7,param_8);
    param_5 = param_5 - local_68;
    param_2 = local_50;
    param_1 = puVar4;
  }
  __n = (long)param_3 - (long)param_2;
  if (param_3 != param_2) {
    memmove(param_6,param_2,__n);
  }
  puVar4 = (undefined8 *)((long)param_6 + __n);
  if (param_2 == param_1) {
    if (param_6 != puVar4) {
      param_1 = (undefined8 *)((long)param_3 - __n);
LAB_0038f5b2:
      memmove(param_1,param_6,__n);
      return;
    }
  }
  else if (param_6 != puVar4) {
    param_2 = param_2 + -1;
    puVar4 = puVar4 + -1;
    while( true ) {
      while( true ) {
        param_3 = param_3 + -1;
        cVar2 = FUN_0037bea0(param_8,*puVar4,*param_2);
        if (cVar2 != '\0') break;
        *param_3 = *puVar4;
        if (param_6 == puVar4) {
          return;
        }
        puVar4 = puVar4 + -1;
      }
      *param_3 = *param_2;
      if (param_2 == param_1) break;
      param_2 = param_2 + -1;
    }
    if (param_6 != puVar4 + 1) {
      __n = (long)(puVar4 + 1) - (long)param_6;
      param_1 = (undefined8 *)((long)param_3 - __n);
      goto LAB_0038f5b2;
    }
  }
  return;
}

