
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: __move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*> >, gold::Output_segment**,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */

Output_segment **
std::
__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_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*>_>_>
           __first1,
          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
                  __first2,
          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>
          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)

{
  Output_segment *pOVar1;
  bool bVar2;
  size_t __n;
  Output_segment **__dest;
  
  if (__first1._M_current == __last1._M_current) {
LAB_0011e505:
    __n = (int)__last2._M_current - (int)__first2._M_current;
    __dest = __result;
  }
  else {
    if (__last2._M_current != __first2._M_current) {
      do {
        bVar2 = gold::Layout::segment_precedes
                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,
                           *__first1._M_current);
        if (bVar2) {
          pOVar1 = *__first2._M_current;
          __first2._M_current = __first2._M_current + 1;
          *__result = pOVar1;
        }
        else {
          pOVar1 = *__first1._M_current;
          __first1._M_current = __first1._M_current + 1;
          *__result = pOVar1;
        }
        if (__first1._M_current == __last1._M_current) {
          __result = __result + 1;
          goto LAB_0011e505;
        }
        __result = __result + 1;
      } while (__first2._M_current != __last2._M_current);
    }
    __dest = (Output_segment **)
             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current));
    __n = 0;
    memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);
  }
  if (__last2._M_current != __first2._M_current) {
    memmove(__dest,__first2._M_current,__n);
  }
  return (Output_segment **)((int)__dest + __n);
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,
                undefined4 *param_5,undefined4 param_6)

{
  undefined4 uVar1;
  char cVar2;
  size_t __n;
  undefined4 *__dest;
  
  if (param_1 == param_2) {
LAB_0011e505:
    __n = (int)param_4 - (int)param_3;
    __dest = param_5;
  }
  else {
    if (param_4 != param_3) {
      do {
        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);
        if (cVar2 == '\0') {
          uVar1 = *param_1;
          param_1 = param_1 + 1;
          *param_5 = uVar1;
        }
        else {
          uVar1 = *param_3;
          param_3 = param_3 + 1;
          *param_5 = uVar1;
        }
        if (param_1 == param_2) {
          param_5 = param_5 + 1;
          goto LAB_0011e505;
        }
        param_5 = param_5 + 1;
      } while (param_3 != param_4);
    }
    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));
    __n = 0;
    memmove(param_5,param_1,(int)param_2 - (int)param_1);
  }
  if (param_4 != param_3) {
    memmove(__dest,param_3,__n);
  }
  return (int)__dest + __n;
}


