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

void __thiscall
gold::Output_segment::add_output_section_to_nonload
          (Output_segment *this,Output_section *os,Elf_Word seg_flags)

{
  Output_section *local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0xf3196;
  if (this->type_ == 1) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");
  }
  if ((os->flags_ & 2) != 0) {
    if ((this->field_0x19c & 1) == 0) {
      if (this->type_ != 7) {
        this->flags_ = this->flags_ | seg_flags;
      }
      local_10[0] = os;
      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::
      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);
      return;
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.cc",0x1042,"add_output_section_to_nonload");
}



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

void FUN_000f3190(int param_1,int param_2,uint param_3)

{
  int iVar1;
  int local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0xf3196;
  iVar1 = *(int *)(param_1 + 0x194);
  if (iVar1 == 1) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);
  }
  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {
    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {
      if (iVar1 != 7) {
        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;
      }
      local_10[0] = param_2;
      FUN_000a5ef0(param_1,local_10);
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x29be6a
SUB ESP,0x18
MOV EAX,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x24]
MOV EDX,dword ptr [EAX + 0x194]
CMP EDX,0x1
JZ 0x000f31e7
TEST byte ptr [ECX + 0x54],0x2
JZ 0x000f3219
TEST byte ptr [EAX + 0x19c],0x1
JNZ 0x000f3200
CMP EDX,0x7
JZ 0x000f31d0
MOV EDX,dword ptr [ESP + 0x28]
OR dword ptr [EAX + 0x198],EDX
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x8
LEA EDX,[ESP + 0x14]
PUSH EDX
PUSH EAX
CALL 0x000a5ef0
ADD ESP,0x28
POP EBX
RET
LEA EAX,[EBX + 0xfff04a88]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xfff0336b]
PUSH 0x1041
PUSH EAX
CALL 0x00069d00
PUSH EAX
LEA EAX,[EBX + 0xfff04a88]
PUSH EAX
LEA EAX,[EBX + 0xfff0336b]
PUSH 0x1043
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xfff04a88]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xfff0336b]
PUSH 0x1042
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000f3190(int param_1,int param_2,uint param_3)\n\n{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}\n\n" comment (function_definition "void FUN_000f3190(int param_1,int param_2,uint param_3)\n\n{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}" primitive_type (function_declarator "FUN_000f3190(int param_1,int param_2,uint param_3)" identifier (parameter_list "(int param_1,int param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int local_10 [2];" primitive_type (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0xf3196;" (assignment_expression "uStack_8 = 0xf3196" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x194);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x194)" identifier = (pointer_expression "*(int *)(param_1 + 0x194)" * (cast_expression "(int *)(param_1 + 0x194)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x194)" ( (binary_expression "param_1 + 0x194" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 1) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2)" identifier (argument_list "("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 2) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 2) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 2)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 2" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }" { (if_statement "if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }" if (parenthesized_expression "((*(byte *)(param_1 + 0x19c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x19c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x19c) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x19c) & 1" (pointer_expression "*(byte *)(param_1 + 0x19c)" * (cast_expression "(byte *)(param_1 + 0x19c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19c)" ( (binary_expression "param_1 + 0x19c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }" { (if_statement "if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }" if (parenthesized_expression "(iVar1 != 7)" ( (binary_expression "iVar1 != 7" identifier != number_literal) )) (compound_statement "{\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }" { (expression_statement "*(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;" (assignment_expression "*(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3" (pointer_expression "*(uint *)(param_1 + 0x198)" * (cast_expression "(uint *)(param_1 + 0x198)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x198) | param_3" (pointer_expression "*(uint *)(param_1 + 0x198)" * (cast_expression "(uint *)(param_1 + 0x198)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) | identifier)) ;) })) (expression_statement "local_10[0] = param_2;" (assignment_expression "local_10[0] = param_2" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000a5ef0(param_1,local_10);" (call_expression "FUN_000a5ef0(param_1,local_10)" identifier (argument_list "(param_1,local_10)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1)" identifier (argument_list "("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") , identifier ))) ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1)" identifier (argument_list "("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void add_output_section_to_nonload(Output_segment * this,\n   Output_section * os, Elf_Word seg_flags) */\n\nvoid __thiscall\ngold::Output_segment::add_output_section_to_nonload\n          (Output_segment *this,Output_section *os,Elf_Word seg_flags)\n\n{\n  Output_section *local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  if (this->type_ == 1) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");\n  }\n  if ((os->flags_ & 2) != 0) {\n    if ((this->field_0x19c & 1) == 0) {\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x1042,"add_output_section_to_nonload");\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_segment::add_output_section_to_nonload\n          (Output_segment *this,Output_section *os,Elf_Word seg_flags)\n\n{\n  Output_section *local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  if (this->type_ == 1) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");\n  }\n  if ((os->flags_ & 2) != 0) {\n    if ((this->field_0x19c & 1) == 0) {\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x1042,"add_output_section_to_nonload");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "add_output_section_to_nonload\n          (Output_segment *this,Output_section *os,Elf_Word seg_flags)" identifier (parameter_list "(Output_segment *this,Output_section *os,Elf_Word seg_flags)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_section *os" type_identifier (pointer_declarator "*os" * identifier)) , (parameter_declaration "Elf_Word seg_flags" type_identifier identifier) ))) (compound_statement "{\n  Output_section *local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  if (this->type_ == 1) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");\n  }\n  if ((os->flags_ & 2) != 0) {\n    if ((this->field_0x19c & 1) == 0) {\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.cc",0x1042,"add_output_section_to_nonload");\n}" { (declaration "Output_section *local_10 [2];" type_identifier (pointer_declarator "*local_10 [2]" * (array_declarator "local_10 [2]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0xf3196;" (assignment_expression "uStack_8 = 0xf3196" identifier = number_literal) ;) (if_statement "if (this->type_ == 1) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");\n  }" if (parenthesized_expression "(this->type_ == 1)" ( (binary_expression "this->type_ == 1" (field_expression "this->type_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x1041,"add_output_section_to_nonload")" identifier (argument_list "("../../gold/output.cc",0x1041,"add_output_section_to_nonload")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") ))) ;) })) (if_statement "if ((os->flags_ & 2) != 0) {\n    if ((this->field_0x19c & 1) == 0) {\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");\n  }" if (parenthesized_expression "((os->flags_ & 2) != 0)" ( (binary_expression "(os->flags_ & 2) != 0" (parenthesized_expression "(os->flags_ & 2)" ( (binary_expression "os->flags_ & 2" (field_expression "os->flags_" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((this->field_0x19c & 1) == 0) {\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");\n  }" { (if_statement "if ((this->field_0x19c & 1) == 0) {\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }" if (parenthesized_expression "((this->field_0x19c & 1) == 0)" ( (binary_expression "(this->field_0x19c & 1) == 0" (parenthesized_expression "(this->field_0x19c & 1)" ( (binary_expression "this->field_0x19c & 1" (field_expression "this->field_0x19c" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }\n      local_10[0] = os;\n      std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::Output_data*>(this->output_lists_,(Output_data **)local_10);\n      return;\n    }" { (if_statement "if (this->type_ != 7) {\n        this->flags_ = this->flags_ | seg_flags;\n      }" if (parenthesized_expression "(this->type_ != 7)" ( (binary_expression "this->type_ != 7" (field_expression "this->type_" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        this->flags_ = this->flags_ | seg_flags;\n      }" { (expression_statement "this->flags_ = this->flags_ | seg_flags;" (assignment_expression "this->flags_ = this->flags_ | seg_flags" (field_expression "this->flags_" identifier -> field_identifier) = (binary_expression "this->flags_ | seg_flags" (field_expression "this->flags_" identifier -> field_identifier) | identifier)) ;) })) (expression_statement "local_10[0] = os;" (assignment_expression "local_10[0] = os" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (ERROR "std::vector<gold::Output_data*,_std::allocator<gold::Output_data*>_>::\n      emplace_back<gold::" (comma_expression "std::vector<gold::Output_data*,_std" identifier (ERROR "::vector<gold::Output_data*" : : (binary_expression "vector<gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Output_data*>_>::\n      emplace_back<gold" (binary_expression "Output_data*>_>::\n      emplace_back" (binary_expression "Output_data*>_" identifier * (ERROR ">" >) identifier) > (ERROR "::" : :) identifier) < identifier) : :) (expression_statement "Output_data*>(this->output_lists_,(Output_data **)local_10);" (binary_expression "Output_data*>(this->output_lists_,(Output_data **)local_10)" (binary_expression "Output_data*" identifier * identifier) > (parenthesized_expression "(this->output_lists_,(Output_data **)local_10)" ( (comma_expression "this->output_lists_,(Output_data **)local_10" (field_expression "this->output_lists_" identifier -> field_identifier) , (cast_expression "(Output_data **)local_10" ( (type_descriptor "Output_data **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x1043,"add_output_section_to_nonload")" identifier (argument_list "("../../gold/output.cc",0x1043,"add_output_section_to_nonload")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") ))) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.cc",0x1042,"add_output_section_to_nonload");" (call_expression "do_gold_unreachable("../../gold/output.cc",0x1042,"add_output_section_to_nonload")" identifier (argument_list "("../../gold/output.cc",0x1042,"add_output_section_to_nonload")" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") ))) ;) })))
(translation_unit "void FUN_000f3190(int param_1,int param_2,uint param_3)\n\n{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}\n\n" (function_definition "void FUN_000f3190(int param_1,int param_2,uint param_3)\n\n{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}" primitive_type (function_declarator "FUN_000f3190(int param_1,int param_2,uint param_3)" identifier (parameter_list "(int param_1,int param_2,uint param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int local_10 [2];" primitive_type (array_declarator "local_10 [2]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_8;" type_identifier identifier ;) (expression_statement "uStack_8 = 0xf3196;" (assignment_expression "uStack_8 = 0xf3196" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x194);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x194)" identifier = (pointer_expression "*(int *)(param_1 + 0x194)" * (cast_expression "(int *)(param_1 + 0x194)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x194)" ( (binary_expression "param_1 + 0x194" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }" { (expression_statement "FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2)" identifier (argument_list "("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 2) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x54) & 2) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 2)" ( (binary_expression "*(byte *)(param_2 + 0x54) & 2" (pointer_expression "*(byte *)(param_2 + 0x54)" * (cast_expression "(byte *)(param_2 + 0x54)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x54)" ( (binary_expression "param_2 + 0x54" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }" { (if_statement "if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }" if (parenthesized_expression "((*(byte *)(param_1 + 0x19c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x19c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x19c) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x19c) & 1" (pointer_expression "*(byte *)(param_1 + 0x19c)" * (cast_expression "(byte *)(param_1 + 0x19c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19c)" ( (binary_expression "param_1 + 0x19c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }" { (if_statement "if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }" if (parenthesized_expression "(iVar1 != 7)" ( (binary_expression "iVar1 != 7" identifier != number_literal) )) (compound_statement "{\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }" { (expression_statement "*(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;" (assignment_expression "*(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3" (pointer_expression "*(uint *)(param_1 + 0x198)" * (cast_expression "(uint *)(param_1 + 0x198)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) = (binary_expression "*(uint *)(param_1 + 0x198) | param_3" (pointer_expression "*(uint *)(param_1 + 0x198)" * (cast_expression "(uint *)(param_1 + 0x198)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x198)" ( (binary_expression "param_1 + 0x198" identifier + number_literal) )))) | identifier)) ;) })) (expression_statement "local_10[0] = param_2;" (assignment_expression "local_10[0] = param_2" (subscript_expression "local_10[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_000a5ef0(param_1,local_10);" (call_expression "FUN_000a5ef0(param_1,local_10)" identifier (argument_list "(param_1,local_10)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1)" identifier (argument_list "("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") , identifier ))) ;) })) (expression_statement "FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1)" identifier (argument_list "("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1)" ( (string_literal ""../../gold/output.cc"" " string_content ") , number_literal , (string_literal ""add_output_section_to_nonload"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == 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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | IDENT)) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_000f3190(int param_1,int param_2,uint param_3)\n\n{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}" (primitive_type "void") (function_declarator "FUN_000f3190(int param_1,int param_2,uint param_3)" (identifier "FUN_000f3190") (parameter_list "(int param_1,int param_2,uint param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int local_10 [2];\n  undefined4 uStack_8;\n  \n  uStack_8 = 0xf3196;\n  iVar1 = *(int *)(param_1 + 0x194);\n  if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }\n  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }\n                    \n  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int local_10 [2];" (primitive_type "int") (array_declarator "local_10 [2]" (identifier "local_10") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "undefined4 uStack_8;" (type_identifier "undefined4") (identifier "uStack_8") (; ";")) (expression_statement "uStack_8 = 0xf3196;" (assignment_expression "uStack_8 = 0xf3196" (identifier "uStack_8") (= "=") (number_literal "0xf3196")) (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x194);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x194)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x194)" (* "*") (cast_expression "(int *)(param_1 + 0x194)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x194)" (( "(") (binary_expression "param_1 + 0x194" (identifier "param_1") (+ "+") (number_literal "0x194")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 1) {\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }" (if "if") (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x1041") (, ",") (string_literal ""add_output_section_to_nonload"" (" """) (string_content "add_output_section_to_nonload") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(param_2 + 0x54) & 2) != 0) {\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x54) & 2) != 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x54) & 2) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x54) & 2)" (( "(") (binary_expression "*(byte *)(param_2 + 0x54) & 2" (pointer_expression "*(byte *)(param_2 + 0x54)" (* "*") (cast_expression "(byte *)(param_2 + 0x54)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x54)" (( "(") (binary_expression "param_2 + 0x54" (identifier "param_2") (+ "+") (number_literal "0x54")) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }\n                    \n    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);\n  }" ({ "{") (if_statement "if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x19c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x19c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x19c) & 1)" (( "(") (binary_expression "*(byte *)(param_1 + 0x19c) & 1" (pointer_expression "*(byte *)(param_1 + 0x19c)" (* "*") (cast_expression "(byte *)(param_1 + 0x19c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x19c)" (( "(") (binary_expression "param_1 + 0x19c" (identifier "param_1") (+ "+") (number_literal "0x19c")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }\n      local_10[0] = param_2;\n      FUN_000a5ef0(param_1,local_10);\n      return;\n    }" ({ "{") (if_statement "if (iVar1 != 7) {\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }" (if "if") (parenthesized_expression "(iVar1 != 7)" (( "(") (binary_expression "iVar1 != 7" (identifier "iVar1") (!= "!=") (number_literal "7")) () ")")) (compound_statement "{\n        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;\n      }" ({ "{") (expression_statement "*(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;" (assignment_expression "*(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3" (pointer_expression "*(uint *)(param_1 + 0x198)" (* "*") (cast_expression "(uint *)(param_1 + 0x198)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x198)" (( "(") (binary_expression "param_1 + 0x198" (identifier "param_1") (+ "+") (number_literal "0x198")) () ")")))) (= "=") (binary_expression "*(uint *)(param_1 + 0x198) | param_3" (pointer_expression "*(uint *)(param_1 + 0x198)" (* "*") (cast_expression "(uint *)(param_1 + 0x198)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x198)" (( "(") (binary_expression "param_1 + 0x198" (identifier "param_1") (+ "+") (number_literal "0x198")) () ")")))) (| "|") (identifier "param_3"))) (; ";")) (} "}"))) (expression_statement "local_10[0] = param_2;" (assignment_expression "local_10[0] = param_2" (subscript_expression "local_10[0]" (identifier "local_10") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "FUN_000a5ef0(param_1,local_10);" (call_expression "FUN_000a5ef0(param_1,local_10)" (identifier "FUN_000a5ef0") (argument_list "(param_1,local_10)" (( "(") (identifier "param_1") (, ",") (identifier "local_10") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x1043") (, ",") (string_literal ""add_output_section_to_nonload"" (" """) (string_content "add_output_section_to_nonload") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);" (call_expression "FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1)" (( "(") (string_literal ""../../gold/output.cc"" (" """) (string_content "../../gold/output.cc") (" """)) (, ",") (number_literal "0x1042") (, ",") (string_literal ""add_output_section_to_nonload"" (" """) (string_content "add_output_section_to_nonload") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

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

void __thiscall
gold::type_1::function_1
          (type_1 *this,type_2 *os,type_3 var_2)

{
  type_2 *local_10 [2];
  type_4 uStack_8;
  
  uStack_8 = 0xf3196;
  if (this->type_ == 1) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/output.cc",0x1041,"add_output_section_to_nonload");
  }
  if ((os->flags_ & 2) != 0) {
    if ((this->field_0x19c & 1) == 0) {
      if (this->type_ != 7) {
        this->flags_ = this->flags_ | var_2;
      }
      local_10[0] = os;
      std::vector<gold::var_3*,_std::allocator<gold::var_3*>_>::
      emplace_back<gold::var_3*var_4>(this->output_lists_,(var_3 **)local_10);
      return;
    }
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/output.cc",0x1043,"add_output_section_to_nonload");
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/output.cc",0x1042,"add_output_section_to_nonload");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) 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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (parenthesized_expression (binary_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))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (binary_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: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (identifier)))))))

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

void MASKED(int param_1,int param_2,uint param_3)

{
  int iVar1;
  int local_10 [2];
  undefined4 uStack_8;
  
  uStack_8 = 0xf3196;
  iVar1 = *(int *)(param_1 + 0x194);
  if (iVar1 == 1) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.cc",0x1041,"add_output_section_to_nonload",param_2);
  }
  if ((*(byte *)(param_2 + 0x54) & 2) != 0) {
    if ((*(byte *)(param_1 + 0x19c) & 1) == 0) {
      if (iVar1 != 7) {
        *(uint *)(param_1 + 0x198) = *(uint *)(param_1 + 0x198) | param_3;
      }
      local_10[0] = param_2;
      FUN_000a5ef0(param_1,local_10);
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/output.cc",0x1043,"add_output_section_to_nonload",param_1);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.cc",0x1042,"add_output_section_to_nonload",iVar1);
}

