
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void set_default_bfd_target(void)

{
  int iVar1;
  undefined4 uVar2;
  char *format;
  
  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");
  if (iVar1 != 0) {
    return;
  }
  uVar2 = bfd_get_error();
  uVar2 = bfd_errmsg(uVar2);
  format = (char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);
                    /* WARNING: Subroutine does not return */
  fatal(format,"sh4-unknown-linux-gnu",uVar2);
}



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

void FUN_000451d0(void)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");
  if (iVar1 != 0) {
    return;
  }
  uVar2 = bfd_get_error();
  uVar2 = bfd_errmsg(uVar2);
  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);
                    /* WARNING: Subroutine does not return */
  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000143a0
ADD EBX,0x2ae28
SUB ESP,0xc
LEA ESI,[EBX + 0xfffe6037]
PUSH ESI
CALL 0x00013110
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000451f8
POP EBX
POP ESI
POP EDI
RET
CALL 0x00013270
SUB ESP,0xc
PUSH EAX
CALL 0x000136d0
ADD ESP,0xc
MOV EDI,EAX
LEA EAX,[EBX + 0xfffe61a8]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000131f0
ADD ESP,0xc
PUSH EDI
PUSH ESI
PUSH EAX
CALL 0x00045180
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000451d0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    /* WARNING: Subroutine does not return */\n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}\n\n" comment (function_definition "void FUN_000451d0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    /* WARNING: Subroutine does not return */\n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}" primitive_type (function_declarator "FUN_000451d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    /* WARNING: Subroutine does not return */\n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");" (assignment_expression "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu")" identifier = (call_expression "bfd_set_default_target("sh4-unknown-linux-gnu")" identifier (argument_list "("sh4-unknown-linux-gnu")" ( (string_literal ""sh4-unknown-linux-gnu"" " string_content ") )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = bfd_get_error();" (assignment_expression "uVar2 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = bfd_errmsg(uVar2);" (assignment_expression "uVar2 = bfd_errmsg(uVar2)" identifier = (call_expression "bfd_errmsg(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);" (assignment_expression "uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" identifier = (call_expression "dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" identifier (argument_list "(0,"can\'t set BFD default target to `%s\': %s",5)" ( number_literal , (string_literal ""can\'t set BFD default target to `%s\': %s"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal )))) ;) comment (expression_statement "FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);" (call_expression "FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2)" identifier (argument_list "(uVar3,"sh4-unknown-linux-gnu",uVar2)" ( identifier , (string_literal ""sh4-unknown-linux-gnu"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid set_default_bfd_target(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *format;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  format = (char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    /* WARNING: Subroutine does not return */\n  fatal(format,"sh4-unknown-linux-gnu",uVar2);\n}\n\n" comment comment (function_definition "void set_default_bfd_target(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  char *format;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  format = (char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    /* WARNING: Subroutine does not return */\n  fatal(format,"sh4-unknown-linux-gnu",uVar2);\n}" primitive_type (function_declarator "set_default_bfd_target(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  char *format;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  format = (char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    /* WARNING: Subroutine does not return */\n  fatal(format,"sh4-unknown-linux-gnu",uVar2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (expression_statement "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");" (assignment_expression "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu")" identifier = (call_expression "bfd_set_default_target("sh4-unknown-linux-gnu")" identifier (argument_list "("sh4-unknown-linux-gnu")" ( (string_literal ""sh4-unknown-linux-gnu"" " string_content ") )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = bfd_get_error();" (assignment_expression "uVar2 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = bfd_errmsg(uVar2);" (assignment_expression "uVar2 = bfd_errmsg(uVar2)" identifier = (call_expression "bfd_errmsg(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "format = (char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);" (assignment_expression "format = (char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" identifier = (cast_expression "(char *)dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" identifier (argument_list "(0,"can\'t set BFD default target to `%s\': %s",5)" ( number_literal , (string_literal ""can\'t set BFD default target to `%s\': %s"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal ))))) ;) comment (expression_statement "fatal(format,"sh4-unknown-linux-gnu",uVar2);" (call_expression "fatal(format,"sh4-unknown-linux-gnu",uVar2)" identifier (argument_list "(format,"sh4-unknown-linux-gnu",uVar2)" ( identifier , (string_literal ""sh4-unknown-linux-gnu"" " string_content ") , identifier ))) ;) })))
(translation_unit "void FUN_000451d0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    \n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}\n\n" (function_definition "void FUN_000451d0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    \n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}" primitive_type (function_declarator "FUN_000451d0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    \n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");" (assignment_expression "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu")" identifier = (call_expression "bfd_set_default_target("sh4-unknown-linux-gnu")" identifier (argument_list "("sh4-unknown-linux-gnu")" ( (string_literal ""sh4-unknown-linux-gnu"" " string_content ") )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar2 = bfd_get_error();" (assignment_expression "uVar2 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = bfd_errmsg(uVar2);" (assignment_expression "uVar2 = bfd_errmsg(uVar2)" identifier = (call_expression "bfd_errmsg(uVar2)" identifier (argument_list "(uVar2)" ( identifier )))) ;) (expression_statement "uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);" (assignment_expression "uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" identifier = (call_expression "dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" identifier (argument_list "(0,"can\'t set BFD default target to `%s\': %s",5)" ( number_literal , (string_literal ""can\'t set BFD default target to `%s\': %s"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal )))) ;) (expression_statement "FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);" (call_expression "FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2)" identifier (argument_list "(uVar3,"sh4-unknown-linux-gnu",uVar2)" ( identifier , (string_literal ""sh4-unknown-linux-gnu"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_000451d0(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    \n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}" (primitive_type "void") (function_declarator "FUN_000451d0(void)" (identifier "FUN_000451d0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  \n  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar2 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar2);\n  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);\n                    \n  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");" (assignment_expression "iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu")" (identifier "iVar1") (= "=") (call_expression "bfd_set_default_target("sh4-unknown-linux-gnu")" (identifier "bfd_set_default_target") (argument_list "("sh4-unknown-linux-gnu")" (( "(") (string_literal ""sh4-unknown-linux-gnu"" (" """) (string_content "sh4-unknown-linux-gnu") (" """)) () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = bfd_get_error();" (assignment_expression "uVar2 = bfd_get_error()" (identifier "uVar2") (= "=") (call_expression "bfd_get_error()" (identifier "bfd_get_error") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar2 = bfd_errmsg(uVar2);" (assignment_expression "uVar2 = bfd_errmsg(uVar2)" (identifier "uVar2") (= "=") (call_expression "bfd_errmsg(uVar2)" (identifier "bfd_errmsg") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")")))) (; ";")) (expression_statement "uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);" (assignment_expression "uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"can\'t set BFD default target to `%s\': %s",5)" (identifier "dcgettext") (argument_list "(0,"can\'t set BFD default target to `%s\': %s",5)" (( "(") (number_literal "0") (, ",") (string_literal ""can\'t set BFD default target to `%s\': %s"" (" """) (string_content "can") (escape_sequence "\'") (string_content "t set BFD default target to `%s") (escape_sequence "\'") (string_content ": %s") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);" (call_expression "FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2)" (identifier "FUN_00045180") (argument_list "(uVar3,"sh4-unknown-linux-gnu",uVar2)" (( "(") (identifier "uVar3") (, ",") (string_literal ""sh4-unknown-linux-gnu"" (" """) (string_content "sh4-unknown-linux-gnu") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_2;
  type_1 uVar2;
  char *format;
  
  var_2 = var_1("sh4-unknown-linux-gnu");
  if (var_2 != 0) {
    return;
  }
  uVar2 = var_3();
  uVar2 = var_4(uVar2);
  format = (char *)var_5(0,"can\'t set BFD default target to `%s\': %s",5);
                    /* WARNING: Subroutine does not return */
  var_6(format,"sh4-unknown-linux-gnu",uVar2);
}


(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)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence) (string_content)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)) (identifier)))))))

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

void MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  
  iVar1 = bfd_set_default_target("sh4-unknown-linux-gnu");
  if (iVar1 != 0) {
    return;
  }
  uVar2 = bfd_get_error();
  uVar2 = bfd_errmsg(uVar2);
  uVar3 = dcgettext(0,"can\'t set BFD default target to `%s\': %s",5);
                    /* WARNING: Subroutine does not return */
  FUN_00045180(uVar3,"sh4-unknown-linux-gnu",uVar2);
}

