
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void remove_output_section(Output_segment * this, Output_section * os)
    */

void __thiscall gold::Output_segment::remove_output_section(Output_segment *this,Output_section *os)

{
  pointer __src;
  pointer *pppOVar1;
  pointer ppOVar2;
  Output_section *pOVar3;
  pointer __dest;
  Output_segment *pOVar4;
  int iVar5;
  
  iVar5 = 0;
  pOVar4 = this;
  do {
    __dest = pOVar4->output_lists_[0].
             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.
             _M_start;
    ppOVar2 = pOVar4->output_lists_[0].
              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.
              _M_finish;
    if (ppOVar2 != __dest) {
      pOVar3 = (Output_section *)*__dest;
      while( true ) {
        if (pOVar3 == os) {
          __src = __dest + 1;
          if (ppOVar2 != __src) {
            memmove(__dest,__src,(int)ppOVar2 - (int)__src);
          }
          pppOVar1 = &this->output_lists_[iVar5].
                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.
                      _M_impl._M_finish;
          *pppOVar1 = *pppOVar1 + -1;
          return;
        }
        __dest = __dest + 1;
        if (ppOVar2 == __dest) break;
        pOVar3 = (Output_section *)*__dest;
      }
    }
    iVar5 = iVar5 + 1;
    pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);
  } while (iVar5 != 0x1d);
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0x105c,"remove_output_section");
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_000efcd0(undefined4 *param_1,int param_2)

{
  int *__src;
  int *piVar1;
  int iVar2;
  int *__dest;
  undefined4 *puVar3;
  int iVar4;
  
  iVar4 = 0;
  puVar3 = param_1;
  do {
    __dest = (int *)*puVar3;
    piVar1 = (int *)puVar3[1];
    if (piVar1 != __dest) {
      iVar2 = *__dest;
      while( true ) {
        if (iVar2 == param_2) {
          __src = __dest + 1;
          if (piVar1 != __src) {
            memmove(__dest,__src,(int)piVar1 - (int)__src);
          }
          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;
          return;
        }
        __dest = __dest + 1;
        if (piVar1 == __dest) break;
        iVar2 = *__dest;
      }
    }
    iVar4 = iVar4 + 1;
    puVar3 = puVar3 + 3;
  } while (iVar4 != 0x1d);
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");
}


