
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Elf_Addr entry<64>(Output_file_header * this) */

Elf_Addr __thiscall gold::Output_file_header::entry<64>(Output_file_header *this)

{
  General_options *pGVar1;
  char *name;
  Symbol *pSVar2;
  char *pcVar3;
  byte bVar4;
  bool bVar5;
  char *endptr;
  
  pGVar1 = parameters->options_;
  if (pGVar1 == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
  }
  bVar4 = 0;
  if (((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false))
  {
    bVar4 = (pGVar1->shared_).value ^ 1;
  }
  name = Parameters::entry(parameters);
  pSVar2 = Symbol_table::lookup(this->symtab_,name,(char *)0x0);
  if (pSVar2 == (Symbol *)0x0) {
    pcVar3 = (char *)strtoull(name,&endptr,0);
    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {
      gold_warning("cannot find entry symbol \'%s\'",name);
    }
  }
  else {
    if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x69,"target");
    }
    if (parameters->target_->pti_->size != 0x40) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");
    }
    if ((pSVar2->field_0x3a & 7) == 0) {
      if ((pSVar2->field_0x3b & 0x20) == 0) {
        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);
      }
      else {
        bVar5 = (pSVar2->u2_).shndx == 0;
      }
    }
    else {
      bVar5 = (pSVar2->field_0x3a & 7) == 4;
    }
    if ((bVar4 != 0) && (bVar5 != false)) {
      gold_warning("entry symbol \'%s\' exists but is not defined",name);
    }
    pcVar3 = pSVar2[1].name_;
  }
  return (Elf_Addr)pcVar3;
}



ulonglong FUN_003e0520(long param_1)

{
  char *__nptr;
  long lVar1;
  ulonglong uVar2;
  byte bVar3;
  char cVar4;
  char *local_20;
  
  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);
  if (lVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00352af0("../../gold/parameters.h",0x5c,"options");
  }
  bVar3 = 0;
  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {
    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;
  }
  __nptr = (char *)FUN_00406450();
  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);
  if (lVar1 == 0) {
    uVar2 = strtoull(__nptr,&local_20,0);
    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {
      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);
    }
  }
  else {
    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00352af0("../../gold/parameters.h",0x69,"target");
    }
    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {
                    /* WARNING: Subroutine does not return */
      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");
    }
    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {
      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {
        cVar4 = FUN_00443190();
      }
      else {
        cVar4 = *(int *)(lVar1 + 0x18) == 0;
      }
    }
    else {
      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;
    }
    if ((bVar3 != 0) && (cVar4 != '\0')) {
      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);
    }
    uVar2 = *(ulonglong *)(lVar1 + 0x40);
  }
  return uVar2;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
