
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Section_expression * this, Expression_eval_info * eei)
    */

uint64_t __thiscall
gold::Section_expression::value(Section_expression *this,Expression_eval_info *eei)

{
  char *name;
  Script_options *pSVar1;
  bool bVar2;
  int iVar3;
  Output_section *pOVar4;
  undefined4 extraout_var;
  undefined4 extraout_var_00;
  undefined4 extraout_var_01;
  uint64_t address;
  uint64_t load_address;
  uint64_t addralign;
  uint64_t size;
  
  name = (this->section_name_)._M_dataplus._M_p;
  pOVar4 = Layout::find_output_section(eei->layout,name);
  if (pOVar4 != (Output_section *)0x0) {
    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);
    return CONCAT44(extraout_var,iVar3);
  }
  pSVar1 = eei->layout->script_options_;
  if (((pSVar1->script_sections_).saw_sections_clause_ != false) &&
     (bVar2 = Script_sections::get_output_section_info
                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),
     bVar2)) {
    iVar3 = (*(this->super_Expression)._vptr_Expression[6])
                      (this,address,load_address,addralign,size);
    return CONCAT44(extraout_var_01,iVar3);
  }
  iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this);
  gold_error("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name);
  return 0;
}



undefined8 FUN_00316690(long *param_1,long param_2)

{
  long lVar1;
  char cVar2;
  long lVar3;
  undefined8 uVar4;
  undefined8 local_38;
  undefined8 local_30;
  undefined8 local_28;
  undefined8 local_20;
  
  lVar1 = param_1[1];
  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);
  if (lVar3 != 0) {
    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);
    return uVar4;
  }
  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);
  if ((*(char *)(lVar3 + 0x148) != '\0') &&
     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),
     cVar2 != '\0')) {
    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);
    return uVar4;
  }
  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);
  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);
  return 0;
}


