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

void __thiscall gold::Output_section::discard_states(Output_section *this)

{
  Checkpoint_output_section *pCVar1;
  pointer pIVar2;
  
  pCVar1 = this->checkpoint_;
  if (pCVar1 == (Checkpoint_output_section *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");
  }
  if (pCVar1->_vptr_Checkpoint_output_section[1] ==
      Checkpoint_output_section::~Checkpoint_output_section) {
    pCVar1->_vptr_Checkpoint_output_section =
         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;
    pIVar2 = (pCVar1->input_sections_copy_).
             super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>
             ._M_impl._M_start;
    if (pIVar2 != (pointer)0x0) {
      operator_delete(pIVar2);
    }
    operator_delete(pCVar1,0x34);
  }
  else {
    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);
  }
  this->checkpoint_ = (Checkpoint_output_section *)0x0;
  if ((this->fills_).
      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.
      _M_impl._M_finish ==
      (this->fills_).
      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.
      _M_impl._M_start) {
    this->lookup_maps_->is_valid_ = false;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0xf90,"discard_states");
}



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

void __regparm2 FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)

{
  int *piVar1;
  
  piVar1 = *(int **)(param_3 + 0xac);
  if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);
  }
  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {
    *piVar1 = (int)&PTR_FUN_0033414c;
    if (piVar1[7] != 0) {
      FUN_001ac470(piVar1[7]);
    }
    FUN_001ac450(piVar1,0x34);
  }
  else {
    (**(code **)(*piVar1 + 4))(piVar1);
  }
  *(undefined4 *)(param_3 + 0xac) = 0;
  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {
    **(undefined1 **)(param_3 + 0xb0) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00035680
ADD EBX,0x255174
MOV EDI,dword ptr [ESI + 0xac]
TEST EDI,EDI
JZ 0x000e9f24
MOV EAX,dword ptr [EDI]
LEA EDX,[EBX + 0xffdb2c90]
MOV EAX,dword ptr [EAX + 0x4]
CMP EAX,EDX
JNZ 0x000e9f00
LEA EAX,[EBX + 0xffff514c]
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [EDI + 0x1c]
TEST EAX,EAX
JZ 0x000e9eca
SUB ESP,0xc
PUSH EAX
CALL 0x001ac470
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x34
PUSH EDI
CALL 0x001ac450
ADD ESP,0x10
MOV dword ptr [ESI + 0xac],0x0
MOV EAX,dword ptr [ESI + 0x80]
CMP dword ptr [ESI + 0x84],EAX
JNZ 0x000e9f0b
MOV EAX,dword ptr [ESI + 0xb0]
MOV byte ptr [EAX],0x0
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0xc
PUSH EDI
CALL EAX
ADD ESP,0x10
JMP 0x000e9ed8
PUSH EAX
LEA EAX,[EBX + 0xfff1e914]
PUSH EAX
LEA EAX,[EBX + 0xfff1d94b]
PUSH 0xf90
PUSH EAX
CALL 0x0008b620
LEA EAX,[EBX + 0xfff1e914]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff1d94b]
PUSH 0xf8d
PUSH EAX
CALL 0x0008b620
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm2 FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}\n\n" comment (function_definition "void __regparm2 FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = *(int **)(param_3 + 0xac);" (assignment_expression "piVar1 = *(int **)(param_3 + 0xac)" identifier = (pointer_expression "*(int **)(param_3 + 0xac)" * (cast_expression "(int **)(param_3 + 0xac)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0xac)" ( (binary_expression "param_3 + 0xac" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }" { comment (expression_statement "FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);" (call_expression "FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2)" identifier (argument_list "("../../gold/output.cc",0xf8d,"discard_states",param_2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""discard_states"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" if (parenthesized_expression "(*(code **)(*piVar1 + 4) == FUN_000f1c90)" ( (binary_expression "*(code **)(*piVar1 + 4) == FUN_000f1c90" (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }" { (expression_statement "*piVar1 = (int)&PTR_FUN_0033414c;" (assignment_expression "*piVar1 = (int)&PTR_FUN_0033414c" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)&PTR_FUN_0033414c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&PTR_FUN_0033414c" & identifier))) ;) (if_statement "if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }" if (parenthesized_expression "(piVar1[7] != 0)" ( (binary_expression "piVar1[7] != 0" (subscript_expression "piVar1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac470(piVar1[7]);\n    }" { (expression_statement "FUN_001ac470(piVar1[7]);" (call_expression "FUN_001ac470(piVar1[7])" identifier (argument_list "(piVar1[7])" ( (subscript_expression "piVar1[7]" identifier [ number_literal ]) ))) ;) })) (expression_statement "FUN_001ac450(piVar1,0x34);" (call_expression "FUN_001ac450(piVar1,0x34)" identifier (argument_list "(piVar1,0x34)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" else (compound_statement "{\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" { (expression_statement "(**(code **)(*piVar1 + 4))(piVar1);" (call_expression "(**(code **)(*piVar1 + 4))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 4))" ( (pointer_expression "**(code **)(*piVar1 + 4)" * (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) }))) (expression_statement "*(undefined4 *)(param_3 + 0xac) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xac) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xac)" * (cast_expression "(undefined4 *)(param_3 + 0xac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xac)" ( (binary_expression "param_3 + 0xac" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80))" ( (binary_expression "*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)" (pointer_expression "*(int *)(param_3 + 0x84)" * (cast_expression "(int *)(param_3 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x84)" ( (binary_expression "param_3 + 0x84" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_3 + 0x80)" * (cast_expression "(int *)(param_3 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) ))))) )) (compound_statement "{\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }" { (expression_statement "**(undefined1 **)(param_3 + 0xb0) = 0;" (assignment_expression "**(undefined1 **)(param_3 + 0xb0) = 0" (pointer_expression "**(undefined1 **)(param_3 + 0xb0)" * (pointer_expression "*(undefined1 **)(param_3 + 0xb0)" * (cast_expression "(undefined1 **)(param_3 + 0xb0)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0xb0)" ( (binary_expression "param_3 + 0xb0" identifier + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));" (call_expression "FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80))" identifier (argument_list "("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80))" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""discard_states"" " string_content ") , (pointer_expression "*(int *)(param_3 + 0x80)" * (cast_expression "(int *)(param_3 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) )))) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void discard_states(Output_section * this) */\n\nvoid __thiscall gold::Output_section::discard_states(Output_section *this)\n\n{\n  Checkpoint_output_section *pCVar1;\n  pointer pIVar2;\n  \n  pCVar1 = this->checkpoint_;\n  if (pCVar1 == (Checkpoint_output_section *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");\n  }\n  if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section::~Checkpoint_output_section) {\n    pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;\n    pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n             ._M_impl._M_start;\n    if (pIVar2 != (pointer)0x0) {\n      operator_delete(pIVar2);\n    }\n    operator_delete(pCVar1,0x34);\n  }\n  else {\n    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n  }\n  this->checkpoint_ = (Checkpoint_output_section *)0x0;\n  if ((this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_start) {\n    this->lookup_maps_->is_valid_ = false;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0xf90,"discard_states");\n}\n\n" comment comment (function_definition "void __thiscall gold::Output_section::discard_states(Output_section *this)\n\n{\n  Checkpoint_output_section *pCVar1;\n  pointer pIVar2;\n  \n  pCVar1 = this->checkpoint_;\n  if (pCVar1 == (Checkpoint_output_section *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");\n  }\n  if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section::~Checkpoint_output_section) {\n    pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;\n    pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n             ._M_impl._M_start;\n    if (pIVar2 != (pointer)0x0) {\n      operator_delete(pIVar2);\n    }\n    operator_delete(pCVar1,0x34);\n  }\n  else {\n    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n  }\n  this->checkpoint_ = (Checkpoint_output_section *)0x0;\n  if ((this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_start) {\n    this->lookup_maps_->is_valid_ = false;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0xf90,"discard_states");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section::" identifier : : identifier : :) (function_declarator "discard_states(Output_section *this)" identifier (parameter_list "(Output_section *this)" ( (parameter_declaration "Output_section *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Checkpoint_output_section *pCVar1;\n  pointer pIVar2;\n  \n  pCVar1 = this->checkpoint_;\n  if (pCVar1 == (Checkpoint_output_section *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");\n  }\n  if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section::~Checkpoint_output_section) {\n    pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;\n    pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n             ._M_impl._M_start;\n    if (pIVar2 != (pointer)0x0) {\n      operator_delete(pIVar2);\n    }\n    operator_delete(pCVar1,0x34);\n  }\n  else {\n    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n  }\n  this->checkpoint_ = (Checkpoint_output_section *)0x0;\n  if ((this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_start) {\n    this->lookup_maps_->is_valid_ = false;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0xf90,"discard_states");\n}" { (declaration "Checkpoint_output_section *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (declaration "pointer pIVar2;" type_identifier identifier ;) (expression_statement "pCVar1 = this->checkpoint_;" (assignment_expression "pCVar1 = this->checkpoint_" identifier = (field_expression "this->checkpoint_" identifier -> field_identifier)) ;) (if_statement "if (pCVar1 == (Checkpoint_output_section *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");\n  }" if (parenthesized_expression "(pCVar1 == (Checkpoint_output_section *)0x0)" ( (binary_expression "pCVar1 == (Checkpoint_output_section *)0x0" identifier == (cast_expression "(Checkpoint_output_section *)0x0" ( (type_descriptor "Checkpoint_output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states");" (call_expression "do_gold_unreachable("../../gold/output.cc",0xf8d,"discard_states")" identifier (argument_list "("../../gold/output.cc",0xf8d,"discard_states")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""discard_states"" " string_content ") ))) ;) })) (if_statement "if (pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section::~Checkpoint_output_section) {\n    pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;\n    pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n             ._M_impl._M_start;\n    if (pIVar2 != (pointer)0x0) {\n      operator_delete(pIVar2);\n    }\n    operator_delete(pCVar1,0x34);\n  }\n  else {\n    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n  }" if (parenthesized_expression "(pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section::~Checkpoint_output_section)" ( (ERROR "pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section::" (binary_expression "pCVar1->_vptr_Checkpoint_output_section[1] ==\n      Checkpoint_output_section" (subscript_expression "pCVar1->_vptr_Checkpoint_output_section[1]" (field_expression "pCVar1->_vptr_Checkpoint_output_section" identifier -> field_identifier) [ number_literal ]) == identifier) : :) (unary_expression "~Checkpoint_output_section" ~ identifier) )) (compound_statement "{\n    pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;\n    pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold::Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n             ._M_impl._M_start;\n    if (pIVar2 != (pointer)0x0) {\n      operator_delete(pIVar2);\n    }\n    operator_delete(pCVar1,0x34);\n  }" { (expression_statement "pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c;" (assignment_expression "pCVar1->_vptr_Checkpoint_output_section =\n         (_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c" (field_expression "pCVar1->_vptr_Checkpoint_output_section" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Checkpoint_output_section_0033414c" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Checkpoint_output_section_0033414c" & identifier))) ;) (ERROR "pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold::" (assignment_expression "pIVar2 = (pCVar1->input_sections_copy_).\n             super__Vector_base<gold" identifier = (binary_expression "(pCVar1->input_sections_copy_).\n             super__Vector_base<gold" (field_expression "(pCVar1->input_sections_copy_).\n             super__Vector_base" (parenthesized_expression "(pCVar1->input_sections_copy_)" ( (field_expression "pCVar1->input_sections_copy_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Output_section::Input_section,_std::allocator<gold::Output_section::Input_section>_>\n             ._M_impl._M_start;" statement_identifier (ERROR "::Input_section,_std::allocator<gold:" : : (comma_expression "Input_section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Output_section::Input_section>_>\n             ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Input_section>_>\n             ._M_impl._M_start;" (field_expression "Input_section>_>\n             ._M_impl._M_start" (field_expression "Input_section>_>\n             ._M_impl" (binary_expression "Input_section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (if_statement "if (pIVar2 != (pointer)0x0) {\n      operator_delete(pIVar2);\n    }" if (parenthesized_expression "(pIVar2 != (pointer)0x0)" ( (binary_expression "pIVar2 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n      operator_delete(pIVar2);\n    }" { (expression_statement "operator_delete(pIVar2);" (call_expression "operator_delete(pIVar2)" identifier (argument_list "(pIVar2)" ( identifier ))) ;) })) (expression_statement "operator_delete(pCVar1,0x34);" (call_expression "operator_delete(pCVar1,0x34)" identifier (argument_list "(pCVar1,0x34)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n  }" else (compound_statement "{\n    (*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);\n  }" { (expression_statement "(*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1);" (call_expression "(*pCVar1->_vptr_Checkpoint_output_section[1])(pCVar1)" (parenthesized_expression "(*pCVar1->_vptr_Checkpoint_output_section[1])" ( (pointer_expression "*pCVar1->_vptr_Checkpoint_output_section[1]" * (subscript_expression "pCVar1->_vptr_Checkpoint_output_section[1]" (field_expression "pCVar1->_vptr_Checkpoint_output_section" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pCVar1)" ( identifier ))) ;) }))) (expression_statement "this->checkpoint_ = (Checkpoint_output_section *)0x0;" (assignment_expression "this->checkpoint_ = (Checkpoint_output_section *)0x0" (field_expression "this->checkpoint_" identifier -> field_identifier) = (cast_expression "(Checkpoint_output_section *)0x0" ( (type_descriptor "Checkpoint_output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_start) {\n    this->lookup_maps_->is_valid_ = false;\n    return;\n  }" if (parenthesized_expression "((this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_start)" ( (ERROR "(this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std::allocator<gold::Output_section::" (comma_expression "(this->fills_).\n      super__Vector_base<gold::Output_section::Fill,_std" (binary_expression "(this->fills_).\n      super__Vector_base<gold" (field_expression "(this->fills_).\n      super__Vector_base" (parenthesized_expression "(this->fills_)" ( (field_expression "this->fills_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section::Fill" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : : (binary_expression "Fill>_>.\n      _M_impl._M_finish ==\n      (this->fills_).\n      super__Vector_base<gold" (field_expression "Fill>_>.\n      _M_impl._M_finish" (field_expression "Fill>_>.\n      _M_impl" (binary_expression "Fill>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) == (binary_expression "(this->fills_).\n      super__Vector_base<gold" (field_expression "(this->fills_).\n      super__Vector_base" (parenthesized_expression "(this->fills_)" ( (field_expression "this->fills_" identifier -> field_identifier) )) . field_identifier) < identifier)) : : identifier : : (comma_expression "Fill,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (field_expression "Fill>_>.\n      _M_impl._M_start" (field_expression "Fill>_>.\n      _M_impl" (binary_expression "Fill>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    this->lookup_maps_->is_valid_ = false;\n    return;\n  }" { (expression_statement "this->lookup_maps_->is_valid_ = false;" (assignment_expression "this->lookup_maps_->is_valid_ = false" (field_expression "this->lookup_maps_->is_valid_" (field_expression "this->lookup_maps_" identifier -> field_identifier) -> field_identifier) = false) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0xf90,"discard_states");" (call_expression "do_gold_unreachable("../../gold/output.cc",0xf90,"discard_states")" identifier (argument_list "("../../gold/output.cc",0xf90,"discard_states")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""discard_states"" " string_content ") ))) ;) })))
(translation_unit "void __regparm2 FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}\n\n" (function_definition "void __regparm2 FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = *(int **)(param_3 + 0xac);" (assignment_expression "piVar1 = *(int **)(param_3 + 0xac)" identifier = (pointer_expression "*(int **)(param_3 + 0xac)" * (cast_expression "(int **)(param_3 + 0xac)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0xac)" ( (binary_expression "param_3 + 0xac" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }" { (expression_statement "FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);" (call_expression "FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2)" identifier (argument_list "("../../gold/output.cc",0xf8d,"discard_states",param_2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""discard_states"" " string_content ") , identifier ))) ;) })) (if_statement "if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" if (parenthesized_expression "(*(code **)(*piVar1 + 4) == FUN_000f1c90)" ( (binary_expression "*(code **)(*piVar1 + 4) == FUN_000f1c90" (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }" { (expression_statement "*piVar1 = (int)&PTR_FUN_0033414c;" (assignment_expression "*piVar1 = (int)&PTR_FUN_0033414c" (pointer_expression "*piVar1" * identifier) = (cast_expression "(int)&PTR_FUN_0033414c" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&PTR_FUN_0033414c" & identifier))) ;) (if_statement "if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }" if (parenthesized_expression "(piVar1[7] != 0)" ( (binary_expression "piVar1[7] != 0" (subscript_expression "piVar1[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_001ac470(piVar1[7]);\n    }" { (expression_statement "FUN_001ac470(piVar1[7]);" (call_expression "FUN_001ac470(piVar1[7])" identifier (argument_list "(piVar1[7])" ( (subscript_expression "piVar1[7]" identifier [ number_literal ]) ))) ;) })) (expression_statement "FUN_001ac450(piVar1,0x34);" (call_expression "FUN_001ac450(piVar1,0x34)" identifier (argument_list "(piVar1,0x34)" ( identifier , number_literal ))) ;) }) (else_clause "else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" else (compound_statement "{\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" { (expression_statement "(**(code **)(*piVar1 + 4))(piVar1);" (call_expression "(**(code **)(*piVar1 + 4))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 4))" ( (pointer_expression "**(code **)(*piVar1 + 4)" * (pointer_expression "*(code **)(*piVar1 + 4)" * (cast_expression "(code **)(*piVar1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 4)" ( (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier ))) ;) }))) (expression_statement "*(undefined4 *)(param_3 + 0xac) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xac) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xac)" * (cast_expression "(undefined4 *)(param_3 + 0xac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xac)" ( (binary_expression "param_3 + 0xac" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80))" ( (binary_expression "*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)" (pointer_expression "*(int *)(param_3 + 0x84)" * (cast_expression "(int *)(param_3 + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x84)" ( (binary_expression "param_3 + 0x84" identifier + number_literal) )))) == (pointer_expression "*(int *)(param_3 + 0x80)" * (cast_expression "(int *)(param_3 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) ))))) )) (compound_statement "{\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }" { (expression_statement "**(undefined1 **)(param_3 + 0xb0) = 0;" (assignment_expression "**(undefined1 **)(param_3 + 0xb0) = 0" (pointer_expression "**(undefined1 **)(param_3 + 0xb0)" * (pointer_expression "*(undefined1 **)(param_3 + 0xb0)" * (cast_expression "(undefined1 **)(param_3 + 0xb0)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 0xb0)" ( (binary_expression "param_3 + 0xb0" identifier + number_literal) ))))) = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));" (call_expression "FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80))" identifier (argument_list "("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80))" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""discard_states"" " string_content ") , (pointer_expression "*(int *)(param_3 + 0x80)" * (cast_expression "(int *)(param_3 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x80)" ( (binary_expression "param_3 + 0x80" identifier + number_literal) )))) ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression & IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = LIT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })))
(function_definition "void __regparm2 FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_000e9e80(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_000e9e80") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = *(int **)(param_3 + 0xac);\n  if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }\n  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }\n  *(undefined4 *)(param_3 + 0xac) = 0;\n  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }\n                    \n  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = *(int **)(param_3 + 0xac);" (assignment_expression "piVar1 = *(int **)(param_3 + 0xac)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_3 + 0xac)" (* "*") (cast_expression "(int **)(param_3 + 0xac)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0xac)" (( "(") (binary_expression "param_3 + 0xac" (identifier "param_3") (+ "+") (number_literal "0xac")) () ")"))))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) {\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);\n  }" ({ "{") (expression_statement "FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);" (call_expression "FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2)" (identifier "FUN_0008b620") (argument_list "("../../gold/output.cc",0xf8d,"discard_states",param_2)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0xf8d") (, ",") (string_literal ""discard_states"" (" """) (string_content "discard_states") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }\n  else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" (if "if") (parenthesized_expression "(*(code **)(*piVar1 + 4) == FUN_000f1c90)" (( "(") (binary_expression "*(code **)(*piVar1 + 4) == FUN_000f1c90" (pointer_expression "*(code **)(*piVar1 + 4)" (* "*") (cast_expression "(code **)(*piVar1 + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 4)" (( "(") (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "4")) () ")")))) (== "==") (identifier "FUN_000f1c90")) () ")")) (compound_statement "{\n    *piVar1 = (int)&PTR_FUN_0033414c;\n    if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }\n    FUN_001ac450(piVar1,0x34);\n  }" ({ "{") (expression_statement "*piVar1 = (int)&PTR_FUN_0033414c;" (assignment_expression "*piVar1 = (int)&PTR_FUN_0033414c" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (cast_expression "(int)&PTR_FUN_0033414c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "&PTR_FUN_0033414c" (& "&") (identifier "PTR_FUN_0033414c")))) (; ";")) (if_statement "if (piVar1[7] != 0) {\n      FUN_001ac470(piVar1[7]);\n    }" (if "if") (parenthesized_expression "(piVar1[7] != 0)" (( "(") (binary_expression "piVar1[7] != 0" (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_001ac470(piVar1[7]);\n    }" ({ "{") (expression_statement "FUN_001ac470(piVar1[7]);" (call_expression "FUN_001ac470(piVar1[7])" (identifier "FUN_001ac470") (argument_list "(piVar1[7])" (( "(") (subscript_expression "piVar1[7]" (identifier "piVar1") ([ "[") (number_literal "7") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_001ac450(piVar1,0x34);" (call_expression "FUN_001ac450(piVar1,0x34)" (identifier "FUN_001ac450") (argument_list "(piVar1,0x34)" (( "(") (identifier "piVar1") (, ",") (number_literal "0x34") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" (else "else") (compound_statement "{\n    (**(code **)(*piVar1 + 4))(piVar1);\n  }" ({ "{") (expression_statement "(**(code **)(*piVar1 + 4))(piVar1);" (call_expression "(**(code **)(*piVar1 + 4))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 4))" (( "(") (pointer_expression "**(code **)(*piVar1 + 4)" (* "*") (pointer_expression "*(code **)(*piVar1 + 4)" (* "*") (cast_expression "(code **)(*piVar1 + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 4)" (( "(") (binary_expression "*piVar1 + 4" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)(param_3 + 0xac) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 0xac) = 0" (pointer_expression "*(undefined4 *)(param_3 + 0xac)" (* "*") (cast_expression "(undefined4 *)(param_3 + 0xac)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xac)" (( "(") (binary_expression "param_3 + 0xac" (identifier "param_3") (+ "+") (number_literal "0xac")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80))" (( "(") (binary_expression "*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)" (pointer_expression "*(int *)(param_3 + 0x84)" (* "*") (cast_expression "(int *)(param_3 + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x84)" (( "(") (binary_expression "param_3 + 0x84" (identifier "param_3") (+ "+") (number_literal "0x84")) () ")")))) (== "==") (pointer_expression "*(int *)(param_3 + 0x80)" (* "*") (cast_expression "(int *)(param_3 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x80)" (( "(") (binary_expression "param_3 + 0x80" (identifier "param_3") (+ "+") (number_literal "0x80")) () ")"))))) () ")")) (compound_statement "{\n    **(undefined1 **)(param_3 + 0xb0) = 0;\n    return;\n  }" ({ "{") (expression_statement "**(undefined1 **)(param_3 + 0xb0) = 0;" (assignment_expression "**(undefined1 **)(param_3 + 0xb0) = 0" (pointer_expression "**(undefined1 **)(param_3 + 0xb0)" (* "*") (pointer_expression "*(undefined1 **)(param_3 + 0xb0)" (* "*") (cast_expression "(undefined1 **)(param_3 + 0xb0)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 0xb0)" (( "(") (binary_expression "param_3 + 0xb0" (identifier "param_3") (+ "+") (number_literal "0xb0")) () ")"))))) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));" (call_expression "FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80))" (identifier "FUN_0008b620") (argument_list "("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80))" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0xf90") (, ",") (string_literal ""discard_states"" (" """) (string_content "discard_states") (" """)) (, ",") (pointer_expression "*(int *)(param_3 + 0x80)" (* "*") (cast_expression "(int *)(param_3 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x80)" (( "(") (binary_expression "param_3 + 0x80" (identifier "param_3") (+ "+") (number_literal "0x80")) () ")")))) () ")"))) (; ";")) (} "}")))

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

void __thiscall gold::type_1::function_1(type_1 *this)

{
  type_2 *var_1;
  type_3 var_5;
  
  var_1 = this->checkpoint_;
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/output.cc",0xf8d,"discard_states");
  }
  if (var_1->_vptr_Checkpoint_output_section[1] ==
      type_2::~type_2) {
    var_1->_vptr_Checkpoint_output_section =
         (type_4 **)&PTR__Checkpoint_output_section_0033414c;
    var_5 = (var_1->input_sections_copy_).
             super__Vector_base<gold::Output_section::var_3,_std::allocator<gold::Output_section::var_3>var_4>
             ._M_impl._M_start;
    if (var_5 != (type_3)0x0) {
      var_6(var_5);
    }
    var_6(var_1,0x34);
  }
  else {
    (*var_1->_vptr_Checkpoint_output_section[1])(var_1);
  }
  this->checkpoint_ = (type_2 *)0x0;
  if ((this->fills_).
      super__Vector_base<gold::type_1::var_7,_std::allocator<gold::type_1::var_7>var_4>.
      _M_impl._M_finish ==
      (this->fills_).
      super__Vector_base<gold::type_1::var_7,_std::allocator<gold::type_1::var_7>var_4>.
      _M_impl._M_start) {
    this->lookup_maps_->is_valid_ = false;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/output.cc",0xf90,"discard_states");
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))

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

void __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int *piVar1;
  
  piVar1 = *(int **)(param_3 + 0xac);
  if (piVar1 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_0008b620("../../gold/output.cc",0xf8d,"discard_states",param_2);
  }
  if (*(code **)(*piVar1 + 4) == FUN_000f1c90) {
    *piVar1 = (int)&PTR_FUN_0033414c;
    if (piVar1[7] != 0) {
      FUN_001ac470(piVar1[7]);
    }
    FUN_001ac450(piVar1,0x34);
  }
  else {
    (**(code **)(*piVar1 + 4))(piVar1);
  }
  *(undefined4 *)(param_3 + 0xac) = 0;
  if (*(int *)(param_3 + 0x84) == *(int *)(param_3 + 0x80)) {
    **(undefined1 **)(param_3 + 0xb0) = 0;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0008b620("../../gold/output.cc",0xf90,"discard_states",*(int *)(param_3 + 0x80));
}