SUB RSP,0x10
MOV RDI,qword ptr [0x0067cb08]
MOV RAX,qword ptr [RDI + 0x10]
TEST RAX,RAX
JZ 0x003e0646
XOR EBP,EBP
CMP qword ptr [RAX + 0x1b10],0x0
JZ 0x003e0554
CMP byte ptr [RAX + 0x5051],0x0
JZ 0x003e05c8
CALL 0x00406450
MOV RDI,qword ptr [RBX + 0x30]
XOR EDX,EDX
MOV RSI,RAX
MOV R12,RAX
CALL 0x00445450
MOV RBX,RAX
TEST RAX,RAX
JZ 0x003e05e0
MOV RAX,qword ptr [0x0067cb08]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x003e065e
MOV RAX,qword ptr [RAX + 0x8]
CMP dword ptr [RAX],0x40
JNZ 0x003e0676
MOVZX EAX,byte ptr [RBX + 0x3a]
AND EAX,0x7
JNZ 0x003e05d8
MOV EDI,dword ptr [RBX + 0x18]
TEST byte ptr [RBX + 0x3b],0x20
JZ 0x003e0620
TEST EDI,EDI
SETZ AL
TEST BPL,BPL
JZ 0x003e05b3
TEST AL,AL
JNZ 0x003e0630
MOV RBX,qword ptr [RBX + 0x40]
ADD RSP,0x10
MOV RAX,RBX
POP RBX
POP RBP
POP R12
RET
MOVZX EBP,byte ptr [RAX + 0x2a61]
XOR EBP,0x1
JMP 0x003e0554
CMP AL,0x4
SETZ AL
JMP 0x003e05aa
XOR EDX,EDX
LEA RSI,[RSP + 0x8]
MOV RDI,R12
CALL 0x00177900
MOV RBX,RAX
MOV RAX,qword ptr [RSP + 0x8]
CMP byte ptr [RAX],0x0
JZ 0x003e05b7
XOR EBX,EBX
TEST BPL,BPL
JZ 0x003e05b7
MOV RSI,R12
LEA RDI,[0x57994c]
XOR EAX,EAX
CALL 0x0034a800
JMP 0x003e05b7
CALL 0x00443190
JMP 0x003e05aa
MOV RSI,R12
LEA RDI,[0x579920]
XOR EAX,EAX
CALL 0x0034a800
JMP 0x003e05b3
LEA RDX,[0x57bad0]
MOV ESI,0x5c
LEA RDI,[0x52e279]
CALL 0x00352af0
LEA RDX,[0x57bafb]
MOV ESI,0x69
LEA RDI,[0x52e279]
CALL 0x00352af0
LEA RDX,[0x57b870]
MOV ESI,0x7f4
LEA RDI,[0x533407]
CALL 0x00352af0
(translation_unit "ulonglong FUN_003e0520(long param_1)\n\n{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}\n\n" (function_definition "ulonglong FUN_003e0520(long param_1)\n\n{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_003e0520(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);" (assignment_expression "lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10)" identifier = (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x10)" * (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0067cb08 + 0x10)" ( (binary_expression "PTR_DAT_0067cb08 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "FUN_00352af0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_00352af0("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (if_statement "if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }" if (parenthesized_expression "((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0'))" ( (binary_expression "(*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')" (parenthesized_expression "(*(long *)(lVar1 + 0x1b10) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x1b10) != 0" (pointer_expression "*(long *)(lVar1 + 0x1b10)" * (cast_expression "(long *)(lVar1 + 0x1b10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x1b10)" ( (binary_expression "lVar1 + 0x1b10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')" ( (comma_expression "bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0'" (assignment_expression "bVar3 = 0" identifier = number_literal) , (binary_expression "*(char *)(lVar1 + 0x5051) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x5051)" * (cast_expression "(char *)(lVar1 + 0x5051)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x5051)" ( (binary_expression "lVar1 + 0x5051" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }" { (expression_statement "bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;" (assignment_expression "bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1" identifier = (binary_expression "*(byte *)(lVar1 + 0x2a61) ^ 1" (pointer_expression "*(byte *)(lVar1 + 0x2a61)" * (cast_expression "(byte *)(lVar1 + 0x2a61)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x2a61)" ( (binary_expression "lVar1 + 0x2a61" identifier + number_literal) )))) ^ number_literal)) ;) })) (expression_statement "__nptr = (char *)FUN_00406450();" (assignment_expression "__nptr = (char *)FUN_00406450()" identifier = (cast_expression "(char *)FUN_00406450()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00406450()" identifier (argument_list "()" ( ))))) ;) (expression_statement "lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);" (assignment_expression "lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0)" identifier = (call_expression "FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30),__nptr,0)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }" { (expression_statement "uVar2 = strtoull(__nptr,&local_20,0);" (assignment_expression "uVar2 = strtoull(__nptr,&local_20,0)" identifier = (call_expression "strtoull(__nptr,&local_20,0)" identifier (argument_list "(__nptr,&local_20,0)" ( identifier , (pointer_expression "&local_20" & identifier) , number_literal )))) ;) (if_statement "if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }" if (parenthesized_expression "((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0))" ( (binary_expression "(*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)" (parenthesized_expression "(*local_20 != '\0')" ( (binary_expression "*local_20 != '\0'" (pointer_expression "*local_20" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar2 = 0, bVar3 != 0)" ( (comma_expression "uVar2 = 0, bVar3 != 0" (assignment_expression "uVar2 = 0" identifier = number_literal) , (binary_expression "bVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }" { (expression_statement "FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);" (call_expression "FUN_0034a800("cannot find entry symbol \'%s\'",__nptr)" identifier (argument_list "("cannot find entry symbol \'%s\'",__nptr)" ( (string_literal ""cannot find entry symbol \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) })) }) (else_clause "else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" else (compound_statement "{\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" { (if_statement "if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_0067cb08 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_0067cb08 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0067cb08 + 0x18)" ( (binary_expression "PTR_DAT_0067cb08 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }" { comment (expression_statement "FUN_00352af0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_00352af0("../../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 ") ))) ;) })) (if_statement "if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" if (parenthesized_expression "(**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40)" ( (binary_expression "**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40" (pointer_expression "**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_0067cb08 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0067cb08 + 0x18)" ( (binary_expression "PTR_DAT_0067cb08 + 0x18" identifier + number_literal) )))) + number_literal) ))))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" { comment (expression_statement "FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");" (call_expression "FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol")" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol")" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") ))) ;) })) (if_statement "if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" if (parenthesized_expression "((*(byte *)(lVar1 + 0x3a) & 7) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0x3a) & 7) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x3a) & 7)" ( (binary_expression "*(byte *)(lVar1 + 0x3a) & 7" (pointer_expression "*(byte *)(lVar1 + 0x3a)" * (cast_expression "(byte *)(lVar1 + 0x3a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x3a)" ( (binary_expression "lVar1 + 0x3a" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }" { (if_statement "if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" if (parenthesized_expression "((*(byte *)(lVar1 + 0x3b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0x3b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x3b) & 0x20)" ( (binary_expression "*(byte *)(lVar1 + 0x3b) & 0x20" (pointer_expression "*(byte *)(lVar1 + 0x3b)" * (cast_expression "(byte *)(lVar1 + 0x3b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x3b)" ( (binary_expression "lVar1 + 0x3b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        cVar4 = FUN_00443190();\n      }" { (expression_statement "cVar4 = FUN_00443190();" (assignment_expression "cVar4 = FUN_00443190()" identifier = (call_expression "FUN_00443190()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" else (compound_statement "{\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" { (expression_statement "cVar4 = *(int *)(lVar1 + 0x18) == 0;" (assignment_expression "cVar4 = *(int *)(lVar1 + 0x18) == 0" identifier = (binary_expression "*(int *)(lVar1 + 0x18) == 0" (pointer_expression "*(int *)(lVar1 + 0x18)" * (cast_expression "(int *)(lVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) == number_literal)) ;) }))) }) (else_clause "else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" else (compound_statement "{\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" { (expression_statement "cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;" (assignment_expression "cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4" identifier = (binary_expression "(*(byte *)(lVar1 + 0x3a) & 7) == 4" (parenthesized_expression "(*(byte *)(lVar1 + 0x3a) & 7)" ( (binary_expression "*(byte *)(lVar1 + 0x3a) & 7" (pointer_expression "*(byte *)(lVar1 + 0x3a)" * (cast_expression "(byte *)(lVar1 + 0x3a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x3a)" ( (binary_expression "lVar1 + 0x3a" identifier + number_literal) )))) & number_literal) )) == number_literal)) ;) }))) (if_statement "if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" if (parenthesized_expression "((bVar3 != 0) && (cVar4 != '\0'))" ( (binary_expression "(bVar3 != 0) && (cVar4 != '\0')" (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" { (expression_statement "FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);" (call_expression "FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr)" identifier (argument_list "("entry symbol \'%s\' exists but is not defined",__nptr)" ( (string_literal ""entry symbol \'%s\' exists but is not defined"" " string_content escape_sequence string_content escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "uVar2 = *(ulonglong *)(lVar1 + 0x40);" (assignment_expression "uVar2 = *(ulonglong *)(lVar1 + 0x40)" identifier = (pointer_expression "*(ulonglong *)(lVar1 + 0x40)" * (cast_expression "(ulonglong *)(lVar1 + 0x40)" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) ))))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Elf_Addr entry<64>(Output_file_header * this) */\n\nElf_Addr __thiscall gold::Output_file_header::entry<64>(Output_file_header *this)\n\n{\n  General_options *pGVar1;\n  char *name;\n  Symbol *pSVar2;\n  char *pcVar3;\n  byte bVar4;\n  bool bVar5;\n  char *endptr;\n  \n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar4 = 0;\n  if (((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false))\n  {\n    bVar4 = (pGVar1->shared_).value ^ 1;\n  }\n  name = Parameters::entry(parameters);\n  pSVar2 = Symbol_table::lookup(this->symtab_,name,(char *)0x0);\n  if (pSVar2 == (Symbol *)0x0) {\n    pcVar3 = (char *)strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }\n  }\n  else {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }\n    if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    pcVar3 = pSVar2[1].name_;\n  }\n  return (Elf_Addr)pcVar3;\n}\n\n" comment comment comment (function_definition "Elf_Addr __thiscall gold::Output_file_header::entry<64>(Output_file_header *this)\n\n{\n  General_options *pGVar1;\n  char *name;\n  Symbol *pSVar2;\n  char *pcVar3;\n  byte bVar4;\n  bool bVar5;\n  char *endptr;\n  \n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar4 = 0;\n  if (((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false))\n  {\n    bVar4 = (pGVar1->shared_).value ^ 1;\n  }\n  name = Parameters::entry(parameters);\n  pSVar2 = Symbol_table::lookup(this->symtab_,name,(char *)0x0);\n  if (pSVar2 == (Symbol *)0x0) {\n    pcVar3 = (char *)strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }\n  }\n  else {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }\n    if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    pcVar3 = pSVar2[1].name_;\n  }\n  return (Elf_Addr)pcVar3;\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_file_header::entry<64>(Output_file_header" identifier : : identifier : : identifier < number_literal > ( identifier) (pointer_declarator "*this" * identifier) (ERROR ")" )) (compound_statement "{\n  General_options *pGVar1;\n  char *name;\n  Symbol *pSVar2;\n  char *pcVar3;\n  byte bVar4;\n  bool bVar5;\n  char *endptr;\n  \n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar4 = 0;\n  if (((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false))\n  {\n    bVar4 = (pGVar1->shared_).value ^ 1;\n  }\n  name = Parameters::entry(parameters);\n  pSVar2 = Symbol_table::lookup(this->symtab_,name,(char *)0x0);\n  if (pSVar2 == (Symbol *)0x0) {\n    pcVar3 = (char *)strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }\n  }\n  else {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }\n    if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    pcVar3 = pSVar2[1].name_;\n  }\n  return (Elf_Addr)pcVar3;\n}" { (declaration "General_options *pGVar1;" type_identifier (pointer_declarator "*pGVar1" * identifier) ;) (declaration "char *name;" primitive_type (pointer_declarator "*name" * identifier) ;) (declaration "Symbol *pSVar2;" type_identifier (pointer_declarator "*pSVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "char *endptr;" primitive_type (pointer_declarator "*endptr" * identifier) ;) (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(pGVar1 == (General_options *)0x0)" ( (binary_expression "pGVar1 == (General_options *)0x0" identifier == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (if_statement "if (((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false))\n  {\n    bVar4 = (pGVar1->shared_).value ^ 1;\n  }" if (parenthesized_expression "(((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false))" ( (binary_expression "((pGVar1->entry_).value != (char *)0x0) && (bVar4 = 0, (pGVar1->relocatable_).value == false)" (parenthesized_expression "((pGVar1->entry_).value != (char *)0x0)" ( (binary_expression "(pGVar1->entry_).value != (char *)0x0" (field_expression "(pGVar1->entry_).value" (parenthesized_expression "(pGVar1->entry_)" ( (field_expression "pGVar1->entry_" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar4 = 0, (pGVar1->relocatable_).value == false)" ( (comma_expression "bVar4 = 0, (pGVar1->relocatable_).value == false" (assignment_expression "bVar4 = 0" identifier = number_literal) , (binary_expression "(pGVar1->relocatable_).value == false" (field_expression "(pGVar1->relocatable_).value" (parenthesized_expression "(pGVar1->relocatable_)" ( (field_expression "pGVar1->relocatable_" identifier -> field_identifier) )) . field_identifier) == false)) ))) )) (compound_statement "{\n    bVar4 = (pGVar1->shared_).value ^ 1;\n  }" { (expression_statement "bVar4 = (pGVar1->shared_).value ^ 1;" (assignment_expression "bVar4 = (pGVar1->shared_).value ^ 1" identifier = (binary_expression "(pGVar1->shared_).value ^ 1" (field_expression "(pGVar1->shared_).value" (parenthesized_expression "(pGVar1->shared_)" ( (field_expression "pGVar1->shared_" identifier -> field_identifier) )) . field_identifier) ^ number_literal)) ;) })) (ERROR "name = Parameters::" (assignment_expression "name = Parameters" identifier = identifier) : :) (expression_statement "entry(parameters);" (call_expression "entry(parameters)" identifier (argument_list "(parameters)" ( identifier ))) ;) (ERROR "pSVar2 = Symbol_table::" (assignment_expression "pSVar2 = Symbol_table" identifier = identifier) : :) (expression_statement "lookup(this->symtab_,name,(char *)0x0);" (call_expression "lookup(this->symtab_,name,(char *)0x0)" identifier (argument_list "(this->symtab_,name,(char *)0x0)" ( (field_expression "this->symtab_" identifier -> field_identifier) , identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (if_statement "if (pSVar2 == (Symbol *)0x0) {\n    pcVar3 = (char *)strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }\n  }\n  else {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }\n    if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    pcVar3 = pSVar2[1].name_;\n  }" if (parenthesized_expression "(pSVar2 == (Symbol *)0x0)" ( (binary_expression "pSVar2 == (Symbol *)0x0" identifier == (cast_expression "(Symbol *)0x0" ( (type_descriptor "Symbol *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = (char *)strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }\n  }" { (expression_statement "pcVar3 = (char *)strtoull(name,&endptr,0);" (assignment_expression "pcVar3 = (char *)strtoull(name,&endptr,0)" identifier = (cast_expression "(char *)strtoull(name,&endptr,0)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "strtoull(name,&endptr,0)" identifier (argument_list "(name,&endptr,0)" ( identifier , (pointer_expression "&endptr" & identifier) , number_literal ))))) ;) (if_statement "if ((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }" if (parenthesized_expression "((*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0))" ( (binary_expression "(*endptr != '\0') && (pcVar3 = (char *)0x0, bVar4 != 0)" (parenthesized_expression "(*endptr != '\0')" ( (binary_expression "*endptr != '\0'" (pointer_expression "*endptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(pcVar3 = (char *)0x0, bVar4 != 0)" ( (comma_expression "pcVar3 = (char *)0x0, bVar4 != 0" (assignment_expression "pcVar3 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) , (binary_expression "bVar4 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      gold_warning("cannot find entry symbol \'%s\'",name);\n    }" { (expression_statement "gold_warning("cannot find entry symbol \'%s\'",name);" (call_expression "gold_warning("cannot find entry symbol \'%s\'",name)" identifier (argument_list "("cannot find entry symbol \'%s\'",name)" ( (string_literal ""cannot find entry symbol \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) })) }) (else_clause "else {\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }\n    if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    pcVar3 = pSVar2[1].name_;\n  }" else (compound_statement "{\n    if (parameters->target_ == (Target *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x69,"target");\n    }\n    if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }\n    if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    pcVar3 = pSVar2[1].name_;\n  }" { (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 ") ))) ;) })) (if_statement "if (parameters->target_->pti_->size != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" if (parenthesized_expression "(parameters->target_->pti_->size != 0x40)" ( (binary_expression "parameters->target_->pti_->size != 0x40" (field_expression "parameters->target_->pti_->size" (field_expression "parameters->target_->pti_" (field_expression "parameters->target_" identifier -> field_identifier) -> field_identifier) -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" { comment (expression_statement "do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");" (call_expression "do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol")" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol")" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") ))) ;) })) (if_statement "if ((pSVar2->field_0x3a & 7) == 0) {\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }" if (parenthesized_expression "((pSVar2->field_0x3a & 7) == 0)" ( (binary_expression "(pSVar2->field_0x3a & 7) == 0" (parenthesized_expression "(pSVar2->field_0x3a & 7)" ( (binary_expression "pSVar2->field_0x3a & 7" (field_expression "pSVar2->field_0x3a" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }\n    }" { (if_statement "if ((pSVar2->field_0x3b & 0x20) == 0) {\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }" if (parenthesized_expression "((pSVar2->field_0x3b & 0x20) == 0)" ( (binary_expression "(pSVar2->field_0x3b & 0x20) == 0" (parenthesized_expression "(pSVar2->field_0x3b & 0x20)" ( (binary_expression "pSVar2->field_0x3b & 0x20" (field_expression "pSVar2->field_0x3b" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar5 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }" { (ERROR "bVar5 = Symbol::" (assignment_expression "bVar5 = Symbol" identifier = identifier) : :) (expression_statement "is_common_shndx((pSVar2->u2_).shndx);" (call_expression "is_common_shndx((pSVar2->u2_).shndx)" identifier (argument_list "((pSVar2->u2_).shndx)" ( (field_expression "(pSVar2->u2_).shndx" (parenthesized_expression "(pSVar2->u2_)" ( (field_expression "pSVar2->u2_" identifier -> field_identifier) )) . field_identifier) ))) ;) }) (else_clause "else {\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }" else (compound_statement "{\n        bVar5 = (pSVar2->u2_).shndx == 0;\n      }" { (expression_statement "bVar5 = (pSVar2->u2_).shndx == 0;" (assignment_expression "bVar5 = (pSVar2->u2_).shndx == 0" identifier = (binary_expression "(pSVar2->u2_).shndx == 0" (field_expression "(pSVar2->u2_).shndx" (parenthesized_expression "(pSVar2->u2_)" ( (field_expression "pSVar2->u2_" identifier -> field_identifier) )) . field_identifier) == number_literal)) ;) }))) }) (else_clause "else {\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }" else (compound_statement "{\n      bVar5 = (pSVar2->field_0x3a & 7) == 4;\n    }" { (expression_statement "bVar5 = (pSVar2->field_0x3a & 7) == 4;" (assignment_expression "bVar5 = (pSVar2->field_0x3a & 7) == 4" identifier = (binary_expression "(pSVar2->field_0x3a & 7) == 4" (parenthesized_expression "(pSVar2->field_0x3a & 7)" ( (binary_expression "pSVar2->field_0x3a & 7" (field_expression "pSVar2->field_0x3a" identifier -> field_identifier) & number_literal) )) == number_literal)) ;) }))) (if_statement "if ((bVar4 != 0) && (bVar5 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }" if (parenthesized_expression "((bVar4 != 0) && (bVar5 != false))" ( (binary_expression "(bVar4 != 0) && (bVar5 != false)" (parenthesized_expression "(bVar4 != 0)" ( (binary_expression "bVar4 != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar5 != false)" ( (binary_expression "bVar5 != false" identifier != false) ))) )) (compound_statement "{\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }" { (expression_statement "gold_warning("entry symbol \'%s\' exists but is not defined",name);" (call_expression "gold_warning("entry symbol \'%s\' exists but is not defined",name)" identifier (argument_list "("entry symbol \'%s\' exists but is not defined",name)" ( (string_literal ""entry symbol \'%s\' exists but is not defined"" " string_content escape_sequence string_content escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "pcVar3 = pSVar2[1].name_;" (assignment_expression "pcVar3 = pSVar2[1].name_" identifier = (field_expression "pSVar2[1].name_" (subscript_expression "pSVar2[1]" identifier [ number_literal ]) . field_identifier)) ;) }))) (return_statement "return (Elf_Addr)pcVar3;" return (cast_expression "(Elf_Addr)pcVar3" ( (type_descriptor "Elf_Addr" type_identifier) ) identifier) ;) })))
(translation_unit "ulonglong FUN_003e0520(long param_1)\n\n{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}\n\n" (function_definition "ulonglong FUN_003e0520(long param_1)\n\n{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_003e0520(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}" { (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "char *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);" (assignment_expression "lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10)" identifier = (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x10)" * (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0067cb08 + 0x10)" ( (binary_expression "PTR_DAT_0067cb08 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }" { (expression_statement "FUN_00352af0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_00352af0("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (if_statement "if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }" if (parenthesized_expression "((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0'))" ( (binary_expression "(*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')" (parenthesized_expression "(*(long *)(lVar1 + 0x1b10) != 0)" ( (binary_expression "*(long *)(lVar1 + 0x1b10) != 0" (pointer_expression "*(long *)(lVar1 + 0x1b10)" * (cast_expression "(long *)(lVar1 + 0x1b10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x1b10)" ( (binary_expression "lVar1 + 0x1b10" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')" ( (comma_expression "bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0'" (assignment_expression "bVar3 = 0" identifier = number_literal) , (binary_expression "*(char *)(lVar1 + 0x5051) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x5051)" * (cast_expression "(char *)(lVar1 + 0x5051)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x5051)" ( (binary_expression "lVar1 + 0x5051" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }" { (expression_statement "bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;" (assignment_expression "bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1" identifier = (binary_expression "*(byte *)(lVar1 + 0x2a61) ^ 1" (pointer_expression "*(byte *)(lVar1 + 0x2a61)" * (cast_expression "(byte *)(lVar1 + 0x2a61)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x2a61)" ( (binary_expression "lVar1 + 0x2a61" identifier + number_literal) )))) ^ number_literal)) ;) })) (expression_statement "__nptr = (char *)FUN_00406450();" (assignment_expression "__nptr = (char *)FUN_00406450()" identifier = (cast_expression "(char *)FUN_00406450()" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00406450()" identifier (argument_list "()" ( ))))) ;) (expression_statement "lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);" (assignment_expression "lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0)" identifier = (call_expression "FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0)" identifier (argument_list "(*(undefined8 *)(param_1 + 0x30),__nptr,0)" ( (pointer_expression "*(undefined8 *)(param_1 + 0x30)" * (cast_expression "(undefined8 *)(param_1 + 0x30)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) )))) , identifier , number_literal )))) ;) (if_statement "if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" if (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }" { (expression_statement "uVar2 = strtoull(__nptr,&local_20,0);" (assignment_expression "uVar2 = strtoull(__nptr,&local_20,0)" identifier = (call_expression "strtoull(__nptr,&local_20,0)" identifier (argument_list "(__nptr,&local_20,0)" ( identifier , (pointer_expression "&local_20" & identifier) , number_literal )))) ;) (if_statement "if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }" if (parenthesized_expression "((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0))" ( (binary_expression "(*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)" (parenthesized_expression "(*local_20 != '\0')" ( (binary_expression "*local_20 != '\0'" (pointer_expression "*local_20" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar2 = 0, bVar3 != 0)" ( (comma_expression "uVar2 = 0, bVar3 != 0" (assignment_expression "uVar2 = 0" identifier = number_literal) , (binary_expression "bVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }" { (expression_statement "FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);" (call_expression "FUN_0034a800("cannot find entry symbol \'%s\'",__nptr)" identifier (argument_list "("cannot find entry symbol \'%s\'",__nptr)" ( (string_literal ""cannot find entry symbol \'%s\'"" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) })) }) (else_clause "else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" else (compound_statement "{\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" { (if_statement "if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }" if (parenthesized_expression "(*(long *)(PTR_DAT_0067cb08 + 0x18) == 0)" ( (binary_expression "*(long *)(PTR_DAT_0067cb08 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0067cb08 + 0x18)" ( (binary_expression "PTR_DAT_0067cb08 + 0x18" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }" { (expression_statement "FUN_00352af0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_00352af0("../../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 ") ))) ;) })) (if_statement "if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" if (parenthesized_expression "(**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40)" ( (binary_expression "**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40" (pointer_expression "**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" * (pointer_expression "*(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" * (cast_expression "(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" ( (binary_expression "*(long *)(PTR_DAT_0067cb08 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x18)" * (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0067cb08 + 0x18)" ( (binary_expression "PTR_DAT_0067cb08 + 0x18" identifier + number_literal) )))) + number_literal) ))))) != number_literal) )) (compound_statement "{\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" { (expression_statement "FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");" (call_expression "FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol")" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol")" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") ))) ;) })) (if_statement "if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" if (parenthesized_expression "((*(byte *)(lVar1 + 0x3a) & 7) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0x3a) & 7) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x3a) & 7)" ( (binary_expression "*(byte *)(lVar1 + 0x3a) & 7" (pointer_expression "*(byte *)(lVar1 + 0x3a)" * (cast_expression "(byte *)(lVar1 + 0x3a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x3a)" ( (binary_expression "lVar1 + 0x3a" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }" { (if_statement "if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" if (parenthesized_expression "((*(byte *)(lVar1 + 0x3b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar1 + 0x3b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x3b) & 0x20)" ( (binary_expression "*(byte *)(lVar1 + 0x3b) & 0x20" (pointer_expression "*(byte *)(lVar1 + 0x3b)" * (cast_expression "(byte *)(lVar1 + 0x3b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x3b)" ( (binary_expression "lVar1 + 0x3b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        cVar4 = FUN_00443190();\n      }" { (expression_statement "cVar4 = FUN_00443190();" (assignment_expression "cVar4 = FUN_00443190()" identifier = (call_expression "FUN_00443190()" identifier (argument_list "()" ( )))) ;) }) (else_clause "else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" else (compound_statement "{\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" { (expression_statement "cVar4 = *(int *)(lVar1 + 0x18) == 0;" (assignment_expression "cVar4 = *(int *)(lVar1 + 0x18) == 0" identifier = (binary_expression "*(int *)(lVar1 + 0x18) == 0" (pointer_expression "*(int *)(lVar1 + 0x18)" * (cast_expression "(int *)(lVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x18)" ( (binary_expression "lVar1 + 0x18" identifier + number_literal) )))) == number_literal)) ;) }))) }) (else_clause "else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" else (compound_statement "{\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" { (expression_statement "cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;" (assignment_expression "cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4" identifier = (binary_expression "(*(byte *)(lVar1 + 0x3a) & 7) == 4" (parenthesized_expression "(*(byte *)(lVar1 + 0x3a) & 7)" ( (binary_expression "*(byte *)(lVar1 + 0x3a) & 7" (pointer_expression "*(byte *)(lVar1 + 0x3a)" * (cast_expression "(byte *)(lVar1 + 0x3a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x3a)" ( (binary_expression "lVar1 + 0x3a" identifier + number_literal) )))) & number_literal) )) == number_literal)) ;) }))) (if_statement "if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" if (parenthesized_expression "((bVar3 != 0) && (cVar4 != '\0'))" ( (binary_expression "(bVar3 != 0) && (cVar4 != '\0')" (parenthesized_expression "(bVar3 != 0)" ( (binary_expression "bVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" { (expression_statement "FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);" (call_expression "FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr)" identifier (argument_list "("entry symbol \'%s\' exists but is not defined",__nptr)" ( (string_literal ""entry symbol \'%s\' exists but is not defined"" " string_content escape_sequence string_content escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "uVar2 = *(ulonglong *)(lVar1 + 0x40);" (assignment_expression "uVar2 = *(ulonglong *)(lVar1 + 0x40)" identifier = (pointer_expression "*(ulonglong *)(lVar1 + 0x40)" * (cast_expression "(ulonglong *)(lVar1 + 0x40)" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x40)" ( (binary_expression "lVar1 + 0x40" identifier + number_literal) ))))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ^ LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (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 , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT ))) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (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) ))))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (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) )))) & LIT) )) == LIT) )) (compound_statement { (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) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT)) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "ulonglong FUN_003e0520(long param_1)\n\n{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}" (type_identifier "ulonglong") (function_declarator "FUN_003e0520(long param_1)" (identifier "FUN_003e0520") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")"))) (compound_statement "{\n  char *__nptr;\n  long lVar1;\n  ulonglong uVar2;\n  byte bVar3;\n  char cVar4;\n  char *local_20;\n  \n  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);\n  if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }\n  bVar3 = 0;\n  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }\n  __nptr = (char *)FUN_00406450();\n  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);\n  if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }\n  return uVar2;\n}" ({ "{") (declaration "char *__nptr;" (primitive_type "char") (pointer_declarator "*__nptr" (* "*") (identifier "__nptr")) (; ";")) (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "ulonglong uVar2;" (type_identifier "ulonglong") (identifier "uVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "char cVar4;" (primitive_type "char") (identifier "cVar4") (; ";")) (declaration "char *local_20;" (primitive_type "char") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (expression_statement "lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);" (assignment_expression "lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0067cb08 + 0x10)" (( "(") (binary_expression "PTR_DAT_0067cb08 + 0x10" (identifier "PTR_DAT_0067cb08") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (lVar1 == 0) {\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00352af0("../../gold/parameters.h",0x5c,"options");\n  }" ({ "{") (expression_statement "FUN_00352af0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_00352af0("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_00352af0") (argument_list "("../../gold/parameters.h",0x5c,"options")" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" (identifier "bVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }" (if "if") (parenthesized_expression "((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0'))" (( "(") (binary_expression "(*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')" (parenthesized_expression "(*(long *)(lVar1 + 0x1b10) != 0)" (( "(") (binary_expression "*(long *)(lVar1 + 0x1b10) != 0" (pointer_expression "*(long *)(lVar1 + 0x1b10)" (* "*") (cast_expression "(long *)(lVar1 + 0x1b10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x1b10)" (( "(") (binary_expression "lVar1 + 0x1b10" (identifier "lVar1") (+ "+") (number_literal "0x1b10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')" (( "(") (comma_expression "bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0'" (assignment_expression "bVar3 = 0" (identifier "bVar3") (= "=") (number_literal "0")) (, ",") (binary_expression "*(char *)(lVar1 + 0x5051) == '\0'" (pointer_expression "*(char *)(lVar1 + 0x5051)" (* "*") (cast_expression "(char *)(lVar1 + 0x5051)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x5051)" (( "(") (binary_expression "lVar1 + 0x5051" (identifier "lVar1") (+ "+") (number_literal "0x5051")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;\n  }" ({ "{") (expression_statement "bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;" (assignment_expression "bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1" (identifier "bVar3") (= "=") (binary_expression "*(byte *)(lVar1 + 0x2a61) ^ 1" (pointer_expression "*(byte *)(lVar1 + 0x2a61)" (* "*") (cast_expression "(byte *)(lVar1 + 0x2a61)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x2a61)" (( "(") (binary_expression "lVar1 + 0x2a61" (identifier "lVar1") (+ "+") (number_literal "0x2a61")) () ")")))) (^ "^") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "__nptr = (char *)FUN_00406450();" (assignment_expression "__nptr = (char *)FUN_00406450()" (identifier "__nptr") (= "=") (cast_expression "(char *)FUN_00406450()" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00406450()" (identifier "FUN_00406450") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);" (assignment_expression "lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0)" (identifier "lVar1") (= "=") (call_expression "FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0)" (identifier "FUN_00445450") (argument_list "(*(undefined8 *)(param_1 + 0x30),__nptr,0)" (( "(") (pointer_expression "*(undefined8 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")")))) (, ",") (identifier "__nptr") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (lVar1 == 0) {\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }\n  else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" (if "if") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = strtoull(__nptr,&local_20,0);\n    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }\n  }" ({ "{") (expression_statement "uVar2 = strtoull(__nptr,&local_20,0);" (assignment_expression "uVar2 = strtoull(__nptr,&local_20,0)" (identifier "uVar2") (= "=") (call_expression "strtoull(__nptr,&local_20,0)" (identifier "strtoull") (argument_list "(__nptr,&local_20,0)" (( "(") (identifier "__nptr") (, ",") (pointer_expression "&local_20" (& "&") (identifier "local_20")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }" (if "if") (parenthesized_expression "((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0))" (( "(") (binary_expression "(*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)" (parenthesized_expression "(*local_20 != '\0')" (( "(") (binary_expression "*local_20 != '\0'" (pointer_expression "*local_20" (* "*") (identifier "local_20")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = 0, bVar3 != 0)" (( "(") (comma_expression "uVar2 = 0, bVar3 != 0" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (, ",") (binary_expression "bVar3 != 0" (identifier "bVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);\n    }" ({ "{") (expression_statement "FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);" (call_expression "FUN_0034a800("cannot find entry symbol \'%s\'",__nptr)" (identifier "FUN_0034a800") (argument_list "("cannot find entry symbol \'%s\'",__nptr)" (( "(") (string_literal ""cannot find entry symbol \'%s\'"" (" """) (string_content "cannot find entry symbol ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (" """)) (, ",") (identifier "__nptr") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" (else "else") (compound_statement "{\n    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }\n    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }\n    if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar2 = *(ulonglong *)(lVar1 + 0x40);\n  }" ({ "{") (if_statement "if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_0067cb08 + 0x18) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_0067cb08 + 0x18) == 0" (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0067cb08 + 0x18)" (( "(") (binary_expression "PTR_DAT_0067cb08 + 0x18" (identifier "PTR_DAT_0067cb08") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00352af0("../../gold/parameters.h",0x69,"target");\n    }" ({ "{") (expression_statement "FUN_00352af0("../../gold/parameters.h",0x69,"target");" (call_expression "FUN_00352af0("../../gold/parameters.h",0x69,"target")" (identifier "FUN_00352af0") (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") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" (if "if") (parenthesized_expression "(**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40)" (( "(") (binary_expression "**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40" (pointer_expression "**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" (* "*") (pointer_expression "*(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" (* "*") (cast_expression "(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(PTR_DAT_0067cb08 + 0x18) + 8" (pointer_expression "*(long *)(PTR_DAT_0067cb08 + 0x18)" (* "*") (cast_expression "(long *)(PTR_DAT_0067cb08 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0067cb08 + 0x18)" (( "(") (binary_expression "PTR_DAT_0067cb08 + 0x18" (identifier "PTR_DAT_0067cb08") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n                    \n      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" ({ "{") (expression_statement "FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");" (call_expression "FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol")" (identifier "FUN_00352af0") (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol")" (( "(") (string_literal ""../../gold/symtab.h"" (" """) (string_content "../../gold/symtab.h") (" """)) (, ",") (number_literal "0x7f4") (, ",") (string_literal ""get_sized_symbol"" (" """) (string_content "get_sized_symbol") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }\n    else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" (if "if") (parenthesized_expression "((*(byte *)(lVar1 + 0x3a) & 7) == 0)" (( "(") (binary_expression "(*(byte *)(lVar1 + 0x3a) & 7) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x3a) & 7)" (( "(") (binary_expression "*(byte *)(lVar1 + 0x3a) & 7" (pointer_expression "*(byte *)(lVar1 + 0x3a)" (* "*") (cast_expression "(byte *)(lVar1 + 0x3a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x3a)" (( "(") (binary_expression "lVar1 + 0x3a" (identifier "lVar1") (+ "+") (number_literal "0x3a")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }\n    }" ({ "{") (if_statement "if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {\n        cVar4 = FUN_00443190();\n      }\n      else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" (if "if") (parenthesized_expression "((*(byte *)(lVar1 + 0x3b) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(lVar1 + 0x3b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar1 + 0x3b) & 0x20)" (( "(") (binary_expression "*(byte *)(lVar1 + 0x3b) & 0x20" (pointer_expression "*(byte *)(lVar1 + 0x3b)" (* "*") (cast_expression "(byte *)(lVar1 + 0x3b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x3b)" (( "(") (binary_expression "lVar1 + 0x3b" (identifier "lVar1") (+ "+") (number_literal "0x3b")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        cVar4 = FUN_00443190();\n      }" ({ "{") (expression_statement "cVar4 = FUN_00443190();" (assignment_expression "cVar4 = FUN_00443190()" (identifier "cVar4") (= "=") (call_expression "FUN_00443190()" (identifier "FUN_00443190") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")) (else_clause "else {\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" (else "else") (compound_statement "{\n        cVar4 = *(int *)(lVar1 + 0x18) == 0;\n      }" ({ "{") (expression_statement "cVar4 = *(int *)(lVar1 + 0x18) == 0;" (assignment_expression "cVar4 = *(int *)(lVar1 + 0x18) == 0" (identifier "cVar4") (= "=") (binary_expression "*(int *)(lVar1 + 0x18) == 0" (pointer_expression "*(int *)(lVar1 + 0x18)" (* "*") (cast_expression "(int *)(lVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x18)" (( "(") (binary_expression "lVar1 + 0x18" (identifier "lVar1") (+ "+") (number_literal "0x18")) () ")")))) (== "==") (number_literal "0"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" (else "else") (compound_statement "{\n      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;\n    }" ({ "{") (expression_statement "cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;" (assignment_expression "cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4" (identifier "cVar4") (= "=") (binary_expression "(*(byte *)(lVar1 + 0x3a) & 7) == 4" (parenthesized_expression "(*(byte *)(lVar1 + 0x3a) & 7)" (( "(") (binary_expression "*(byte *)(lVar1 + 0x3a) & 7" (pointer_expression "*(byte *)(lVar1 + 0x3a)" (* "*") (cast_expression "(byte *)(lVar1 + 0x3a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x3a)" (( "(") (binary_expression "lVar1 + 0x3a" (identifier "lVar1") (+ "+") (number_literal "0x3a")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "4"))) (; ";")) (} "}")))) (if_statement "if ((bVar3 != 0) && (cVar4 != '\0')) {\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" (if "if") (parenthesized_expression "((bVar3 != 0) && (cVar4 != '\0'))" (( "(") (binary_expression "(bVar3 != 0) && (cVar4 != '\0')" (parenthesized_expression "(bVar3 != 0)" (( "(") (binary_expression "bVar3 != 0" (identifier "bVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(cVar4 != '\0')" (( "(") (binary_expression "cVar4 != '\0'" (identifier "cVar4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" ({ "{") (expression_statement "FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);" (call_expression "FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr)" (identifier "FUN_0034a800") (argument_list "("entry symbol \'%s\' exists but is not defined",__nptr)" (( "(") (string_literal ""entry symbol \'%s\' exists but is not defined"" (" """) (string_content "entry symbol ") (escape_sequence "\'") (string_content "%s") (escape_sequence "\'") (string_content " exists but is not defined") (" """)) (, ",") (identifier "__nptr") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = *(ulonglong *)(lVar1 + 0x40);" (assignment_expression "uVar2 = *(ulonglong *)(lVar1 + 0x40)" (identifier "uVar2") (= "=") (pointer_expression "*(ulonglong *)(lVar1 + 0x40)" (* "*") (cast_expression "(ulonglong *)(lVar1 + 0x40)" (( "(") (type_descriptor "ulonglong *" (type_identifier "ulonglong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x40)" (( "(") (binary_expression "lVar1 + 0x40" (identifier "lVar1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Elf_Addr entry<64>(Output_file_header * this) */

type_1 __thiscall gold::Output_file_header::var_3<64>(Output_file_header *this)

{
  type_2 *var_1;
  char *name;
  type_3 *var_5;
  char *pcVar3;
  type_4 var_7;
  bool var_10;
  char *endptr;
  
  var_1 = parameters->options_;
  if (var_1 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_2("../../gold/parameters.h",0x5c,"options");
  }
  var_7 = 0;
  if (((var_1->entry_).value != (char *)0x0) && (var_7 = 0, (var_1->relocatable_).value == false))
  {
    var_7 = (var_1->shared_).value ^ 1;
  }
  name = Parameters::var_3(parameters);
  var_5 = Symbol_table::var_4(this->symtab_,name,(char *)0x0);
  if (var_5 == (type_3 *)0x0) {
    pcVar3 = (char *)var_6(name,&endptr,0);
    if ((*endptr != '\0') && (pcVar3 = (char *)0x0, var_7 != 0)) {
      var_8("cannot find entry symbol \'%s\'",name);
    }
  }
  else {
    if (parameters->target_ == (type_5 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/parameters.h",0x69,"target");
    }
    if (parameters->target_->pti_->size != 0x40) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/symtab.h",0x7f4,"get_sized_symbol");
    }
    if ((var_5->field_0x3a & 7) == 0) {
      if ((var_5->field_0x3b & 0x20) == 0) {
        var_10 = type_3::var_9((var_5->u2_).shndx);
      }
      else {
        var_10 = (var_5->u2_).shndx == 0;
      }
    }
    else {
      var_10 = (var_5->field_0x3a & 7) == 4;
    }
    if ((var_7 != 0) && (var_10 != false)) {
      var_8("entry symbol \'%s\' exists but is not defined",name);
    }
    pcVar3 = var_5[1].name_;
  }
  return (type_1)pcVar3;
}


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

ulonglong MASKED(long param_1)

{
  char *__nptr;
  long lVar1;
  ulonglong uVar2;
  byte bVar3;
  char cVar4;
  char *local_20;
  
  lVar1 = *(long *)(PTR_DAT_0067cb08 + 0x10);
  if (lVar1 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00352af0("../../gold/parameters.h",0x5c,"options");
  }
  bVar3 = 0;
  if ((*(long *)(lVar1 + 0x1b10) != 0) && (bVar3 = 0, *(char *)(lVar1 + 0x5051) == '\0')) {
    bVar3 = *(byte *)(lVar1 + 0x2a61) ^ 1;
  }
  __nptr = (char *)FUN_00406450();
  lVar1 = FUN_00445450(*(undefined8 *)(param_1 + 0x30),__nptr,0);
  if (lVar1 == 0) {
    uVar2 = strtoull(__nptr,&local_20,0);
    if ((*local_20 != '\0') && (uVar2 = 0, bVar3 != 0)) {
      FUN_0034a800("cannot find entry symbol \'%s\'",__nptr);
    }
  }
  else {
    if (*(long *)(PTR_DAT_0067cb08 + 0x18) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00352af0("../../gold/parameters.h",0x69,"target");
    }
    if (**(int **)(*(long *)(PTR_DAT_0067cb08 + 0x18) + 8) != 0x40) {
                    /* WARNING: Subroutine does not return */
      FUN_00352af0("../../gold/symtab.h",0x7f4,"get_sized_symbol");
    }
    if ((*(byte *)(lVar1 + 0x3a) & 7) == 0) {
      if ((*(byte *)(lVar1 + 0x3b) & 0x20) == 0) {
        cVar4 = FUN_00443190();
      }
      else {
        cVar4 = *(int *)(lVar1 + 0x18) == 0;
      }
    }
    else {
      cVar4 = (*(byte *)(lVar1 + 0x3a) & 7) == 4;
    }
    if ((bVar3 != 0) && (cVar4 != '\0')) {
      FUN_0034a800("entry symbol \'%s\' exists but is not defined",__nptr);
    }
    uVar2 = *(ulonglong *)(lVar1 + 0x40);
  }
  return uVar2;
}

