
/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "STB": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Symbol * define_as_constant(Symbol_table * this, char * name, char *
   version, Defined defined, uint64_t value, uint64_t symsize, STT type, STB binding, STV
   visibility, uchar nonvis, bool only_if_ref, bool force_override) */

Symbol * __thiscall
gold::Symbol_table::define_as_constant
          (Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,
          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,
          bool force_override)

{
  int iVar1;
  Sized_symbol<64> *pSVar2;
  Sized_symbol<32> *pSVar3;
  
  if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x69,"target");
  }
  iVar1 = **(int **)(parameters->target_ + 8);
  if (iVar1 != 0x20) {
    if (iVar1 == 0x40) {
      pSVar2 = do_define_as_constant<64>
                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,
                          only_if_ref,force_override);
      return &pSVar2->super_Symbol;
    }
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant");
  }
  pSVar3 = do_define_as_constant<32>
                     (this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,
                      visibility,nonvis,only_if_ref,force_override);
  return &pSVar3->super_Symbol;
}



void FUN_00221200(void)

{
  int iVar1;
  
  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");
  }
  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);
  if (iVar1 != 0x20) {
    if (iVar1 == 0x40) {
      FUN_0022a880();
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");
  }
  FUN_00227e20();
  return;
}


PUSH RBX
MOV RBX,qword ptr [0x003be6b0]
MOV EAX,dword ptr [RSP + 0x28]
MOV R10D,dword ptr [RSP + 0x30]
MOV RBX,qword ptr [RBX + 0x18]
MOV R11D,dword ptr [RSP + 0x38]
TEST RBX,RBX
JZ 0x0022126f
MOV RBX,qword ptr [RBX + 0x8]
MOV EBX,dword ptr [RBX]
CMP EBX,0x20
JZ 0x00221250
CMP EBX,0x40
JNZ 0x00221287
MOVZX R11D,R11B
MOVZX R10D,R10B
MOVZX EAX,AL
MOV dword ptr [RSP + 0x38],R11D
MOV dword ptr [RSP + 0x30],R10D
MOV dword ptr [RSP + 0x28],EAX
POP RBX
JMP 0x0022a880
MOVZX R11D,R11B
MOVZX R10D,R10B
MOVZX EAX,AL
MOV dword ptr [RSP + 0x38],R11D
MOV dword ptr [RSP + 0x30],R10D
MOV dword ptr [RSP + 0x28],EAX
POP RBX
JMP 0x00227e20
LEA RDX,[0x31f92b]
MOV ESI,0x69
LEA RDI,[0x30dc70]
CALL 0x0016cdf0
LEA RDX,[0x31f660]
MOV ESI,0x8bc
LEA RDI,[0x31ed51]
CALL 0x0016cdf0
(translation_unit "void FUN_00221200(void)\n\n{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}\n\n" (function_definition "void FUN_00221200(void)\n\n{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}" primitive_type (function_declarator "FUN_00221200(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" { comment (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" identifier = (pointer_expression "**(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" if (parenthesized_expression "(iVar1 != 0x20)" ( (binary_expression "iVar1 != 0x20" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    /* WARNING: Subroutine does not return */\n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" { (if_statement "if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0x40)" ( (binary_expression "iVar1 == 0x40" identifier == number_literal) )) (compound_statement "{\n      FUN_0022a880();\n      return;\n    }" { (expression_statement "FUN_0022a880();" (call_expression "FUN_0022a880()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");" (call_expression "FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant")" identifier (argument_list "("../../gold/symtab.cc",0x8bc,"define_as_constant")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""define_as_constant"" " string_content ") ))) ;) })) (expression_statement "FUN_00227e20();" (call_expression "FUN_00227e20()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "STT": Some values do not have unique names */\n/* WARNING: Enum "STB": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Symbol * define_as_constant(Symbol_table * this, char * name, char *\n   version, Defined defined, uint64_t value, uint64_t symsize, STT type, STB binding, STV\n   visibility, uchar nonvis, bool only_if_ref, bool force_override) */\n\nSymbol * __thiscall\ngold::Symbol_table::define_as_constant\n          (Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,\n          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,\n          bool force_override)\n\n{\n  int iVar1;\n  Sized_symbol<64> *pSVar2;\n  Sized_symbol<32> *pSVar3;\n  \n  if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(parameters->target_ + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);\n      return &pSVar2->super_Symbol;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  pSVar3 = do_define_as_constant<32>\n                     (this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override);\n  return &pSVar3->super_Symbol;\n}\n\n" comment comment comment comment (ERROR "Symbol * __thiscall\ngold::Symbol_table::define_as_constant\n          (Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,\n          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,\n          bool force_override)" (binary_expression "Symbol * __thiscall\ngold::Symbol_table::define_as_constant\n          (Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,\n          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,\n          bool force_override)" identifier * (call_expression "__thiscall\ngold::Symbol_table::define_as_constant\n          (Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,\n          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,\n          bool force_override)" identifier (ERROR "gold::Symbol_table::define_as_constant" identifier : : identifier : : identifier) (argument_list "(Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,\n          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,\n          bool force_override)" ( (binary_expression "Symbol_table *this" identifier * identifier) , (binary_expression "char *name" identifier * identifier) , (binary_expression "char *version" identifier * identifier) , identifier (ERROR "defined" identifier) , identifier (ERROR "value" identifier) , identifier (ERROR "symsize" identifier) , (ERROR "STT" identifier) identifier , (ERROR "STB" identifier) identifier , (ERROR "STV" identifier) identifier , (ERROR "uchar" identifier) identifier , (ERROR "bool" identifier) identifier , (ERROR "bool" identifier) identifier ))))) (compound_statement "{\n  int iVar1;\n  Sized_symbol<64> *pSVar2;\n  Sized_symbol<32> *pSVar3;\n  \n  if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(parameters->target_ + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);\n      return &pSVar2->super_Symbol;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  pSVar3 = do_define_as_constant<32>\n                     (this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override);\n  return &pSVar3->super_Symbol;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "Sized_symbol<64> *pSVar2;" (binary_expression "Sized_symbol<64> *pSVar2" (binary_expression "Sized_symbol<64" identifier < number_literal) > (pointer_expression "*pSVar2" * identifier)) ;) (expression_statement "Sized_symbol<32> *pSVar3;" (binary_expression "Sized_symbol<32> *pSVar3" (binary_expression "Sized_symbol<32" identifier < number_literal) > (pointer_expression "*pSVar3" * identifier)) ;) (if_statement "if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(parameters->target_ == (Target *)0x0)" ( (binary_expression "parameters->target_ == (Target *)0x0" (field_expression "parameters->target_" identifier -> field_identifier) == (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x69,"target");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar1 = **(int **)(parameters->target_ + 8);" (assignment_expression "iVar1 = **(int **)(parameters->target_ + 8)" identifier = (pointer_expression "**(int **)(parameters->target_ + 8)" * (pointer_expression "*(int **)(parameters->target_ + 8)" * (cast_expression "(int **)(parameters->target_ + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 8)" ( (binary_expression "parameters->target_ + 8" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) )))))) ;) (if_statement "if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);\n      return &pSVar2->super_Symbol;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" if (parenthesized_expression "(iVar1 != 0x20)" ( (binary_expression "iVar1 != 0x20" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 == 0x40) {\n      pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);\n      return &pSVar2->super_Symbol;\n    }\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" { (if_statement "if (iVar1 == 0x40) {\n      pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);\n      return &pSVar2->super_Symbol;\n    }" if (parenthesized_expression "(iVar1 == 0x40)" ( (binary_expression "iVar1 == 0x40" identifier == number_literal) )) (compound_statement "{\n      pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);\n      return &pSVar2->super_Symbol;\n    }" { (expression_statement "pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override);" (assignment_expression "pSVar2 = do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override)" identifier = (binary_expression "do_define_as_constant<64>\n                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override)" (binary_expression "do_define_as_constant<64" identifier < number_literal) > (parenthesized_expression "(this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override)" ( (comma_expression "this,name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "name,version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "version,defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "defined,value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "value,symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "symsize,type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "type,binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "binding,visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "visibility,nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "nonvis,\n                          only_if_ref,force_override" identifier , (comma_expression "only_if_ref,force_override" identifier , identifier))))))))))) )))) ;) (return_statement "return &pSVar2->super_Symbol;" return (pointer_expression "&pSVar2->super_Symbol" & (field_expression "pSVar2->super_Symbol" identifier -> field_identifier)) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant");" (call_expression "do_gold_unreachable("../../gold/symtab.cc",0x8bc,"define_as_constant")" identifier (argument_list "("../../gold/symtab.cc",0x8bc,"define_as_constant")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""define_as_constant"" " string_content ") ))) ;) })) (expression_statement "pSVar3 = do_define_as_constant<32>\n                     (this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override);" (assignment_expression "pSVar3 = do_define_as_constant<32>\n                     (this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override)" identifier = (binary_expression "do_define_as_constant<32>\n                     (this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override)" (binary_expression "do_define_as_constant<32" identifier < number_literal) > (parenthesized_expression "(this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override)" ( (comma_expression "this,name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "name,version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "version,defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "defined,(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "(Elf_Addr)value,(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override" (cast_expression "(Elf_Addr)value" ( (type_descriptor "Elf_Addr" type_identifier) ) identifier) , (comma_expression "(Elf_WXword)symsize,type,binding,\n                      visibility,nonvis,only_if_ref,force_override" (cast_expression "(Elf_WXword)symsize" ( (type_descriptor "Elf_WXword" type_identifier) ) identifier) , (comma_expression "type,binding,\n                      visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "binding,\n                      visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "visibility,nonvis,only_if_ref,force_override" identifier , (comma_expression "nonvis,only_if_ref,force_override" identifier , (comma_expression "only_if_ref,force_override" identifier , identifier))))))))))) )))) ;) (return_statement "return &pSVar3->super_Symbol;" return (pointer_expression "&pSVar3->super_Symbol" & (field_expression "pSVar3->super_Symbol" identifier -> field_identifier)) ;) }))
(translation_unit "void FUN_00221200(void)\n\n{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}\n\n" (function_definition "void FUN_00221200(void)\n\n{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}" primitive_type (function_declarator "FUN_00221200(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" if (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" { (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" identifier (argument_list "("../../gold/parameters.h",0x69,"target")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") ))) ;) })) (expression_statement "iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" identifier = (pointer_expression "**(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" * (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" ( (binary_expression "PTR_DAT_003be6b0 + 0x18" identifier + number_literal) )))) + number_literal) )))))) ;) (if_statement "if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" if (parenthesized_expression "(iVar1 != 0x20)" ( (binary_expression "iVar1 != 0x20" identifier != number_literal) )) (compound_statement "{\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" { (if_statement "if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }" if (parenthesized_expression "(iVar1 == 0x40)" ( (binary_expression "iVar1 == 0x40" identifier == number_literal) )) (compound_statement "{\n      FUN_0022a880();\n      return;\n    }" { (expression_statement "FUN_0022a880();" (call_expression "FUN_0022a880()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");" (call_expression "FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant")" identifier (argument_list "("../../gold/symtab.cc",0x8bc,"define_as_constant")" ( (string_literal ""../../gold/symtab.cc"" " string_content ") , number_literal , (string_literal ""define_as_constant"" " string_content ") ))) ;) })) (expression_statement "FUN_00227e20();" (call_expression "FUN_00227e20()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE 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 * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00221200(void)\n\n{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00221200(void)" (identifier "FUN_00221200") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }\n  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);\n  if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }\n  FUN_00227e20();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x18" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");\n  }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_0016cdf0("../../gold/parameters.h",0x69,"target")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/parameters.h",0x69,"target")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);" (assignment_expression "iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (* "*") (pointer_expression "*(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (* "*") (cast_expression "(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(PTR_DAT_003be6b0 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_003be6b0 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_003be6b0 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003be6b0 + 0x18)" (( "(") (binary_expression "PTR_DAT_003be6b0 + 0x18" (identifier "PTR_DAT_003be6b0") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")")))))) (; ";")) (if_statement "if (iVar1 != 0x20) {\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" (if "if") (parenthesized_expression "(iVar1 != 0x20)" (( "(") (binary_expression "iVar1 != 0x20" (identifier "iVar1") (!= "!=") (number_literal "0x20")) () ")")) (compound_statement "{\n    if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }\n                    \n    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");\n  }" ({ "{") (if_statement "if (iVar1 == 0x40) {\n      FUN_0022a880();\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 0x40)" (( "(") (binary_expression "iVar1 == 0x40" (identifier "iVar1") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n      FUN_0022a880();\n      return;\n    }" ({ "{") (expression_statement "FUN_0022a880();" (call_expression "FUN_0022a880()" (identifier "FUN_0022a880") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");" (call_expression "FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/symtab.cc",0x8bc,"define_as_constant")" (( "(") (string_literal ""../../gold/symtab.cc"" (" """) (string_content "../../gold/symtab.cc") (" """)) (, ",") (number_literal "0x8bc") (, ",") (string_literal ""define_as_constant"" (" """) (string_content "define_as_constant") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00227e20();" (call_expression "FUN_00227e20()" (identifier "FUN_00227e20") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "STB": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Symbol * define_as_constant(Symbol_table * this, char * name, char *
   version, Defined defined, uint64_t value, uint64_t symsize, STT type, STB binding, STV
   visibility, uchar nonvis, bool only_if_ref, bool force_override) */

Symbol * __thiscall
gold::Symbol_table::define_as_constant
          (Symbol_table *this,char *name,char *version,Defined defined,uint64_t value,
          uint64_t symsize,STT type,STB binding,STV visibility,uchar nonvis,bool only_if_ref,
          bool force_override)

{
  int var_3;
  var_1<64> *pSVar2;
  var_1<32> *pSVar3;
  
  if (parameters->target_ == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/parameters.h",0x69,"target");
  }
  var_3 = **(int **)(parameters->target_ + 8);
  if (var_3 != 0x20) {
    if (var_3 == 0x40) {
      pSVar2 = var_4<64>
                         (this,name,version,defined,value,symsize,type,binding,visibility,nonvis,
                          only_if_ref,force_override);
      return &pSVar2->super_Symbol;
    }
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/symtab.cc",0x8bc,"define_as_constant");
  }
  pSVar3 = var_4<32>
                     (this,name,version,defined,(type_2)value,(type_3)symsize,type,binding,
                      visibility,nonvis,only_if_ref,force_override);
  return &pSVar3->super_Symbol;
}


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

void MASKED(void)

{
  int iVar1;
  
  if (*(long *)(PTR_DAT_003be6b0 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/parameters.h",0x69,"target");
  }
  iVar1 = **(int **)(*(long *)(PTR_DAT_003be6b0 + 0x18) + 8);
  if (iVar1 != 0x20) {
    if (iVar1 == 0x40) {
      FUN_0022a880();
      return;
    }
                    /* WARNING: Subroutine does not return */
    FUN_0016cdf0("../../gold/symtab.cc",0x8bc,"define_as_constant");
  }
  FUN_00227e20();
  return;
}

