
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void bfd_nonfatal(char *string)

{
  undefined4 uVar1;
  
  uVar1 = bfd_get_error();
  uVar1 = bfd_errmsg(uVar1);
  fflush(*(FILE **)PTR_stdout_00016fe4);
  if (string != (char *)0x0) {
    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);
    return;
  }
  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1);
  return;
}



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

void FUN_00011c80(int param_1)

{
  undefined4 uVar1;
  
  uVar1 = bfd_get_error();
  uVar1 = bfd_errmsg(uVar1);
  fflush(*(FILE **)PTR_stdout_00016fe4);
  if (param_1 != 0) {
    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);
    return;
  }
  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00011840
ADD EBX,0x5374
CALL 0x00011160
SUB ESP,0xc
PUSH EAX
CALL 0x000113a0
MOV EDI,EAX
POP EAX
MOV EAX,dword ptr [EBX + 0xffffffe4]
PUSH dword ptr [EAX]
CALL 0x00011070
ADD ESP,0x10
TEST ESI,ESI
JZ 0x00011ce0
LEA EAX,[EBX + 0x8150]
SUB ESP,0xc
PUSH EDI
PUSH ESI
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xffffd52c]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffc8]
PUSH dword ptr [EAX]
CALL 0x00011290
ADD ESP,0x20
POP EBX
POP ESI
POP EDI
RET
LEA EAX,[EBX + 0x8150]
PUSH EDI
PUSH dword ptr [EAX]
LEA EAX,[EBX + 0xffffd530]
PUSH EAX
MOV EAX,dword ptr [EBX + 0xffffffc8]
PUSH dword ptr [EAX]
CALL 0x00011290
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00011c80(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}\n\n" comment (function_definition "void FUN_00011c80(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00011c80(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = bfd_get_error();" (assignment_expression "uVar1 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = bfd_errmsg(uVar1);" (assignment_expression "uVar1 = bfd_errmsg(uVar1)" identifier = (call_expression "bfd_errmsg(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "fflush(*(FILE **)PTR_stdout_00016fe4);" (call_expression "fflush(*(FILE **)PTR_stdout_00016fe4)" identifier (argument_list "(*(FILE **)PTR_stdout_00016fe4)" ( (pointer_expression "*(FILE **)PTR_stdout_00016fe4" * (cast_expression "(FILE **)PTR_stdout_00016fe4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (if_statement "if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }" { (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_00016fc8" * (cast_expression "(FILE **)PTR_stderr_00016fc8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s: %s: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_00016fc8" * (cast_expression "(FILE **)PTR_stderr_00016fc8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s: %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid bfd_nonfatal(char *string)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (string != (char *)0x0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1);\n  return;\n}\n\n" comment comment (function_definition "void bfd_nonfatal(char *string)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (string != (char *)0x0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1);\n  return;\n}" primitive_type (function_declarator "bfd_nonfatal(char *string)" identifier (parameter_list "(char *string)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (string != (char *)0x0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = bfd_get_error();" (assignment_expression "uVar1 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = bfd_errmsg(uVar1);" (assignment_expression "uVar1 = bfd_errmsg(uVar1)" identifier = (call_expression "bfd_errmsg(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "fflush(*(FILE **)PTR_stdout_00016fe4);" (call_expression "fflush(*(FILE **)PTR_stdout_00016fe4)" identifier (argument_list "(*(FILE **)PTR_stdout_00016fe4)" ( (pointer_expression "*(FILE **)PTR_stdout_00016fe4" * (cast_expression "(FILE **)PTR_stdout_00016fe4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (if_statement "if (string != (char *)0x0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);\n    return;\n  }" if (parenthesized_expression "(string != (char *)0x0)" ( (binary_expression "string != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);\n    return;\n  }" { (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,string,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_00016fc8" * (cast_expression "(FILE **)PTR_stderr_00016fc8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s: %s: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_00016fc8" * (cast_expression "(FILE **)PTR_stderr_00016fc8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s: %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00011c80(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}\n\n" (function_definition "void FUN_00011c80(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00011c80(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = bfd_get_error();" (assignment_expression "uVar1 = bfd_get_error()" identifier = (call_expression "bfd_get_error()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = bfd_errmsg(uVar1);" (assignment_expression "uVar1 = bfd_errmsg(uVar1)" identifier = (call_expression "bfd_errmsg(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "fflush(*(FILE **)PTR_stdout_00016fe4);" (call_expression "fflush(*(FILE **)PTR_stdout_00016fe4)" identifier (argument_list "(*(FILE **)PTR_stdout_00016fe4)" ( (pointer_expression "*(FILE **)PTR_stdout_00016fe4" * (cast_expression "(FILE **)PTR_stdout_00016fe4" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ))) ;) (if_statement "if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }" { (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_00016fc8" * (cast_expression "(FILE **)PTR_stderr_00016fc8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s: %s: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1)" identifier (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1)" ( (pointer_expression "*(FILE **)PTR_stderr_00016fc8" * (cast_expression "(FILE **)PTR_stderr_00016fc8" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) , (string_literal ""%s: %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT)) , (string_literal " string_content escape_sequence ") , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00011c80(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00011c80(int param_1)" (identifier "FUN_00011c80") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = bfd_get_error();\n  uVar1 = bfd_errmsg(uVar1);\n  fflush(*(FILE **)PTR_stdout_00016fe4);\n  if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }\n  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = bfd_get_error();" (assignment_expression "uVar1 = bfd_get_error()" (identifier "uVar1") (= "=") (call_expression "bfd_get_error()" (identifier "bfd_get_error") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = bfd_errmsg(uVar1);" (assignment_expression "uVar1 = bfd_errmsg(uVar1)" (identifier "uVar1") (= "=") (call_expression "bfd_errmsg(uVar1)" (identifier "bfd_errmsg") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "fflush(*(FILE **)PTR_stdout_00016fe4);" (call_expression "fflush(*(FILE **)PTR_stdout_00016fe4)" (identifier "fflush") (argument_list "(*(FILE **)PTR_stdout_00016fe4)" (( "(") (pointer_expression "*(FILE **)PTR_stdout_00016fe4" (* "*") (cast_expression "(FILE **)PTR_stdout_00016fe4" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stdout_00016fe4"))) () ")"))) (; ";")) (if_statement "if (param_1 != 0) {\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);\n    return;\n  }" ({ "{") (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_00016fc8" (* "*") (cast_expression "(FILE **)PTR_stderr_00016fc8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_00016fc8"))) (, ",") (string_literal ""%s: %s: %s\n"" (" """) (string_content "%s: %s: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_0001f150") (, ",") (identifier "param_1") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);" (call_expression "fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1)" (identifier "fprintf") (argument_list "(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1)" (( "(") (pointer_expression "*(FILE **)PTR_stderr_00016fc8" (* "*") (cast_expression "(FILE **)PTR_stderr_00016fc8" (( "(") (type_descriptor "FILE **" (type_identifier "FILE") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_stderr_00016fc8"))) (, ",") (string_literal ""%s: %s\n"" (" """) (string_content "%s: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_0001f150") (, ",") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(char *var_4)

{
  type_1 uVar1;
  
  uVar1 = var_1();
  uVar1 = var_2(uVar1);
  var_3(*(type_2 **)PTR_stdout_00016fe4);
  if (var_4 != (char *)0x0) {
    var_5(*(type_2 **)PTR_stderr_00016fc8,"%s: %s: %s\n",program_name,var_4,uVar1);
    return;
  }
  var_5(*(type_2 **)PTR_stderr_00016fc8,"%s: %s\n",program_name,uVar1);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (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 (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))) (string_literal (string_content) (escape_sequence)) (identifier) (identifier)))) (return_statement))))

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

void MASKED(int param_1)

{
  undefined4 uVar1;
  
  uVar1 = bfd_get_error();
  uVar1 = bfd_errmsg(uVar1);
  fflush(*(FILE **)PTR_stdout_00016fe4);
  if (param_1 != 0) {
    fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s: %s\n",DAT_0001f150,param_1,uVar1);
    return;
  }
  fprintf(*(FILE **)PTR_stderr_00016fc8,"%s: %s\n",DAT_0001f150,uVar1);
  return;
}

