
void bfd_nonfatal(char *string)

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



void FUN_001031f0(long param_1)

{
  undefined4 uVar1;
  undefined8 uVar2;
  
  uVar1 = bfd_get_error();
  uVar2 = bfd_errmsg(uVar1);
  fflush(stdout);
  if (param_1 != 0) {
    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);
    return;
  }
  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);
  return;
}


PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
CALL 0x00102200
MOV EDI,EAX
CALL 0x00102400
MOV RDI,qword ptr [0x001083e0]
MOV RBP,RAX
CALL 0x00102300
TEST RBX,RBX
JZ 0x00103248
MOV RDX,qword ptr [0x00108478]
MOV R8,RBP
MOV RCX,RBX
XOR EAX,EAX
MOV RDI,qword ptr [0x00108420]
ADD RSP,0x8
LEA RSI,[0x105784]
POP RBX
POP RBP
JMP 0x00102280
MOV RDX,qword ptr [0x00108478]
MOV RDI,qword ptr [0x00108420]
ADD RSP,0x8
MOV RCX,RBP
POP RBX
LEA RSI,[0x105788]
XOR EAX,EAX
POP RBP
JMP 0x00102280
(translation_unit "void FUN_001031f0(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_001031f0(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_001031f0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" 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 "uVar2 = bfd_errmsg(uVar1);" (assignment_expression "uVar2 = bfd_errmsg(uVar1)" identifier = (call_expression "bfd_errmsg(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "fflush(stdout);" (call_expression "fflush(stdout)" identifier (argument_list "(stdout)" ( identifier ))) ;) (if_statement "if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }" { (expression_statement "fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);" (call_expression "fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2)" identifier (argument_list "(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2)" ( identifier , (string_literal ""%s: %s: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);" (call_expression "fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2)" identifier (argument_list "(stderr,"%s: %s\n",DAT_00108478,uVar2)" ( identifier , (string_literal ""%s: %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void bfd_nonfatal(char *string)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (string != (char *)0x0) {\n    fprintf(stderr,"%s: %s: %s\n",program_name,string,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",program_name,uVar2);\n  return;\n}\n\n" (function_definition "void bfd_nonfatal(char *string)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (string != (char *)0x0) {\n    fprintf(stderr,"%s: %s: %s\n",program_name,string,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",program_name,uVar2);\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  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (string != (char *)0x0) {\n    fprintf(stderr,"%s: %s: %s\n",program_name,string,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",program_name,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" 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 "uVar2 = bfd_errmsg(uVar1);" (assignment_expression "uVar2 = bfd_errmsg(uVar1)" identifier = (call_expression "bfd_errmsg(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "fflush(stdout);" (call_expression "fflush(stdout)" identifier (argument_list "(stdout)" ( identifier ))) ;) (if_statement "if (string != (char *)0x0) {\n    fprintf(stderr,"%s: %s: %s\n",program_name,string,uVar2);\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(stderr,"%s: %s: %s\n",program_name,string,uVar2);\n    return;\n  }" { (expression_statement "fprintf(stderr,"%s: %s: %s\n",program_name,string,uVar2);" (call_expression "fprintf(stderr,"%s: %s: %s\n",program_name,string,uVar2)" identifier (argument_list "(stderr,"%s: %s: %s\n",program_name,string,uVar2)" ( identifier , (string_literal ""%s: %s: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fprintf(stderr,"%s: %s\n",program_name,uVar2);" (call_expression "fprintf(stderr,"%s: %s\n",program_name,uVar2)" identifier (argument_list "(stderr,"%s: %s\n",program_name,uVar2)" ( identifier , (string_literal ""%s: %s\n"" " string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001031f0(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}\n\n" (function_definition "void FUN_001031f0(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}" primitive_type (function_declarator "FUN_001031f0(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" 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 "uVar2 = bfd_errmsg(uVar1);" (assignment_expression "uVar2 = bfd_errmsg(uVar1)" identifier = (call_expression "bfd_errmsg(uVar1)" identifier (argument_list "(uVar1)" ( identifier )))) ;) (expression_statement "fflush(stdout);" (call_expression "fflush(stdout)" identifier (argument_list "(stdout)" ( identifier ))) ;) (if_statement "if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }" { (expression_statement "fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);" (call_expression "fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2)" identifier (argument_list "(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2)" ( identifier , (string_literal ""%s: %s: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);" (call_expression "fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2)" identifier (argument_list "(stderr,"%s: %s\n",DAT_00108478,uVar2)" ( 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 (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (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 ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence ") , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001031f0(long param_1)\n\n{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001031f0(long param_1)" (identifier "FUN_001031f0") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  undefined8 uVar2;\n  \n  uVar1 = bfd_get_error();\n  uVar2 = bfd_errmsg(uVar1);\n  fflush(stdout);\n  if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }\n  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (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 "uVar2 = bfd_errmsg(uVar1);" (assignment_expression "uVar2 = bfd_errmsg(uVar1)" (identifier "uVar2") (= "=") (call_expression "bfd_errmsg(uVar1)" (identifier "bfd_errmsg") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")")))) (; ";")) (expression_statement "fflush(stdout);" (call_expression "fflush(stdout)" (identifier "fflush") (argument_list "(stdout)" (( "(") (identifier "stdout") () ")"))) (; ";")) (if_statement "if (param_1 != 0) {\n    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\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(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);\n    return;\n  }" ({ "{") (expression_statement "fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);" (call_expression "fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2)" (identifier "fprintf") (argument_list "(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2)" (( "(") (identifier "stderr") (, ",") (string_literal ""%s: %s: %s\n"" (" """) (string_content "%s: %s: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_00108478") (, ",") (identifier "param_1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);" (call_expression "fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2)" (identifier "fprintf") (argument_list "(stderr,"%s: %s\n",DAT_00108478,uVar2)" (( "(") (identifier "stderr") (, ",") (string_literal ""%s: %s\n"" (" """) (string_content "%s: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "DAT_00108478") (, ",") (identifier "uVar2") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *var_4)

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


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (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)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (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 (identifier) (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content) (escape_sequence)) (identifier) (identifier)))) (return_statement))))

void MASKED(long param_1)

{
  undefined4 uVar1;
  undefined8 uVar2;
  
  uVar1 = bfd_get_error();
  uVar2 = bfd_errmsg(uVar1);
  fflush(stdout);
  if (param_1 != 0) {
    fprintf(stderr,"%s: %s: %s\n",DAT_00108478,param_1,uVar2);
    return;
  }
  fprintf(stderr,"%s: %s\n",DAT_00108478,uVar2);
  return;
}