CALL 0x000b4846
ADD EAX,0x2f5b7b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBP,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],EAX
MOV EDI,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x38]
CMP EBX,EBP
JZ 0x0011e505
CMP dword ptr [ESP + 0x3c],ESI
JZ 0x0011e51a
MOV dword ptr [ESP + 0x40],EDI
MOV EDI,ESI
MOV ESI,dword ptr [ESP + 0x40]
JMP 0x0011e4d5
MOV EAX,dword ptr [EDI]
ADD ESI,0x4
ADD EDI,0x4
MOV dword ptr [ESI + -0x4],EAX
CMP EBX,EBP
JZ 0x0011e4fb
CMP EDI,dword ptr [ESP + 0x3c]
JZ 0x0011e510
SUB ESP,0x4
PUSH dword ptr [EBX]
PUSH dword ptr [EDI]
PUSH dword ptr [ESP + 0x50]
CALL 0x001089a0
ADD ESP,0x10
TEST AL,AL
JNZ 0x0011e4c0
MOV EAX,dword ptr [EBX]
ADD EBX,0x4
ADD ESI,0x4
MOV dword ptr [ESI + -0x4],EAX
CMP EBX,EBP
JNZ 0x0011e4cf
MOV dword ptr [ESP + 0x40],ESI
MOV ESI,EDI
MOV EDI,dword ptr [ESP + 0x40]
MOV EBP,dword ptr [ESP + 0x3c]
SUB EBP,ESI
JMP 0x0011e532
MOV dword ptr [ESP + 0x40],ESI
MOV ESI,EDI
MOV EDI,dword ptr [ESP + 0x40]
SUB ESP,0x4
SUB EBP,EBX
PUSH EBP
PUSH EBX
PUSH EDI
MOV EBX,dword ptr [ESP + 0x1c]
ADD EDI,EBP
XOR EBP,EBP
CALL 0x0002ca40
ADD ESP,0x10
CMP dword ptr [ESP + 0x3c],ESI
JZ 0x0011e54a
SUB ESP,0x4
PUSH EBP
PUSH ESI
PUSH EDI
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x0002ca40
ADD ESP,0x10
ADD ESP,0x1c
LEA EAX,[EDI + EBP*0x1]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}\n\n" comment (function_definition "int FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}" primitive_type (function_declarator "FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (if_statement "if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }" { (labeled_statement "LAB_0011e505:\n    __n = (int)param_4 - (int)param_3;" statement_identifier : (expression_statement "__n = (int)param_4 - (int)param_3;" (assignment_expression "__n = (int)param_4 - (int)param_3" identifier = (binary_expression "(int)param_4 - (int)param_3" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "__dest = param_5;" (assignment_expression "__dest = param_5" identifier = identifier) ;) }) (else_clause "else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" else (compound_statement "{\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" { (if_statement "if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }" if (parenthesized_expression "(param_4 != param_3)" ( (binary_expression "param_4 != param_3" identifier != identifier) )) (compound_statement "{\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }" { (do_statement "do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);" do (compound_statement "{\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      }" { (expression_statement "cVar2 = FUN_001089a0(param_6,*param_3,*param_1);" (assignment_expression "cVar2 = FUN_001089a0(param_6,*param_3,*param_1)" identifier = (call_expression "FUN_001089a0(param_6,*param_3,*param_1)" identifier (argument_list "(param_6,*param_3,*param_1)" ( identifier , (pointer_expression "*param_3" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }" { (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_5 = uVar1;" (assignment_expression "*param_5 = uVar1" (pointer_expression "*param_5" * identifier) = identifier) ;) }) (else_clause "else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" else (compound_statement "{\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" { (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (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 "*param_5 = uVar1;" (assignment_expression "*param_5 = uVar1" (pointer_expression "*param_5" * identifier) = identifier) ;) }))) (if_statement "if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }" { (expression_statement "param_5 = param_5 + 1;" (assignment_expression "param_5 = param_5 + 1" identifier = (binary_expression "param_5 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_0011e505;" goto statement_identifier ;) })) (expression_statement "param_5 = param_5 + 1;" (assignment_expression "param_5 = param_5 + 1" identifier = (binary_expression "param_5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != param_4)" ( (binary_expression "param_3 != param_4" identifier != identifier) )) ;) })) (expression_statement "__dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));" (assignment_expression "__dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1))" identifier = (cast_expression "(undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_5 + ((int)param_2 - (int)param_1))" ( (binary_expression "(int)param_5 + ((int)param_2 - (int)param_1)" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)param_1)" ( (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) ;) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "memmove(param_5,param_1,(int)param_2 - (int)param_1);" (call_expression "memmove(param_5,param_1,(int)param_2 - (int)param_1)" identifier (argument_list "(param_5,param_1,(int)param_2 - (int)param_1)" ( identifier , identifier , (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (if_statement "if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }" if (parenthesized_expression "(param_4 != param_3)" ( (binary_expression "param_4 != param_3" identifier != identifier) )) (compound_statement "{\n    memmove(__dest,param_3,__n);\n  }" { (expression_statement "memmove(__dest,param_3,__n);" (call_expression "memmove(__dest,param_3,__n)" identifier (argument_list "(__dest,param_3,__n)" ( identifier , identifier , identifier ))) ;) })) (return_statement "return (int)__dest + __n;" return (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original name: __move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,\n   std::vector<gold::Output_segment*> >, gold::Output_segment**,\n   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */\n\nOutput_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_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           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1;\n  bool bVar2;\n  size_t __n;\n  Output_segment **__dest;\n  \n  if (__first1._M_current == __last1._M_current) {\nLAB_0011e505:\n    __n = (int)__last2._M_current - (int)__first2._M_current;\n    __dest = __result;\n  }\n  else {\n    if (__last2._M_current != __first2._M_current) {\n      do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);\n    }\n    __dest = (Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current));\n    __n = 0;\n    memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);\n  }\n  if (__last2._M_current != __first2._M_current) {\n    memmove(__dest,__first2._M_current,__n);\n  }\n  return (Output_segment **)((int)__dest + __n);\n}\n\n" comment comment comment comment (expression_statement "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_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           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1;" (update_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_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           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_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           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments>_" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,___gnu_cxx::__ops::_Iter_comp_iter<gold" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold::Output_segment**,___gnu_cxx" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_>,_gold" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*>_" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std::vector<gold" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,_std" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx::__normal_iterator<gold" (binary_expression "Output_segment **\nstd::\n__move_merge<__gnu_cxx" (binary_expression "Output_segment **\nstd" identifier * (pointer_expression "*\nstd" * identifier)) (ERROR "::\n__move_merge" : : 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 "*,___gnu_cxx" * (ERROR "," ,) identifier)) (ERROR "::__ops::_Iter_comp_iter" : : identifier : : identifier) < identifier) (ERROR "::Layout::Compare_segments" : : identifier : : identifier) > identifier) > (binary_expression "(__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)\n\n{\n  Output_segment *pOVar1" (parenthesized_expression "(__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::Compare_segments> __comp)" ( (ERROR "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n           __first1,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last1,__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold::Layout::" (comma_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n           __first1,\n          __normal_iterator<gold" (binary_expression "__normal_iterator<gold::Output_segment**,_std::vector<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>_>\n           __first1" (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) , (binary_expression "__normal_iterator<gold" identifier < identifier)) : : identifier * * , identifier : : identifier < identifier : : identifier * , identifier : : identifier < identifier : : identifier * > (comma_expression "_>_>\n          __last1,__normal_iterator<gold" (binary_expression "_>_>\n          __last1" (binary_expression "_>_" identifier > identifier) > identifier) , (binary_expression "__normal_iterator<gold" identifier < identifier)) : : (type_descriptor "Output_segment**" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , identifier : : (binary_expression "vector<gold" identifier < identifier) : : (type_descriptor "Output_segment*" type_identifier (abstract_pointer_declarator "*" *)) , identifier : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Output_segment*>_>_>\n                  __first2,\n          __normal_iterator<gold" (binary_expression "Output_segment*>_>_>\n                  __first2" (binary_expression "Output_segment*>_>_" (binary_expression "Output_segment*>_" identifier * (ERROR ">" >) identifier) > identifier) > identifier) , (binary_expression "__normal_iterator<gold" identifier < identifier)) : : (type_descriptor "Output_segment**" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) , identifier : : (binary_expression "vector<gold" identifier < identifier) : : (type_descriptor "Output_segment*" type_identifier (abstract_pointer_declarator "*" *)) , identifier : : (binary_expression "allocator<gold" identifier < identifier) : : (comma_expression "Output_segment*>_>_>\n          __last2,Output_segment **__result,_Iter_comp_iter<gold" (binary_expression "Output_segment*>_>_>\n          __last2" (binary_expression "Output_segment*>_>_" (binary_expression "Output_segment*>_" identifier * (ERROR ">" >) identifier) > identifier) > identifier) , (comma_expression "Output_segment **__result,_Iter_comp_iter<gold" (binary_expression "Output_segment **__result" identifier * (pointer_expression "*__result" * identifier)) , (binary_expression "_Iter_comp_iter<gold" identifier < identifier))) : : identifier : :) (binary_expression "Compare_segments> __comp" identifier > identifier) )) (ERROR "{\n  Output_segment" { identifier) * identifier)) --) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "Output_segment **__dest;" type_identifier (pointer_declarator "**__dest" * (pointer_declarator "*__dest" * identifier)) ;) (if_statement "if (__first1._M_current == __last1._M_current) {\nLAB_0011e505:\n    __n = (int)__last2._M_current - (int)__first2._M_current;\n    __dest = __result;\n  }\n  else {\n    if (__last2._M_current != __first2._M_current) {\n      do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);\n    }\n    __dest = (Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current));\n    __n = 0;\n    memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);\n  }" if (parenthesized_expression "(__first1._M_current == __last1._M_current)" ( (binary_expression "__first1._M_current == __last1._M_current" (field_expression "__first1._M_current" identifier . field_identifier) == (field_expression "__last1._M_current" identifier . field_identifier)) )) (compound_statement "{\nLAB_0011e505:\n    __n = (int)__last2._M_current - (int)__first2._M_current;\n    __dest = __result;\n  }" { (labeled_statement "LAB_0011e505:\n    __n = (int)__last2._M_current - (int)__first2._M_current;" statement_identifier : (expression_statement "__n = (int)__last2._M_current - (int)__first2._M_current;" (assignment_expression "__n = (int)__last2._M_current - (int)__first2._M_current" identifier = (binary_expression "(int)__last2._M_current - (int)__first2._M_current" (cast_expression "(int)__last2._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__last2._M_current" identifier . field_identifier)) - (cast_expression "(int)__first2._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first2._M_current" identifier . field_identifier)))) ;)) (expression_statement "__dest = __result;" (assignment_expression "__dest = __result" identifier = identifier) ;) }) (else_clause "else {\n    if (__last2._M_current != __first2._M_current) {\n      do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);\n    }\n    __dest = (Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current));\n    __n = 0;\n    memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);\n  }" else (compound_statement "{\n    if (__last2._M_current != __first2._M_current) {\n      do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);\n    }\n    __dest = (Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current));\n    __n = 0;\n    memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);\n  }" { (if_statement "if (__last2._M_current != __first2._M_current) {\n      do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);\n    }" if (parenthesized_expression "(__last2._M_current != __first2._M_current)" ( (binary_expression "__last2._M_current != __first2._M_current" (field_expression "__last2._M_current" identifier . field_identifier) != (field_expression "__first2._M_current" identifier . field_identifier)) )) (compound_statement "{\n      do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);\n    }" { (do_statement "do {\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      } while (__first2._M_current != __last2._M_current);" do (compound_statement "{\n        bVar2 = gold::Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);\n        if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }\n        if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }\n        __result = __result + 1;\n      }" { (ERROR "bVar2 = gold::" (assignment_expression "bVar2 = gold" identifier = identifier) : :) (labeled_statement "Layout::segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);" statement_identifier : (ERROR ":" :) (expression_statement "segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current);" (call_expression "segment_precedes\n                          ((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current)" identifier (argument_list "((Layout *)__comp._M_comp.layout_,*__first2._M_current,\n                           *__first1._M_current)" ( (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 "*__first2._M_current" * (field_expression "__first2._M_current" identifier . field_identifier)) , (pointer_expression "*__first1._M_current" * (field_expression "__first1._M_current" identifier . field_identifier)) ))) ;)) (if_statement "if (bVar2) {\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }\n        else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          pOVar1 = *__first2._M_current;\n          __first2._M_current = __first2._M_current + 1;\n          *__result = pOVar1;\n        }" { (expression_statement "pOVar1 = *__first2._M_current;" (assignment_expression "pOVar1 = *__first2._M_current" identifier = (pointer_expression "*__first2._M_current" * (field_expression "__first2._M_current" identifier . field_identifier))) ;) (expression_statement "__first2._M_current = __first2._M_current + 1;" (assignment_expression "__first2._M_current = __first2._M_current + 1" (field_expression "__first2._M_current" identifier . field_identifier) = (binary_expression "__first2._M_current + 1" (field_expression "__first2._M_current" identifier . field_identifier) + number_literal)) ;) (expression_statement "*__result = pOVar1;" (assignment_expression "*__result = pOVar1" (pointer_expression "*__result" * identifier) = identifier) ;) }) (else_clause "else {\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }" else (compound_statement "{\n          pOVar1 = *__first1._M_current;\n          __first1._M_current = __first1._M_current + 1;\n          *__result = pOVar1;\n        }" { (expression_statement "pOVar1 = *__first1._M_current;" (assignment_expression "pOVar1 = *__first1._M_current" identifier = (pointer_expression "*__first1._M_current" * (field_expression "__first1._M_current" identifier . field_identifier))) ;) (expression_statement "__first1._M_current = __first1._M_current + 1;" (assignment_expression "__first1._M_current = __first1._M_current + 1" (field_expression "__first1._M_current" identifier . field_identifier) = (binary_expression "__first1._M_current + 1" (field_expression "__first1._M_current" identifier . field_identifier) + number_literal)) ;) (expression_statement "*__result = pOVar1;" (assignment_expression "*__result = pOVar1" (pointer_expression "*__result" * identifier) = identifier) ;) }))) (if_statement "if (__first1._M_current == __last1._M_current) {\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }" if (parenthesized_expression "(__first1._M_current == __last1._M_current)" ( (binary_expression "__first1._M_current == __last1._M_current" (field_expression "__first1._M_current" identifier . field_identifier) == (field_expression "__last1._M_current" identifier . field_identifier)) )) (compound_statement "{\n          __result = __result + 1;\n          goto LAB_0011e505;\n        }" { (expression_statement "__result = __result + 1;" (assignment_expression "__result = __result + 1" identifier = (binary_expression "__result + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_0011e505;" goto statement_identifier ;) })) (expression_statement "__result = __result + 1;" (assignment_expression "__result = __result + 1" identifier = (binary_expression "__result + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(__first2._M_current != __last2._M_current)" ( (binary_expression "__first2._M_current != __last2._M_current" (field_expression "__first2._M_current" identifier . field_identifier) != (field_expression "__last2._M_current" identifier . field_identifier)) )) ;) })) (expression_statement "__dest = (Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current));" (assignment_expression "__dest = (Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current))" identifier = (cast_expression "(Output_segment **)\n             ((int)__result + ((int)__last1._M_current - (int)__first1._M_current))" ( (type_descriptor "Output_segment **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__result + ((int)__last1._M_current - (int)__first1._M_current))" ( (binary_expression "(int)__result + ((int)__last1._M_current - (int)__first1._M_current)" (cast_expression "(int)__result" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)__last1._M_current - (int)__first1._M_current)" ( (binary_expression "(int)__last1._M_current - (int)__first1._M_current" (cast_expression "(int)__last1._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__last1._M_current" identifier . field_identifier)) - (cast_expression "(int)__first1._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first1._M_current" identifier . field_identifier))) ))) )))) ;) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);" (call_expression "memmove(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current)" identifier (argument_list "(__result,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current)" ( identifier , (field_expression "__first1._M_current" identifier . field_identifier) , (binary_expression "(int)__last1._M_current - (int)__first1._M_current" (cast_expression "(int)__last1._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__last1._M_current" identifier . field_identifier)) - (cast_expression "(int)__first1._M_current" ( (type_descriptor "int" primitive_type) ) (field_expression "__first1._M_current" identifier . field_identifier))) ))) ;) }))) (if_statement "if (__last2._M_current != __first2._M_current) {\n    memmove(__dest,__first2._M_current,__n);\n  }" if (parenthesized_expression "(__last2._M_current != __first2._M_current)" ( (binary_expression "__last2._M_current != __first2._M_current" (field_expression "__last2._M_current" identifier . field_identifier) != (field_expression "__first2._M_current" identifier . field_identifier)) )) (compound_statement "{\n    memmove(__dest,__first2._M_current,__n);\n  }" { (expression_statement "memmove(__dest,__first2._M_current,__n);" (call_expression "memmove(__dest,__first2._M_current,__n)" identifier (argument_list "(__dest,__first2._M_current,__n)" ( identifier , (field_expression "__first2._M_current" identifier . field_identifier) , identifier ))) ;) })) (return_statement "return (Output_segment **)((int)__dest + __n);" return (cast_expression "(Output_segment **)((int)__dest + __n)" ( (type_descriptor "Output_segment **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)__dest + __n)" ( (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ))) ;) (ERROR "}" }))
(translation_unit "int FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}\n\n" (function_definition "int FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}" primitive_type (function_declarator "FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "undefined4 *__dest;" type_identifier (pointer_declarator "*__dest" * identifier) ;) (if_statement "if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }" { (labeled_statement "LAB_0011e505:\n    __n = (int)param_4 - (int)param_3;" statement_identifier : (expression_statement "__n = (int)param_4 - (int)param_3;" (assignment_expression "__n = (int)param_4 - (int)param_3" identifier = (binary_expression "(int)param_4 - (int)param_3" (cast_expression "(int)param_4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;)) (expression_statement "__dest = param_5;" (assignment_expression "__dest = param_5" identifier = identifier) ;) }) (else_clause "else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" else (compound_statement "{\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" { (if_statement "if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }" if (parenthesized_expression "(param_4 != param_3)" ( (binary_expression "param_4 != param_3" identifier != identifier) )) (compound_statement "{\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }" { (do_statement "do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);" do (compound_statement "{\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      }" { (expression_statement "cVar2 = FUN_001089a0(param_6,*param_3,*param_1);" (assignment_expression "cVar2 = FUN_001089a0(param_6,*param_3,*param_1)" identifier = (call_expression "FUN_001089a0(param_6,*param_3,*param_1)" identifier (argument_list "(param_6,*param_3,*param_1)" ( identifier , (pointer_expression "*param_3" * identifier) , (pointer_expression "*param_1" * identifier) )))) ;) (if_statement "if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }" { (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*param_5 = uVar1;" (assignment_expression "*param_5 = uVar1" (pointer_expression "*param_5" * identifier) = identifier) ;) }) (else_clause "else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" else (compound_statement "{\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" { (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (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 "*param_5 = uVar1;" (assignment_expression "*param_5 = uVar1" (pointer_expression "*param_5" * identifier) = identifier) ;) }))) (if_statement "if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }" if (parenthesized_expression "(param_1 == param_2)" ( (binary_expression "param_1 == param_2" identifier == identifier) )) (compound_statement "{\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }" { (expression_statement "param_5 = param_5 + 1;" (assignment_expression "param_5 = param_5 + 1" identifier = (binary_expression "param_5 + 1" identifier + number_literal)) ;) (goto_statement "goto LAB_0011e505;" goto statement_identifier ;) })) (expression_statement "param_5 = param_5 + 1;" (assignment_expression "param_5 = param_5 + 1" identifier = (binary_expression "param_5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_3 != param_4)" ( (binary_expression "param_3 != param_4" identifier != identifier) )) ;) })) (expression_statement "__dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));" (assignment_expression "__dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1))" identifier = (cast_expression "(undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_5 + ((int)param_2 - (int)param_1))" ( (binary_expression "(int)param_5 + ((int)param_2 - (int)param_1)" (cast_expression "(int)param_5" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "((int)param_2 - (int)param_1)" ( (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) )))) ;) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "memmove(param_5,param_1,(int)param_2 - (int)param_1);" (call_expression "memmove(param_5,param_1,(int)param_2 - (int)param_1)" identifier (argument_list "(param_5,param_1,(int)param_2 - (int)param_1)" ( identifier , identifier , (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) }))) (if_statement "if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }" if (parenthesized_expression "(param_4 != param_3)" ( (binary_expression "param_4 != param_3" identifier != identifier) )) (compound_statement "{\n    memmove(__dest,param_3,__n);\n  }" { (expression_statement "memmove(__dest,param_3,__n);" (call_expression "memmove(__dest,param_3,__n)" identifier (argument_list "(__dest,param_3,__n)" ( identifier , identifier , identifier ))) ;) })) (return_statement "return (int)__dest + __n;" return (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (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 { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (return_statement return (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) ;) })))
(function_definition "int FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}" (primitive_type "int") (function_declarator "FUN_0011e480(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)" (identifier "FUN_0011e480") (parameter_list "(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,\n                undefined4 *param_5,undefined4 param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  char cVar2;\n  size_t __n;\n  undefined4 *__dest;\n  \n  if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }\n  if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }\n  return (int)__dest + __n;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "undefined4 *__dest;" (type_identifier "undefined4") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (if_statement "if (param_1 == param_2) {\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }\n  else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" (if "if") (parenthesized_expression "(param_1 == param_2)" (( "(") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\nLAB_0011e505:\n    __n = (int)param_4 - (int)param_3;\n    __dest = param_5;\n  }" ({ "{") (labeled_statement "LAB_0011e505:\n    __n = (int)param_4 - (int)param_3;" (statement_identifier "LAB_0011e505") (: ":") (expression_statement "__n = (int)param_4 - (int)param_3;" (assignment_expression "__n = (int)param_4 - (int)param_3" (identifier "__n") (= "=") (binary_expression "(int)param_4 - (int)param_3" (cast_expression "(int)param_4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_4")) (- "-") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")))) (; ";"))) (expression_statement "__dest = param_5;" (assignment_expression "__dest = param_5" (identifier "__dest") (= "=") (identifier "param_5")) (; ";")) (} "}")) (else_clause "else {\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" (else "else") (compound_statement "{\n    if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }\n    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));\n    __n = 0;\n    memmove(param_5,param_1,(int)param_2 - (int)param_1);\n  }" ({ "{") (if_statement "if (param_4 != param_3) {\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }" (if "if") (parenthesized_expression "(param_4 != param_3)" (( "(") (binary_expression "param_4 != param_3" (identifier "param_4") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n      do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);\n    }" ({ "{") (do_statement "do {\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      } while (param_3 != param_4);" (do "do") (compound_statement "{\n        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);\n        if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }\n        if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }\n        param_5 = param_5 + 1;\n      }" ({ "{") (expression_statement "cVar2 = FUN_001089a0(param_6,*param_3,*param_1);" (assignment_expression "cVar2 = FUN_001089a0(param_6,*param_3,*param_1)" (identifier "cVar2") (= "=") (call_expression "FUN_001089a0(param_6,*param_3,*param_1)" (identifier "FUN_001089a0") (argument_list "(param_6,*param_3,*param_1)" (( "(") (identifier "param_6") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) (, ",") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n          uVar1 = *param_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }\n        else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = 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_1;\n          param_1 = param_1 + 1;\n          *param_5 = uVar1;\n        }" ({ "{") (expression_statement "uVar1 = *param_1;" (assignment_expression "uVar1 = *param_1" (identifier "uVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (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"))) (; ";")) (expression_statement "*param_5 = uVar1;" (assignment_expression "*param_5 = uVar1" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "uVar1")) (; ";")) (} "}")) (else_clause "else {\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" (else "else") (compound_statement "{\n          uVar1 = *param_3;\n          param_3 = param_3 + 1;\n          *param_5 = uVar1;\n        }" ({ "{") (expression_statement "uVar1 = *param_3;" (assignment_expression "uVar1 = *param_3" (identifier "uVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (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 "*param_5 = uVar1;" (assignment_expression "*param_5 = uVar1" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (identifier "uVar1")) (; ";")) (} "}")))) (if_statement "if (param_1 == param_2) {\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }" (if "if") (parenthesized_expression "(param_1 == param_2)" (( "(") (binary_expression "param_1 == param_2" (identifier "param_1") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n          param_5 = param_5 + 1;\n          goto LAB_0011e505;\n        }" ({ "{") (expression_statement "param_5 = param_5 + 1;" (assignment_expression "param_5 = param_5 + 1" (identifier "param_5") (= "=") (binary_expression "param_5 + 1" (identifier "param_5") (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_0011e505;" (goto "goto") (statement_identifier "LAB_0011e505") (; ";")) (} "}"))) (expression_statement "param_5 = param_5 + 1;" (assignment_expression "param_5 = param_5 + 1" (identifier "param_5") (= "=") (binary_expression "param_5 + 1" (identifier "param_5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_3 != param_4)" (( "(") (binary_expression "param_3 != param_4" (identifier "param_3") (!= "!=") (identifier "param_4")) () ")")) (; ";")) (} "}"))) (expression_statement "__dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));" (assignment_expression "__dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1))" (identifier "__dest") (= "=") (cast_expression "(undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_5 + ((int)param_2 - (int)param_1))" (( "(") (binary_expression "(int)param_5 + ((int)param_2 - (int)param_1)" (cast_expression "(int)param_5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_5")) (+ "+") (parenthesized_expression "((int)param_2 - (int)param_1)" (( "(") (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")"))) () ")")))) (; ";")) (expression_statement "__n = 0;" (assignment_expression "__n = 0" (identifier "__n") (= "=") (number_literal "0")) (; ";")) (expression_statement "memmove(param_5,param_1,(int)param_2 - (int)param_1);" (call_expression "memmove(param_5,param_1,(int)param_2 - (int)param_1)" (identifier "memmove") (argument_list "(param_5,param_1,(int)param_2 - (int)param_1)" (( "(") (identifier "param_5") (, ",") (identifier "param_1") (, ",") (binary_expression "(int)param_2 - (int)param_1" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")"))) (; ";")) (} "}")))) (if_statement "if (param_4 != param_3) {\n    memmove(__dest,param_3,__n);\n  }" (if "if") (parenthesized_expression "(param_4 != param_3)" (( "(") (binary_expression "param_4 != param_3" (identifier "param_4") (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n    memmove(__dest,param_3,__n);\n  }" ({ "{") (expression_statement "memmove(__dest,param_3,__n);" (call_expression "memmove(__dest,param_3,__n)" (identifier "memmove") (argument_list "(__dest,param_3,__n)" (( "(") (identifier "__dest") (, ",") (identifier "param_3") (, ",") (identifier "__n") () ")"))) (; ";")) (} "}"))) (return_statement "return (int)__dest + __n;" (return "return") (binary_expression "(int)__dest + __n" (cast_expression "(int)__dest" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__dest")) (+ "+") (identifier "__n")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: __move_merge<__gnu_cxx::__normal_iterator<gold::Output_segment**,
   std::vector<gold::Output_segment*> >, gold::Output_segment**,
   __gnu_cxx::__ops::_Iter_comp_iter<gold::Layout::Compare_segments> > */

var_1 **
std::
__move_merge<var_2::__normal_iterator<var_3::var_1**,_std::vector<var_3::var_1*>var_4>,var_5::var_1**,___gnu_cxx::__ops::_Iter_comp_iter<var_3::type_1::var_6>var_4>
          (__normal_iterator<var_3::var_1**,_std::vector<var_3::var_1*,_std::allocator<var_3::var_1*>var_4>var_4>
           __first1,
          __normal_iterator<var_3::var_1**,_std::vector<var_3::var_1*,_std::allocator<var_3::var_1*>var_4>var_4>
          __last1,__normal_iterator<var_3::var_1**,_std::vector<var_3::var_1*,_std::allocator<var_3::var_1*>var_4>var_4>
                  __first2,
          __normal_iterator<var_3::var_1**,_std::vector<var_3::var_1*,_std::allocator<var_3::var_1*>var_4>var_4>
          __last2,var_1 **var_10,_Iter_comp_iter<var_3::type_1::var_6> var_7)

{
  var_1 *var_8;
  bool bVar2;
  size_t var_12;
  var_1 **__dest;
  
  if (__first1._M_current == __last1._M_current) {
LAB_0011e505:
    var_12 = (int)__last2._M_current - (int)__first2._M_current;
    __dest = var_10;
  }
  else {
    if (__last2._M_current != __first2._M_current) {
      do {
        bVar2 = var_3::Layout::var_9
                          ((type_1 *)var_7._M_comp.layout_,*__first2._M_current,
                           *__first1._M_current);
        if (bVar2) {
          var_8 = *__first2._M_current;
          __first2._M_current = __first2._M_current + 1;
          *var_10 = var_8;
        }
        else {
          var_8 = *__first1._M_current;
          __first1._M_current = __first1._M_current + 1;
          *var_10 = var_8;
        }
        if (__first1._M_current == __last1._M_current) {
          var_10 = var_10 + 1;
          goto LAB_0011e505;
        }
        var_10 = var_10 + 1;
      } while (__first2._M_current != __last2._M_current);
    }
    __dest = (var_1 **)
             ((int)var_10 + ((int)__last1._M_current - (int)__first1._M_current));
    var_12 = 0;
    var_11(var_10,__first1._M_current,(int)__last1._M_current - (int)__first1._M_current);
  }
  if (__last2._M_current != __first2._M_current) {
    var_11(__dest,__first2._M_current,var_12);
  }
  return (var_1 **)((int)__dest + var_12);
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_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 (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (return_statement (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

int MASKED(undefined4 *param_1,undefined4 *param_2,undefined4 *param_3,undefined4 *param_4,
                undefined4 *param_5,undefined4 param_6)

{
  undefined4 uVar1;
  char cVar2;
  size_t __n;
  undefined4 *__dest;
  
  if (param_1 == param_2) {
LAB_0011e505:
    __n = (int)param_4 - (int)param_3;
    __dest = param_5;
  }
  else {
    if (param_4 != param_3) {
      do {
        cVar2 = FUN_001089a0(param_6,*param_3,*param_1);
        if (cVar2 == '\0') {
          uVar1 = *param_1;
          param_1 = param_1 + 1;
          *param_5 = uVar1;
        }
        else {
          uVar1 = *param_3;
          param_3 = param_3 + 1;
          *param_5 = uVar1;
        }
        if (param_1 == param_2) {
          param_5 = param_5 + 1;
          goto LAB_0011e505;
        }
        param_5 = param_5 + 1;
      } while (param_3 != param_4);
    }
    __dest = (undefined4 *)((int)param_5 + ((int)param_2 - (int)param_1));
    __n = 0;
    memmove(param_5,param_1,(int)param_2 - (int)param_1);
  }
  if (param_4 != param_3) {
    memmove(__dest,param_3,__n);
  }
  return (int)__dest + __n;
}

