
void display_bfd(bfd *abfd)

{
  int iVar1;
  char **matching;
  
  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(abfd,2);
  if (iVar1 != 0) {
    return;
  }
  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching);
  if (iVar1 != 0) {
    print_sizes(abfd);
    (*(code *)PTR_putchar_000271c8)(10);
    return;
  }
  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();
  if (iVar1 == 0xd) {
    bfd_nonfatal(abfd->filename);
  }
  else {
    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);
    if (iVar1 != 0) {
      print_sizes(abfd);
      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)
      ;
      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);
      if (iVar1 != 0) {
        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);
      }
      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);
      return;
    }
    bfd_nonfatal(abfd->filename);
    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();
    if (iVar1 != 0xd) goto LAB_00012818;
  }
  list_matching_formats(matching);
  (*(code *)PTR_free_00027264)(matching);
LAB_00012818:
  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;
  return;
}



void FUN_00012750(undefined4 *param_1)

{
  int iVar1;
  undefined4 local_18 [2];
  
  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);
  if (iVar1 != 0) {
    return;
  }
  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);
  if (iVar1 != 0) {
    FUN_0001211c(param_1);
    (*(code *)PTR_putchar_000271c8)(10);
    return;
  }
  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();
  if (iVar1 == 0xd) {
    bfd_nonfatal(*param_1);
  }
  else {
    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);
    if (iVar1 != 0) {
      FUN_0001211c(param_1);
      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)
      ;
      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);
      if (iVar1 != 0) {
        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);
      }
      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);
      return;
    }
    bfd_nonfatal(*param_1);
    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();
    if (iVar1 != 0xd) goto LAB_00012818;
  }
  list_matching_formats(local_18[0]);
  (*(code *)PTR_free_00027264)(local_18[0]);
LAB_00012818:
  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;
  return;
}


