
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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;
  bool bVar3;
  Elf_Addr EVar4;
  byte local_34;
  char *endptr;
  undefined4 uStack_14;
  
  uStack_14 = 0x109969;
  pGVar1 = parameters->options_;
  if (pGVar1 == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
  }
  local_34 = 0;
  if (((pGVar1->entry_).value != (char *)0x0) && ((pGVar1->relocatable_).value == false)) {
    local_34 = (pGVar1->shared_).value ^ 1;
  }
  name = Parameters::entry(parameters);
  pSVar2 = Symbol_table::lookup(this->symtab_,name,(char *)0x0);
  if (pSVar2 == (Symbol *)0x0) {
    EVar4 = strtoull(name,&endptr,0);
    if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {
      gold_warning("cannot find entry symbol \'%s\'",name);
      EVar4 = 0;
    }
  }
  else {
    if (parameters->target_ == (Target *)0x0) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x69,"target");
    }
    if (**(int **)(parameters->target_ + 4) != 0x40) {
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");
    }
    if ((pSVar2->field_0x2a & 7) == 0) {
      if ((pSVar2->field_0x2b & 0x20) == 0) {
        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);
      }
      else {
        bVar3 = (pSVar2->u2_).shndx == 0;
      }
    }
    else {
      bVar3 = (pSVar2->field_0x2a & 7) == 4;
    }
    if ((local_34 != 0) && (bVar3 != false)) {
      gold_warning("entry symbol \'%s\' exists but is not defined",name);
    }
    EVar4._0_4_ = pSVar2[1].name_;
    EVar4._4_4_ = pSVar2[1].version_;
  }
  return EVar4;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

ulonglong FUN_00109960(int param_1)

{
  int *piVar1;
  char *__nptr;
  int iVar2;
  char cVar3;
  undefined8 uVar4;
  ulonglong uVar5;
  byte local_34;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x109969;
  iVar2 = *(int *)(DAT_0038f378 + 8);
  if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x5c,"options");
  }
  local_34 = 0;
  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {
    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;
  }
  __nptr = (char *)FUN_00139510(DAT_0038f378);
  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);
  iVar2 = (int)uVar4;
  if (iVar2 == 0) {
    uVar5 = strtoull(__nptr,local_20,0);
    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {
      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);
      uVar5 = 0;
    }
  }
  else {
    if (*(int *)(DAT_0038f378 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));
    }
    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    if (*piVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);
    }
    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {
      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {
        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));
      }
      else {
        cVar3 = *(int *)(iVar2 + 0xc) == 0;
      }
    }
    else {
      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;
    }
    if ((local_34 != 0) && (cVar3 != '\0')) {
      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);
    }
    uVar5 = *(ulonglong *)(iVar2 + 0x30);
  }
  return uVar5;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x285697
