
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: char * do_target_bfd_name(Target_selector * this, Target * target) */

char * __thiscall gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)

{
  if (target != this->instantiated_target_) {
    return (char *)0x0;
  }
  if (this->bfd_name_ != (char *)0x0) {
    return this->bfd_name_;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name");
}



long FUN_0029afa0(long param_1,long param_2)

{
  if (param_2 != *(long *)(param_1 + 0x30)) {
    return 0;
  }
  if (*(long *)(param_1 + 0x18) != 0) {
    return *(long *)(param_1 + 0x18);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");
}


CMP RSI,qword ptr [RDI + 0x30]
JNZ 0x0029afb0
MOV RAX,qword ptr [RDI + 0x18]
TEST RAX,RAX
JZ 0x0029afb3
RET
XOR EAX,EAX
RET
PUSH RAX
LEA RDX,[0x39ecd0]
MOV ESI,0x5e
LEA RDI,[0x39ec41]
CALL 0x0018dcf0
(translation_unit "long FUN_0029afa0(long param_1,long param_2)\n\n{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}\n\n" (function_definition "long FUN_0029afa0(long param_1,long param_2)\n\n{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0029afa0(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" { (if_statement "if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 != *(long *)(param_1 + 0x30))" ( (binary_expression "param_2 != *(long *)(param_1 + 0x30)" identifier != (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x18) != 0)" ( (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(long *)(param_1 + 0x18);\n  }" { (return_statement "return *(long *)(param_1 + 0x18);" return (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ;) })) comment (expression_statement "FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");" (call_expression "FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" identifier (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""do_target_bfd_name"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: char * do_target_bfd_name(Target_selector * this, Target * target) */\n\nchar * __thiscall gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)\n\n{\n  if (target != this->instantiated_target_) {\n    return (char *)0x0;\n  }\n  if (this->bfd_name_ != (char *)0x0) {\n    return this->bfd_name_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}\n\n" comment comment (declaration "char * __thiscall" primitive_type (pointer_declarator "* __thiscall" * identifier) ;) (labeled_statement "gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *target)\n\n{\n  if (target != this->instantiated_target_) {\n    return (char *)0x0;\n  }\n  if (this->bfd_name_ != (char *)0x0) {\n    return this->bfd_name_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" statement_identifier : (ERROR ":" :) (labeled_statement "Target_selector::do_target_bfd_name(Target_selector *this,Target *target)\n\n{\n  if (target != this->instantiated_target_) {\n    return (char *)0x0;\n  }\n  if (this->bfd_name_ != (char *)0x0) {\n    return this->bfd_name_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" statement_identifier : (ERROR ":do_target_bfd_name(Target_selector *this,Target *target)" : (call_expression "do_target_bfd_name(Target_selector *this,Target *target)" identifier (argument_list "(Target_selector *this,Target *target)" ( (binary_expression "Target_selector *this" identifier * identifier) , (binary_expression "Target *target" identifier * identifier) )))) (compound_statement "{\n  if (target != this->instantiated_target_) {\n    return (char *)0x0;\n  }\n  if (this->bfd_name_ != (char *)0x0) {\n    return this->bfd_name_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" { (if_statement "if (target != this->instantiated_target_) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "(target != this->instantiated_target_)" ( (binary_expression "target != this->instantiated_target_" identifier != (field_expression "this->instantiated_target_" identifier -> field_identifier)) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (if_statement "if (this->bfd_name_ != (char *)0x0) {\n    return this->bfd_name_;\n  }" if (parenthesized_expression "(this->bfd_name_ != (char *)0x0)" ( (binary_expression "this->bfd_name_ != (char *)0x0" (field_expression "this->bfd_name_" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return this->bfd_name_;\n  }" { (return_statement "return this->bfd_name_;" return (field_expression "this->bfd_name_" identifier -> field_identifier) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name");" (call_expression "do_gold_unreachable("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" identifier (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""do_target_bfd_name"" " string_content ") ))) ;) }))))
(translation_unit "long FUN_0029afa0(long param_1,long param_2)\n\n{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    \n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}\n\n" (function_definition "long FUN_0029afa0(long param_1,long param_2)\n\n{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    \n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0029afa0(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    \n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" { (if_statement "if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }" if (parenthesized_expression "(param_2 != *(long *)(param_1 + 0x30))" ( (binary_expression "param_2 != *(long *)(param_1 + 0x30)" identifier != (pointer_expression "*(long *)(param_1 + 0x30)" * (cast_expression "(long *)(param_1 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x18) != 0)" ( (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(long *)(param_1 + 0x18);\n  }" { (return_statement "return *(long *)(param_1 + 0x18);" return (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) ;) })) (expression_statement "FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");" (call_expression "FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" identifier (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" ( (string_literal ""../../gold/target-select.cc"" " string_content ") , number_literal , (string_literal ""do_target_bfd_name"" " string_content ") ))) ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "long FUN_0029afa0(long param_1,long param_2)\n\n{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    \n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0029afa0(long param_1,long param_2)" (identifier "FUN_0029afa0") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }\n  if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }\n                    \n  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");\n}" ({ "{") (if_statement "if (param_2 != *(long *)(param_1 + 0x30)) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_2 != *(long *)(param_1 + 0x30))" (( "(") (binary_expression "param_2 != *(long *)(param_1 + 0x30)" (identifier "param_2") (!= "!=") (pointer_expression "*(long *)(param_1 + 0x30)" (* "*") (cast_expression "(long *)(param_1 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 0x18) != 0) {\n    return *(long *)(param_1 + 0x18);\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x18) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x18) != 0" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(long *)(param_1 + 0x18);\n  }" ({ "{") (return_statement "return *(long *)(param_1 + 0x18);" (return "return") (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");" (call_expression "FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" (identifier "FUN_0018dcf0") (argument_list "("../../gold/target-select.cc",0x5e,"do_target_bfd_name")" (( "(") (string_literal ""../../gold/target-select.cc"" (" """) (string_content "../../gold/target-select.cc") (" """)) (, ",") (number_literal "0x5e") (, ",") (string_literal ""do_target_bfd_name"" (" """) (string_content "do_target_bfd_name") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: char * do_target_bfd_name(Target_selector * this, Target * target) */

char * __thiscall gold::Target_selector::do_target_bfd_name(Target_selector *this,Target *var_1)

{
  if (var_1 != this->instantiated_target_) {
    return (char *)0x0;
  }
  if (this->bfd_name_ != (char *)0x0) {
    return this->bfd_name_;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/target-select.cc",0x5e,"do_target_bfd_name");
}


(translation_unit (function_definition type: (sized_type_specifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

long MASKED(long param_1,long param_2)

{
  if (param_2 != *(long *)(param_1 + 0x30)) {
    return 0;
  }
  if (*(long *)(param_1 + 0x18) != 0) {
    return *(long *)(param_1 + 0x18);
  }
                    /* WARNING: Subroutine does not return */
  FUN_0018dcf0("../../gold/target-select.cc",0x5e,"do_target_bfd_name");
}