PUSH R12
PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
SUB RSP,0x20
MOV R12,qword ptr [RDI + 0x8]
MOV RDI,qword ptr [RSI + 0x8]
MOV RSI,R12
CALL 0x00212290
TEST RAX,RAX
JZ 0x003166d0
MOV RCX,qword ptr [RBX]
MOV RDX,RAX
MOV RSI,RBP
MOV RDI,RBX
CALL qword ptr [RCX + 0x28]
ADD RSP,0x20
POP RBX
POP RBP
POP R12
RET
MOV RAX,qword ptr [RBP + 0x8]
MOV RDI,qword ptr [RAX + 0x8]
CMP byte ptr [RDI + 0x148],0x0
JNZ 0x00316710
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0x38]
MOV RDX,R12
LEA RDI,[0x3fb360]
MOV RSI,RAX
XOR EAX,EAX
CALL 0x001e14f0
ADD RSP,0x20
XOR EAX,EAX
POP RBX
POP RBP
POP R12
RET
LEA RCX,[RSP + 0x8]
MOV RDX,RSP
LEA R9,[RSP + 0x18]
MOV RSI,R12
ADD RDI,0x148
LEA R8,[RSP + 0x10]
CALL 0x002c5990
TEST AL,AL
JZ 0x003166e1
MOV RAX,qword ptr [RBX]
MOV R8,qword ptr [RSP + 0x18]
MOV RDI,RBX
MOV RCX,qword ptr [RSP + 0x10]
MOV RDX,qword ptr [RSP + 0x8]
MOV RSI,qword ptr [RSP]
CALL qword ptr [RAX + 0x30]
JMP 0x003166c2
(translation_unit "undefined8 FUN_00316690(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00316690(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00316690(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) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "lVar1 = param_1[1];" (assignment_expression "lVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);" (assignment_expression "lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1)" identifier = (call_expression "FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1)" identifier (argument_list "(*(undefined8 *)(param_2 + 8),lVar1)" ( (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }" { (expression_statement "uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3)" identifier = (call_expression "(**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3)" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" ( (pointer_expression "**(code **)(*param_1 + 0x28)" * (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,lVar3)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_2 + 8) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 8) + 8)" * (cast_expression "(long *)(*(long *)(param_2 + 8) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 8) + 8)" ( (binary_expression "*(long *)(param_2 + 8) + 8" (pointer_expression "*(long *)(param_2 + 8)" * (cast_expression "(long *)(param_2 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }" if (parenthesized_expression "((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0'))" ( (binary_expression "(*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')" (parenthesized_expression "(*(char *)(lVar3 + 0x148) != '\0')" ( (binary_expression "*(char *)(lVar3 + 0x148) != '\0'" (pointer_expression "*(char *)(lVar3 + 0x148)" * (cast_expression "(char *)(lVar3 + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x148)" ( (binary_expression "lVar3 + 0x148" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')" ( (comma_expression "cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0'" (assignment_expression "cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" identifier = (call_expression "FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" identifier (argument_list "(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" ( (binary_expression "lVar3 + 0x148" identifier + number_literal) , identifier , (pointer_expression "&local_38" & identifier) , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_20" & identifier) )))) , (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }" { (expression_statement "uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20)" identifier = (call_expression "(**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20)" (parenthesized_expression "(**(code **)(*param_1 + 0x30))" ( (pointer_expression "**(code **)(*param_1 + 0x30)" * (pointer_expression "*(code **)(*param_1 + 0x30)" * (cast_expression "(code **)(*param_1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,local_38,local_30,local_28,local_20)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "uVar4 = (**(code **)(*param_1 + 0x38))(param_1);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x38))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0x38))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);" (call_expression "FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1)" identifier (argument_list "("%s called on nonexistent output section \'%s\'",uVar4,lVar1)" ( (string_literal ""%s called on nonexistent output section \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "STT": Some values do not have unique names */\n/* DWARF original prototype: uint64_t value(Section_expression * this, Expression_eval_info * eei)\n    */\n\nuint64_t __thiscall\ngold::Section_expression::value(Section_expression *this,Expression_eval_info *eei)\n\n{\n  char *name;\n  Script_options *pSVar1;\n  bool bVar2;\n  int iVar3;\n  Output_section *pOVar4;\n  undefined4 extraout_var;\n  undefined4 extraout_var_00;\n  undefined4 extraout_var_01;\n  uint64_t address;\n  uint64_t load_address;\n  uint64_t addralign;\n  uint64_t size;\n  \n  name = (this->section_name_)._M_dataplus._M_p;\n  pOVar4 = Layout::find_output_section(eei->layout,name);\n  if (pOVar4 != (Output_section *)0x0) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);\n    return CONCAT44(extraout_var,iVar3);\n  }\n  pSVar1 = eei->layout->script_options_;\n  if (((pSVar1->script_sections_).saw_sections_clause_ != false) &&\n     (bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2)) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size);\n    return CONCAT44(extraout_var_01,iVar3);\n  }\n  iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this);\n  gold_error("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name);\n  return 0;\n}\n\n" comment comment comment (function_definition "uint64_t __thiscall\ngold::Section_expression::value(Section_expression *this,Expression_eval_info *eei)\n\n{\n  char *name;\n  Script_options *pSVar1;\n  bool bVar2;\n  int iVar3;\n  Output_section *pOVar4;\n  undefined4 extraout_var;\n  undefined4 extraout_var_00;\n  undefined4 extraout_var_01;\n  uint64_t address;\n  uint64_t load_address;\n  uint64_t addralign;\n  uint64_t size;\n  \n  name = (this->section_name_)._M_dataplus._M_p;\n  pOVar4 = Layout::find_output_section(eei->layout,name);\n  if (pOVar4 != (Output_section *)0x0) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);\n    return CONCAT44(extraout_var,iVar3);\n  }\n  pSVar1 = eei->layout->script_options_;\n  if (((pSVar1->script_sections_).saw_sections_clause_ != false) &&\n     (bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2)) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size);\n    return CONCAT44(extraout_var_01,iVar3);\n  }\n  iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this);\n  gold_error("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name);\n  return 0;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Section_expression::" identifier : : identifier : :) (function_declarator "value(Section_expression *this,Expression_eval_info *eei)" identifier (parameter_list "(Section_expression *this,Expression_eval_info *eei)" ( (parameter_declaration "Section_expression *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression_eval_info *eei" type_identifier (pointer_declarator "*eei" * identifier)) ))) (compound_statement "{\n  char *name;\n  Script_options *pSVar1;\n  bool bVar2;\n  int iVar3;\n  Output_section *pOVar4;\n  undefined4 extraout_var;\n  undefined4 extraout_var_00;\n  undefined4 extraout_var_01;\n  uint64_t address;\n  uint64_t load_address;\n  uint64_t addralign;\n  uint64_t size;\n  \n  name = (this->section_name_)._M_dataplus._M_p;\n  pOVar4 = Layout::find_output_section(eei->layout,name);\n  if (pOVar4 != (Output_section *)0x0) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);\n    return CONCAT44(extraout_var,iVar3);\n  }\n  pSVar1 = eei->layout->script_options_;\n  if (((pSVar1->script_sections_).saw_sections_clause_ != false) &&\n     (bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2)) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size);\n    return CONCAT44(extraout_var_01,iVar3);\n  }\n  iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this);\n  gold_error("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name);\n  return 0;\n}" { (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "Script_options *pSVar1;" type_identifier (pointer_declarator "*pSVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Output_section *pOVar4;" type_identifier (pointer_declarator "*pOVar4" * identifier) ;) (declaration "undefined4 extraout_var;" type_identifier identifier ;) (declaration "undefined4 extraout_var_00;" type_identifier identifier ;) (declaration "undefined4 extraout_var_01;" type_identifier identifier ;) (declaration "uint64_t address;" primitive_type identifier ;) (declaration "uint64_t load_address;" primitive_type identifier ;) (declaration "uint64_t addralign;" primitive_type identifier ;) (declaration "uint64_t size;" primitive_type identifier ;) (expression_statement "name = (this->section_name_)._M_dataplus._M_p;" (assignment_expression "name = (this->section_name_)._M_dataplus._M_p" identifier = (field_expression "(this->section_name_)._M_dataplus._M_p" (field_expression "(this->section_name_)._M_dataplus" (parenthesized_expression "(this->section_name_)" ( (field_expression "this->section_name_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (ERROR "pOVar4 = Layout::" (assignment_expression "pOVar4 = Layout" identifier = identifier) : :) (expression_statement "find_output_section(eei->layout,name);" (call_expression "find_output_section(eei->layout,name)" identifier (argument_list "(eei->layout,name)" ( (field_expression "eei->layout" identifier -> field_identifier) , identifier ))) ;) (if_statement "if (pOVar4 != (Output_section *)0x0) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);\n    return CONCAT44(extraout_var,iVar3);\n  }" if (parenthesized_expression "(pOVar4 != (Output_section *)0x0)" ( (binary_expression "pOVar4 != (Output_section *)0x0" identifier != (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);\n    return CONCAT44(extraout_var,iVar3);\n  }" { (expression_statement "iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4);" (assignment_expression "iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4)" identifier = (call_expression "(*(this->super_Expression)._vptr_Expression[5])(this,eei,pOVar4)" (parenthesized_expression "(*(this->super_Expression)._vptr_Expression[5])" ( (pointer_expression "*(this->super_Expression)._vptr_Expression[5]" * (subscript_expression "(this->super_Expression)._vptr_Expression[5]" (field_expression "(this->super_Expression)._vptr_Expression" (parenthesized_expression "(this->super_Expression)" ( (field_expression "this->super_Expression" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(this,eei,pOVar4)" ( identifier , identifier , identifier )))) ;) (return_statement "return CONCAT44(extraout_var,iVar3);" return (call_expression "CONCAT44(extraout_var,iVar3)" identifier (argument_list "(extraout_var,iVar3)" ( identifier , identifier ))) ;) })) (expression_statement "pSVar1 = eei->layout->script_options_;" (assignment_expression "pSVar1 = eei->layout->script_options_" identifier = (field_expression "eei->layout->script_options_" (field_expression "eei->layout" identifier -> field_identifier) -> field_identifier)) ;) (if_statement "if (((pSVar1->script_sections_).saw_sections_clause_ != false) &&\n     (bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2)) {\n    iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size);\n    return CONCAT44(extraout_var_01,iVar3);\n  }" if (parenthesized_expression "(((pSVar1->script_sections_).saw_sections_clause_ != false) &&\n     (bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2))" ( (binary_expression "((pSVar1->script_sections_).saw_sections_clause_ != false) &&\n     (bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2)" (parenthesized_expression "((pSVar1->script_sections_).saw_sections_clause_ != false)" ( (binary_expression "(pSVar1->script_sections_).saw_sections_clause_ != false" (field_expression "(pSVar1->script_sections_).saw_sections_clause_" (parenthesized_expression "(pSVar1->script_sections_)" ( (field_expression "pSVar1->script_sections_" identifier -> field_identifier) )) . field_identifier) != false) )) && (parenthesized_expression "(bVar2 = Script_sections::get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2)" ( (ERROR "bVar2 = Script_sections::" (assignment_expression "bVar2 = Script_sections" identifier = identifier) : :) (comma_expression "get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),\n     bVar2" (call_expression "get_output_section_info\n                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size)" identifier (argument_list "(&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size)" ( (pointer_expression "&pSVar1->script_sections_" & (field_expression "pSVar1->script_sections_" identifier -> field_identifier)) , identifier , (pointer_expression "&address" & identifier) , (pointer_expression "&load_address" & identifier) , (pointer_expression "&addralign" & identifier) , (pointer_expression "&size" & identifier) ))) , identifier) ))) )) (compound_statement "{\n    iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size);\n    return CONCAT44(extraout_var_01,iVar3);\n  }" { (expression_statement "iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size);" (assignment_expression "iVar3 = (*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size)" identifier = (call_expression "(*(this->super_Expression)._vptr_Expression[6])\n                      (this,address,load_address,addralign,size)" (parenthesized_expression "(*(this->super_Expression)._vptr_Expression[6])" ( (pointer_expression "*(this->super_Expression)._vptr_Expression[6]" * (subscript_expression "(this->super_Expression)._vptr_Expression[6]" (field_expression "(this->super_Expression)._vptr_Expression" (parenthesized_expression "(this->super_Expression)" ( (field_expression "this->super_Expression" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(this,address,load_address,addralign,size)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return CONCAT44(extraout_var_01,iVar3);" return (call_expression "CONCAT44(extraout_var_01,iVar3)" identifier (argument_list "(extraout_var_01,iVar3)" ( identifier , identifier ))) ;) })) (expression_statement "iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this);" (assignment_expression "iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this)" identifier = (call_expression "(*(this->super_Expression)._vptr_Expression[7])(this)" (parenthesized_expression "(*(this->super_Expression)._vptr_Expression[7])" ( (pointer_expression "*(this->super_Expression)._vptr_Expression[7]" * (subscript_expression "(this->super_Expression)._vptr_Expression[7]" (field_expression "(this->super_Expression)._vptr_Expression" (parenthesized_expression "(this->super_Expression)" ( (field_expression "this->super_Expression" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(this)" ( identifier )))) ;) (expression_statement "gold_error("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name);" (call_expression "gold_error("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name)" identifier (argument_list "("%s called on nonexistent output section \'%s\'",CONCAT44(extraout_var_00,iVar3),name)" ( (string_literal ""%s called on nonexistent output section \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , (call_expression "CONCAT44(extraout_var_00,iVar3)" identifier (argument_list "(extraout_var_00,iVar3)" ( identifier , identifier ))) , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined8 FUN_00316690(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}\n\n" (function_definition "undefined8 FUN_00316690(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}" type_identifier (function_declarator "FUN_00316690(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) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "undefined8 local_38;" type_identifier identifier ;) (declaration "undefined8 local_30;" type_identifier identifier ;) (declaration "undefined8 local_28;" type_identifier identifier ;) (declaration "undefined8 local_20;" type_identifier identifier ;) (expression_statement "lVar1 = param_1[1];" (assignment_expression "lVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);" (assignment_expression "lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1)" identifier = (call_expression "FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1)" identifier (argument_list "(*(undefined8 *)(param_2 + 8),lVar1)" ( (pointer_expression "*(undefined8 *)(param_2 + 8)" * (cast_expression "(undefined8 *)(param_2 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) , identifier )))) ;) (if_statement "if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }" { (expression_statement "uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3)" identifier = (call_expression "(**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3)" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" ( (pointer_expression "**(code **)(*param_1 + 0x28)" * (pointer_expression "*(code **)(*param_1 + 0x28)" * (cast_expression "(code **)(*param_1 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2,lVar3)" ( identifier , identifier , identifier )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_2 + 8) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_2 + 8) + 8)" * (cast_expression "(long *)(*(long *)(param_2 + 8) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 8) + 8)" ( (binary_expression "*(long *)(param_2 + 8) + 8" (pointer_expression "*(long *)(param_2 + 8)" * (cast_expression "(long *)(param_2 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }" if (parenthesized_expression "((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0'))" ( (binary_expression "(*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')" (parenthesized_expression "(*(char *)(lVar3 + 0x148) != '\0')" ( (binary_expression "*(char *)(lVar3 + 0x148) != '\0'" (pointer_expression "*(char *)(lVar3 + 0x148)" * (cast_expression "(char *)(lVar3 + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x148)" ( (binary_expression "lVar3 + 0x148" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')" ( (comma_expression "cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0'" (assignment_expression "cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" identifier = (call_expression "FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" identifier (argument_list "(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" ( (binary_expression "lVar3 + 0x148" identifier + number_literal) , identifier , (pointer_expression "&local_38" & identifier) , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_28" & identifier) , (pointer_expression "&local_20" & identifier) )))) , (binary_expression "cVar2 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }" { (expression_statement "uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20)" identifier = (call_expression "(**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20)" (parenthesized_expression "(**(code **)(*param_1 + 0x30))" ( (pointer_expression "**(code **)(*param_1 + 0x30)" * (pointer_expression "*(code **)(*param_1 + 0x30)" * (cast_expression "(code **)(*param_1 + 0x30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x30)" ( (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,local_38,local_30,local_28,local_20)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (return_statement "return uVar4;" return identifier ;) })) (expression_statement "uVar4 = (**(code **)(*param_1 + 0x38))(param_1);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x38))(param_1)" identifier = (call_expression "(**(code **)(*param_1 + 0x38))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" ( (pointer_expression "**(code **)(*param_1 + 0x38)" * (pointer_expression "*(code **)(*param_1 + 0x38)" * (cast_expression "(code **)(*param_1 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x38)" ( (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);" (call_expression "FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1)" identifier (argument_list "("%s called on nonexistent output section \'%s\'",uVar4,lVar1)" ( (string_literal ""%s called on nonexistent output section \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier , identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (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 (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) , (binary_expression IDENT != (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT , IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined8 FUN_00316690(long *param_1,long param_2)\n\n{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}" (type_identifier "undefined8") (function_declarator "FUN_00316690(long *param_1,long param_2)" (identifier "FUN_00316690") (parameter_list "(long *param_1,long param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  long lVar1;\n  char cVar2;\n  long lVar3;\n  undefined8 uVar4;\n  undefined8 local_38;\n  undefined8 local_30;\n  undefined8 local_28;\n  undefined8 local_20;\n  \n  lVar1 = param_1[1];\n  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);\n  if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }\n  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);\n  if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }\n  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);\n  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);\n  return 0;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "undefined8 local_38;" (type_identifier "undefined8") (identifier "local_38") (; ";")) (declaration "undefined8 local_30;" (type_identifier "undefined8") (identifier "local_30") (; ";")) (declaration "undefined8 local_28;" (type_identifier "undefined8") (identifier "local_28") (; ";")) (declaration "undefined8 local_20;" (type_identifier "undefined8") (identifier "local_20") (; ";")) (expression_statement "lVar1 = param_1[1];" (assignment_expression "lVar1 = param_1[1]" (identifier "lVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);" (assignment_expression "lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1)" (identifier "lVar3") (= "=") (call_expression "FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1)" (identifier "FUN_00212290") (argument_list "(*(undefined8 *)(param_2 + 8),lVar1)" (( "(") (pointer_expression "*(undefined8 *)(param_2 + 8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (, ",") (identifier "lVar1") () ")")))) (; ";")) (if_statement "if (lVar3 != 0) {\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);\n    return uVar4;\n  }" ({ "{") (expression_statement "uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3)" (parenthesized_expression "(**(code **)(*param_1 + 0x28))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x28)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x28)" (* "*") (cast_expression "(code **)(*param_1 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x28)" (( "(") (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (argument_list "(param_1,param_2,lVar3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "lVar3") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_2 + 8) + 8)" (identifier "lVar3") (= "=") (pointer_expression "*(long *)(*(long *)(param_2 + 8) + 8)" (* "*") (cast_expression "(long *)(*(long *)(param_2 + 8) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 8) + 8)" (( "(") (binary_expression "*(long *)(param_2 + 8) + 8" (pointer_expression "*(long *)(param_2 + 8)" (* "*") (cast_expression "(long *)(param_2 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if ((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')) {\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }" (if "if") (parenthesized_expression "((*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0'))" (( "(") (binary_expression "(*(char *)(lVar3 + 0x148) != '\0') &&\n     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')" (parenthesized_expression "(*(char *)(lVar3 + 0x148) != '\0')" (( "(") (binary_expression "*(char *)(lVar3 + 0x148) != '\0'" (pointer_expression "*(char *)(lVar3 + 0x148)" (* "*") (cast_expression "(char *)(lVar3 + 0x148)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x148)" (( "(") (binary_expression "lVar3 + 0x148" (identifier "lVar3") (+ "+") (number_literal "0x148")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0')" (( "(") (comma_expression "cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),\n     cVar2 != '\0'" (assignment_expression "cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" (identifier "cVar2") (= "=") (call_expression "FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" (identifier "FUN_002c5990") (argument_list "(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20)" (( "(") (binary_expression "lVar3 + 0x148" (identifier "lVar3") (+ "+") (number_literal "0x148")) (, ",") (identifier "lVar1") (, ",") (pointer_expression "&local_38" (& "&") (identifier "local_38")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) () ")")))) (, ",") (binary_expression "cVar2 != '\0'" (identifier "cVar2") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);\n    return uVar4;\n  }" ({ "{") (expression_statement "uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20)" (parenthesized_expression "(**(code **)(*param_1 + 0x30))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x30)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x30)" (* "*") (cast_expression "(code **)(*param_1 + 0x30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x30)" (( "(") (binary_expression "*param_1 + 0x30" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (argument_list "(param_1,local_38,local_30,local_28,local_20)" (( "(") (identifier "param_1") (, ",") (identifier "local_38") (, ",") (identifier "local_30") (, ",") (identifier "local_28") (, ",") (identifier "local_20") () ")")))) (; ";")) (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "uVar4 = (**(code **)(*param_1 + 0x38))(param_1);" (assignment_expression "uVar4 = (**(code **)(*param_1 + 0x38))(param_1)" (identifier "uVar4") (= "=") (call_expression "(**(code **)(*param_1 + 0x38))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 0x38))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x38)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x38)" (* "*") (cast_expression "(code **)(*param_1 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x38)" (( "(") (binary_expression "*param_1 + 0x38" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);" (call_expression "FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1)" (identifier "FUN_001e14f0") (argument_list "("%s called on nonexistent output section \'%s\'",uVar4,lVar1)" (( "(") (string_literal ""%s called on nonexistent output section \'%s\'"" (" """) (string_content "%s called on nonexistent output section ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (" """)) (, ",") (identifier "uVar4") (, ",") (identifier "lVar1") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Section_expression * this, Expression_eval_info * eei)
    */

uint64_t __thiscall
gold::type_1::function_1(type_1 *this,type_2 *eei)

{
  char *name;
  type_3 *pSVar1;
  bool bVar2;
  int iVar3;
  type_4 *var_2;
  type_5 extraout_var;
  type_5 extraout_var_00;
  type_5 extraout_var_01;
  uint64_t address;
  uint64_t load_address;
  uint64_t addralign;
  uint64_t size;
  
  name = (this->section_name_)._M_dataplus._M_p;
  var_2 = Layout::var_1(eei->layout,name);
  if (var_2 != (type_4 *)0x0) {
    iVar3 = (*(this->super_Expression)._vptr_Expression[5])(this,eei,var_2);
    return var_3(extraout_var,iVar3);
  }
  pSVar1 = eei->layout->script_options_;
  if (((pSVar1->script_sections_).saw_sections_clause_ != false) &&
     (bVar2 = Script_sections::var_4
                        (&pSVar1->script_sections_,name,&address,&load_address,&addralign,&size),
     bVar2)) {
    iVar3 = (*(this->super_Expression)._vptr_Expression[6])
                      (this,address,load_address,addralign,size);
    return var_3(extraout_var_01,iVar3);
  }
  iVar3 = (*(this->super_Expression)._vptr_Expression[7])(this);
  var_5("%s called on nonexistent output section \'%s\'",var_3(extraout_var_00,iVar3),name);
  return 0;
}


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

undefined8 MASKED(long *param_1,long param_2)

{
  long lVar1;
  char cVar2;
  long lVar3;
  undefined8 uVar4;
  undefined8 local_38;
  undefined8 local_30;
  undefined8 local_28;
  undefined8 local_20;
  
  lVar1 = param_1[1];
  lVar3 = FUN_00212290(*(undefined8 *)(param_2 + 8),lVar1);
  if (lVar3 != 0) {
    uVar4 = (**(code **)(*param_1 + 0x28))(param_1,param_2,lVar3);
    return uVar4;
  }
  lVar3 = *(long *)(*(long *)(param_2 + 8) + 8);
  if ((*(char *)(lVar3 + 0x148) != '\0') &&
     (cVar2 = FUN_002c5990(lVar3 + 0x148,lVar1,&local_38,&local_30,&local_28,&local_20),
     cVar2 != '\0')) {
    uVar4 = (**(code **)(*param_1 + 0x30))(param_1,local_38,local_30,local_28,local_20);
    return uVar4;
  }
  uVar4 = (**(code **)(*param_1 + 0x38))(param_1);
  FUN_001e14f0("%s called on nonexistent output section \'%s\'",uVar4,lVar1);
  return 0;
}

