
/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */

ld_plugin_status gold::allow_unique_segment_for_sections(void)

{
  Plugin_manager *pPVar1;
  
  if (parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
  }
  pPVar1 = parameters->options_->plugins_;
  if (pPVar1 != (Plugin_manager *)0x0) {
    pPVar1->layout_->unique_segment_for_sections_specified_ = true;
    return LDPS_OK;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");
}



undefined8 FUN_00249c80(void)

{
  long lVar1;
  
  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");
  }
  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);
  if (lVar1 != 0) {
    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");
}


SUB RSP,0x8
MOV RAX,qword ptr [0x004586c8]
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x00249cb5
MOV RAX,qword ptr [RAX + 0x9058]
TEST RAX,RAX
JZ 0x00249ccd
MOV RAX,qword ptr [RAX + 0xe0]
MOV byte ptr [RAX + 0x372],0x1
XOR EAX,EAX
ADD RSP,0x8
RET
LEA RDX,[0x399428]
MOV ESI,0x5c
LEA RDI,[0x380279]
CALL 0x0018dcf0
LEA RDX,[0x399700]
MOV ESI,0x887
LEA RDI,[0x398c04]
CALL 0x0018dcf0
(translation_unit "undefined8 FUN_00249c80(void)\n\n{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}\n\n" (function_definition "undefined8 FUN_00249c80(void)\n\n{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" type_identifier (function_declarator "FUN_00249c80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) == 0)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);" (assignment_expression "lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" identifier = (pointer_expression "*(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" * (cast_expression "(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }" { (expression_statement "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;" (assignment_expression "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1" (pointer_expression "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372)" * (cast_expression "(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0xe0) + 0x372)" ( (binary_expression "*(long *)(lVar1 + 0xe0) + 0x372" (pointer_expression "*(long *)(lVar1 + 0xe0)" * (cast_expression "(long *)(lVar1 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xe0)" ( (binary_expression "lVar1 + 0xe0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");" (call_expression "FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" identifier (argument_list "("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""allow_unique_segment_for_sections"" " string_content ") ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n\nld_plugin_status gold::allow_unique_segment_for_sections(void)\n\n{\n  Plugin_manager *pPVar1;\n  \n  if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pPVar1 = parameters->options_->plugins_;\n  if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar1->layout_->unique_segment_for_sections_specified_ = true;\n    return LDPS_OK;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}\n\n" comment comment comment (function_definition "ld_plugin_status gold::allow_unique_segment_for_sections(void)\n\n{\n  Plugin_manager *pPVar1;\n  \n  if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pPVar1 = parameters->options_->plugins_;\n  if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar1->layout_->unique_segment_for_sections_specified_ = true;\n    return LDPS_OK;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" type_identifier (ERROR "gold::" identifier : :) (function_declarator "allow_unique_segment_for_sections(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  Plugin_manager *pPVar1;\n  \n  if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  pPVar1 = parameters->options_->plugins_;\n  if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar1->layout_->unique_segment_for_sections_specified_ = true;\n    return LDPS_OK;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" { (declaration "Plugin_manager *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (if_statement "if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "pPVar1 = parameters->options_->plugins_;" (assignment_expression "pPVar1 = parameters->options_->plugins_" identifier = (field_expression "parameters->options_->plugins_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (pPVar1 != (Plugin_manager *)0x0) {\n    pPVar1->layout_->unique_segment_for_sections_specified_ = true;\n    return LDPS_OK;\n  }" if (parenthesized_expression "(pPVar1 != (Plugin_manager *)0x0)" ( (binary_expression "pPVar1 != (Plugin_manager *)0x0" identifier != (cast_expression "(Plugin_manager *)0x0" ( (type_descriptor "Plugin_manager *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pPVar1->layout_->unique_segment_for_sections_specified_ = true;\n    return LDPS_OK;\n  }" { (expression_statement "pPVar1->layout_->unique_segment_for_sections_specified_ = true;" (assignment_expression "pPVar1->layout_->unique_segment_for_sections_specified_ = true" (field_expression "pPVar1->layout_->unique_segment_for_sections_specified_" (field_expression "pPVar1->layout_" identifier -> field_identifier) -> field_identifier) = true) ;) (return_statement "return LDPS_OK;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");" (call_expression "do_gold_unreachable("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" identifier (argument_list "("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""allow_unique_segment_for_sections"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_00249c80(void)\n\n{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    \n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}\n\n" (function_definition "undefined8 FUN_00249c80(void)\n\n{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    \n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" type_identifier (function_declarator "FUN_00249c80(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    \n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) == 0)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }" { (expression_statement "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);" (assignment_expression "lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" identifier = (pointer_expression "*(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" * (cast_expression "(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }" if (parenthesized_expression "(lVar1 != 0)" ( (binary_expression "lVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }" { (expression_statement "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;" (assignment_expression "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1" (pointer_expression "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372)" * (cast_expression "(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0xe0) + 0x372)" ( (binary_expression "*(long *)(lVar1 + 0xe0) + 0x372" (pointer_expression "*(long *)(lVar1 + 0xe0)" * (cast_expression "(long *)(lVar1 + 0xe0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0xe0)" ( (binary_expression "lVar1 + 0xe0" identifier + number_literal) )))) + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })) (expression_statement "FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");" (call_expression "FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" identifier (argument_list "("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" ( (string_literal ""../../gold/plugin.cc"" " string_content ") , number_literal , (string_literal ""allow_unique_segment_for_sections"" " string_content ") ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (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 { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (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) )))) = LIT) ;) (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })))
(function_definition "undefined8 FUN_00249c80(void)\n\n{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    \n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" (type_identifier "undefined8") (function_declarator "FUN_00249c80(void)" (identifier "FUN_00249c80") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }\n  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);\n  if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }\n                    \n  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (if_statement "if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" (( "(") (binary_expression "PTR_DAT_004586c8 + 0x10" (identifier "PTR_DAT_004586c8") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n  }" ({ "{") (expression_statement "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_0018dcf0") (argument_list "("../../gold/parameters.h",0x5c,"options")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);" (assignment_expression "lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" (* "*") (cast_expression "(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058)" (( "(") (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" (( "(") (binary_expression "PTR_DAT_004586c8 + 0x10" (identifier "PTR_DAT_004586c8") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x9058")) () ")"))))) (; ";")) (if_statement "if (lVar1 != 0) {\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }" (if "if") (parenthesized_expression "(lVar1 != 0)" (( "(") (binary_expression "lVar1 != 0" (identifier "lVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;\n    return 0;\n  }" ({ "{") (expression_statement "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;" (assignment_expression "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1" (pointer_expression "*(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372)" (* "*") (cast_expression "(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar1 + 0xe0) + 0x372)" (( "(") (binary_expression "*(long *)(lVar1 + 0xe0) + 0x372" (pointer_expression "*(long *)(lVar1 + 0xe0)" (* "*") (cast_expression "(long *)(lVar1 + 0xe0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0xe0)" (( "(") (binary_expression "lVar1 + 0xe0" (identifier "lVar1") (+ "+") (number_literal "0xe0")) () ")")))) (+ "+") (number_literal "0x372")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");" (call_expression "FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" (identifier "FUN_0018dcf0") (argument_list "("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections")" (( "(") (string_literal ""../../gold/plugin.cc"" (" """) (string_content "../../gold/plugin.cc") (" """)) (, ",") (number_literal "0x887") (, ",") (string_literal ""allow_unique_segment_for_sections"" (" """) (string_content "allow_unique_segment_for_sections") (" """)) () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */

type_1 gold::function_1(void)

{
  type_2 *var_2;
  
  if (parameters->options_ == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_1("../../gold/parameters.h",0x5c,"options");
  }
  var_2 = parameters->options_->plugins_;
  if (var_2 != (type_2 *)0x0) {
    var_2->layout_->unique_segment_for_sections_specified_ = true;
    return LDPS_OK;
  }
                    /* WARNING: Subroutine does not return */
  var_1("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");
}


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

undefined8 MASKED(void)

{
  long lVar1;
  
  if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");
  }
  lVar1 = *(long *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x9058);
  if (lVar1 != 0) {
    *(undefined1 *)(*(long *)(lVar1 + 0xe0) + 0x372) = 1;
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0018dcf0("../../gold/plugin.cc",0x887,"allow_unique_segment_for_sections");
}

