
void ldfile_set_output_arch(char *string,bfd_architecture defarch)

{
  long lVar1;
  char *fmt;
  
  lVar1 = bfd_scan_arch();
  if (lVar1 != 0) {
    ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);
    ldfile_output_machine = *(ulong *)(lVar1 + 0x10);
    ldfile_output_machine_name = *(char **)(lVar1 + 0x20);
    return;
  }
  if (defarch != bfd_arch_unknown) {
    ldfile_output_architecture = defarch;
    return;
  }
  fmt = (char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);
  einfo(fmt,string);
  return;
}



void FUN_00129450(undefined8 param_1,int param_2)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = bfd_scan_arch();
  if (lVar1 != 0) {
    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);
    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);
    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);
    return;
  }
  if (param_2 != 0) {
    DAT_002a6ab0 = param_2;
    return;
  }
  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);
  FUN_001283c0(uVar2,param_1);
  return;
}


PUSH RBP
MOV EBP,ESI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x8
CALL 0x0010ca40
TEST RAX,RAX
JZ 0x00129490
MOV EDX,dword ptr [RAX + 0xc]
MOV dword ptr [0x002a6ab0],EDX
MOV RDX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RAX + 0x20]
MOV qword ptr [0x002a6ab8],RDX
MOV qword ptr [0x002a3838],RAX
ADD RSP,0x8
POP RBX
POP RBP
RET
TEST EBP,EBP
JZ 0x001294a8
MOV dword ptr [0x002a6ab0],EBP
ADD RSP,0x8
POP RBX
POP RBP
RET
LEA RSI,[0x163f88]
XOR EDI,EDI
MOV EDX,0x5
CALL 0x0010c350
ADD RSP,0x8
MOV RSI,RBX
MOV RDI,RAX
POP RBX
XOR EAX,EAX
POP RBP
JMP 0x001283c0
(translation_unit "void FUN_00129450(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}\n\n" (function_definition "void FUN_00129450(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00129450(undefined8 param_1,int param_2)" identifier (parameter_list "(undefined8 param_1,int param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = bfd_scan_arch();" (assignment_expression "lVar1 = bfd_scan_arch()" identifier = (call_expression "bfd_scan_arch()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }" { (expression_statement "DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);" (assignment_expression "DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(lVar1 + 0xc)" * (cast_expression "(undefined4 *)(lVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc)" ( (binary_expression "lVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);" (assignment_expression "DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + 0x10)" * (cast_expression "(undefined8 *)(lVar1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);" (assignment_expression "PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20)" identifier = (pointer_expression "*(undefined **)(lVar1 + 0x20)" * (cast_expression "(undefined **)(lVar1 + 0x20)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_002a6ab0 = param_2;\n    return;\n  }" { (expression_statement "DAT_002a6ab0 = param_2;" (assignment_expression "DAT_002a6ab0 = param_2" identifier = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" identifier (argument_list "(0,"%F%P: cannot represent machine `%s\'\n",5)" ( number_literal , (string_literal ""%F%P: cannot represent machine `%s\'\n"" " string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001283c0(uVar2,param_1);" (call_expression "FUN_001283c0(uVar2,param_1)" identifier (argument_list "(uVar2,param_1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void ldfile_set_output_arch(char *string,bfd_architecture defarch)\n\n{\n  long lVar1;\n  char *fmt;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);\n    ldfile_output_machine = *(ulong *)(lVar1 + 0x10);\n    ldfile_output_machine_name = *(char **)(lVar1 + 0x20);\n    return;\n  }\n  if (defarch != bfd_arch_unknown) {\n    ldfile_output_architecture = defarch;\n    return;\n  }\n  fmt = (char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  einfo(fmt,string);\n  return;\n}\n\n" (function_definition "void ldfile_set_output_arch(char *string,bfd_architecture defarch)\n\n{\n  long lVar1;\n  char *fmt;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);\n    ldfile_output_machine = *(ulong *)(lVar1 + 0x10);\n    ldfile_output_machine_name = *(char **)(lVar1 + 0x20);\n    return;\n  }\n  if (defarch != bfd_arch_unknown) {\n    ldfile_output_architecture = defarch;\n    return;\n  }\n  fmt = (char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  einfo(fmt,string);\n  return;\n}" primitive_type (function_declarator "ldfile_set_output_arch(char *string,bfd_architecture defarch)" identifier (parameter_list "(char *string,bfd_architecture defarch)" ( (parameter_declaration "char *string" primitive_type (pointer_declarator "*string" * identifier)) , (parameter_declaration "bfd_architecture defarch" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  char *fmt;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);\n    ldfile_output_machine = *(ulong *)(lVar1 + 0x10);\n    ldfile_output_machine_name = *(char **)(lVar1 + 0x20);\n    return;\n  }\n  if (defarch != bfd_arch_unknown) {\n    ldfile_output_architecture = defarch;\n    return;\n  }\n  fmt = (char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  einfo(fmt,string);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (expression_statement "lVar1 = bfd_scan_arch();" (assignment_expression "lVar1 = bfd_scan_arch()" identifier = (call_expression "bfd_scan_arch()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);\n    ldfile_output_machine = *(ulong *)(lVar1 + 0x10);\n    ldfile_output_machine_name = *(char **)(lVar1 + 0x20);\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);\n    ldfile_output_machine = *(ulong *)(lVar1 + 0x10);\n    ldfile_output_machine_name = *(char **)(lVar1 + 0x20);\n    return;\n  }" { (expression_statement "ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc);" (assignment_expression "ldfile_output_architecture = *(bfd_architecture *)(lVar1 + 0xc)" identifier = (pointer_expression "*(bfd_architecture *)(lVar1 + 0xc)" * (cast_expression "(bfd_architecture *)(lVar1 + 0xc)" ( (type_descriptor "bfd_architecture *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc)" ( (binary_expression "lVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "ldfile_output_machine = *(ulong *)(lVar1 + 0x10);" (assignment_expression "ldfile_output_machine = *(ulong *)(lVar1 + 0x10)" identifier = (pointer_expression "*(ulong *)(lVar1 + 0x10)" * (cast_expression "(ulong *)(lVar1 + 0x10)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "ldfile_output_machine_name = *(char **)(lVar1 + 0x20);" (assignment_expression "ldfile_output_machine_name = *(char **)(lVar1 + 0x20)" identifier = (pointer_expression "*(char **)(lVar1 + 0x20)" * (cast_expression "(char **)(lVar1 + 0x20)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (if_statement "if (defarch != bfd_arch_unknown) {\n    ldfile_output_architecture = defarch;\n    return;\n  }" if (parenthesized_expression "(defarch != bfd_arch_unknown)" ( (binary_expression "defarch != bfd_arch_unknown" identifier != identifier) )) (compound_statement "{\n    ldfile_output_architecture = defarch;\n    return;\n  }" { (expression_statement "ldfile_output_architecture = defarch;" (assignment_expression "ldfile_output_architecture = defarch" identifier = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "fmt = (char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" identifier (argument_list "(0,"%F%P: cannot represent machine `%s\'\n",5)" ( number_literal , (string_literal ""%F%P: cannot represent machine `%s\'\n"" " string_content escape_sequence escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,string);" (call_expression "einfo(fmt,string)" identifier (argument_list "(fmt,string)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00129450(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}\n\n" (function_definition "void FUN_00129450(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00129450(undefined8 param_1,int param_2)" identifier (parameter_list "(undefined8 param_1,int param_2)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (expression_statement "lVar1 = bfd_scan_arch();" (assignment_expression "lVar1 = bfd_scan_arch()" identifier = (call_expression "bfd_scan_arch()" identifier (argument_list "()" ( )))) ;) (if_statement "if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }" { (expression_statement "DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);" (assignment_expression "DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(lVar1 + 0xc)" * (cast_expression "(undefined4 *)(lVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xc)" ( (binary_expression "lVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);" (assignment_expression "DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10)" identifier = (pointer_expression "*(undefined8 *)(lVar1 + 0x10)" * (cast_expression "(undefined8 *)(lVar1 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x10)" ( (binary_expression "lVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);" (assignment_expression "PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20)" identifier = (pointer_expression "*(undefined **)(lVar1 + 0x20)" * (cast_expression "(undefined **)(lVar1 + 0x20)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar1 + 0x20)" ( (binary_expression "lVar1 + 0x20" identifier + number_literal) ))))) ;) (return_statement "return;" return ;) })) (if_statement "if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }" if (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_002a6ab0 = param_2;\n    return;\n  }" { (expression_statement "DAT_002a6ab0 = param_2;" (assignment_expression "DAT_002a6ab0 = param_2" identifier = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" identifier = (call_expression "dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" identifier (argument_list "(0,"%F%P: cannot represent machine `%s\'\n",5)" ( number_literal , (string_literal ""%F%P: cannot represent machine `%s\'\n"" " string_content escape_sequence escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_001283c0(uVar2,param_1);" (call_expression "FUN_001283c0(uVar2,param_1)" identifier (argument_list "(uVar2,param_1)" ( identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00129450(undefined8 param_1,int param_2)\n\n{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00129450(undefined8 param_1,int param_2)" (identifier "FUN_00129450") (parameter_list "(undefined8 param_1,int param_2)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  undefined8 uVar2;\n  \n  lVar1 = bfd_scan_arch();\n  if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }\n  if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }\n  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);\n  FUN_001283c0(uVar2,param_1);\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (expression_statement "lVar1 = bfd_scan_arch();" (assignment_expression "lVar1 = bfd_scan_arch()" (identifier "lVar1") (= "=") (call_expression "bfd_scan_arch()" (identifier "bfd_scan_arch") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (lVar1 != 0) {\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);\n    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);\n    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);\n    return;\n  }" ({ "{") (expression_statement "DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);" (assignment_expression "DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc)" (identifier "DAT_002a6ab0") (= "=") (pointer_expression "*(undefined4 *)(lVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(lVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xc)" (( "(") (binary_expression "lVar1 + 0xc" (identifier "lVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);" (assignment_expression "DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10)" (identifier "DAT_002a6ab8") (= "=") (pointer_expression "*(undefined8 *)(lVar1 + 0x10)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x10)" (( "(") (binary_expression "lVar1 + 0x10" (identifier "lVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);" (assignment_expression "PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20)" (identifier "PTR_s__002a3838") (= "=") (pointer_expression "*(undefined **)(lVar1 + 0x20)" (* "*") (cast_expression "(undefined **)(lVar1 + 0x20)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar1 + 0x20)" (( "(") (binary_expression "lVar1 + 0x20" (identifier "lVar1") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (param_2 != 0) {\n    DAT_002a6ab0 = param_2;\n    return;\n  }" (if "if") (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_002a6ab0 = param_2;\n    return;\n  }" ({ "{") (expression_statement "DAT_002a6ab0 = param_2;" (assignment_expression "DAT_002a6ab0 = param_2" (identifier "DAT_002a6ab0") (= "=") (identifier "param_2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);" (assignment_expression "uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" (identifier "uVar2") (= "=") (call_expression "dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%P: cannot represent machine `%s\'\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%P: cannot represent machine `%s\'\n"" (" """) (string_content "%F%P: cannot represent machine `%s") (escape_sequence "\'") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_001283c0(uVar2,param_1);" (call_expression "FUN_001283c0(uVar2,param_1)" (identifier "FUN_001283c0") (argument_list "(uVar2,param_1)" (( "(") (identifier "uVar2") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *string,type_1 var_3)

{
  long var_2;
  char *fmt;
  
  var_2 = var_1();
  if (var_2 != 0) {
    ldfile_output_architecture = *(type_1 *)(var_2 + 0xc);
    ldfile_output_machine = *(type_2 *)(var_2 + 0x10);
    ldfile_output_machine_name = *(char **)(var_2 + 0x20);
    return;
  }
  if (var_3 != var_4) {
    ldfile_output_architecture = var_3;
    return;
  }
  fmt = (char *)var_5(0,"%F%P: cannot represent machine `%s\'\n",5);
  var_6(fmt,string);
  return;
}


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

void MASKED(undefined8 param_1,int param_2)

{
  long lVar1;
  undefined8 uVar2;
  
  lVar1 = bfd_scan_arch();
  if (lVar1 != 0) {
    DAT_002a6ab0 = *(undefined4 *)(lVar1 + 0xc);
    DAT_002a6ab8 = *(undefined8 *)(lVar1 + 0x10);
    PTR_s__002a3838 = *(undefined **)(lVar1 + 0x20);
    return;
  }
  if (param_2 != 0) {
    DAT_002a6ab0 = param_2;
    return;
  }
  uVar2 = dcgettext(0,"%F%P: cannot represent machine `%s\'\n",5);
  FUN_001283c0(uVar2,param_1);
  return;
}

