
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void remove_output(void)

{
  if (output_filename != (char *)0x0) {
    if (output_bfd != (bfd *)0x0) {
      bfd_cache_close();
    }
    if (output_file != (FILE *)0x0) {
      fclose((FILE *)output_file);
    }
    unlink_if_ordinary(output_filename);
    return;
  }
  return;
}



void FUN_001040f0(void)

{
  if (DAT_001104b0 != 0) {
    if (DAT_001104a0 != 0) {
      bfd_cache_close();
    }
    if (DAT_001104a8 != (FILE *)0x0) {
      fclose(DAT_001104a8);
    }
    unlink_if_ordinary(DAT_001104b0);
    return;
  }
  return;
}


CMP qword ptr [0x001104b0],0x0
JZ 0x00104130
SUB RSP,0x8
MOV RDI,qword ptr [0x001104a0]
TEST RDI,RDI
JZ 0x0010410f
CALL 0x00102080
MOV RDI,qword ptr [0x001104a8]
TEST RDI,RDI
JZ 0x00104120
CALL 0x00102180
MOV RDI,qword ptr [0x001104b0]
ADD RSP,0x8
JMP 0x00102410
RET
(translation_unit "void FUN_001040f0(void)\n\n{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001040f0(void)\n\n{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001040f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }" if (parenthesized_expression "(DAT_001104b0 != 0)" ( (binary_expression "DAT_001104b0 != 0" identifier != number_literal) )) (compound_statement "{\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }" { (if_statement "if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }" if (parenthesized_expression "(DAT_001104a0 != 0)" ( (binary_expression "DAT_001104a0 != 0" identifier != number_literal) )) (compound_statement "{\n      bfd_cache_close();\n    }" { (expression_statement "bfd_cache_close();" (call_expression "bfd_cache_close()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }" if (parenthesized_expression "(DAT_001104a8 != (FILE *)0x0)" ( (binary_expression "DAT_001104a8 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      fclose(DAT_001104a8);\n    }" { (expression_statement "fclose(DAT_001104a8);" (call_expression "fclose(DAT_001104a8)" identifier (argument_list "(DAT_001104a8)" ( identifier ))) ;) })) (expression_statement "unlink_if_ordinary(DAT_001104b0);" (call_expression "unlink_if_ordinary(DAT_001104b0)" identifier (argument_list "(DAT_001104b0)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid remove_output(void)\n\n{\n  if (output_filename != (char *)0x0) {\n    if (output_bfd != (bfd *)0x0) {\n      bfd_cache_close();\n    }\n    if (output_file != (FILE *)0x0) {\n      fclose((FILE *)output_file);\n    }\n    unlink_if_ordinary(output_filename);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void remove_output(void)\n\n{\n  if (output_filename != (char *)0x0) {\n    if (output_bfd != (bfd *)0x0) {\n      bfd_cache_close();\n    }\n    if (output_file != (FILE *)0x0) {\n      fclose((FILE *)output_file);\n    }\n    unlink_if_ordinary(output_filename);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "remove_output(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (output_filename != (char *)0x0) {\n    if (output_bfd != (bfd *)0x0) {\n      bfd_cache_close();\n    }\n    if (output_file != (FILE *)0x0) {\n      fclose((FILE *)output_file);\n    }\n    unlink_if_ordinary(output_filename);\n    return;\n  }\n  return;\n}" { (if_statement "if (output_filename != (char *)0x0) {\n    if (output_bfd != (bfd *)0x0) {\n      bfd_cache_close();\n    }\n    if (output_file != (FILE *)0x0) {\n      fclose((FILE *)output_file);\n    }\n    unlink_if_ordinary(output_filename);\n    return;\n  }" if (parenthesized_expression "(output_filename != (char *)0x0)" ( (binary_expression "output_filename != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (output_bfd != (bfd *)0x0) {\n      bfd_cache_close();\n    }\n    if (output_file != (FILE *)0x0) {\n      fclose((FILE *)output_file);\n    }\n    unlink_if_ordinary(output_filename);\n    return;\n  }" { (if_statement "if (output_bfd != (bfd *)0x0) {\n      bfd_cache_close();\n    }" if (parenthesized_expression "(output_bfd != (bfd *)0x0)" ( (binary_expression "output_bfd != (bfd *)0x0" identifier != (cast_expression "(bfd *)0x0" ( (type_descriptor "bfd *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      bfd_cache_close();\n    }" { (expression_statement "bfd_cache_close();" (call_expression "bfd_cache_close()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (output_file != (FILE *)0x0) {\n      fclose((FILE *)output_file);\n    }" if (parenthesized_expression "(output_file != (FILE *)0x0)" ( (binary_expression "output_file != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      fclose((FILE *)output_file);\n    }" { (expression_statement "fclose((FILE *)output_file);" (call_expression "fclose((FILE *)output_file)" identifier (argument_list "((FILE *)output_file)" ( (cast_expression "(FILE *)output_file" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) })) (expression_statement "unlink_if_ordinary(output_filename);" (call_expression "unlink_if_ordinary(output_filename)" identifier (argument_list "(output_filename)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001040f0(void)\n\n{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_001040f0(void)\n\n{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001040f0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}" { (if_statement "if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }" if (parenthesized_expression "(DAT_001104b0 != 0)" ( (binary_expression "DAT_001104b0 != 0" identifier != number_literal) )) (compound_statement "{\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }" { (if_statement "if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }" if (parenthesized_expression "(DAT_001104a0 != 0)" ( (binary_expression "DAT_001104a0 != 0" identifier != number_literal) )) (compound_statement "{\n      bfd_cache_close();\n    }" { (expression_statement "bfd_cache_close();" (call_expression "bfd_cache_close()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }" if (parenthesized_expression "(DAT_001104a8 != (FILE *)0x0)" ( (binary_expression "DAT_001104a8 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      fclose(DAT_001104a8);\n    }" { (expression_statement "fclose(DAT_001104a8);" (call_expression "fclose(DAT_001104a8)" identifier (argument_list "(DAT_001104a8)" ( identifier ))) ;) })) (expression_statement "unlink_if_ordinary(DAT_001104b0);" (call_expression "unlink_if_ordinary(DAT_001104b0)" identifier (argument_list "(DAT_001104b0)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_001040f0(void)\n\n{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001040f0(void)" (identifier "FUN_001040f0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_001104b0 != 0) {\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_001104b0 != 0)" (( "(") (binary_expression "DAT_001104b0 != 0" (identifier "DAT_001104b0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }\n    if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }\n    unlink_if_ordinary(DAT_001104b0);\n    return;\n  }" ({ "{") (if_statement "if (DAT_001104a0 != 0) {\n      bfd_cache_close();\n    }" (if "if") (parenthesized_expression "(DAT_001104a0 != 0)" (( "(") (binary_expression "DAT_001104a0 != 0" (identifier "DAT_001104a0") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      bfd_cache_close();\n    }" ({ "{") (expression_statement "bfd_cache_close();" (call_expression "bfd_cache_close()" (identifier "bfd_cache_close") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (DAT_001104a8 != (FILE *)0x0) {\n      fclose(DAT_001104a8);\n    }" (if "if") (parenthesized_expression "(DAT_001104a8 != (FILE *)0x0)" (( "(") (binary_expression "DAT_001104a8 != (FILE *)0x0" (identifier "DAT_001104a8") (!= "!=") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      fclose(DAT_001104a8);\n    }" ({ "{") (expression_statement "fclose(DAT_001104a8);" (call_expression "fclose(DAT_001104a8)" (identifier "fclose") (argument_list "(DAT_001104a8)" (( "(") (identifier "DAT_001104a8") () ")"))) (; ";")) (} "}"))) (expression_statement "unlink_if_ordinary(DAT_001104b0);" (call_expression "unlink_if_ordinary(DAT_001104b0)" (identifier "unlink_if_ordinary") (argument_list "(DAT_001104b0)" (( "(") (identifier "DAT_001104b0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (var_1 != (char *)0x0) {
    if (var_2 != (type_1 *)0x0) {
      var_3();
    }
    if (var_4 != (type_2 *)0x0) {
      var_5((type_2 *)var_4);
    }
    var_6(var_1);
    return;
  }
  return;
}


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

void MASKED(void)

{
  if (DAT_001104b0 != 0) {
    if (DAT_001104a0 != 0) {
      bfd_cache_close();
    }
    if (DAT_001104a8 != (FILE *)0x0) {
      fclose(DAT_001104a8);
    }
    unlink_if_ordinary(DAT_001104b0);
    return;
  }
  return;
}

