
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_write(Eh_frame_hdr * this, Output_file * of) */

void __thiscall gold::Eh_frame_hdr::do_write(Eh_frame_hdr *this,Output_file *of)

{
  Target_size_endianness TVar1;
  
  TVar1 = Parameters::size_and_endianness(parameters);
  if (TVar1 == TARGET_32_LITTLE) {
    do_sized_write<32,_false>(this,of);
    return;
  }
  if (TVar1 == TARGET_64_LITTLE) {
    do_sized_write<64,_false>(this,of);
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/ehframe.cc",0x87,"do_write");
}



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

void FUN_0014e6c0(void)

{
  int iVar1;
  
  iVar1 = FUN_000ee190(DAT_00302378);
  if (iVar1 == 0) {
    FUN_00152fc0();
    return;
  }
  if (iVar1 == 2) {
    FUN_00153810();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00032730
ADD EBX,0x1b3934
MOV EDI,dword ptr [ESP + 0x14]
SUB ESP,0xc
LEA EAX,[EBX + 0x378]
PUSH dword ptr [EAX]
CALL 0x000ee190
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0014e708
CMP EAX,0x2
JNZ 0x0014e718
MOV dword ptr [ESP + 0x14],EDI
MOV dword ptr [ESP + 0x10],ESI
POP EBX
POP ESI
POP EDI
JMP 0x00153810
MOV dword ptr [ESP + 0x14],EDI
MOV dword ptr [ESP + 0x10],ESI
POP EBX
POP ESI
POP EDI
JMP 0x00152fc0
PUSH EAX
LEA EAX,[EBX + 0xfff339bc]
PUSH EAX
LEA EAX,[EBX + 0xfff337df]
PUSH 0x87
PUSH EAX
CALL 0x0005f0b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0014e6c0(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}\n\n" comment (function_definition "void FUN_0014e6c0(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}" primitive_type (function_declarator "FUN_0014e6c0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000ee190(DAT_00302378);" (assignment_expression "iVar1 = FUN_000ee190(DAT_00302378)" identifier = (call_expression "FUN_000ee190(DAT_00302378)" identifier (argument_list "(DAT_00302378)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00152fc0();\n    return;\n  }" { (expression_statement "FUN_00152fc0();" (call_expression "FUN_00152fc0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_00153810();\n    return;\n  }" { (expression_statement "FUN_00153810();" (call_expression "FUN_00153810()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);" (call_expression "FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1)" identifier (argument_list "("../../gold/ehframe.cc",0x87,"do_write",iVar1)" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void do_write(Eh_frame_hdr * this, Output_file * of) */\n\nvoid __thiscall gold::Eh_frame_hdr::do_write(Eh_frame_hdr *this,Output_file *of)\n\n{\n  Target_size_endianness TVar1;\n  \n  TVar1 = Parameters::size_and_endianness(parameters);\n  if (TVar1 == TARGET_32_LITTLE) {\n    do_sized_write<32,_false>(this,of);\n    return;\n  }\n  if (TVar1 == TARGET_64_LITTLE) {\n    do_sized_write<64,_false>(this,of);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/ehframe.cc",0x87,"do_write");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Eh_frame_hdr::do_write(Eh_frame_hdr *this,Output_file *of)\n\n{\n  Target_size_endianness TVar1;\n  \n  TVar1 = Parameters::size_and_endianness(parameters);\n  if (TVar1 == TARGET_32_LITTLE) {\n    do_sized_write<32,_false>(this,of);\n    return;\n  }\n  if (TVar1 == TARGET_64_LITTLE) {\n    do_sized_write<64,_false>(this,of);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/ehframe.cc",0x87,"do_write");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Eh_frame_hdr::" identifier : : identifier : :) (function_declarator "do_write(Eh_frame_hdr *this,Output_file *of)" identifier (parameter_list "(Eh_frame_hdr *this,Output_file *of)" ( (parameter_declaration "Eh_frame_hdr *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_file *of" type_identifier (pointer_declarator "*of" * identifier)) ))) (compound_statement "{\n  Target_size_endianness TVar1;\n  \n  TVar1 = Parameters::size_and_endianness(parameters);\n  if (TVar1 == TARGET_32_LITTLE) {\n    do_sized_write<32,_false>(this,of);\n    return;\n  }\n  if (TVar1 == TARGET_64_LITTLE) {\n    do_sized_write<64,_false>(this,of);\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/ehframe.cc",0x87,"do_write");\n}" { (declaration "Target_size_endianness TVar1;" type_identifier identifier ;) (ERROR "TVar1 = Parameters::" (assignment_expression "TVar1 = Parameters" identifier = identifier) : :) (expression_statement "size_and_endianness(parameters);" (call_expression "size_and_endianness(parameters)" identifier (argument_list "(parameters)" ( identifier ))) ;) (if_statement "if (TVar1 == TARGET_32_LITTLE) {\n    do_sized_write<32,_false>(this,of);\n    return;\n  }" if (parenthesized_expression "(TVar1 == TARGET_32_LITTLE)" ( (binary_expression "TVar1 == TARGET_32_LITTLE" identifier == identifier) )) (compound_statement "{\n    do_sized_write<32,_false>(this,of);\n    return;\n  }" { (expression_statement "do_sized_write<32,_false>(this,of);" (comma_expression "do_sized_write<32,_false>(this,of)" (binary_expression "do_sized_write<32" identifier < number_literal) , (binary_expression "_false>(this,of)" identifier > (parenthesized_expression "(this,of)" ( (comma_expression "this,of" identifier , identifier) )))) ;) (return_statement "return;" return ;) })) (if_statement "if (TVar1 == TARGET_64_LITTLE) {\n    do_sized_write<64,_false>(this,of);\n    return;\n  }" if (parenthesized_expression "(TVar1 == TARGET_64_LITTLE)" ( (binary_expression "TVar1 == TARGET_64_LITTLE" identifier == identifier) )) (compound_statement "{\n    do_sized_write<64,_false>(this,of);\n    return;\n  }" { (expression_statement "do_sized_write<64,_false>(this,of);" (comma_expression "do_sized_write<64,_false>(this,of)" (binary_expression "do_sized_write<64" identifier < number_literal) , (binary_expression "_false>(this,of)" identifier > (parenthesized_expression "(this,of)" ( (comma_expression "this,of" identifier , identifier) )))) ;) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/ehframe.cc",0x87,"do_write");" (call_expression "do_gold_unreachable("../../gold/ehframe.cc",0x87,"do_write")" identifier (argument_list "("../../gold/ehframe.cc",0x87,"do_write")" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0014e6c0(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}\n\n" (function_definition "void FUN_0014e6c0(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}" primitive_type (function_declarator "FUN_0014e6c0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_000ee190(DAT_00302378);" (assignment_expression "iVar1 = FUN_000ee190(DAT_00302378)" identifier = (call_expression "FUN_000ee190(DAT_00302378)" identifier (argument_list "(DAT_00302378)" ( identifier )))) ;) (if_statement "if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00152fc0();\n    return;\n  }" { (expression_statement "FUN_00152fc0();" (call_expression "FUN_00152fc0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }" if (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_00153810();\n    return;\n  }" { (expression_statement "FUN_00153810();" (call_expression "FUN_00153810()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);" (call_expression "FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1)" identifier (argument_list "("../../gold/ehframe.cc",0x87,"do_write",iVar1)" ( (string_literal ""../../gold/ehframe.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0014e6c0(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}" (primitive_type "void") (function_declarator "FUN_0014e6c0(void)" (identifier "FUN_0014e6c0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_000ee190(DAT_00302378);\n  if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }\n  if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }\n                    \n  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_000ee190(DAT_00302378);" (assignment_expression "iVar1 = FUN_000ee190(DAT_00302378)" (identifier "iVar1") (= "=") (call_expression "FUN_000ee190(DAT_00302378)" (identifier "FUN_000ee190") (argument_list "(DAT_00302378)" (( "(") (identifier "DAT_00302378") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n    FUN_00152fc0();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00152fc0();\n    return;\n  }" ({ "{") (expression_statement "FUN_00152fc0();" (call_expression "FUN_00152fc0()" (identifier "FUN_00152fc0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (iVar1 == 2) {\n    FUN_00153810();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 == 2)" (( "(") (binary_expression "iVar1 == 2" (identifier "iVar1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    FUN_00153810();\n    return;\n  }" ({ "{") (expression_statement "FUN_00153810();" (call_expression "FUN_00153810()" (identifier "FUN_00153810") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);" (call_expression "FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/ehframe.cc",0x87,"do_write",iVar1)" (( "(") (string_literal ""../../gold/ehframe.cc"" (" """) (string_content "../../gold/ehframe.cc") (" """)) (, ",") (number_literal "0x87") (, ",") (string_literal ""do_write"" (" """) (string_content "do_write") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void do_write(Eh_frame_hdr * this, Output_file * of) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *of)

{
  type_3 var_2;
  
  var_2 = Parameters::var_1(parameters);
  if (var_2 == var_3) {
    var_4<32,var_5>(this,of);
    return;
  }
  if (var_2 == var_6) {
    var_4<64,var_5>(this,of);
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_7("../../gold/ehframe.cc",0x87,"do_write");
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (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(void)

{
  int iVar1;
  
  iVar1 = FUN_000ee190(DAT_00302378);
  if (iVar1 == 0) {
    FUN_00152fc0();
    return;
  }
  if (iVar1 == 2) {
    FUN_00153810();
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/ehframe.cc",0x87,"do_write",iVar1);
}