PUSH EBP
PUSH EDI
XOR EDI,EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x29f325
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [EBP]
MOV ECX,dword ptr [EBP + 0x4]
CMP ECX,EDX
JZ 0x000efd0e
CMP dword ptr [EDX],ESI
JZ 0x000efd38
LEA EAX,[EDX + 0x4]
JMP 0x000efd08
ADD EAX,0x4
CMP dword ptr [EAX + -0x4],ESI
JZ 0x000efd38
MOV EDX,EAX
CMP ECX,EAX
JNZ 0x000efd00
ADD EDI,0x1
ADD EBP,0xc
CMP EDI,0x1d
JNZ 0x000efcec
SUB ESP,0x4
LEA EAX,[EBX + 0xfff04a70]
PUSH EAX
LEA EAX,[EBX + 0xfff0336b]
PUSH 0x105c
PUSH EAX
CALL 0x00069d00
LEA EAX,[EDX + 0x4]
CMP ECX,EAX
JZ 0x000efd4f
SUB ESP,0x4
SUB ECX,EAX
PUSH ECX
PUSH EAX
PUSH EDX
CALL 0x000298a0
ADD ESP,0x10
MOV EBX,dword ptr [ESP + 0x20]
LEA EAX,[EDI + EDI*0x2]
SUB dword ptr [EBX + EAX*0x4 + 0x4],0x4
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000efcd0(undefined4 *param_1,int param_2)\n\n{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}\n\n" comment (function_definition "void FUN_000efcd0(undefined4 *param_1,int param_2)\n\n{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}" primitive_type (function_declarator "FUN_000efcd0(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}" { (declaration "int *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);" do (compound_statement "{\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  }" { (expression_statement "__dest = (int *)*puVar3;" (assignment_expression "__dest = (int *)*puVar3" identifier = (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "piVar1 = (int *)puVar3[1];" (assignment_expression "piVar1 = (int *)puVar3[1]" identifier = (cast_expression "(int *)puVar3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }" if (parenthesized_expression "(piVar1 != __dest)" ( (binary_expression "piVar1 != __dest" identifier != identifier) )) (compound_statement "{\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }" { (expression_statement "iVar2 = *__dest;" (assignment_expression "iVar2 = *__dest" identifier = (pointer_expression "*__dest" * identifier)) ;) (while_statement "while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }" { (if_statement "if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }" if (parenthesized_expression "(iVar2 == param_2)" ( (binary_expression "iVar2 == param_2" identifier == identifier) )) (compound_statement "{\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }" { (expression_statement "__src = __dest + 1;" (assignment_expression "__src = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }" if (parenthesized_expression "(piVar1 != __src)" ( (binary_expression "piVar1 != __src" identifier != identifier) )) (compound_statement "{\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }" { (expression_statement "memmove(__dest,__src,(int)piVar1 - (int)__src);" (call_expression "memmove(__dest,__src,(int)piVar1 - (int)__src)" identifier (argument_list "(__dest,__src,(int)piVar1 - (int)__src)" ( identifier , identifier , (binary_expression "(int)piVar1 - (int)__src" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;" (assignment_expression "param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4" (subscript_expression "param_1[iVar4 * 3 + 1]" identifier [ (binary_expression "iVar4 * 3 + 1" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) = (binary_expression "param_1[iVar4 * 3 + 1] + -4" (subscript_expression "param_1[iVar4 * 3 + 1]" identifier [ (binary_expression "iVar4 * 3 + 1" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__dest = __dest + 1;" (assignment_expression "__dest = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (piVar1 == __dest) break;" if (parenthesized_expression "(piVar1 == __dest)" ( (binary_expression "piVar1 == __dest" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *__dest;" (assignment_expression "iVar2 = *__dest" identifier = (pointer_expression "*__dest" * identifier)) ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x1d)" ( (binary_expression "iVar4 != 0x1d" identifier != number_literal) )) ;) comment (expression_statement "FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section")" identifier (argument_list "("../../gold/output.cc",0x105c,"remove_output_section")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""remove_output_section"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void remove_output_section(Output_segment * this, Output_section * os)\n    */\n\nvoid __thiscall gold::Output_segment::remove_output_section(Output_segment *this,Output_section *os)\n\n{\n  pointer __src;\n  pointer *pppOVar1;\n  pointer ppOVar2;\n  Output_section *pOVar3;\n  pointer __dest;\n  Output_segment *pOVar4;\n  int iVar5;\n  \n  iVar5 = 0;\n  pOVar4 = this;\n  do {\n    __dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start;\n    ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish;\n    if (ppOVar2 != __dest) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);\n  } while (iVar5 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x105c,"remove_output_section");\n}\n\n" comment comment (function_definition "void __thiscall gold::Output_segment::remove_output_section(Output_segment *this,Output_section *os)\n\n{\n  pointer __src;\n  pointer *pppOVar1;\n  pointer ppOVar2;\n  Output_section *pOVar3;\n  pointer __dest;\n  Output_segment *pOVar4;\n  int iVar5;\n  \n  iVar5 = 0;\n  pOVar4 = this;\n  do {\n    __dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start;\n    ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish;\n    if (ppOVar2 != __dest) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);\n  } while (iVar5 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x105c,"remove_output_section");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "remove_output_section(Output_segment *this,Output_section *os)" identifier (parameter_list "(Output_segment *this,Output_section *os)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_section *os" type_identifier (pointer_declarator "*os" * identifier)) ))) (compound_statement "{\n  pointer __src;\n  pointer *pppOVar1;\n  pointer ppOVar2;\n  Output_section *pOVar3;\n  pointer __dest;\n  Output_segment *pOVar4;\n  int iVar5;\n  \n  iVar5 = 0;\n  pOVar4 = this;\n  do {\n    __dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start;\n    ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish;\n    if (ppOVar2 != __dest) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);\n  } while (iVar5 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x105c,"remove_output_section");\n}" { (declaration "pointer __src;" type_identifier identifier ;) (declaration "pointer *pppOVar1;" type_identifier (pointer_declarator "*pppOVar1" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (declaration "Output_section *pOVar3;" type_identifier (pointer_declarator "*pOVar3" * identifier) ;) (declaration "pointer __dest;" type_identifier identifier ;) (declaration "Output_segment *pOVar4;" type_identifier (pointer_declarator "*pOVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "pOVar4 = this;" (assignment_expression "pOVar4 = this" identifier = identifier) ;) (do_statement "do {\n    __dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start;\n    ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish;\n    if (ppOVar2 != __dest) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);\n  } while (iVar5 != 0x1d);" do (compound_statement "{\n    __dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start;\n    ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish;\n    if (ppOVar2 != __dest) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }\n    iVar5 = iVar5 + 1;\n    pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);\n  }" { (expression_statement "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start;" (field_expression "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n             _M_start" (field_expression "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl" (binary_expression "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold::Output_data*,_std" (assignment_expression "__dest = pOVar4->output_lists_[0].\n             super__Vector_base<gold" identifier = (binary_expression "pOVar4->output_lists_[0].\n             super__Vector_base<gold" (field_expression "pOVar4->output_lists_[0].\n             super__Vector_base" (subscript_expression "pOVar4->output_lists_[0]" (field_expression "pOVar4->output_lists_" identifier -> field_identifier) [ number_literal ]) . field_identifier) < identifier)) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish;" (field_expression "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n              _M_finish" (field_expression "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl" (binary_expression "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold::Output_data*,_std" (assignment_expression "ppOVar2 = pOVar4->output_lists_[0].\n              super__Vector_base<gold" identifier = (binary_expression "pOVar4->output_lists_[0].\n              super__Vector_base<gold" (field_expression "pOVar4->output_lists_[0].\n              super__Vector_base" (subscript_expression "pOVar4->output_lists_[0]" (field_expression "pOVar4->output_lists_" identifier -> field_identifier) [ number_literal ]) . field_identifier) < identifier)) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar2 != __dest) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }" if (parenthesized_expression "(ppOVar2 != __dest)" ( (binary_expression "ppOVar2 != __dest" identifier != identifier) )) (compound_statement "{\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }" { (expression_statement "pOVar3 = (Output_section *)*__dest;" (assignment_expression "pOVar3 = (Output_section *)*__dest" identifier = (cast_expression "(Output_section *)*__dest" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__dest" * identifier))) ;) (while_statement "while( true ) {\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }\n        __dest = __dest + 1;\n        if (ppOVar2 == __dest) break;\n        pOVar3 = (Output_section *)*__dest;\n      }" { (if_statement "if (pOVar3 == os) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }" if (parenthesized_expression "(pOVar3 == os)" ( (binary_expression "pOVar3 == os" identifier == identifier) )) (compound_statement "{\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }\n          pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;\n          *pppOVar1 = *pppOVar1 + -1;\n          return;\n        }" { (expression_statement "__src = __dest + 1;" (assignment_expression "__src = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (ppOVar2 != __src) {\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }" if (parenthesized_expression "(ppOVar2 != __src)" ( (binary_expression "ppOVar2 != __src" identifier != identifier) )) (compound_statement "{\n            memmove(__dest,__src,(int)ppOVar2 - (int)__src);\n          }" { (expression_statement "memmove(__dest,__src,(int)ppOVar2 - (int)__src);" (call_expression "memmove(__dest,__src,(int)ppOVar2 - (int)__src)" identifier (argument_list "(__dest,__src,(int)ppOVar2 - (int)__src)" ( identifier , identifier , (binary_expression "(int)ppOVar2 - (int)__src" (cast_expression "(int)ppOVar2" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish;" (field_expression "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl._M_finish" (field_expression "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>.\n                      _M_impl" (binary_expression "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold::Output_data*,_std" (assignment_expression "pppOVar1 = &this->output_lists_[iVar5].\n                      super__Vector_base<gold" identifier = (binary_expression "&this->output_lists_[iVar5].\n                      super__Vector_base<gold" (pointer_expression "&this->output_lists_[iVar5].\n                      super__Vector_base" & (field_expression "this->output_lists_[iVar5].\n                      super__Vector_base" (subscript_expression "this->output_lists_[iVar5]" (field_expression "this->output_lists_" identifier -> field_identifier) [ identifier ]) . field_identifier)) < identifier)) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "*pppOVar1 = *pppOVar1 + -1;" (assignment_expression "*pppOVar1 = *pppOVar1 + -1" (pointer_expression "*pppOVar1" * identifier) = (binary_expression "*pppOVar1 + -1" (pointer_expression "*pppOVar1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__dest = __dest + 1;" (assignment_expression "__dest = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (ppOVar2 == __dest) break;" if (parenthesized_expression "(ppOVar2 == __dest)" ( (binary_expression "ppOVar2 == __dest" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pOVar3 = (Output_section *)*__dest;" (assignment_expression "pOVar3 = (Output_section *)*__dest" identifier = (cast_expression "(Output_section *)*__dest" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__dest" * identifier))) ;) })) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1);" (assignment_expression "pOVar4 = (Output_segment *)(pOVar4->output_lists_ + 1)" identifier = (cast_expression "(Output_segment *)(pOVar4->output_lists_ + 1)" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pOVar4->output_lists_ + 1)" ( (binary_expression "pOVar4->output_lists_ + 1" (field_expression "pOVar4->output_lists_" identifier -> field_identifier) + number_literal) )))) ;) }) while (parenthesized_expression "(iVar5 != 0x1d)" ( (binary_expression "iVar5 != 0x1d" identifier != number_literal) )) ;) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x105c,"remove_output_section")" identifier (argument_list "("../../gold/output.cc",0x105c,"remove_output_section")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""remove_output_section"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000efcd0(undefined4 *param_1,int param_2)\n\n{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}\n\n" (function_definition "void FUN_000efcd0(undefined4 *param_1,int param_2)\n\n{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}" primitive_type (function_declarator "FUN_000efcd0(undefined4 *param_1,int param_2)" identifier (parameter_list "(undefined4 *param_1,int param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}" { (declaration "int *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" identifier = identifier) ;) (do_statement "do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);" do (compound_statement "{\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  }" { (expression_statement "__dest = (int *)*puVar3;" (assignment_expression "__dest = (int *)*puVar3" identifier = (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "piVar1 = (int *)puVar3[1];" (assignment_expression "piVar1 = (int *)puVar3[1]" identifier = (cast_expression "(int *)puVar3[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }" if (parenthesized_expression "(piVar1 != __dest)" ( (binary_expression "piVar1 != __dest" identifier != identifier) )) (compound_statement "{\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }" { (expression_statement "iVar2 = *__dest;" (assignment_expression "iVar2 = *__dest" identifier = (pointer_expression "*__dest" * identifier)) ;) (while_statement "while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }" { (if_statement "if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }" if (parenthesized_expression "(iVar2 == param_2)" ( (binary_expression "iVar2 == param_2" identifier == identifier) )) (compound_statement "{\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }" { (expression_statement "__src = __dest + 1;" (assignment_expression "__src = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }" if (parenthesized_expression "(piVar1 != __src)" ( (binary_expression "piVar1 != __src" identifier != identifier) )) (compound_statement "{\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }" { (expression_statement "memmove(__dest,__src,(int)piVar1 - (int)__src);" (call_expression "memmove(__dest,__src,(int)piVar1 - (int)__src)" identifier (argument_list "(__dest,__src,(int)piVar1 - (int)__src)" ( identifier , identifier , (binary_expression "(int)piVar1 - (int)__src" (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ;) })) (expression_statement "param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;" (assignment_expression "param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4" (subscript_expression "param_1[iVar4 * 3 + 1]" identifier [ (binary_expression "iVar4 * 3 + 1" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) = (binary_expression "param_1[iVar4 * 3 + 1] + -4" (subscript_expression "param_1[iVar4 * 3 + 1]" identifier [ (binary_expression "iVar4 * 3 + 1" (binary_expression "iVar4 * 3" identifier * number_literal) + number_literal) ]) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "__dest = __dest + 1;" (assignment_expression "__dest = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (piVar1 == __dest) break;" if (parenthesized_expression "(piVar1 == __dest)" ( (binary_expression "piVar1 == __dest" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "iVar2 = *__dest;" (assignment_expression "iVar2 = *__dest" identifier = (pointer_expression "*__dest" * identifier)) ;) })) })) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" identifier = (binary_expression "puVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 != 0x1d)" ( (binary_expression "iVar4 != 0x1d" identifier != number_literal) )) ;) (expression_statement "FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section")" identifier (argument_list "("../../gold/output.cc",0x105c,"remove_output_section")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""remove_output_section"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) = (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "void FUN_000efcd0(undefined4 *param_1,int param_2)\n\n{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}" (primitive_type "void") (function_declarator "FUN_000efcd0(undefined4 *param_1,int param_2)" (identifier "FUN_000efcd0") (parameter_list "(undefined4 *param_1,int param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *__src;\n  int *piVar1;\n  int iVar2;\n  int *__dest;\n  undefined4 *puVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");\n}" ({ "{") (declaration "int *__src;" (primitive_type "int") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *__dest;" (primitive_type "int") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = param_1;" (assignment_expression "puVar3 = param_1" (identifier "puVar3") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);" (do "do") (compound_statement "{\n    __dest = (int *)*puVar3;\n    piVar1 = (int *)puVar3[1];\n    if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  }" ({ "{") (expression_statement "__dest = (int *)*puVar3;" (assignment_expression "__dest = (int *)*puVar3" (identifier "__dest") (= "=") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "piVar1 = (int *)puVar3[1];" (assignment_expression "piVar1 = (int *)puVar3[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)puVar3[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (piVar1 != __dest) {\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }" (if "if") (parenthesized_expression "(piVar1 != __dest)" (( "(") (binary_expression "piVar1 != __dest" (identifier "piVar1") (!= "!=") (identifier "__dest")) () ")")) (compound_statement "{\n      iVar2 = *__dest;\n      while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }\n    }" ({ "{") (expression_statement "iVar2 = *__dest;" (assignment_expression "iVar2 = *__dest" (identifier "iVar2") (= "=") (pointer_expression "*__dest" (* "*") (identifier "__dest"))) (; ";")) (while_statement "while( true ) {\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }\n        __dest = __dest + 1;\n        if (piVar1 == __dest) break;\n        iVar2 = *__dest;\n      }" ({ "{") (if_statement "if (iVar2 == param_2) {\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }" (if "if") (parenthesized_expression "(iVar2 == param_2)" (( "(") (binary_expression "iVar2 == param_2" (identifier "iVar2") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n          __src = __dest + 1;\n          if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }\n          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;\n          return;\n        }" ({ "{") (expression_statement "__src = __dest + 1;" (assignment_expression "__src = __dest + 1" (identifier "__src") (= "=") (binary_expression "__dest + 1" (identifier "__dest") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar1 != __src) {\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }" (if "if") (parenthesized_expression "(piVar1 != __src)" (( "(") (binary_expression "piVar1 != __src" (identifier "piVar1") (!= "!=") (identifier "__src")) () ")")) (compound_statement "{\n            memmove(__dest,__src,(int)piVar1 - (int)__src);\n          }" ({ "{") (expression_statement "memmove(__dest,__src,(int)piVar1 - (int)__src);" (call_expression "memmove(__dest,__src,(int)piVar1 - (int)__src)" (identifier "memmove") (argument_list "(__dest,__src,(int)piVar1 - (int)__src)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (binary_expression "(int)piVar1 - (int)__src" (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;" (assignment_expression "param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4" (subscript_expression "param_1[iVar4 * 3 + 1]" (identifier "param_1") ([ "[") (binary_expression "iVar4 * 3 + 1" (binary_expression "iVar4 * 3" (identifier "iVar4") (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (= "=") (binary_expression "param_1[iVar4 * 3 + 1] + -4" (subscript_expression "param_1[iVar4 * 3 + 1]" (identifier "param_1") ([ "[") (binary_expression "iVar4 * 3 + 1" (binary_expression "iVar4 * 3" (identifier "iVar4") (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (+ "+") (number_literal "-4"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__dest = __dest + 1;" (assignment_expression "__dest = __dest + 1" (identifier "__dest") (= "=") (binary_expression "__dest + 1" (identifier "__dest") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar1 == __dest) break;" (if "if") (parenthesized_expression "(piVar1 == __dest)" (( "(") (binary_expression "piVar1 == __dest" (identifier "piVar1") (== "==") (identifier "__dest")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar2 = *__dest;" (assignment_expression "iVar2 = *__dest" (identifier "iVar2") (= "=") (pointer_expression "*__dest" (* "*") (identifier "__dest"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar3 = puVar3 + 3;" (assignment_expression "puVar3 = puVar3 + 3" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 3" (identifier "puVar3") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0x1d)" (( "(") (binary_expression "iVar4 != 0x1d" (identifier "iVar4") (!= "!=") (number_literal "0x1d")) () ")")) (; ";")) (expression_statement "FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section")" (identifier "FUN_00069d00") (argument_list "("../../gold/output.cc",0x105c,"remove_output_section")" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x105c") (, ",") (string_literal ""remove_output_section"" (" """) (string_content "remove_output_section") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void remove_output_section(Output_segment * this, Output_section * os)
    */

void __thiscall var_1::type_1::function_1(type_1 *this,type_2 *var_7)

{
  type_3 var_8;
  type_3 *pppOVar1;
  type_3 var_4;
  type_2 *var_6;
  type_3 var_5;
  type_1 *pOVar4;
  int var_10;
  
  var_10 = 0;
  pOVar4 = this;
  do {
    var_5 = pOVar4->output_lists_[0].
             super__Vector_base<var_1::Output_data*,var_2::allocator<var_1::Output_data*>var_3>._M_impl.
             _M_start;
    var_4 = pOVar4->output_lists_[0].
              super__Vector_base<var_1::Output_data*,var_2::allocator<var_1::Output_data*>var_3>._M_impl.
              _M_finish;
    if (var_4 != var_5) {
      var_6 = (type_2 *)*var_5;
      while( true ) {
        if (var_6 == var_7) {
          var_8 = var_5 + 1;
          if (var_4 != var_8) {
            var_9(var_5,var_8,(int)var_4 - (int)var_8);
          }
          pppOVar1 = &this->output_lists_[var_10].
                      super__Vector_base<var_1::Output_data*,var_2::allocator<var_1::Output_data*>var_3>.
                      _M_impl._M_finish;
          *pppOVar1 = *pppOVar1 + -1;
          return;
        }
        var_5 = var_5 + 1;
        if (var_4 == var_5) break;
        var_6 = (type_2 *)*var_5;
      }
    }
    var_10 = var_10 + 1;
    pOVar4 = (type_1 *)(pOVar4->output_lists_ + 1);
  } while (var_10 != 0x1d);
                    /* WARNING: Subroutine does not return */
  var_11("../../gold/output.cc",0x105c,"remove_output_section");
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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) (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: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_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: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(undefined4 *param_1,int param_2)

{
  int *__src;
  int *piVar1;
  int iVar2;
  int *__dest;
  undefined4 *puVar3;
  int iVar4;
  
  iVar4 = 0;
  puVar3 = param_1;
  do {
    __dest = (int *)*puVar3;
    piVar1 = (int *)puVar3[1];
    if (piVar1 != __dest) {
      iVar2 = *__dest;
      while( true ) {
        if (iVar2 == param_2) {
          __src = __dest + 1;
          if (piVar1 != __src) {
            memmove(__dest,__src,(int)piVar1 - (int)__src);
          }
          param_1[iVar4 * 3 + 1] = param_1[iVar4 * 3 + 1] + -4;
          return;
        }
        __dest = __dest + 1;
        if (piVar1 == __dest) break;
        iVar2 = *__dest;
      }
    }
    iVar4 = iVar4 + 1;
    puVar3 = puVar3 + 3;
  } while (iVar4 != 0x1d);
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.cc",0x105c,"remove_output_section");
}

