
/* DWARF original prototype: uint64_t do_ehframe_datarel_base(Target_x86_64<64> * this) */

uint64_t __thiscall
anon_unknown.dwarf_353119::Target_x86_64<64>::do_ehframe_datarel_base(Target_x86_64<64> *this)

{
  long lVar1;
  
  lVar1 = *(long *)&(this->x86_64_info).small_common_shndx;
  if (lVar1 != 0) {
    return *(uint64_t *)(lVar1 + 0x40);
  }
                    /* WARNING: Subroutine does not return */
  gold::do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");
}



undefined8 FUN_0016db60(long param_1)

{
  if (*(long *)(param_1 + 0x48) != 0) {
    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");
}


MOV RAX,qword ptr [RDI + 0x48]
TEST RAX,RAX
JZ 0x0016db6e
MOV RAX,qword ptr [RAX + 0x40]
RET
PUSH RAX
LEA RDX,[0x33d5b0]
MOV ESI,0x1726
LEA RDI,[0x33b18e]
CALL 0x00199900
(translation_unit "undefined8 FUN_0016db60(long param_1)\n\n{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}\n\n" (function_definition "undefined8 FUN_0016db60(long param_1)\n\n{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" type_identifier (function_declarator "FUN_0016db60(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" { (if_statement "if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x48) != 0)" ( (binary_expression "*(long *)(param_1 + 0x48) != 0" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }" { (return_statement "return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);" return (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x40)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x40" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) )))) ;) })) comment (expression_statement "FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");" (call_expression "FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" identifier (argument_list "("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" ( (string_literal ""../../gold/x86_64.cc"" " string_content ") , number_literal , (string_literal ""do_ehframe_datarel_base"" " string_content ") ))) ;) })))
(translation_unit "/* DWARF original prototype: uint64_t do_ehframe_datarel_base(Target_x86_64<64> * this) */\n\nuint64_t __thiscall\nanon_unknown.dwarf_353119::Target_x86_64<64>::do_ehframe_datarel_base(Target_x86_64<64> *this)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)&(this->x86_64_info).small_common_shndx;\n  if (lVar1 != 0) {\n    return *(uint64_t *)(lVar1 + 0x40);\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}\n\n" comment (function_definition "uint64_t __thiscall\nanon_unknown.dwarf_353119::Target_x86_64<64>::do_ehframe_datarel_base(Target_x86_64<64> *this)\n\n{\n  long lVar1;\n  \n  lVar1 = *(long *)&(this->x86_64_info).small_common_shndx;\n  if (lVar1 != 0) {\n    return *(uint64_t *)(lVar1 + 0x40);\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_353119::Target_x86_64<64>::" identifier . identifier : : identifier < number_literal > : :) (function_declarator "do_ehframe_datarel_base(Target_x86_64<64> *this)" identifier (parameter_list "(Target_x86_64<64> *this)" ( (parameter_declaration "Target_x86_64<64> *this" type_identifier (ERROR "<64>" < number_literal >) (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *(long *)&(this->x86_64_info).small_common_shndx;\n  if (lVar1 != 0) {\n    return *(uint64_t *)(lVar1 + 0x40);\n  }\n                    /* WARNING: Subroutine does not return */\n  gold::do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *(long *)&(this->x86_64_info).small_common_shndx;" (assignment_expression "lVar1 = *(long *)&(this->x86_64_info).small_common_shndx" identifier = (pointer_expression "*(long *)&(this->x86_64_info).small_common_shndx" * (cast_expression "(long *)&(this->x86_64_info).small_common_shndx" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(this->x86_64_info).small_common_shndx" & (field_expression "(this->x86_64_info).small_common_shndx" (parenthesized_expression "(this->x86_64_info)" ( (field_expression "this->x86_64_info" identifier -> field_identifier) )) . field_identifier))))) ;) (if_statement "if (lVar1 != 0) {\n    return *(uint64_t *)(lVar1 + 0x40);\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return *(uint64_t *)(lVar1 + 0x40);\n  }" { (return_statement "return *(uint64_t *)(lVar1 + 0x40);" return (pointer_expression "*(uint64_t *)(lVar1 + 0x40)" * (cast_expression "(uint64_t *)(lVar1 + 0x40)" ( (type_descriptor "uint64_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) )))) ;) })) comment (labeled_statement "gold::do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");" statement_identifier : (ERROR ":" :) (expression_statement "do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");" (call_expression "do_gold_unreachable("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" identifier (argument_list "("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" ( (string_literal ""../../gold/x86_64.cc"" " string_content ") , number_literal , (string_literal ""do_ehframe_datarel_base"" " string_content ") ))) ;)) })))
(translation_unit "undefined8 FUN_0016db60(long param_1)\n\n{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    \n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}\n\n" (function_definition "undefined8 FUN_0016db60(long param_1)\n\n{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    \n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" type_identifier (function_declarator "FUN_0016db60(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    \n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" { (if_statement "if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x48) != 0)" ( (binary_expression "*(long *)(param_1 + 0x48) != 0" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }" { (return_statement "return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);" return (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40)" * (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x40)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x40" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) )))) ;) })) (expression_statement "FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");" (call_expression "FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" identifier (argument_list "("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" ( (string_literal ""../../gold/x86_64.cc"" " string_content ") , number_literal , (string_literal ""do_ehframe_datarel_base"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_0016db60(long param_1)\n\n{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    \n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" (type_identifier "undefined8") (function_declarator "FUN_0016db60(long param_1)" (identifier "FUN_0016db60") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }\n                    \n  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");\n}" ({ "{") (if_statement "if (*(long *)(param_1 + 0x48) != 0) {\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x48) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x48) != 0" (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);\n  }" ({ "{") (return_statement "return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);" (return "return") (pointer_expression "*(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40)" (* "*") (cast_expression "(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x40)" (( "(") (binary_expression "*(long *)(param_1 + 0x48) + 0x40" (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (number_literal "0x40")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");" (call_expression "FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" (identifier "FUN_00199900") (argument_list "("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base")" (( "(") (string_literal ""../../gold/x86_64.cc"" (" """) (string_content "../../gold/x86_64.cc") (" """)) (, ",") (number_literal "0x1726") (, ",") (string_literal ""do_ehframe_datarel_base"" (" """) (string_content "do_ehframe_datarel_base") (" """)) () ")"))) (; ";")) (} "}")))

/* DWARF original prototype: uint64_t do_ehframe_datarel_base(Target_x86_64<64> * this) */

uint64_t __thiscall
anon_unknown.dwarf_353119::type_1<64>::function_1(type_1<64> *this)

{
  long var_1;
  
  var_1 = *(long *)&(this->x86_64_info).small_common_shndx;
  if (var_1 != 0) {
    return *(uint64_t *)(var_1 + 0x40);
  }
                    /* WARNING: Subroutine does not return */
  gold::var_2("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content))))))))

undefined8 MASKED(long param_1)

{
  if (*(long *)(param_1 + 0x48) != 0) {
    return *(undefined8 *)(*(long *)(param_1 + 0x48) + 0x40);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00199900("../../gold/x86_64.cc",0x1726,"do_ehframe_datarel_base");
}