lui gp,0x2
addiu gp,gp,-0x36b0
addu gp,gp,t9
addiu sp,sp,-0x30
lw t9,-0x7f28(gp)
li a1,0x2
sw gp,0x10(sp)
sw s0,0x20(sp)
or s0,a0,zero
sw ra,0x2c(sp)
sw s2,0x28(sp)
jalr t9
_sw s1,0x24(sp)
beq v0,zero,0x000127a4
_lw gp,0x10(sp)
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7f18(gp)
addiu s1,sp,0x18
li a1,0x1
or a2,s1,zero
jalr t9
_or a0,s0,zero
bne v0,zero,0x000128b8
_lw gp,0x10(sp)
lw t9,-0x7e70(gp)
jalr t9
_li s2,0xd
beq v0,s2,0x000128f0
_lw gp,0x10(sp)
lw t9,-0x7f18(gp)
li a1,0x3
or a2,s1,zero
jalr t9
_or a0,s0,zero
bne v0,zero,0x0001283c
_lw gp,0x10(sp)
lw t9,-0x7fa8(gp)
bal 0x00012c20
_lw a0,0x0(s0)
lw gp,0x10(sp)
lw t9,-0x7e70(gp)
jalr t9
_nop
beq v0,s2,0x00012900
_lw gp,0x10(sp)
lw v0,-0x7fd8(gp)
li v1,0x3
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
addiu sp,sp,0x30
jr ra
_sw v1,0x72f4(v0)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x211c
bal 0x0001211c
_or a0,s0,zero
li a2,0xb
lw gp,0x10(sp)
li a1,0x1
lw v0,-0x7ee8(gp)
lw a0,-0x7fcc(gp)
lw t9,-0x7e74(gp)
lw a3,0x0(v0)
jalr t9
_addiu a0,a0,0x5c0c
lw gp,0x10(sp)
lw t9,-0x7e20(gp)
jalr t9
_or a0,s0,zero
beq v0,zero,0x000128a0
_lw gp,0x10(sp)
lw a0,-0x7fcc(gp)
or a1,v0,zero
lw t9,-0x7e24(gp)
jalr t9
_addiu a0,a0,0x5c18
lw gp,0x10(sp)
lw a0,-0x7fcc(gp)
lw t9,-0x7ea0(gp)
jalr t9
_addiu a0,a0,0x5c28
b 0x00012790
_lw ra,0x2c(sp)
lw t9,-0x7fcc(gp)
addiu t9,t9,0x211c
bal 0x0001211c
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7ed8(gp)
jalr t9
_li a0,0xa
lw ra,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x30
lw t9,-0x7fa8(gp)
bal 0x00012c20
_lw a0,0x0(s0)
lw gp,0x10(sp)
lw t9,-0x7fa4(gp)
bal 0x00013188
_lw a0,0x18(sp)
lw gp,0x10(sp)
lw t9,-0x7e3c(gp)
jalr t9
_lw a0,0x18(sp)
b 0x00012818
_lw gp,0x10(sp)
(translation_unit "void FUN_00012750(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}\n\n" (function_definition "void FUN_00012750(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" primitive_type (function_declarator "FUN_00012750(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_00027178)(param_1,2)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_00027178)" ( (pointer_expression "*(code *)PTR_bfd_check_format_00027178" * (cast_expression "(code *)PTR_bfd_check_format_00027178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,2)" ( identifier , number_literal )))) ;) (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 "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" ( (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" * (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1,local_18)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" { (expression_statement "FUN_0001211c(param_1);" (call_expression "FUN_0001211c(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_putchar_000271c8)(10);" (call_expression "(*(code *)PTR_putchar_000271c8)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000271c8)" ( (pointer_expression "*(code *)PTR_putchar_000271c8" * (cast_expression "(code *)PTR_putchar_000271c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" ( (pointer_expression "*(code *)PTR_bfd_get_error_00027230" * (cast_expression "(code *)PTR_bfd_get_error_00027230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" if (parenthesized_expression "(iVar1 == 0xd)" ( (binary_expression "iVar1 == 0xd" identifier == number_literal) )) (compound_statement "{\n    bfd_nonfatal(*param_1);\n  }" { (expression_statement "bfd_nonfatal(*param_1);" (call_expression "bfd_nonfatal(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" ( (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" * (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,3,local_18)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" { (expression_statement "FUN_0001211c(param_1);" (call_expression "FUN_0001211c(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;" (call_expression "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" (parenthesized_expression "(*(code *)PTR_fwrite_0002722c)" ( (pointer_expression "*(code *)PTR_fwrite_0002722c" * (cast_expression "(code *)PTR_fwrite_0002722c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" ( (binary_expression "PTR_000270d4 + 0x5c0c" identifier + number_literal) , number_literal , number_literal , (pointer_expression "*(undefined4 *)PTR_stdout_000271b8" * (cast_expression "(undefined4 *)PTR_stdout_000271b8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1)" identifier = (call_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1)" (parenthesized_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)" ( (pointer_expression "*(code *)PTR_bfd_core_file_failing_command_00027280" * (cast_expression "(code *)PTR_bfd_core_file_failing_command_00027280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" { (expression_statement "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);" (call_expression "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1)" (parenthesized_expression "(*(code *)PTR_printf_0002727c)" ( (pointer_expression "*(code *)PTR_printf_0002727c" * (cast_expression "(code *)PTR_printf_0002727c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c18,iVar1)" ( (binary_expression "PTR_000270d4 + 0x5c18" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);" (call_expression "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28)" (parenthesized_expression "(*(code *)PTR_puts_00027200)" ( (pointer_expression "*(code *)PTR_puts_00027200" * (cast_expression "(code *)PTR_puts_00027200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c28)" ( (binary_expression "PTR_000270d4 + 0x5c28" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "bfd_nonfatal(*param_1);" (call_expression "bfd_nonfatal(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" ( (pointer_expression "*(code *)PTR_bfd_get_error_00027230" * (cast_expression "(code *)PTR_bfd_get_error_00027230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0xd) goto LAB_00012818;" if (parenthesized_expression "(iVar1 != 0xd)" ( (binary_expression "iVar1 != 0xd" identifier != number_literal) )) (goto_statement "goto LAB_00012818;" goto statement_identifier ;)) }))) (expression_statement "list_matching_formats(local_18[0]);" (call_expression "list_matching_formats(local_18[0])" identifier (argument_list "(local_18[0])" ( (subscript_expression "local_18[0]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_free_00027264)(local_18[0]);" (call_expression "(*(code *)PTR_free_00027264)(local_18[0])" (parenthesized_expression "(*(code *)PTR_free_00027264)" ( (pointer_expression "*(code *)PTR_free_00027264" * (cast_expression "(code *)PTR_free_00027264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18[0])" ( (subscript_expression "local_18[0]" identifier [ number_literal ]) ))) ;) (labeled_statement "LAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" statement_identifier : (expression_statement "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" (assignment_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3" (pointer_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" * (cast_expression "(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000270c8 + 0x72f4)" ( (binary_expression "PTR_DAT_000270c8 + 0x72f4" identifier + number_literal) )))) = number_literal) ;)) (return_statement "return;" return ;) })))
(translation_unit "void display_bfd(bfd *abfd)\n\n{\n  int iVar1;\n  char **matching;\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(abfd,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching);\n  if (iVar1 != 0) {\n    print_sizes(abfd);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(abfd->filename);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);\n    if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(abfd->filename);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(matching);\n  (*(code *)PTR_free_00027264)(matching);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}\n\n" (function_definition "void display_bfd(bfd *abfd)\n\n{\n  int iVar1;\n  char **matching;\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(abfd,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching);\n  if (iVar1 != 0) {\n    print_sizes(abfd);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(abfd->filename);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);\n    if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(abfd->filename);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(matching);\n  (*(code *)PTR_free_00027264)(matching);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" primitive_type (function_declarator "display_bfd(bfd *abfd)" identifier (parameter_list "(bfd *abfd)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  char **matching;\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(abfd,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching);\n  if (iVar1 != 0) {\n    print_sizes(abfd);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(abfd->filename);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);\n    if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(abfd->filename);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(matching);\n  (*(code *)PTR_free_00027264)(matching);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "char **matching;" primitive_type (pointer_declarator "**matching" * (pointer_declarator "*matching" * identifier)) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(abfd,2);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(abfd,2)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_00027178)(abfd,2)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_00027178)" ( (pointer_expression "*(code *)PTR_bfd_check_format_00027178" * (cast_expression "(code *)PTR_bfd_check_format_00027178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(abfd,2)" ( identifier , number_literal )))) ;) (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 "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" ( (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" * (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(abfd,1,&matching)" ( identifier , number_literal , (pointer_expression "&matching" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n    print_sizes(abfd);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    print_sizes(abfd);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" { (expression_statement "print_sizes(abfd);" (call_expression "print_sizes(abfd)" identifier (argument_list "(abfd)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_putchar_000271c8)(10);" (call_expression "(*(code *)PTR_putchar_000271c8)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000271c8)" ( (pointer_expression "*(code *)PTR_putchar_000271c8" * (cast_expression "(code *)PTR_putchar_000271c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" ( (pointer_expression "*(code *)PTR_bfd_get_error_00027230" * (cast_expression "(code *)PTR_bfd_get_error_00027230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0xd) {\n    bfd_nonfatal(abfd->filename);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);\n    if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(abfd->filename);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" if (parenthesized_expression "(iVar1 == 0xd)" ( (binary_expression "iVar1 == 0xd" identifier == number_literal) )) (compound_statement "{\n    bfd_nonfatal(abfd->filename);\n  }" { (expression_statement "bfd_nonfatal(abfd->filename);" (call_expression "bfd_nonfatal(abfd->filename)" identifier (argument_list "(abfd->filename)" ( (field_expression "abfd->filename" identifier -> field_identifier) ))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);\n    if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(abfd->filename);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);\n    if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(abfd->filename);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" ( (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" * (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(abfd,3,&matching)" ( identifier , number_literal , (pointer_expression "&matching" & identifier) )))) ;) (if_statement "if (iVar1 != 0) {\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      print_sizes(abfd);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" { (expression_statement "print_sizes(abfd);" (call_expression "print_sizes(abfd)" identifier (argument_list "(abfd)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;" (call_expression "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" (parenthesized_expression "(*(code *)PTR_fwrite_0002722c)" ( (pointer_expression "*(code *)PTR_fwrite_0002722c" * (cast_expression "(code *)PTR_fwrite_0002722c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" ( (binary_expression "PTR_000270d4 + 0x5c0c" identifier + number_literal) , number_literal , number_literal , (pointer_expression "*(undefined4 *)PTR_stdout_000271b8" * (cast_expression "(undefined4 *)PTR_stdout_000271b8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd)" identifier = (call_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)(abfd)" (parenthesized_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)" ( (pointer_expression "*(code *)PTR_bfd_core_file_failing_command_00027280" * (cast_expression "(code *)PTR_bfd_core_file_failing_command_00027280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(abfd)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" { (expression_statement "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);" (call_expression "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1)" (parenthesized_expression "(*(code *)PTR_printf_0002727c)" ( (pointer_expression "*(code *)PTR_printf_0002727c" * (cast_expression "(code *)PTR_printf_0002727c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c18,iVar1)" ( (binary_expression "PTR_000270d4 + 0x5c18" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);" (call_expression "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28)" (parenthesized_expression "(*(code *)PTR_puts_00027200)" ( (pointer_expression "*(code *)PTR_puts_00027200" * (cast_expression "(code *)PTR_puts_00027200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c28)" ( (binary_expression "PTR_000270d4 + 0x5c28" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "bfd_nonfatal(abfd->filename);" (call_expression "bfd_nonfatal(abfd->filename)" identifier (argument_list "(abfd->filename)" ( (field_expression "abfd->filename" identifier -> field_identifier) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" ( (pointer_expression "*(code *)PTR_bfd_get_error_00027230" * (cast_expression "(code *)PTR_bfd_get_error_00027230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0xd) goto LAB_00012818;" if (parenthesized_expression "(iVar1 != 0xd)" ( (binary_expression "iVar1 != 0xd" identifier != number_literal) )) (goto_statement "goto LAB_00012818;" goto statement_identifier ;)) }))) (expression_statement "list_matching_formats(matching);" (call_expression "list_matching_formats(matching)" identifier (argument_list "(matching)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_free_00027264)(matching);" (call_expression "(*(code *)PTR_free_00027264)(matching)" (parenthesized_expression "(*(code *)PTR_free_00027264)" ( (pointer_expression "*(code *)PTR_free_00027264" * (cast_expression "(code *)PTR_free_00027264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(matching)" ( identifier ))) ;) (labeled_statement "LAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" statement_identifier : (expression_statement "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" (assignment_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3" (pointer_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" * (cast_expression "(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000270c8 + 0x72f4)" ( (binary_expression "PTR_DAT_000270c8 + 0x72f4" identifier + number_literal) )))) = number_literal) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00012750(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}\n\n" (function_definition "void FUN_00012750(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" primitive_type (function_declarator "FUN_00012750(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 local_18 [2];" type_identifier (array_declarator "local_18 [2]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_00027178)(param_1,2)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_00027178)" ( (pointer_expression "*(code *)PTR_bfd_check_format_00027178" * (cast_expression "(code *)PTR_bfd_check_format_00027178" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,2)" ( identifier , number_literal )))) ;) (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 "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" ( (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" * (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,1,local_18)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" { (expression_statement "FUN_0001211c(param_1);" (call_expression "FUN_0001211c(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_putchar_000271c8)(10);" (call_expression "(*(code *)PTR_putchar_000271c8)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000271c8)" ( (pointer_expression "*(code *)PTR_putchar_000271c8" * (cast_expression "(code *)PTR_putchar_000271c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(10)" ( number_literal ))) ;) (return_statement "return;" return ;) })) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" ( (pointer_expression "*(code *)PTR_bfd_get_error_00027230" * (cast_expression "(code *)PTR_bfd_get_error_00027230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" if (parenthesized_expression "(iVar1 == 0xd)" ( (binary_expression "iVar1 == 0xd" identifier == number_literal) )) (compound_statement "{\n    bfd_nonfatal(*param_1);\n  }" { (expression_statement "bfd_nonfatal(*param_1);" (call_expression "bfd_nonfatal(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) }) (else_clause "else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" else (compound_statement "{\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" { (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18)" identifier = (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" ( (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" * (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,3,local_18)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" { (expression_statement "FUN_0001211c(param_1);" (call_expression "FUN_0001211c(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;" (call_expression "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" (parenthesized_expression "(*(code *)PTR_fwrite_0002722c)" ( (pointer_expression "*(code *)PTR_fwrite_0002722c" * (cast_expression "(code *)PTR_fwrite_0002722c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" ( (binary_expression "PTR_000270d4 + 0x5c0c" identifier + number_literal) , number_literal , number_literal , (pointer_expression "*(undefined4 *)PTR_stdout_000271b8" * (cast_expression "(undefined4 *)PTR_stdout_000271b8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1)" identifier = (call_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1)" (parenthesized_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)" ( (pointer_expression "*(code *)PTR_bfd_core_file_failing_command_00027280" * (cast_expression "(code *)PTR_bfd_core_file_failing_command_00027280" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" { (expression_statement "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);" (call_expression "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1)" (parenthesized_expression "(*(code *)PTR_printf_0002727c)" ( (pointer_expression "*(code *)PTR_printf_0002727c" * (cast_expression "(code *)PTR_printf_0002727c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c18,iVar1)" ( (binary_expression "PTR_000270d4 + 0x5c18" identifier + number_literal) , identifier ))) ;) })) (expression_statement "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);" (call_expression "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28)" (parenthesized_expression "(*(code *)PTR_puts_00027200)" ( (pointer_expression "*(code *)PTR_puts_00027200" * (cast_expression "(code *)PTR_puts_00027200" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_000270d4 + 0x5c28)" ( (binary_expression "PTR_000270d4 + 0x5c28" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "bfd_nonfatal(*param_1);" (call_expression "bfd_nonfatal(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" identifier = (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" ( (pointer_expression "*(code *)PTR_bfd_get_error_00027230" * (cast_expression "(code *)PTR_bfd_get_error_00027230" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0xd) goto LAB_00012818;" if (parenthesized_expression "(iVar1 != 0xd)" ( (binary_expression "iVar1 != 0xd" identifier != number_literal) )) (goto_statement "goto LAB_00012818;" goto statement_identifier ;)) }))) (expression_statement "list_matching_formats(local_18[0]);" (call_expression "list_matching_formats(local_18[0])" identifier (argument_list "(local_18[0])" ( (subscript_expression "local_18[0]" identifier [ number_literal ]) ))) ;) (expression_statement "(*(code *)PTR_free_00027264)(local_18[0]);" (call_expression "(*(code *)PTR_free_00027264)(local_18[0])" (parenthesized_expression "(*(code *)PTR_free_00027264)" ( (pointer_expression "*(code *)PTR_free_00027264" * (cast_expression "(code *)PTR_free_00027264" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18[0])" ( (subscript_expression "local_18[0]" identifier [ number_literal ]) ))) ;) (labeled_statement "LAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" statement_identifier : (expression_statement "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" (assignment_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3" (pointer_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" * (cast_expression "(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000270c8 + 0x72f4)" ( (binary_expression "PTR_DAT_000270c8 + 0x72f4" identifier + number_literal) )))) = number_literal) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;)) (return_statement return ;) })))
(function_definition "void FUN_00012750(undefined4 *param_1)\n\n{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00012750(undefined4 *param_1)" (identifier "FUN_00012750") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 local_18 [2];\n  \n  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);\n  if (iVar1 != 0) {\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);\n  if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }\n  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n  if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }\n  list_matching_formats(local_18[0]);\n  (*(code *)PTR_free_00027264)(local_18[0]);\nLAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 local_18 [2];" (type_identifier "undefined4") (array_declarator "local_18 [2]" (identifier "local_18") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_bfd_check_format_00027178)(param_1,2)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_00027178)" (( "(") (pointer_expression "*(code *)PTR_bfd_check_format_00027178" (* "*") (cast_expression "(code *)PTR_bfd_check_format_00027178" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_check_format_00027178"))) () ")")) (argument_list "(param_1,2)" (( "(") (identifier "param_1") (, ",") (number_literal "2") () ")")))) (; ";")) (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 "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" (( "(") (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" (* "*") (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_check_format_matches_00027188"))) () ")")) (argument_list "(param_1,1,local_18)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (identifier "local_18") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0001211c(param_1);\n    (*(code *)PTR_putchar_000271c8)(10);\n    return;\n  }" ({ "{") (expression_statement "FUN_0001211c(param_1);" (call_expression "FUN_0001211c(param_1)" (identifier "FUN_0001211c") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_putchar_000271c8)(10);" (call_expression "(*(code *)PTR_putchar_000271c8)(10)" (parenthesized_expression "(*(code *)PTR_putchar_000271c8)" (( "(") (pointer_expression "*(code *)PTR_putchar_000271c8" (* "*") (cast_expression "(code *)PTR_putchar_000271c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_putchar_000271c8"))) () ")")) (argument_list "(10)" (( "(") (number_literal "10") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" (( "(") (pointer_expression "*(code *)PTR_bfd_get_error_00027230" (* "*") (cast_expression "(code *)PTR_bfd_get_error_00027230" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_get_error_00027230"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 == 0xd) {\n    bfd_nonfatal(*param_1);\n  }\n  else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0xd)" (( "(") (binary_expression "iVar1 == 0xd" (identifier "iVar1") (== "==") (number_literal "0xd")) () ")")) (compound_statement "{\n    bfd_nonfatal(*param_1);\n  }" ({ "{") (expression_statement "bfd_nonfatal(*param_1);" (call_expression "bfd_nonfatal(*param_1)" (identifier "bfd_nonfatal") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" (else "else") (compound_statement "{\n    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);\n    if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }\n    bfd_nonfatal(*param_1);\n    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();\n    if (iVar1 != 0xd) goto LAB_00012818;\n  }" ({ "{") (expression_statement "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18)" (parenthesized_expression "(*(code *)PTR_bfd_check_format_matches_00027188)" (( "(") (pointer_expression "*(code *)PTR_bfd_check_format_matches_00027188" (* "*") (cast_expression "(code *)PTR_bfd_check_format_matches_00027188" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_check_format_matches_00027188"))) () ")")) (argument_list "(param_1,3,local_18)" (( "(") (identifier "param_1") (, ",") (number_literal "3") (, ",") (identifier "local_18") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0001211c(param_1);\n      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;\n      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);\n      if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }\n      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);\n      return;\n    }" ({ "{") (expression_statement "FUN_0001211c(param_1);" (call_expression "FUN_0001211c(param_1)" (identifier "FUN_0001211c") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)\n      ;" (call_expression "(*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" (parenthesized_expression "(*(code *)PTR_fwrite_0002722c)" (( "(") (pointer_expression "*(code *)PTR_fwrite_0002722c" (* "*") (cast_expression "(code *)PTR_fwrite_0002722c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fwrite_0002722c"))) () ")")) (argument_list "(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)" (( "(") (binary_expression "PTR_000270d4 + 0x5c0c" (identifier "PTR_000270d4") (+ "+") (number_literal "0x5c0c")) (, ",") (number_literal "1") (, ",") (number_literal "0xb") (, ",") (pointer_expression "*(undefined4 *)PTR_stdout_000271b8" (* "*") (cast_expression "(undefined4 *)PTR_stdout_000271b8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_000271b8"))) () ")"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);" (assignment_expression "iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1)" (parenthesized_expression "(*(code *)PTR_bfd_core_file_failing_command_00027280)" (( "(") (pointer_expression "*(code *)PTR_bfd_core_file_failing_command_00027280" (* "*") (cast_expression "(code *)PTR_bfd_core_file_failing_command_00027280" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_core_file_failing_command_00027280"))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);\n      }" ({ "{") (expression_statement "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);" (call_expression "(*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1)" (parenthesized_expression "(*(code *)PTR_printf_0002727c)" (( "(") (pointer_expression "*(code *)PTR_printf_0002727c" (* "*") (cast_expression "(code *)PTR_printf_0002727c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_printf_0002727c"))) () ")")) (argument_list "(PTR_000270d4 + 0x5c18,iVar1)" (( "(") (binary_expression "PTR_000270d4 + 0x5c18" (identifier "PTR_000270d4") (+ "+") (number_literal "0x5c18")) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);" (call_expression "(*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28)" (parenthesized_expression "(*(code *)PTR_puts_00027200)" (( "(") (pointer_expression "*(code *)PTR_puts_00027200" (* "*") (cast_expression "(code *)PTR_puts_00027200" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_puts_00027200"))) () ")")) (argument_list "(PTR_000270d4 + 0x5c28)" (( "(") (binary_expression "PTR_000270d4 + 0x5c28" (identifier "PTR_000270d4") (+ "+") (number_literal "0x5c28")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "bfd_nonfatal(*param_1);" (call_expression "bfd_nonfatal(*param_1)" (identifier "bfd_nonfatal") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_bfd_get_error_00027230)();" (assignment_expression "iVar1 = (*(code *)PTR_bfd_get_error_00027230)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_bfd_get_error_00027230)()" (parenthesized_expression "(*(code *)PTR_bfd_get_error_00027230)" (( "(") (pointer_expression "*(code *)PTR_bfd_get_error_00027230" (* "*") (cast_expression "(code *)PTR_bfd_get_error_00027230" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_bfd_get_error_00027230"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0xd) goto LAB_00012818;" (if "if") (parenthesized_expression "(iVar1 != 0xd)" (( "(") (binary_expression "iVar1 != 0xd" (identifier "iVar1") (!= "!=") (number_literal "0xd")) () ")")) (goto_statement "goto LAB_00012818;" (goto "goto") (statement_identifier "LAB_00012818") (; ";"))) (} "}")))) (expression_statement "list_matching_formats(local_18[0]);" (call_expression "list_matching_formats(local_18[0])" (identifier "list_matching_formats") (argument_list "(local_18[0])" (( "(") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_free_00027264)(local_18[0]);" (call_expression "(*(code *)PTR_free_00027264)(local_18[0])" (parenthesized_expression "(*(code *)PTR_free_00027264)" (( "(") (pointer_expression "*(code *)PTR_free_00027264" (* "*") (cast_expression "(code *)PTR_free_00027264" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_00027264"))) () ")")) (argument_list "(local_18[0])" (( "(") (subscript_expression "local_18[0]" (identifier "local_18") ([ "[") (number_literal "0") (] "]")) () ")"))) (; ";")) (labeled_statement "LAB_00012818:\n  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" (statement_identifier "LAB_00012818") (: ":") (expression_statement "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;" (assignment_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3" (pointer_expression "*(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_000270c8 + 0x72f4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000270c8 + 0x72f4)" (( "(") (binary_expression "PTR_DAT_000270c8 + 0x72f4" (identifier "PTR_DAT_000270c8") (+ "+") (number_literal "0x72f4")) () ")")))) (= "=") (number_literal "3")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *abfd)

{
  int var_1;
  char **matching;
  
  var_1 = (*(type_2 *)PTR_bfd_check_format_00027178)(abfd,2);
  if (var_1 != 0) {
    return;
  }
  var_1 = (*(type_2 *)PTR_bfd_check_format_matches_00027188)(abfd,1,&matching);
  if (var_1 != 0) {
    var_2(abfd);
    (*(type_2 *)PTR_putchar_000271c8)(10);
    return;
  }
  var_1 = (*(type_2 *)PTR_bfd_get_error_00027230)();
  if (var_1 == 0xd) {
    var_3(abfd->filename);
  }
  else {
    var_1 = (*(type_2 *)PTR_bfd_check_format_matches_00027188)(abfd,3,&matching);
    if (var_1 != 0) {
      var_2(abfd);
      (*(type_2 *)PTR_fwrite_0002722c)(var_4 + 0x5c0c,1,0xb,*(type_3 *)PTR_stdout_000271b8)
      ;
      var_1 = (*(type_2 *)PTR_bfd_core_file_failing_command_00027280)(abfd);
      if (var_1 != 0) {
        (*(type_2 *)PTR_printf_0002727c)(var_4 + 0x5c18,var_1);
      }
      (*(type_2 *)PTR_puts_00027200)(var_4 + 0x5c28);
      return;
    }
    var_3(abfd->filename);
    var_1 = (*(type_2 *)PTR_bfd_get_error_00027230)();
    if (var_1 != 0xd) goto LAB_00012818;
  }
  var_5(matching);
  (*(type_2 *)PTR_free_00027264)(matching);
LAB_00012818:
  *(type_3 *)(var_6 + 0x72f4) = 3;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal))))) (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (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)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (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: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (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)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (return_statement))))

void MASKED(undefined4 *param_1)

{
  int iVar1;
  undefined4 local_18 [2];
  
  iVar1 = (*(code *)PTR_bfd_check_format_00027178)(param_1,2);
  if (iVar1 != 0) {
    return;
  }
  iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,1,local_18);
  if (iVar1 != 0) {
    FUN_0001211c(param_1);
    (*(code *)PTR_putchar_000271c8)(10);
    return;
  }
  iVar1 = (*(code *)PTR_bfd_get_error_00027230)();
  if (iVar1 == 0xd) {
    bfd_nonfatal(*param_1);
  }
  else {
    iVar1 = (*(code *)PTR_bfd_check_format_matches_00027188)(param_1,3,local_18);
    if (iVar1 != 0) {
      FUN_0001211c(param_1);
      (*(code *)PTR_fwrite_0002722c)(PTR_000270d4 + 0x5c0c,1,0xb,*(undefined4 *)PTR_stdout_000271b8)
      ;
      iVar1 = (*(code *)PTR_bfd_core_file_failing_command_00027280)(param_1);
      if (iVar1 != 0) {
        (*(code *)PTR_printf_0002727c)(PTR_000270d4 + 0x5c18,iVar1);
      }
      (*(code *)PTR_puts_00027200)(PTR_000270d4 + 0x5c28);
      return;
    }
    bfd_nonfatal(*param_1);
    iVar1 = (*(code *)PTR_bfd_get_error_00027230)();
    if (iVar1 != 0xd) goto LAB_00012818;
  }
  list_matching_formats(local_18[0]);
  (*(code *)PTR_free_00027264)(local_18[0]);
LAB_00012818:
  *(undefined4 *)(PTR_DAT_000270c8 + 0x72f4) = 3;
  return;
}