SUB ESP,0x2c
LEA ESI,[EBX + 0x378]
MOV ECX,dword ptr [ESI]
MOV EAX,dword ptr [ECX + 0x8]
TEST EAX,EAX
JZ 0x00109ac0
MOV EDI,dword ptr [EAX + 0x10c0]
MOV byte ptr [ESP + 0x8],0x0
TEST EDI,EDI
JZ 0x0010999d
CMP byte ptr [EAX + 0x318d],0x0
JZ 0x00109a18
SUB ESP,0xc
PUSH ECX
CALL 0x00139510
ADD ESP,0xc
PUSH 0x0
MOV EDI,EAX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x4c]
PUSH dword ptr [EAX + 0x24]
CALL 0x00179ab0
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00109a40
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x00109ad6
MOV EAX,dword ptr [EAX + 0x4]
CMP dword ptr [EAX],0x40
JNZ 0x00109aec
MOVZX EAX,byte ptr [EBP + 0x2a]
AND EAX,0x7
JNZ 0x00109a30
MOV EAX,dword ptr [EBP + 0xc]
TEST byte ptr [EBP + 0x2b],0x20
JZ 0x00109a90
TEST EAX,EAX
SETZ AL
CMP byte ptr [ESP + 0x8],0x0
JZ 0x00109a06
TEST AL,AL
JNZ 0x00109aa8
MOV EAX,dword ptr [EBP + 0x30]
MOV EDX,dword ptr [EBP + 0x34]
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EAX,byte ptr [EAX + 0x1a25]
XOR EAX,0x1
MOV byte ptr [ESP + 0x8],AL
JMP 0x0010999d
CMP AL,0x4
SETZ AL
JMP 0x001099f7
SUB ESP,0x4
PUSH 0x0
LEA EAX,[ESP + 0x24]
PUSH EAX
PUSH EDI
CALL 0x00029420
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x1c]
CMP byte ptr [ECX],0x0
JZ 0x00109a0c
XOR EAX,EAX
XOR EDX,EDX
CMP byte ptr [ESP + 0x8],0x0
JZ 0x00109a0c
MOV dword ptr [ESP + 0x8],EAX
LEA ECX,[EBX + 0xfff037a0]
SUB ESP,0x8
MOV dword ptr [ESP + 0x14],EDX
PUSH EDI
PUSH ECX
CALL 0x000654e0
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x8]
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x00109a0c
SUB ESP,0xc
PUSH EAX
CALL 0x00177470
ADD ESP,0x10
JMP 0x001099f7
SUB ESP,0x8
LEA EAX,[EBX + 0xfff03774]
PUSH EDI
PUSH EAX
CALL 0x000654e0
ADD ESP,0x10
JMP 0x00109a06
LEA EAX,[EBX + 0xfff05318]
PUSH EBP
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x5c
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xfff05344]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x69
PUSH EAX
CALL 0x00069d00
PUSH EAX
LEA EAX,[EBX + 0xfff050ec]
PUSH EAX
LEA EAX,[EBX + 0xffef822d]
PUSH 0x7f4
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nulonglong FUN_00109960(int param_1)\n\n{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}\n\n" comment (function_definition "ulonglong FUN_00109960(int param_1)\n\n{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00109960(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "ulonglong uVar5;" type_identifier identifier ;) (declaration "byte local_34;" type_identifier identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x109969;" (assignment_expression "uStack_14 = 0x109969" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar2 = *(int *)(DAT_0038f378 + 8)" identifier = (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_00069d00("../../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 "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }" if (parenthesized_expression "((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0'))" ( (binary_expression "(*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')" (parenthesized_expression "(*(int *)(iVar2 + 0x10c0) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x10c0) != 0" (pointer_expression "*(int *)(iVar2 + 0x10c0)" * (cast_expression "(int *)(iVar2 + 0x10c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10c0)" ( (binary_expression "iVar2 + 0x10c0" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x318d)" * (cast_expression "(char *)(iVar2 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x318d)" ( (binary_expression "iVar2 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }" { (expression_statement "local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;" (assignment_expression "local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1" identifier = (binary_expression "*(byte *)(iVar2 + 0x1a25) ^ 1" (pointer_expression "*(byte *)(iVar2 + 0x1a25)" * (cast_expression "(byte *)(iVar2 + 0x1a25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1a25)" ( (binary_expression "iVar2 + 0x1a25" identifier + number_literal) )))) ^ number_literal)) ;) })) (expression_statement "__nptr = (char *)FUN_00139510(DAT_0038f378);" (assignment_expression "__nptr = (char *)FUN_00139510(DAT_0038f378)" identifier = (cast_expression "(char *)FUN_00139510(DAT_0038f378)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00139510(DAT_0038f378)" identifier (argument_list "(DAT_0038f378)" ( identifier ))))) ;) (expression_statement "uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);" (assignment_expression "uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0)" identifier = (call_expression "FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x24),__nptr,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , identifier , number_literal )))) ;) (expression_statement "iVar2 = (int)uVar4;" (assignment_expression "iVar2 = (int)uVar4" identifier = (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }" { (expression_statement "uVar5 = strtoull(__nptr,local_20,0);" (assignment_expression "uVar5 = strtoull(__nptr,local_20,0)" identifier = (call_expression "strtoull(__nptr,local_20,0)" identifier (argument_list "(__nptr,local_20,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }" if (parenthesized_expression "((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0))" ( (binary_expression "(*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)" (parenthesized_expression "(*local_20[0] != '\0')" ( (binary_expression "*local_20[0] != '\0'" (pointer_expression "*local_20[0]" * (subscript_expression "local_20[0]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar5 = 0, local_34 != 0)" ( (comma_expression "uVar5 = 0, local_34 != 0" (assignment_expression "uVar5 = 0" identifier = number_literal) , (binary_expression "local_34 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }" { (expression_statement "FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);" (call_expression "FUN_000654e0("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 ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" else (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20))" identifier (argument_list "("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20))" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) })) (expression_statement "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }" if (parenthesized_expression "(*piVar1 != 0x40)" ( (binary_expression "*piVar1 != 0x40" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }" { comment (expression_statement "FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);" (call_expression "FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1)" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x2a) & 7) == 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x2a) & 7) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(iVar2 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar2 + 0x2a)" * (cast_expression "(byte *)(iVar2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a)" ( (binary_expression "iVar2 + 0x2a" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }" { (if_statement "if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x2b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x2b) & 0x20)" ( (binary_expression "*(byte *)(iVar2 + 0x2b) & 0x20" (pointer_expression "*(byte *)(iVar2 + 0x2b)" * (cast_expression "(byte *)(iVar2 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2b)" ( (binary_expression "iVar2 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }" { (expression_statement "cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));" (assignment_expression "cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc))" identifier = (call_expression "FUN_00177470(*(int *)(iVar2 + 0xc))" identifier (argument_list "(*(int *)(iVar2 + 0xc))" ( (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" else (compound_statement "{\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" { (expression_statement "cVar3 = *(int *)(iVar2 + 0xc) == 0;" (assignment_expression "cVar3 = *(int *)(iVar2 + 0xc) == 0" identifier = (binary_expression "*(int *)(iVar2 + 0xc) == 0" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) == number_literal)) ;) }))) }) (else_clause "else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" else (compound_statement "{\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" { (expression_statement "cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;" (assignment_expression "cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4" identifier = (binary_expression "(*(byte *)(iVar2 + 0x2a) & 7) == 4" (parenthesized_expression "(*(byte *)(iVar2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(iVar2 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar2 + 0x2a)" * (cast_expression "(byte *)(iVar2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a)" ( (binary_expression "iVar2 + 0x2a" identifier + number_literal) )))) & number_literal) )) == number_literal)) ;) }))) (if_statement "if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" if (parenthesized_expression "((local_34 != 0) && (cVar3 != '\0'))" ( (binary_expression "(local_34 != 0) && (cVar3 != '\0')" (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" { (expression_statement "FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);" (call_expression "FUN_000654e0("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 "uVar5 = *(ulonglong *)(iVar2 + 0x30);" (assignment_expression "uVar5 = *(ulonglong *)(iVar2 + 0x30)" identifier = (pointer_expression "*(ulonglong *)(iVar2 + 0x30)" * (cast_expression "(ulonglong *)(iVar2 + 0x30)" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) }))) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\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  bool bVar3;\n  Elf_Addr EVar4;\n  byte local_34;\n  char *endptr;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\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  local_34 = 0;\n  if (((pGVar1->entry_).value != (char *)0x0) && ((pGVar1->relocatable_).value == false)) {\n    local_34 = (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    EVar4 = strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }\n    if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    EVar4._0_4_ = pSVar2[1].name_;\n    EVar4._4_4_ = pSVar2[1].version_;\n  }\n  return EVar4;\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  bool bVar3;\n  Elf_Addr EVar4;\n  byte local_34;\n  char *endptr;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\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  local_34 = 0;\n  if (((pGVar1->entry_).value != (char *)0x0) && ((pGVar1->relocatable_).value == false)) {\n    local_34 = (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    EVar4 = strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }\n    if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    EVar4._0_4_ = pSVar2[1].name_;\n    EVar4._4_4_ = pSVar2[1].version_;\n  }\n  return EVar4;\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  bool bVar3;\n  Elf_Addr EVar4;\n  byte local_34;\n  char *endptr;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\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  local_34 = 0;\n  if (((pGVar1->entry_).value != (char *)0x0) && ((pGVar1->relocatable_).value == false)) {\n    local_34 = (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    EVar4 = strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }\n    if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    EVar4._0_4_ = pSVar2[1].name_;\n    EVar4._4_4_ = pSVar2[1].version_;\n  }\n  return EVar4;\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 "bool bVar3;" primitive_type identifier ;) (declaration "Elf_Addr EVar4;" type_identifier identifier ;) (declaration "byte local_34;" type_identifier identifier ;) (declaration "char *endptr;" primitive_type (pointer_declarator "*endptr" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x109969;" (assignment_expression "uStack_14 = 0x109969" identifier = number_literal) ;) (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 "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if (((pGVar1->entry_).value != (char *)0x0) && ((pGVar1->relocatable_).value == false)) {\n    local_34 = (pGVar1->shared_).value ^ 1;\n  }" if (parenthesized_expression "(((pGVar1->entry_).value != (char *)0x0) && ((pGVar1->relocatable_).value == false))" ( (binary_expression "((pGVar1->entry_).value != (char *)0x0) && ((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 "((pGVar1->relocatable_).value == false)" ( (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    local_34 = (pGVar1->shared_).value ^ 1;\n  }" { (expression_statement "local_34 = (pGVar1->shared_).value ^ 1;" (assignment_expression "local_34 = (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    EVar4 = strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }\n    if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    EVar4._0_4_ = pSVar2[1].name_;\n    EVar4._4_4_ = pSVar2[1].version_;\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    EVar4 = strtoull(name,&endptr,0);\n    if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\n    }\n  }" { (expression_statement "EVar4 = strtoull(name,&endptr,0);" (assignment_expression "EVar4 = strtoull(name,&endptr,0)" identifier = (call_expression "strtoull(name,&endptr,0)" identifier (argument_list "(name,&endptr,0)" ( identifier , (pointer_expression "&endptr" & identifier) , number_literal )))) ;) (if_statement "if ((*endptr != '\0') && (EVar4 = 0, local_34 != 0)) {\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\n    }" if (parenthesized_expression "((*endptr != '\0') && (EVar4 = 0, local_34 != 0))" ( (binary_expression "(*endptr != '\0') && (EVar4 = 0, local_34 != 0)" (parenthesized_expression "(*endptr != '\0')" ( (binary_expression "*endptr != '\0'" (pointer_expression "*endptr" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(EVar4 = 0, local_34 != 0)" ( (comma_expression "EVar4 = 0, local_34 != 0" (assignment_expression "EVar4 = 0" identifier = number_literal) , (binary_expression "local_34 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      gold_warning("cannot find entry symbol \'%s\'",name);\n      EVar4 = 0;\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 ))) ;) (expression_statement "EVar4 = 0;" (assignment_expression "EVar4 = 0" identifier = number_literal) ;) })) }) (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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }\n    if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    EVar4._0_4_ = pSVar2[1].name_;\n    EVar4._4_4_ = pSVar2[1].version_;\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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }\n    if ((pSVar2->field_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }\n    if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }\n    EVar4._0_4_ = pSVar2[1].name_;\n    EVar4._4_4_ = pSVar2[1].version_;\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 (**(int **)(parameters->target_ + 4) != 0x40) {\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/symtab.h",0x7f4,"get_sized_symbol");\n    }" if (parenthesized_expression "(**(int **)(parameters->target_ + 4) != 0x40)" ( (binary_expression "**(int **)(parameters->target_ + 4) != 0x40" (pointer_expression "**(int **)(parameters->target_ + 4)" * (pointer_expression "*(int **)(parameters->target_ + 4)" * (cast_expression "(int **)(parameters->target_ + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(parameters->target_ + 4)" ( (binary_expression "parameters->target_ + 4" (field_expression "parameters->target_" identifier -> field_identifier) + number_literal) ))))) != 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_0x2a & 7) == 0) {\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }\n    else {\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }" if (parenthesized_expression "((pSVar2->field_0x2a & 7) == 0)" ( (binary_expression "(pSVar2->field_0x2a & 7) == 0" (parenthesized_expression "(pSVar2->field_0x2a & 7)" ( (binary_expression "pSVar2->field_0x2a & 7" (field_expression "pSVar2->field_0x2a" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }\n    }" { (if_statement "if ((pSVar2->field_0x2b & 0x20) == 0) {\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }\n      else {\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }" if (parenthesized_expression "((pSVar2->field_0x2b & 0x20) == 0)" ( (binary_expression "(pSVar2->field_0x2b & 0x20) == 0" (parenthesized_expression "(pSVar2->field_0x2b & 0x20)" ( (binary_expression "pSVar2->field_0x2b & 0x20" (field_expression "pSVar2->field_0x2b" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        bVar3 = Symbol::is_common_shndx((pSVar2->u2_).shndx);\n      }" { (ERROR "bVar3 = Symbol::" (assignment_expression "bVar3 = 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        bVar3 = (pSVar2->u2_).shndx == 0;\n      }" else (compound_statement "{\n        bVar3 = (pSVar2->u2_).shndx == 0;\n      }" { (expression_statement "bVar3 = (pSVar2->u2_).shndx == 0;" (assignment_expression "bVar3 = (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      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }" else (compound_statement "{\n      bVar3 = (pSVar2->field_0x2a & 7) == 4;\n    }" { (expression_statement "bVar3 = (pSVar2->field_0x2a & 7) == 4;" (assignment_expression "bVar3 = (pSVar2->field_0x2a & 7) == 4" identifier = (binary_expression "(pSVar2->field_0x2a & 7) == 4" (parenthesized_expression "(pSVar2->field_0x2a & 7)" ( (binary_expression "pSVar2->field_0x2a & 7" (field_expression "pSVar2->field_0x2a" identifier -> field_identifier) & number_literal) )) == number_literal)) ;) }))) (if_statement "if ((local_34 != 0) && (bVar3 != false)) {\n      gold_warning("entry symbol \'%s\' exists but is not defined",name);\n    }" if (parenthesized_expression "((local_34 != 0) && (bVar3 != false))" ( (binary_expression "(local_34 != 0) && (bVar3 != false)" (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) && (parenthesized_expression "(bVar3 != false)" ( (binary_expression "bVar3 != 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 "EVar4._0_4_ = pSVar2[1].name_;" (assignment_expression "EVar4._0_4_ = pSVar2[1].name_" (field_expression "EVar4._0_4_" identifier . field_identifier) = (field_expression "pSVar2[1].name_" (subscript_expression "pSVar2[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "EVar4._4_4_ = pSVar2[1].version_;" (assignment_expression "EVar4._4_4_ = pSVar2[1].version_" (field_expression "EVar4._4_4_" identifier . field_identifier) = (field_expression "pSVar2[1].version_" (subscript_expression "pSVar2[1]" identifier [ number_literal ]) . field_identifier)) ;) }))) (return_statement "return EVar4;" return identifier ;) })))
(translation_unit "ulonglong FUN_00109960(int param_1)\n\n{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}\n\n" (function_definition "ulonglong FUN_00109960(int param_1)\n\n{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}" type_identifier (function_declarator "FUN_00109960(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char *__nptr;" primitive_type (pointer_declarator "*__nptr" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "undefined8 uVar4;" type_identifier identifier ;) (declaration "ulonglong uVar5;" type_identifier identifier ;) (declaration "byte local_34;" type_identifier identifier ;) (declaration "char *local_20 [3];" primitive_type (pointer_declarator "*local_20 [3]" * (array_declarator "local_20 [3]" identifier [ number_literal ])) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x109969;" (assignment_expression "uStack_14 = 0x109969" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar2 = *(int *)(DAT_0038f378 + 8)" identifier = (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_00069d00("../../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 "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (if_statement "if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }" if (parenthesized_expression "((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0'))" ( (binary_expression "(*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')" (parenthesized_expression "(*(int *)(iVar2 + 0x10c0) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x10c0) != 0" (pointer_expression "*(int *)(iVar2 + 0x10c0)" * (cast_expression "(int *)(iVar2 + 0x10c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10c0)" ( (binary_expression "iVar2 + 0x10c0" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(char *)(iVar2 + 0x318d) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x318d)" * (cast_expression "(char *)(iVar2 + 0x318d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x318d)" ( (binary_expression "iVar2 + 0x318d" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }" { (expression_statement "local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;" (assignment_expression "local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1" identifier = (binary_expression "*(byte *)(iVar2 + 0x1a25) ^ 1" (pointer_expression "*(byte *)(iVar2 + 0x1a25)" * (cast_expression "(byte *)(iVar2 + 0x1a25)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1a25)" ( (binary_expression "iVar2 + 0x1a25" identifier + number_literal) )))) ^ number_literal)) ;) })) (expression_statement "__nptr = (char *)FUN_00139510(DAT_0038f378);" (assignment_expression "__nptr = (char *)FUN_00139510(DAT_0038f378)" identifier = (cast_expression "(char *)FUN_00139510(DAT_0038f378)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00139510(DAT_0038f378)" identifier (argument_list "(DAT_0038f378)" ( identifier ))))) ;) (expression_statement "uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);" (assignment_expression "uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0)" identifier = (call_expression "FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x24),__nptr,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) , identifier , number_literal )))) ;) (expression_statement "iVar2 = (int)uVar4;" (assignment_expression "iVar2 = (int)uVar4" identifier = (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }" { (expression_statement "uVar5 = strtoull(__nptr,local_20,0);" (assignment_expression "uVar5 = strtoull(__nptr,local_20,0)" identifier = (call_expression "strtoull(__nptr,local_20,0)" identifier (argument_list "(__nptr,local_20,0)" ( identifier , identifier , number_literal )))) ;) (if_statement "if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }" if (parenthesized_expression "((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0))" ( (binary_expression "(*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)" (parenthesized_expression "(*local_20[0] != '\0')" ( (binary_expression "*local_20[0] != '\0'" (pointer_expression "*local_20[0]" * (subscript_expression "local_20[0]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(uVar5 = 0, local_34 != 0)" ( (comma_expression "uVar5 = 0, local_34 != 0" (assignment_expression "uVar5 = 0" identifier = number_literal) , (binary_expression "local_34 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }" { (expression_statement "FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);" (call_expression "FUN_000654e0("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 ))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" else (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" { (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20))" identifier (argument_list "("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20))" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" ( (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) ))) ;) })) (expression_statement "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" identifier = (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" * (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" ( (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" * (cast_expression "(int *)(DAT_0038f378 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 0xc)" ( (binary_expression "DAT_0038f378 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }" if (parenthesized_expression "(*piVar1 != 0x40)" ( (binary_expression "*piVar1 != 0x40" (pointer_expression "*piVar1" * identifier) != number_literal) )) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }" { (expression_statement "FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);" (call_expression "FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1)" identifier (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""get_sized_symbol"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x2a) & 7) == 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x2a) & 7) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(iVar2 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar2 + 0x2a)" * (cast_expression "(byte *)(iVar2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a)" ( (binary_expression "iVar2 + 0x2a" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }" { (if_statement "if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" if (parenthesized_expression "((*(byte *)(iVar2 + 0x2b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(iVar2 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x2b) & 0x20)" ( (binary_expression "*(byte *)(iVar2 + 0x2b) & 0x20" (pointer_expression "*(byte *)(iVar2 + 0x2b)" * (cast_expression "(byte *)(iVar2 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2b)" ( (binary_expression "iVar2 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }" { (expression_statement "cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));" (assignment_expression "cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc))" identifier = (call_expression "FUN_00177470(*(int *)(iVar2 + 0xc))" identifier (argument_list "(*(int *)(iVar2 + 0xc))" ( (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) )))) ;) }) (else_clause "else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" else (compound_statement "{\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" { (expression_statement "cVar3 = *(int *)(iVar2 + 0xc) == 0;" (assignment_expression "cVar3 = *(int *)(iVar2 + 0xc) == 0" identifier = (binary_expression "*(int *)(iVar2 + 0xc) == 0" (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) )))) == number_literal)) ;) }))) }) (else_clause "else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" else (compound_statement "{\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" { (expression_statement "cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;" (assignment_expression "cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4" identifier = (binary_expression "(*(byte *)(iVar2 + 0x2a) & 7) == 4" (parenthesized_expression "(*(byte *)(iVar2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(iVar2 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar2 + 0x2a)" * (cast_expression "(byte *)(iVar2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a)" ( (binary_expression "iVar2 + 0x2a" identifier + number_literal) )))) & number_literal) )) == number_literal)) ;) }))) (if_statement "if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" if (parenthesized_expression "((local_34 != 0) && (cVar3 != '\0'))" ( (binary_expression "(local_34 != 0) && (cVar3 != '\0')" (parenthesized_expression "(local_34 != 0)" ( (binary_expression "local_34 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" { (expression_statement "FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);" (call_expression "FUN_000654e0("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 "uVar5 = *(ulonglong *)(iVar2 + 0x30);" (assignment_expression "uVar5 = *(ulonglong *)(iVar2 + 0x30)" identifier = (pointer_expression "*(ulonglong *)(iVar2 + 0x30)" * (cast_expression "(ulonglong *)(iVar2 + 0x30)" ( (type_descriptor "ulonglong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x30)" ( (binary_expression "iVar2 + 0x30" identifier + number_literal) ))))) ;) }))) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (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 ( IDENT ))))) ;) (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 )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (subscript_expression IDENT [ LIT ])) != (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 ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 ") , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) }) (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_00109960(int param_1)\n\n{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}" (type_identifier "ulonglong") (function_declarator "FUN_00109960(int param_1)" (identifier "FUN_00109960") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int *piVar1;\n  char *__nptr;\n  int iVar2;\n  char cVar3;\n  undefined8 uVar4;\n  ulonglong uVar5;\n  byte local_34;\n  char *local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x109969;\n  iVar2 = *(int *)(DAT_0038f378 + 8);\n  if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }\n  local_34 = 0;\n  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }\n  __nptr = (char *)FUN_00139510(DAT_0038f378);\n  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);\n  iVar2 = (int)uVar4;\n  if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }\n  return uVar5;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char *__nptr;" (primitive_type "char") (pointer_declarator "*__nptr" (* "*") (identifier "__nptr")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "undefined8 uVar4;" (type_identifier "undefined8") (identifier "uVar4") (; ";")) (declaration "ulonglong uVar5;" (type_identifier "ulonglong") (identifier "uVar5") (; ";")) (declaration "byte local_34;" (type_identifier "byte") (identifier "local_34") (; ";")) (declaration "char *local_20 [3];" (primitive_type "char") (pointer_declarator "*local_20 [3]" (* "*") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]"))) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x109969;" (assignment_expression "uStack_14 = 0x109969" (identifier "uStack_14") (= "=") (number_literal "0x109969")) (; ";")) (expression_statement "iVar2 = *(int *)(DAT_0038f378 + 8);" (assignment_expression "iVar2 = *(int *)(DAT_0038f378 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar2 == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options");\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_00069d00") (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 "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }" (if "if") (parenthesized_expression "((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0'))" (( "(") (binary_expression "(*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')" (parenthesized_expression "(*(int *)(iVar2 + 0x10c0) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x10c0) != 0" (pointer_expression "*(int *)(iVar2 + 0x10c0)" (* "*") (cast_expression "(int *)(iVar2 + 0x10c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10c0)" (( "(") (binary_expression "iVar2 + 0x10c0" (identifier "iVar2") (+ "+") (number_literal "0x10c0")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(iVar2 + 0x318d) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x318d) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x318d)" (* "*") (cast_expression "(char *)(iVar2 + 0x318d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x318d)" (( "(") (binary_expression "iVar2 + 0x318d" (identifier "iVar2") (+ "+") (number_literal "0x318d")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;\n  }" ({ "{") (expression_statement "local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;" (assignment_expression "local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1" (identifier "local_34") (= "=") (binary_expression "*(byte *)(iVar2 + 0x1a25) ^ 1" (pointer_expression "*(byte *)(iVar2 + 0x1a25)" (* "*") (cast_expression "(byte *)(iVar2 + 0x1a25)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1a25)" (( "(") (binary_expression "iVar2 + 0x1a25" (identifier "iVar2") (+ "+") (number_literal "0x1a25")) () ")")))) (^ "^") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "__nptr = (char *)FUN_00139510(DAT_0038f378);" (assignment_expression "__nptr = (char *)FUN_00139510(DAT_0038f378)" (identifier "__nptr") (= "=") (cast_expression "(char *)FUN_00139510(DAT_0038f378)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00139510(DAT_0038f378)" (identifier "FUN_00139510") (argument_list "(DAT_0038f378)" (( "(") (identifier "DAT_0038f378") () ")"))))) (; ";")) (expression_statement "uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);" (assignment_expression "uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0)" (identifier "uVar4") (= "=") (call_expression "FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0)" (identifier "FUN_00179ab0") (argument_list "(*(undefined4 *)(param_1 + 0x24),__nptr,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (identifier "__nptr") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "iVar2 = (int)uVar4;" (assignment_expression "iVar2 = (int)uVar4" (identifier "iVar2") (= "=") (cast_expression "(int)uVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar4"))) (; ";")) (if_statement "if (iVar2 == 0) {\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }\n  else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = strtoull(__nptr,local_20,0);\n    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }\n  }" ({ "{") (expression_statement "uVar5 = strtoull(__nptr,local_20,0);" (assignment_expression "uVar5 = strtoull(__nptr,local_20,0)" (identifier "uVar5") (= "=") (call_expression "strtoull(__nptr,local_20,0)" (identifier "strtoull") (argument_list "(__nptr,local_20,0)" (( "(") (identifier "__nptr") (, ",") (identifier "local_20") (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }" (if "if") (parenthesized_expression "((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0))" (( "(") (binary_expression "(*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)" (parenthesized_expression "(*local_20[0] != '\0')" (( "(") (binary_expression "*local_20[0] != '\0'" (pointer_expression "*local_20[0]" (* "*") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(uVar5 = 0, local_34 != 0)" (( "(") (comma_expression "uVar5 = 0, local_34 != 0" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (, ",") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);\n      uVar5 = 0;\n    }" ({ "{") (expression_statement "FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);" (call_expression "FUN_000654e0("cannot find entry symbol \'%s\'",__nptr)" (identifier "FUN_000654e0") (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") () ")"))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" (else "else") (compound_statement "{\n    if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }\n    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);\n    if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }\n    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }\n    if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }\n    uVar5 = *(ulonglong *)(iVar2 + 0x30);\n  }" ({ "{") (if_statement "if (*(int *)(DAT_0038f378 + 0xc) == 0) {\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) == 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));" (call_expression "FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20))" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20))" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (cast_expression "(int)((ulonglong)uVar4 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar4 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar4 >> 0x20" (cast_expression "(ulonglong)uVar4" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar4")) (>> ">>") (number_literal "0x20")) () ")"))) () ")"))) (; ";")) (} "}"))) (expression_statement "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);" (assignment_expression "piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (* "*") (cast_expression "(int **)(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 0xc) + 4" (pointer_expression "*(int *)(DAT_0038f378 + 0xc)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 0xc)" (( "(") (binary_expression "DAT_0038f378 + 0xc" (identifier "DAT_0038f378") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (*piVar1 != 0x40) {\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }" (if "if") (parenthesized_expression "(*piVar1 != 0x40)" (( "(") (binary_expression "*piVar1 != 0x40" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (!= "!=") (number_literal "0x40")) () ")")) (compound_statement "{\n                    \n      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);\n    }" ({ "{") (expression_statement "FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);" (call_expression "FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1)" (( "(") (string_literal ""../../gold/symtab.h"" (" """) (string_content "../../gold/symtab.h") (" """)) (, ",") (number_literal "0x7f4") (, ",") (string_literal ""get_sized_symbol"" (" """) (string_content "get_sized_symbol") (" """)) (, ",") (identifier "piVar1") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }\n    else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" (if "if") (parenthesized_expression "((*(byte *)(iVar2 + 0x2a) & 7) == 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 0x2a) & 7) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x2a) & 7)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar2 + 0x2a)" (* "*") (cast_expression "(byte *)(iVar2 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a)" (( "(") (binary_expression "iVar2 + 0x2a" (identifier "iVar2") (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }\n    }" ({ "{") (if_statement "if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }\n      else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" (if "if") (parenthesized_expression "((*(byte *)(iVar2 + 0x2b) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(iVar2 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(iVar2 + 0x2b) & 0x20)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x2b) & 0x20" (pointer_expression "*(byte *)(iVar2 + 0x2b)" (* "*") (cast_expression "(byte *)(iVar2 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2b)" (( "(") (binary_expression "iVar2 + 0x2b" (identifier "iVar2") (+ "+") (number_literal "0x2b")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));\n      }" ({ "{") (expression_statement "cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));" (assignment_expression "cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc))" (identifier "cVar3") (= "=") (call_expression "FUN_00177470(*(int *)(iVar2 + 0xc))" (identifier "FUN_00177470") (argument_list "(*(int *)(iVar2 + 0xc))" (( "(") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" (else "else") (compound_statement "{\n        cVar3 = *(int *)(iVar2 + 0xc) == 0;\n      }" ({ "{") (expression_statement "cVar3 = *(int *)(iVar2 + 0xc) == 0;" (assignment_expression "cVar3 = *(int *)(iVar2 + 0xc) == 0" (identifier "cVar3") (= "=") (binary_expression "*(int *)(iVar2 + 0xc) == 0" (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" (else "else") (compound_statement "{\n      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;\n    }" ({ "{") (expression_statement "cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;" (assignment_expression "cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4" (identifier "cVar3") (= "=") (binary_expression "(*(byte *)(iVar2 + 0x2a) & 7) == 4" (parenthesized_expression "(*(byte *)(iVar2 + 0x2a) & 7)" (( "(") (binary_expression "*(byte *)(iVar2 + 0x2a) & 7" (pointer_expression "*(byte *)(iVar2 + 0x2a)" (* "*") (cast_expression "(byte *)(iVar2 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a)" (( "(") (binary_expression "iVar2 + 0x2a" (identifier "iVar2") (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "4"))) (; ";")) (} "}")))) (if_statement "if ((local_34 != 0) && (cVar3 != '\0')) {\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" (if "if") (parenthesized_expression "((local_34 != 0) && (cVar3 != '\0'))" (( "(") (binary_expression "(local_34 != 0) && (cVar3 != '\0')" (parenthesized_expression "(local_34 != 0)" (( "(") (binary_expression "local_34 != 0" (identifier "local_34") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);\n    }" ({ "{") (expression_statement "FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);" (call_expression "FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr)" (identifier "FUN_000654e0") (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 "uVar5 = *(ulonglong *)(iVar2 + 0x30);" (assignment_expression "uVar5 = *(ulonglong *)(iVar2 + 0x30)" (identifier "uVar5") (= "=") (pointer_expression "*(ulonglong *)(iVar2 + 0x30)" (* "*") (cast_expression "(ulonglong *)(iVar2 + 0x30)" (( "(") (type_descriptor "ulonglong *" (type_identifier "ulonglong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x30)" (( "(") (binary_expression "iVar2 + 0x30" (identifier "iVar2") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (} "}")))) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* 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;
  bool var_10;
  type_1 EVar4;
  type_4 var_7;
  char *endptr;
  type_5 uStack_14;
  
  uStack_14 = 0x109969;
  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_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) {
    EVar4 = var_6(name,&endptr,0);
    if ((*endptr != '\0') && (EVar4 = 0, var_7 != 0)) {
      var_8("cannot find entry symbol \'%s\'",name);
      EVar4 = 0;
    }
  }
  else {
    if (parameters->target_ == (type_6 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/parameters.h",0x69,"target");
    }
    if (**(int **)(parameters->target_ + 4) != 0x40) {
                    /* WARNING: Subroutine does not return */
      var_2("../../gold/symtab.h",0x7f4,"get_sized_symbol");
    }
    if ((var_5->field_0x2a & 7) == 0) {
      if ((var_5->field_0x2b & 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_0x2a & 7) == 4;
    }
    if ((var_7 != 0) && (var_10 != false)) {
      var_8("entry symbol \'%s\' exists but is not defined",name);
    }
    EVar4._0_4_ = var_5[1].name_;
    EVar4._4_4_ = var_5[1].version_;
  }
  return EVar4;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

ulonglong MASKED(int param_1)

{
  int *piVar1;
  char *__nptr;
  int iVar2;
  char cVar3;
  undefined8 uVar4;
  ulonglong uVar5;
  byte local_34;
  char *local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x109969;
  iVar2 = *(int *)(DAT_0038f378 + 8);
  if (iVar2 == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x5c,"options");
  }
  local_34 = 0;
  if ((*(int *)(iVar2 + 0x10c0) != 0) && (*(char *)(iVar2 + 0x318d) == '\0')) {
    local_34 = *(byte *)(iVar2 + 0x1a25) ^ 1;
  }
  __nptr = (char *)FUN_00139510(DAT_0038f378);
  uVar4 = FUN_00179ab0(*(undefined4 *)(param_1 + 0x24),__nptr,0);
  iVar2 = (int)uVar4;
  if (iVar2 == 0) {
    uVar5 = strtoull(__nptr,local_20,0);
    if ((*local_20[0] != '\0') && (uVar5 = 0, local_34 != 0)) {
      FUN_000654e0("cannot find entry symbol \'%s\'",__nptr);
      uVar5 = 0;
    }
  }
  else {
    if (*(int *)(DAT_0038f378 + 0xc) == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/parameters.h",0x69,"target",(int)((ulonglong)uVar4 >> 0x20));
    }
    piVar1 = *(int **)(*(int *)(DAT_0038f378 + 0xc) + 4);
    if (*piVar1 != 0x40) {
                    /* WARNING: Subroutine does not return */
      FUN_00069d00("../../gold/symtab.h",0x7f4,"get_sized_symbol",piVar1);
    }
    if ((*(byte *)(iVar2 + 0x2a) & 7) == 0) {
      if ((*(byte *)(iVar2 + 0x2b) & 0x20) == 0) {
        cVar3 = FUN_00177470(*(int *)(iVar2 + 0xc));
      }
      else {
        cVar3 = *(int *)(iVar2 + 0xc) == 0;
      }
    }
    else {
      cVar3 = (*(byte *)(iVar2 + 0x2a) & 7) == 4;
    }
    if ((local_34 != 0) && (cVar3 != '\0')) {
      FUN_000654e0("entry symbol \'%s\' exists but is not defined",__nptr);
    }
    uVar5 = *(ulonglong *)(iVar2 + 0x30);
  }
  return uVar5;
}

