
/* 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;
  Output_segment *pOVar4;
  int iVar5;
  pointer __dest;
  
  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 (__dest != ppOVar2) {
      pOVar3 = (Output_section *)*__dest;
      while( true ) {
        if (os == pOVar3) {
          __src = __dest + 1;
          if (ppOVar2 != __src) {
            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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");
}



void FUN_00262860(undefined8 *param_1,long param_2)

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


PUSH RBP
MOV RAX,RDI
MOV RBP,RDI
PUSH RBX
XOR EBX,EBX
SUB RSP,0x8
MOV RDI,qword ptr [RAX]
MOV RDX,qword ptr [RAX + 0x8]
CMP RDI,RDX
JZ 0x00262896
CMP RSI,qword ptr [RDI]
JNZ 0x0026288d
JMP 0x002628c0
CMP qword ptr [RDI],RSI
JZ 0x002628c0
ADD RDI,0x8
CMP RDI,RDX
JNZ 0x00262888
ADD EBX,0x1
ADD RAX,0x18
CMP EBX,0x1d
JNZ 0x0026286e
LEA RDX,[0x3ef2c0]
MOV ESI,0x105c
LEA RDI,[0x3ed836]
CALL 0x001e9890
LEA RSI,[RDI + 0x8]
CMP RDX,RSI
JZ 0x002628d1
SUB RDX,RSI
CALL 0x001506d0
MOVSXD RBX,EBX
LEA RAX,[RBX + RBX*0x2]
SUB qword ptr [RBP + RAX*0x8 + 0x8],0x8
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_00262860(undefined8 *param_1,long param_2)\n\n{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}\n\n" (function_definition "void FUN_00262860(undefined8 *param_1,long param_2)\n\n{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}" primitive_type (function_declarator "FUN_00262860(undefined8 *param_1,long param_2)" identifier (parameter_list "(undefined8 *param_1,long param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    /* WARNING: Subroutine does not return */\n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}" { (declaration "long *__src;" (sized_type_specifier "long" long) (pointer_declarator "*__src" * identifier) ;) (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long *__dest;" (sized_type_specifier "long" long) (pointer_declarator "*__dest" * 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 = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);" do (compound_statement "{\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  }" { (expression_statement "__dest = (long *)*puVar3;" (assignment_expression "__dest = (long *)*puVar3" identifier = (cast_expression "(long *)*puVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "plVar1 = (long *)puVar3[1];" (assignment_expression "plVar1 = (long *)puVar3[1]" identifier = (cast_expression "(long *)puVar3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }" if (parenthesized_expression "(__dest != plVar1)" ( (binary_expression "__dest != plVar1" identifier != identifier) )) (compound_statement "{\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }" { (expression_statement "lVar2 = *__dest;" (assignment_expression "lVar2 = *__dest" identifier = (pointer_expression "*__dest" * identifier)) ;) (while_statement "while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }" { (if_statement "if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }" if (parenthesized_expression "(param_2 == lVar2)" ( (binary_expression "param_2 == lVar2" identifier == identifier) )) (compound_statement "{\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }" { (expression_statement "__src = __dest + 1;" (assignment_expression "__src = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }" if (parenthesized_expression "(plVar1 != __src)" ( (binary_expression "plVar1 != __src" identifier != identifier) )) (compound_statement "{\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }" { (expression_statement "memmove(__dest,__src,(long)plVar1 - (long)__src);" (call_expression "memmove(__dest,__src,(long)plVar1 - (long)__src)" identifier (argument_list "(__dest,__src,(long)plVar1 - (long)__src)" ( identifier , identifier , (binary_expression "(long)plVar1 - (long)__src" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) ;) })) (expression_statement "param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;" (assignment_expression "param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8" (subscript_expression "param_1[(long)iVar4 * 3 + 1]" identifier [ (binary_expression "(long)iVar4 * 3 + 1" (binary_expression "(long)iVar4 * 3" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + number_literal) ]) = (binary_expression "param_1[(long)iVar4 * 3 + 1] + -8" (subscript_expression "param_1[(long)iVar4 * 3 + 1]" identifier [ (binary_expression "(long)iVar4 * 3 + 1" (binary_expression "(long)iVar4 * 3" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) 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 (__dest == plVar1) break;" if (parenthesized_expression "(__dest == plVar1)" ( (binary_expression "__dest == plVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "lVar2 = *__dest;" (assignment_expression "lVar2 = *__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_001e9890("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "FUN_001e9890("../../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 "/* 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  Output_segment *pOVar4;\n  int iVar5;\n  pointer __dest;\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 (__dest != ppOVar2) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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 (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  Output_segment *pOVar4;\n  int iVar5;\n  pointer __dest;\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 (__dest != ppOVar2) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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  Output_segment *pOVar4;\n  int iVar5;\n  pointer __dest;\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 (__dest != ppOVar2) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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 "Output_segment *pOVar4;" type_identifier (pointer_declarator "*pOVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "pointer __dest;" type_identifier 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 (__dest != ppOVar2) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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 (__dest != ppOVar2) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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 (__dest != ppOVar2) {\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) break;\n        pOVar3 = (Output_section *)*__dest;\n      }\n    }" if (parenthesized_expression "(__dest != ppOVar2)" ( (binary_expression "__dest != ppOVar2" identifier != identifier) )) (compound_statement "{\n      pOVar3 = (Output_section *)*__dest;\n      while( true ) {\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) 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 (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) break;\n        pOVar3 = (Output_section *)*__dest;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 (__dest == ppOVar2) break;\n        pOVar3 = (Output_section *)*__dest;\n      }" { (if_statement "if (os == pOVar3) {\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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 "(os == pOVar3)" ( (binary_expression "os == pOVar3" identifier == identifier) )) (compound_statement "{\n          __src = __dest + 1;\n          if (ppOVar2 != __src) {\n            memmove(__dest,__src,(long)ppOVar2 - (long)__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,(long)ppOVar2 - (long)__src);\n          }" if (parenthesized_expression "(ppOVar2 != __src)" ( (binary_expression "ppOVar2 != __src" identifier != identifier) )) (compound_statement "{\n            memmove(__dest,__src,(long)ppOVar2 - (long)__src);\n          }" { (expression_statement "memmove(__dest,__src,(long)ppOVar2 - (long)__src);" (call_expression "memmove(__dest,__src,(long)ppOVar2 - (long)__src)" identifier (argument_list "(__dest,__src,(long)ppOVar2 - (long)__src)" ( identifier , identifier , (binary_expression "(long)ppOVar2 - (long)__src" (cast_expression "(long)ppOVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) 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 (__dest == ppOVar2) break;" if (parenthesized_expression "(__dest == ppOVar2)" ( (binary_expression "__dest == ppOVar2" 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_00262860(undefined8 *param_1,long param_2)\n\n{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}\n\n" (function_definition "void FUN_00262860(undefined8 *param_1,long param_2)\n\n{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}" primitive_type (function_declarator "FUN_00262860(undefined8 *param_1,long param_2)" identifier (parameter_list "(undefined8 *param_1,long param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}" { (declaration "long *__src;" (sized_type_specifier "long" long) (pointer_declarator "*__src" * identifier) ;) (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "long *__dest;" (sized_type_specifier "long" long) (pointer_declarator "*__dest" * 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 = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);" do (compound_statement "{\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  }" { (expression_statement "__dest = (long *)*puVar3;" (assignment_expression "__dest = (long *)*puVar3" identifier = (cast_expression "(long *)*puVar3" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "plVar1 = (long *)puVar3[1];" (assignment_expression "plVar1 = (long *)puVar3[1]" identifier = (cast_expression "(long *)puVar3[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar3[1]" identifier [ number_literal ]))) ;) (if_statement "if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }" if (parenthesized_expression "(__dest != plVar1)" ( (binary_expression "__dest != plVar1" identifier != identifier) )) (compound_statement "{\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }" { (expression_statement "lVar2 = *__dest;" (assignment_expression "lVar2 = *__dest" identifier = (pointer_expression "*__dest" * identifier)) ;) (while_statement "while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }" { (if_statement "if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }" if (parenthesized_expression "(param_2 == lVar2)" ( (binary_expression "param_2 == lVar2" identifier == identifier) )) (compound_statement "{\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }" { (expression_statement "__src = __dest + 1;" (assignment_expression "__src = __dest + 1" identifier = (binary_expression "__dest + 1" identifier + number_literal)) ;) (if_statement "if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }" if (parenthesized_expression "(plVar1 != __src)" ( (binary_expression "plVar1 != __src" identifier != identifier) )) (compound_statement "{\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }" { (expression_statement "memmove(__dest,__src,(long)plVar1 - (long)__src);" (call_expression "memmove(__dest,__src,(long)plVar1 - (long)__src)" identifier (argument_list "(__dest,__src,(long)plVar1 - (long)__src)" ( identifier , identifier , (binary_expression "(long)plVar1 - (long)__src" (cast_expression "(long)plVar1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) ;) })) (expression_statement "param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;" (assignment_expression "param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8" (subscript_expression "param_1[(long)iVar4 * 3 + 1]" identifier [ (binary_expression "(long)iVar4 * 3 + 1" (binary_expression "(long)iVar4 * 3" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) + number_literal) ]) = (binary_expression "param_1[(long)iVar4 * 3 + 1] + -8" (subscript_expression "param_1[(long)iVar4 * 3 + 1]" identifier [ (binary_expression "(long)iVar4 * 3 + 1" (binary_expression "(long)iVar4 * 3" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) 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 (__dest == plVar1) break;" if (parenthesized_expression "(__dest == plVar1)" ( (binary_expression "__dest == plVar1" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "lVar2 = *__dest;" (assignment_expression "lVar2 = *__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_001e9890("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "FUN_001e9890("../../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 (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * 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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (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 (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT) + LIT) ]) = (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) 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_00262860(undefined8 *param_1,long param_2)\n\n{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}" (primitive_type "void") (function_declarator "FUN_00262860(undefined8 *param_1,long param_2)" (identifier "FUN_00262860") (parameter_list "(undefined8 *param_1,long param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  long *__src;\n  long *plVar1;\n  long lVar2;\n  undefined8 *puVar3;\n  int iVar4;\n  long *__dest;\n  \n  iVar4 = 0;\n  puVar3 = param_1;\n  do {\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);\n                    \n  FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section");\n}" ({ "{") (declaration "long *__src;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 *puVar3;" (type_identifier "undefined8") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "long *__dest;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (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 = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  } while (iVar4 != 0x1d);" (do "do") (compound_statement "{\n    __dest = (long *)*puVar3;\n    plVar1 = (long *)puVar3[1];\n    if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }\n    iVar4 = iVar4 + 1;\n    puVar3 = puVar3 + 3;\n  }" ({ "{") (expression_statement "__dest = (long *)*puVar3;" (assignment_expression "__dest = (long *)*puVar3" (identifier "__dest") (= "=") (cast_expression "(long *)*puVar3" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (; ";")) (expression_statement "plVar1 = (long *)puVar3[1];" (assignment_expression "plVar1 = (long *)puVar3[1]" (identifier "plVar1") (= "=") (cast_expression "(long *)puVar3[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar3[1]" (identifier "puVar3") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (__dest != plVar1) {\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }" (if "if") (parenthesized_expression "(__dest != plVar1)" (( "(") (binary_expression "__dest != plVar1" (identifier "__dest") (!= "!=") (identifier "plVar1")) () ")")) (compound_statement "{\n      lVar2 = *__dest;\n      while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }\n    }" ({ "{") (expression_statement "lVar2 = *__dest;" (assignment_expression "lVar2 = *__dest" (identifier "lVar2") (= "=") (pointer_expression "*__dest" (* "*") (identifier "__dest"))) (; ";")) (while_statement "while( true ) {\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }\n        __dest = __dest + 1;\n        if (__dest == plVar1) break;\n        lVar2 = *__dest;\n      }" ({ "{") (if_statement "if (param_2 == lVar2) {\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\n          return;\n        }" (if "if") (parenthesized_expression "(param_2 == lVar2)" (( "(") (binary_expression "param_2 == lVar2" (identifier "param_2") (== "==") (identifier "lVar2")) () ")")) (compound_statement "{\n          __src = __dest + 1;\n          if (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }\n          param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;\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 (plVar1 != __src) {\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }" (if "if") (parenthesized_expression "(plVar1 != __src)" (( "(") (binary_expression "plVar1 != __src" (identifier "plVar1") (!= "!=") (identifier "__src")) () ")")) (compound_statement "{\n            memmove(__dest,__src,(long)plVar1 - (long)__src);\n          }" ({ "{") (expression_statement "memmove(__dest,__src,(long)plVar1 - (long)__src);" (call_expression "memmove(__dest,__src,(long)plVar1 - (long)__src)" (identifier "memmove") (argument_list "(__dest,__src,(long)plVar1 - (long)__src)" (( "(") (identifier "__dest") (, ",") (identifier "__src") (, ",") (binary_expression "(long)plVar1 - (long)__src" (cast_expression "(long)plVar1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "plVar1")) (- "-") (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src"))) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8;" (assignment_expression "param_1[(long)iVar4 * 3 + 1] = param_1[(long)iVar4 * 3 + 1] + -8" (subscript_expression "param_1[(long)iVar4 * 3 + 1]" (identifier "param_1") ([ "[") (binary_expression "(long)iVar4 * 3 + 1" (binary_expression "(long)iVar4 * 3" (cast_expression "(long)iVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar4")) (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (= "=") (binary_expression "param_1[(long)iVar4 * 3 + 1] + -8" (subscript_expression "param_1[(long)iVar4 * 3 + 1]" (identifier "param_1") ([ "[") (binary_expression "(long)iVar4 * 3 + 1" (binary_expression "(long)iVar4 * 3" (cast_expression "(long)iVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar4")) (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (+ "+") (number_literal "-8"))) (; ";")) (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 (__dest == plVar1) break;" (if "if") (parenthesized_expression "(__dest == plVar1)" (( "(") (binary_expression "__dest == plVar1" (identifier "__dest") (== "==") (identifier "plVar1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar2 = *__dest;" (assignment_expression "lVar2 = *__dest" (identifier "lVar2") (= "=") (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_001e9890("../../gold/output.cc",0x105c,"remove_output_section");" (call_expression "FUN_001e9890("../../gold/output.cc",0x105c,"remove_output_section")" (identifier "FUN_001e9890") (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") (" """)) () ")"))) (; ";")) (} "}")))

/* 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_6)

{
  type_3 var_8;
  type_3 *pppOVar1;
  type_3 var_5;
  type_2 *var_7;
  type_1 *pOVar4;
  int var_10;
  type_3 var_4;
  
  var_10 = 0;
  pOVar4 = this;
  do {
    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_start;
    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_finish;
    if (var_4 != var_5) {
      var_7 = (type_2 *)*var_4;
      while( true ) {
        if (var_6 == var_7) {
          var_8 = var_4 + 1;
          if (var_5 != var_8) {
            var_9(var_4,var_8,(long)var_5 - (long)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_4 = var_4 + 1;
        if (var_4 == var_5) break;
        var_7 = (type_2 *)*var_4;
      }
    }
    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: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (pointer_declarator 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (sized_type_specifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal)) right: (number_literal))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (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))))))))

void MASKED(undefined8 *param_1,long param_2)

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

