
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Segment_start_expression * this, Expression_eval_info *
   eei) */

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

{
  General_options *pGVar1;
  int iVar2;
  uint64_t uVar3;
  
  pGVar1 = parameters->options_;
  if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;
  if ((pGVar1->Ttext_).user_set_via_option != false) {
    iVar2 = std::string::compare((string *)&this->segment_name_,".text");
    pGVar1 = parameters->options_;
    if (iVar2 == 0) {
      if (pGVar1 != (General_options *)0x0) {
        return (pGVar1->Ttext_).value;
      }
      goto LAB_001d4c08;
    }
    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;
  }
  if ((pGVar1->Tdata_).user_set_via_option == false) {
    pGVar1 = parameters->options_;
  }
  else {
    iVar2 = std::string::compare((string *)&this->segment_name_,".data");
    pGVar1 = parameters->options_;
    if (iVar2 == 0) {
      if (pGVar1 != (General_options *)0x0) {
        return (pGVar1->Tdata_).value;
      }
      goto LAB_001d4c08;
    }
    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;
  }
  if (((pGVar1->Tbss_).user_set_via_option == false) ||
     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)) {
    uVar3 = Expression::eval_maybe_dot
                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,
                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,
                       (uchar *)0x0,false,eei->is_valid_pointer);
    if (eei->result_section_pointer != (Output_section **)0x0) {
      *eei->result_section_pointer = (Output_section *)0x0;
      return uVar3;
    }
  }
  else {
    if (parameters->options_ == (General_options *)0x0) {
LAB_001d4c08:
                    /* WARNING: Subroutine does not return */
      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
    }
    uVar3 = (parameters->options_->Tbss_).value;
  }
  return uVar3;
}



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

undefined4 FUN_001d4aa0(int param_1,undefined4 *param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  iVar1 = *(int *)(DAT_003aa3e8 + 8);
  if (iVar1 == 0) goto LAB_001d4c08;
  if (*(char *)(iVar1 + 0x41b8) != '\0') {
    iVar3 = FUN_002075e0(param_1 + 8,".text");
    iVar1 = *(int *)(DAT_003aa3e8 + 8);
    if (iVar3 == 0) {
      if (iVar1 != 0) {
        return *(undefined4 *)(iVar1 + 0x41bc);
      }
      goto LAB_001d4c08;
    }
    if (iVar1 == 0) goto LAB_001d4c08;
  }
  if (*(char *)(iVar1 + 0x4170) == '\0') {
    iVar1 = *(int *)(DAT_003aa3e8 + 8);
  }
  else {
    iVar3 = FUN_002075e0(param_1 + 8,".data");
    iVar1 = *(int *)(DAT_003aa3e8 + 8);
    if (iVar3 == 0) {
      if (iVar1 != 0) {
        return *(undefined4 *)(iVar1 + 0x4174);
      }
      goto LAB_001d4c08;
    }
    if (iVar1 == 0) goto LAB_001d4c08;
  }
  if ((*(char *)(iVar1 + 0x4128) == '\0') ||
     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {
    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],
                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],
                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);
    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {
      *(undefined4 *)param_2[6] = 0;
      return uVar2;
    }
  }
  else {
    if (*(int *)(DAT_003aa3e8 + 8) == 0) {
LAB_001d4c08:
                    /* WARNING: Subroutine does not return */
      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");
    }
    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);
  }
  return uVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x1d5557
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x20]
MOV ESI,dword ptr [ESP + 0x24]
LEA EBP,[EBX + 0x3e8]
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x001d4c08
CMP byte ptr [EAX + 0x41b8],0x0
JNZ 0x001d4b88
CMP byte ptr [EAX + 0x4170],0x0
JNZ 0x001d4bc0
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + 0x8]
CMP byte ptr [EAX + 0x4128],0x0
JZ 0x001d4b38
SUB ESP,0x8
LEA EAX,[EBX + 0xffef493c]
PUSH EAX
LEA EAX,[EDI + 0x8]
PUSH EAX
CALL 0x002075e0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x001d4b38
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x001d4c08
MOV EDX,dword ptr [EAX + 0x4130]
MOV EAX,dword ptr [EAX + 0x412c]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EAX,byte ptr [ESI + 0x9]
SUB ESP,0x4
PUSH dword ptr [ESI + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH dword ptr [ESI + 0x1c]
PUSH 0x0
PUSH dword ptr [ESI + 0x14]
PUSH dword ptr [ESI + 0x10]
PUSH dword ptr [ESI + 0xc]
PUSH EAX
MOVZX EAX,byte ptr [ESI + 0x8]
PUSH EAX
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [ESI]
PUSH dword ptr [EDI + 0x4]
CALL 0x001d48a0
MOV ECX,dword ptr [ESI + 0x18]
ADD ESP,0x40
TEST ECX,ECX
JZ 0x001d4b2b
MOV dword ptr [ECX],0x0
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xffef14ea]
PUSH EAX
LEA EAX,[EDI + 0x8]
PUSH EAX
CALL 0x002075e0
ADD ESP,0x10
TEST EAX,EAX
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + 0x8]
JNZ 0x001d4c00
TEST EAX,EAX
JZ 0x001d4c08
MOV EDX,dword ptr [EAX + 0x41c0]
MOV EAX,dword ptr [EAX + 0x41bc]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
LEA EAX,[EBX + 0xffef8ab3]
PUSH EAX
LEA EAX,[EDI + 0x8]
PUSH EAX
CALL 0x002075e0
ADD ESP,0x10
TEST EAX,EAX
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + 0x8]
JNZ 0x001d4c20
TEST EAX,EAX
JZ 0x001d4c08
MOV EDX,dword ptr [EAX + 0x4178]
MOV EAX,dword ptr [EAX + 0x4174]
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EAX,EAX
JNZ 0x001d4adb
SUB ESP,0x4
LEA EAX,[EBX + 0xfff0de60]
PUSH EAX
LEA EAX,[EBX + 0xffeec26d]
PUSH 0x5c
PUSH EAX
CALL 0x0007ac80
TEST EAX,EAX
JNZ 0x001d4aee
JMP 0x001d4c08
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_001d4aa0(int param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 FUN_001d4aa0(int param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001d4aa0(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x41b8) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0x41b8) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x41b8)" * (cast_expression "(char *)(iVar1 + 0x41b8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x41b8)" ( (binary_expression "iVar1 + 0x41b8" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" { (expression_statement "iVar3 = FUN_002075e0(param_1 + 8,".text");" (assignment_expression "iVar3 = FUN_002075e0(param_1 + 8,".text")" identifier = (call_expression "FUN_002075e0(param_1 + 8,".text")" identifier (argument_list "(param_1 + 8,".text")" ( (binary_expression "param_1 + 8" identifier + number_literal) , (string_literal "".text"" " string_content ") )))) ;) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }" { (if_statement "if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }" { (return_statement "return *(undefined4 *)(iVar1 + 0x41bc);" return (pointer_expression "*(undefined4 *)(iVar1 + 0x41bc)" * (cast_expression "(undefined4 *)(iVar1 + 0x41bc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x41bc)" ( (binary_expression "iVar1 + 0x41bc" identifier + number_literal) )))) ;) })) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;) })) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) })) (if_statement "if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x4170) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x4170) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x4170)" * (cast_expression "(char *)(iVar1 + 0x4170)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4170)" ( (binary_expression "iVar1 + 0x4170" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }" { (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" else (compound_statement "{\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" { (expression_statement "iVar3 = FUN_002075e0(param_1 + 8,".data");" (assignment_expression "iVar3 = FUN_002075e0(param_1 + 8,".data")" identifier = (call_expression "FUN_002075e0(param_1 + 8,".data")" identifier (argument_list "(param_1 + 8,".data")" ( (binary_expression "param_1 + 8" identifier + number_literal) , (string_literal "".data"" " string_content ") )))) ;) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }" { (if_statement "if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }" { (return_statement "return *(undefined4 *)(iVar1 + 0x4174);" return (pointer_expression "*(undefined4 *)(iVar1 + 0x4174)" * (cast_expression "(undefined4 *)(iVar1 + 0x4174)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4174)" ( (binary_expression "iVar1 + 0x4174" identifier + number_literal) )))) ;) })) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;) })) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) }))) (if_statement "if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" if (parenthesized_expression "((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0))" ( (binary_expression "(*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0x4128) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x4128) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x4128)" * (cast_expression "(char *)(iVar1 + 0x4128)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4128)" ( (binary_expression "iVar1 + 0x4128" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0" (assignment_expression "iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c)" identifier = (call_expression "FUN_002075e0(param_1 + 8,&DAT_0029e93c)" identifier (argument_list "(param_1 + 8,&DAT_0029e93c)" ( (binary_expression "param_1 + 8" identifier + number_literal) , (pointer_expression "&DAT_0029e93c" & identifier) )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }" { (expression_statement "uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);" (assignment_expression "uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (subscript_expression "param_2[5]" identifier [ number_literal ]) , number_literal , (subscript_expression "param_2[7]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (if_statement "if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }" if (parenthesized_expression "((undefined4 *)param_2[6] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)param_2[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)param_2[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }" { (expression_statement "*(undefined4 *)param_2[6] = 0;" (assignment_expression "*(undefined4 *)param_2[6] = 0" (pointer_expression "*(undefined4 *)param_2[6]" * (cast_expression "(undefined4 *)param_2[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) = number_literal) ;) (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" else (compound_statement "{\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" { (if_statement "if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(*(int *)(DAT_003aa3e8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_003aa3e8 + 8) == 0" (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }" { (labeled_statement "LAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");" statement_identifier : comment (expression_statement "FUN_0007ac80("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0007ac80("../../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 "uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" * (cast_expression "(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" ( (binary_expression "*(int *)(DAT_003aa3e8 + 8) + 0x412c" (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (return_statement "return uVar2;" 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/* WARNING: Enum "STT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: uint64_t value(Segment_start_expression * this, Expression_eval_info *\n   eei) */\n\nuint64_t __thiscall\ngold::Segment_start_expression::value(Segment_start_expression *this,Expression_eval_info *eei)\n\n{\n  General_options *pGVar1;\n  int iVar2;\n  uint64_t uVar3;\n  \n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  if ((pGVar1->Ttext_).user_set_via_option != false) {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".text");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }\n  if ((pGVar1->Tdata_).user_set_via_option == false) {\n    pGVar1 = parameters->options_;\n  }\n  else {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".data");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }\n  if (((pGVar1->Tbss_).user_set_via_option == false) ||\n     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)) {\n    uVar3 = Expression::eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer);\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }\n  }\n  else {\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar3 = (parameters->options_->Tbss_).value;\n  }\n  return uVar3;\n}\n\n" comment comment comment comment comment (function_definition "uint64_t __thiscall\ngold::Segment_start_expression::value(Segment_start_expression *this,Expression_eval_info *eei)\n\n{\n  General_options *pGVar1;\n  int iVar2;\n  uint64_t uVar3;\n  \n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  if ((pGVar1->Ttext_).user_set_via_option != false) {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".text");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }\n  if ((pGVar1->Tdata_).user_set_via_option == false) {\n    pGVar1 = parameters->options_;\n  }\n  else {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".data");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }\n  if (((pGVar1->Tbss_).user_set_via_option == false) ||\n     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)) {\n    uVar3 = Expression::eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer);\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }\n  }\n  else {\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar3 = (parameters->options_->Tbss_).value;\n  }\n  return uVar3;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Segment_start_expression::" identifier : : identifier : :) (function_declarator "value(Segment_start_expression *this,Expression_eval_info *eei)" identifier (parameter_list "(Segment_start_expression *this,Expression_eval_info *eei)" ( (parameter_declaration "Segment_start_expression *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression_eval_info *eei" type_identifier (pointer_declarator "*eei" * identifier)) ))) (compound_statement "{\n  General_options *pGVar1;\n  int iVar2;\n  uint64_t uVar3;\n  \n  pGVar1 = parameters->options_;\n  if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  if ((pGVar1->Ttext_).user_set_via_option != false) {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".text");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }\n  if ((pGVar1->Tdata_).user_set_via_option == false) {\n    pGVar1 = parameters->options_;\n  }\n  else {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".data");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }\n  if (((pGVar1->Tbss_).user_set_via_option == false) ||\n     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)) {\n    uVar3 = Expression::eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer);\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }\n  }\n  else {\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar3 = (parameters->options_->Tbss_).value;\n  }\n  return uVar3;\n}" { (declaration "General_options *pGVar1;" type_identifier (pointer_declarator "*pGVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint64_t uVar3;" primitive_type identifier ;) (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;" 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)) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) (if_statement "if ((pGVar1->Ttext_).user_set_via_option != false) {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".text");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }" if (parenthesized_expression "((pGVar1->Ttext_).user_set_via_option != false)" ( (binary_expression "(pGVar1->Ttext_).user_set_via_option != false" (field_expression "(pGVar1->Ttext_).user_set_via_option" (parenthesized_expression "(pGVar1->Ttext_)" ( (field_expression "pGVar1->Ttext_" identifier -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n    iVar2 = std::string::compare((string *)&this->segment_name_,".text");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }" { (ERROR "iVar2 = std::" (assignment_expression "iVar2 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)&this->segment_name_,".text");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)&this->segment_name_,".text");" (call_expression "compare((string *)&this->segment_name_,".text")" identifier (argument_list "((string *)&this->segment_name_,".text")" ( (cast_expression "(string *)&this->segment_name_" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->segment_name_" & (field_expression "this->segment_name_" identifier -> field_identifier))) , (string_literal "".text"" " string_content ") ))) ;)) (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\n      }\n      goto LAB_001d4c08;\n    }" { (if_statement "if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Ttext_).value;\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        return (pGVar1->Ttext_).value;\n      }" { (return_statement "return (pGVar1->Ttext_).value;" return (field_expression "(pGVar1->Ttext_).value" (parenthesized_expression "(pGVar1->Ttext_)" ( (field_expression "pGVar1->Ttext_" identifier -> field_identifier) )) . field_identifier) ;) })) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;) })) (if_statement "if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;" 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)) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) })) (if_statement "if ((pGVar1->Tdata_).user_set_via_option == false) {\n    pGVar1 = parameters->options_;\n  }\n  else {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".data");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }" if (parenthesized_expression "((pGVar1->Tdata_).user_set_via_option == false)" ( (binary_expression "(pGVar1->Tdata_).user_set_via_option == false" (field_expression "(pGVar1->Tdata_).user_set_via_option" (parenthesized_expression "(pGVar1->Tdata_)" ( (field_expression "pGVar1->Tdata_" identifier -> field_identifier) )) . field_identifier) == false) )) (compound_statement "{\n    pGVar1 = parameters->options_;\n  }" { (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) }) (else_clause "else {\n    iVar2 = std::string::compare((string *)&this->segment_name_,".data");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }" else (compound_statement "{\n    iVar2 = std::string::compare((string *)&this->segment_name_,".data");\n    pGVar1 = parameters->options_;\n    if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }\n    if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;\n  }" { (ERROR "iVar2 = std::" (assignment_expression "iVar2 = std" identifier = identifier) : :) (labeled_statement "string::compare((string *)&this->segment_name_,".data");" statement_identifier : (ERROR ":" :) (expression_statement "compare((string *)&this->segment_name_,".data");" (call_expression "compare((string *)&this->segment_name_,".data")" identifier (argument_list "((string *)&this->segment_name_,".data")" ( (cast_expression "(string *)&this->segment_name_" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->segment_name_" & (field_expression "this->segment_name_" identifier -> field_identifier))) , (string_literal "".data"" " string_content ") ))) ;)) (expression_statement "pGVar1 = parameters->options_;" (assignment_expression "pGVar1 = parameters->options_" identifier = (field_expression "parameters->options_" identifier -> field_identifier)) ;) (if_statement "if (iVar2 == 0) {\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\n      }\n      goto LAB_001d4c08;\n    }" { (if_statement "if (pGVar1 != (General_options *)0x0) {\n        return (pGVar1->Tdata_).value;\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        return (pGVar1->Tdata_).value;\n      }" { (return_statement "return (pGVar1->Tdata_).value;" return (field_expression "(pGVar1->Tdata_).value" (parenthesized_expression "(pGVar1->Tdata_)" ( (field_expression "pGVar1->Tdata_" identifier -> field_identifier) )) . field_identifier) ;) })) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;) })) (if_statement "if (pGVar1 == (General_options *)0x0) goto LAB_001d4c08;" 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)) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) }))) (if_statement "if (((pGVar1->Tbss_).user_set_via_option == false) ||\n     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)) {\n    uVar3 = Expression::eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer);\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }\n  }\n  else {\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar3 = (parameters->options_->Tbss_).value;\n  }" if (parenthesized_expression "(((pGVar1->Tbss_).user_set_via_option == false) ||\n     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0))" ( (binary_expression "((pGVar1->Tbss_).user_set_via_option == false) ||\n     (iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)" (parenthesized_expression "((pGVar1->Tbss_).user_set_via_option == false)" ( (binary_expression "(pGVar1->Tbss_).user_set_via_option == false" (field_expression "(pGVar1->Tbss_).user_set_via_option" (parenthesized_expression "(pGVar1->Tbss_)" ( (field_expression "pGVar1->Tbss_" identifier -> field_identifier) )) . field_identifier) == false) )) || (parenthesized_expression "(iVar2 = std::string::compare((string *)&this->segment_name_,".bss"), iVar2 != 0)" ( (ERROR "iVar2 = std::string::" (assignment_expression "iVar2 = std" identifier = identifier) : : identifier : :) (comma_expression "compare((string *)&this->segment_name_,".bss"), iVar2 != 0" (call_expression "compare((string *)&this->segment_name_,".bss")" identifier (argument_list "((string *)&this->segment_name_,".bss")" ( (cast_expression "(string *)&this->segment_name_" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->segment_name_" & (field_expression "this->segment_name_" identifier -> field_identifier))) , (string_literal "".bss"" " string_content ") ))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar3 = Expression::eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer);\n    if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }\n  }" { (ERROR "uVar3 = Expression::" (assignment_expression "uVar3 = Expression" identifier = identifier) : :) (expression_statement "eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer);" (call_expression "eval_maybe_dot\n                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer)" identifier (argument_list "((this->super_Unary_expression).arg_,eei->symtab,eei->layout,\n                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,\n                       (Output_section **)0x0,eei->result_alignment_pointer,(STT *)0x0,(STV *)0x0,\n                       (uchar *)0x0,false,eei->is_valid_pointer)" ( (field_expression "(this->super_Unary_expression).arg_" (parenthesized_expression "(this->super_Unary_expression)" ( (field_expression "this->super_Unary_expression" identifier -> field_identifier) )) . field_identifier) , (field_expression "eei->symtab" identifier -> field_identifier) , (field_expression "eei->layout" identifier -> field_identifier) , (field_expression "eei->check_assertions" identifier -> field_identifier) , (field_expression "eei->is_dot_available" identifier -> field_identifier) , (field_expression "eei->dot_value" identifier -> field_identifier) , (field_expression "eei->dot_section" identifier -> field_identifier) , (cast_expression "(Output_section **)0x0" ( (type_descriptor "Output_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , (field_expression "eei->result_alignment_pointer" identifier -> field_identifier) , (cast_expression "(STT *)0x0" ( (type_descriptor "STT *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(STV *)0x0" ( (type_descriptor "STV *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , false , (field_expression "eei->is_valid_pointer" identifier -> field_identifier) ))) ;) (if_statement "if (eei->result_section_pointer != (Output_section **)0x0) {\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }" if (parenthesized_expression "(eei->result_section_pointer != (Output_section **)0x0)" ( (binary_expression "eei->result_section_pointer != (Output_section **)0x0" (field_expression "eei->result_section_pointer" identifier -> field_identifier) != (cast_expression "(Output_section **)0x0" ( (type_descriptor "Output_section **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      *eei->result_section_pointer = (Output_section *)0x0;\n      return uVar3;\n    }" { (expression_statement "*eei->result_section_pointer = (Output_section *)0x0;" (assignment_expression "*eei->result_section_pointer = (Output_section *)0x0" (pointer_expression "*eei->result_section_pointer" * (field_expression "eei->result_section_pointer" identifier -> field_identifier)) = (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return uVar3;" return identifier ;) })) }) (else_clause "else {\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar3 = (parameters->options_->Tbss_).value;\n  }" else (compound_statement "{\n    if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar3 = (parameters->options_->Tbss_).value;\n  }" { (if_statement "if (parameters->options_ == (General_options *)0x0) {\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(parameters->options_ == (General_options *)0x0)" ( (binary_expression "parameters->options_ == (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n    }" { (labeled_statement "LAB_001d4c08:\n                    /* WARNING: Subroutine does not return */\n      do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" statement_identifier : 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 "uVar3 = (parameters->options_->Tbss_).value;" (assignment_expression "uVar3 = (parameters->options_->Tbss_).value" identifier = (field_expression "(parameters->options_->Tbss_).value" (parenthesized_expression "(parameters->options_->Tbss_)" ( (field_expression "parameters->options_->Tbss_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) }))) (return_statement "return uVar3;" return identifier ;) })))
(translation_unit "undefined4 FUN_001d4aa0(int param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_001d4aa0(int param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_001d4aa0(int param_1,undefined4 *param_2)" identifier (parameter_list "(int param_1,undefined4 *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) (if_statement "if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x41b8) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0x41b8) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x41b8)" * (cast_expression "(char *)(iVar1 + 0x41b8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x41b8)" ( (binary_expression "iVar1 + 0x41b8" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" { (expression_statement "iVar3 = FUN_002075e0(param_1 + 8,".text");" (assignment_expression "iVar3 = FUN_002075e0(param_1 + 8,".text")" identifier = (call_expression "FUN_002075e0(param_1 + 8,".text")" identifier (argument_list "(param_1 + 8,".text")" ( (binary_expression "param_1 + 8" identifier + number_literal) , (string_literal "".text"" " string_content ") )))) ;) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }" { (if_statement "if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }" { (return_statement "return *(undefined4 *)(iVar1 + 0x41bc);" return (pointer_expression "*(undefined4 *)(iVar1 + 0x41bc)" * (cast_expression "(undefined4 *)(iVar1 + 0x41bc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x41bc)" ( (binary_expression "iVar1 + 0x41bc" identifier + number_literal) )))) ;) })) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;) })) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) })) (if_statement "if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" if (parenthesized_expression "(*(char *)(iVar1 + 0x4170) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x4170) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x4170)" * (cast_expression "(char *)(iVar1 + 0x4170)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4170)" ( (binary_expression "iVar1 + 0x4170" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }" { (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" else (compound_statement "{\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" { (expression_statement "iVar3 = FUN_002075e0(param_1 + 8,".data");" (assignment_expression "iVar3 = FUN_002075e0(param_1 + 8,".data")" identifier = (call_expression "FUN_002075e0(param_1 + 8,".data")" identifier (argument_list "(param_1 + 8,".data")" ( (binary_expression "param_1 + 8" identifier + number_literal) , (string_literal "".data"" " string_content ") )))) ;) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }" { (if_statement "if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }" { (return_statement "return *(undefined4 *)(iVar1 + 0x4174);" return (pointer_expression "*(undefined4 *)(iVar1 + 0x4174)" * (cast_expression "(undefined4 *)(iVar1 + 0x4174)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4174)" ( (binary_expression "iVar1 + 0x4174" identifier + number_literal) )))) ;) })) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;) })) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001d4c08;" goto statement_identifier ;)) }))) (if_statement "if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" if (parenthesized_expression "((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0))" ( (binary_expression "(*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0x4128) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x4128) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x4128)" * (cast_expression "(char *)(iVar1 + 0x4128)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4128)" ( (binary_expression "iVar1 + 0x4128" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)" ( (comma_expression "iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0" (assignment_expression "iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c)" identifier = (call_expression "FUN_002075e0(param_1 + 8,&DAT_0029e93c)" identifier (argument_list "(param_1 + 8,&DAT_0029e93c)" ( (binary_expression "param_1 + 8" identifier + number_literal) , (pointer_expression "&DAT_0029e93c" & identifier) )))) , (binary_expression "iVar1 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }" { (expression_statement "uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);" (assignment_expression "uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" identifier = (call_expression "FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" identifier (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" ( (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , (pointer_expression "*param_2" * identifier) , (subscript_expression "param_2[1]" identifier [ number_literal ]) , (pointer_expression "*(undefined1 *)(param_2 + 2)" * (cast_expression "(undefined1 *)(param_2 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) , (pointer_expression "*(undefined1 *)((int)param_2 + 9)" * (cast_expression "(undefined1 *)((int)param_2 + 9)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + 9)" ( (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , (subscript_expression "param_2[3]" identifier [ number_literal ]) , (subscript_expression "param_2[4]" identifier [ number_literal ]) , (subscript_expression "param_2[5]" identifier [ number_literal ]) , number_literal , (subscript_expression "param_2[7]" identifier [ number_literal ]) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "param_2[0xb]" identifier [ number_literal ]) )))) ;) (if_statement "if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }" if (parenthesized_expression "((undefined4 *)param_2[6] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)param_2[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)param_2[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }" { (expression_statement "*(undefined4 *)param_2[6] = 0;" (assignment_expression "*(undefined4 *)param_2[6] = 0" (pointer_expression "*(undefined4 *)param_2[6]" * (cast_expression "(undefined4 *)param_2[6]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[6]" identifier [ number_literal ]))) = number_literal) ;) (return_statement "return uVar2;" return identifier ;) })) }) (else_clause "else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" else (compound_statement "{\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" { (if_statement "if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }" if (parenthesized_expression "(*(int *)(DAT_003aa3e8 + 8) == 0)" ( (binary_expression "*(int *)(DAT_003aa3e8 + 8) == 0" (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }" { (labeled_statement "LAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");" statement_identifier : (expression_statement "FUN_0007ac80("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0007ac80("../../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 "uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" * (cast_expression "(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" ( (binary_expression "*(int *)(DAT_003aa3e8 + 8) + 0x412c" (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" * (cast_expression "(int *)(DAT_003aa3e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_003aa3e8 + 8)" ( (binary_expression "DAT_003aa3e8 + 8" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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) )) (goto_statement goto statement_identifier ;)) (if_statement if (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 = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " string_content ") )))) ;) (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (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 = (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 = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " string_content ") )))) ;) (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (pointer_expression & IDENT) )))) , (binary_expression IDENT != 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) )))) , (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , LIT , (subscript_expression IDENT [ LIT ]) , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = LIT) ;) (return_statement return IDENT ;) })) }) (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 { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_001d4aa0(int param_1,undefined4 *param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_001d4aa0(int param_1,undefined4 *param_2)" (identifier "FUN_001d4aa0") (parameter_list "(int param_1,undefined4 *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  if (iVar1 == 0) goto LAB_001d4c08;\n  if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }\n  if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }\n  return uVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" (* "*") (cast_expression "(int *)(DAT_003aa3e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_003aa3e8 + 8)" (( "(") (binary_expression "DAT_003aa3e8 + 8" (identifier "DAT_003aa3e8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001d4c08;" (goto "goto") (statement_identifier "LAB_001d4c08") (; ";"))) (if_statement "if (*(char *)(iVar1 + 0x41b8) != '\0') {\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 0x41b8) != '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x41b8) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x41b8)" (* "*") (cast_expression "(char *)(iVar1 + 0x41b8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x41b8)" (( "(") (binary_expression "iVar1 + 0x41b8" (identifier "iVar1") (+ "+") (number_literal "0x41b8")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar3 = FUN_002075e0(param_1 + 8,".text");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" ({ "{") (expression_statement "iVar3 = FUN_002075e0(param_1 + 8,".text");" (assignment_expression "iVar3 = FUN_002075e0(param_1 + 8,".text")" (identifier "iVar3") (= "=") (call_expression "FUN_002075e0(param_1 + 8,".text")" (identifier "FUN_002075e0") (argument_list "(param_1 + 8,".text")" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (string_literal "".text"" (" """) (string_content ".text") (" """)) () ")")))) (; ";")) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" (* "*") (cast_expression "(int *)(DAT_003aa3e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_003aa3e8 + 8)" (( "(") (binary_expression "DAT_003aa3e8 + 8" (identifier "DAT_003aa3e8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }\n      goto LAB_001d4c08;\n    }" ({ "{") (if_statement "if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return *(undefined4 *)(iVar1 + 0x41bc);\n      }" ({ "{") (return_statement "return *(undefined4 *)(iVar1 + 0x41bc);" (return "return") (pointer_expression "*(undefined4 *)(iVar1 + 0x41bc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x41bc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x41bc)" (( "(") (binary_expression "iVar1 + 0x41bc" (identifier "iVar1") (+ "+") (number_literal "0x41bc")) () ")")))) (; ";")) (} "}"))) (goto_statement "goto LAB_001d4c08;" (goto "goto") (statement_identifier "LAB_001d4c08") (; ";")) (} "}"))) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001d4c08;" (goto "goto") (statement_identifier "LAB_001d4c08") (; ";"))) (} "}"))) (if_statement "if (*(char *)(iVar1 + 0x4170) == '\0') {\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }\n  else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 0x4170) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x4170) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x4170)" (* "*") (cast_expression "(char *)(iVar1 + 0x4170)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4170)" (( "(") (binary_expression "iVar1 + 0x4170" (identifier "iVar1") (+ "+") (number_literal "0x4170")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" (* "*") (cast_expression "(int *)(DAT_003aa3e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_003aa3e8 + 8)" (( "(") (binary_expression "DAT_003aa3e8 + 8" (identifier "DAT_003aa3e8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" (else "else") (compound_statement "{\n    iVar3 = FUN_002075e0(param_1 + 8,".data");\n    iVar1 = *(int *)(DAT_003aa3e8 + 8);\n    if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }\n    if (iVar1 == 0) goto LAB_001d4c08;\n  }" ({ "{") (expression_statement "iVar3 = FUN_002075e0(param_1 + 8,".data");" (assignment_expression "iVar3 = FUN_002075e0(param_1 + 8,".data")" (identifier "iVar3") (= "=") (call_expression "FUN_002075e0(param_1 + 8,".data")" (identifier "FUN_002075e0") (argument_list "(param_1 + 8,".data")" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (string_literal "".data"" (" """) (string_content ".data") (" """)) () ")")))) (; ";")) (expression_statement "iVar1 = *(int *)(DAT_003aa3e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_003aa3e8 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" (* "*") (cast_expression "(int *)(DAT_003aa3e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_003aa3e8 + 8)" (( "(") (binary_expression "DAT_003aa3e8 + 8" (identifier "DAT_003aa3e8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }\n      goto LAB_001d4c08;\n    }" ({ "{") (if_statement "if (iVar1 != 0) {\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        return *(undefined4 *)(iVar1 + 0x4174);\n      }" ({ "{") (return_statement "return *(undefined4 *)(iVar1 + 0x4174);" (return "return") (pointer_expression "*(undefined4 *)(iVar1 + 0x4174)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x4174)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4174)" (( "(") (binary_expression "iVar1 + 0x4174" (identifier "iVar1") (+ "+") (number_literal "0x4174")) () ")")))) (; ";")) (} "}"))) (goto_statement "goto LAB_001d4c08;" (goto "goto") (statement_identifier "LAB_001d4c08") (; ";")) (} "}"))) (if_statement "if (iVar1 == 0) goto LAB_001d4c08;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001d4c08;" (goto "goto") (statement_identifier "LAB_001d4c08") (; ";"))) (} "}")))) (if_statement "if ((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }\n  else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" (if "if") (parenthesized_expression "((*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0))" (( "(") (binary_expression "(*(char *)(iVar1 + 0x4128) == '\0') ||\n     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)" (parenthesized_expression "(*(char *)(iVar1 + 0x4128) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x4128) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x4128)" (* "*") (cast_expression "(char *)(iVar1 + 0x4128)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4128)" (( "(") (binary_expression "iVar1 + 0x4128" (identifier "iVar1") (+ "+") (number_literal "0x4128")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)" (( "(") (comma_expression "iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0" (assignment_expression "iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c)" (identifier "iVar1") (= "=") (call_expression "FUN_002075e0(param_1 + 8,&DAT_0029e93c)" (identifier "FUN_002075e0") (argument_list "(param_1 + 8,&DAT_0029e93c)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (pointer_expression "&DAT_0029e93c" (& "&") (identifier "DAT_0029e93c")) () ")")))) (, ",") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);\n    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }\n  }" ({ "{") (expression_statement "uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);" (assignment_expression "uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" (identifier "uVar2") (= "=") (call_expression "FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" (identifier "FUN_001d48a0") (argument_list "(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],\n                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],\n                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb])" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined1 *)(param_2 + 2)" (* "*") (cast_expression "(undefined1 *)(param_2 + 2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (, ",") (pointer_expression "*(undefined1 *)((int)param_2 + 9)" (* "*") (cast_expression "(undefined1 *)((int)param_2 + 9)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + 9)" (( "(") (binary_expression "(int)param_2 + 9" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (number_literal "9")) () ")")))) (, ",") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "param_2[0xb]" (identifier "param_2") ([ "[") (number_literal "0xb") (] "]")) () ")")))) (; ";")) (if_statement "if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }" (if "if") (parenthesized_expression "((undefined4 *)param_2[6] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)param_2[6] != (undefined4 *)0x0" (cast_expression "(undefined4 *)param_2[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      *(undefined4 *)param_2[6] = 0;\n      return uVar2;\n    }" ({ "{") (expression_statement "*(undefined4 *)param_2[6] = 0;" (assignment_expression "*(undefined4 *)param_2[6] = 0" (pointer_expression "*(undefined4 *)param_2[6]" (* "*") (cast_expression "(undefined4 *)param_2[6]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" (else "else") (compound_statement "{\n    if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }\n    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);\n  }" ({ "{") (if_statement "if (*(int *)(DAT_003aa3e8 + 8) == 0) {\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_003aa3e8 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_003aa3e8 + 8) == 0" (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" (* "*") (cast_expression "(int *)(DAT_003aa3e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_003aa3e8 + 8)" (( "(") (binary_expression "DAT_003aa3e8 + 8" (identifier "DAT_003aa3e8") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");\n    }" ({ "{") (labeled_statement "LAB_001d4c08:\n                    \n      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");" (statement_identifier "LAB_001d4c08") (: ":") (expression_statement "FUN_0007ac80("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0007ac80("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_0007ac80") (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 "uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);" (assignment_expression "uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" (* "*") (cast_expression "(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_003aa3e8 + 8) + 0x412c)" (( "(") (binary_expression "*(int *)(DAT_003aa3e8 + 8) + 0x412c" (pointer_expression "*(int *)(DAT_003aa3e8 + 8)" (* "*") (cast_expression "(int *)(DAT_003aa3e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_003aa3e8 + 8)" (( "(") (binary_expression "DAT_003aa3e8 + 8" (identifier "DAT_003aa3e8") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x412c")) () ")"))))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "STT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: uint64_t value(Segment_start_expression * this, Expression_eval_info *
   eei) */

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

{
  type_3 *var_1;
  int var_3;
  uint64_t uVar3;
  
  var_1 = parameters->options_;
  if (var_1 == (type_3 *)0x0) goto LAB_001d4c08;
  if ((var_1->Ttext_).user_set_via_option != false) {
    var_3 = std::string::var_2((type_4 *)&this->segment_name_,".text");
    var_1 = parameters->options_;
    if (var_3 == 0) {
      if (var_1 != (type_3 *)0x0) {
        return (var_1->Ttext_).function_1;
      }
      goto LAB_001d4c08;
    }
    if (var_1 == (type_3 *)0x0) goto LAB_001d4c08;
  }
  if ((var_1->Tdata_).user_set_via_option == false) {
    var_1 = parameters->options_;
  }
  else {
    var_3 = std::string::var_2((type_4 *)&this->segment_name_,".data");
    var_1 = parameters->options_;
    if (var_3 == 0) {
      if (var_1 != (type_3 *)0x0) {
        return (var_1->Tdata_).function_1;
      }
      goto LAB_001d4c08;
    }
    if (var_1 == (type_3 *)0x0) goto LAB_001d4c08;
  }
  if (((var_1->Tbss_).user_set_via_option == false) ||
     (var_3 = std::type_4::var_2((type_4 *)&this->segment_name_,".bss"), var_3 != 0)) {
    uVar3 = Expression::var_4
                      ((this->super_Unary_expression).arg_,eei->symtab,eei->layout,
                       eei->check_assertions,eei->is_dot_available,eei->dot_value,eei->dot_section,
                       (type_5 **)0x0,eei->result_alignment_pointer,(type_6 *)0x0,(type_7 *)0x0,
                       (type_8 *)0x0,false,eei->is_valid_pointer);
    if (eei->result_section_pointer != (type_5 **)0x0) {
      *eei->result_section_pointer = (type_5 *)0x0;
      return uVar3;
    }
  }
  else {
    if (parameters->options_ == (type_3 *)0x0) {
LAB_001d4c08:
                    /* WARNING: Subroutine does not return */
      var_5("../../gold/parameters.h",0x5c,"options");
    }
    uVar3 = (parameters->options_->Tbss_).function_1;
  }
  return uVar3;
}


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

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

undefined4 MASKED(int param_1,undefined4 *param_2)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  
  iVar1 = *(int *)(DAT_003aa3e8 + 8);
  if (iVar1 == 0) goto LAB_001d4c08;
  if (*(char *)(iVar1 + 0x41b8) != '\0') {
    iVar3 = FUN_002075e0(param_1 + 8,".text");
    iVar1 = *(int *)(DAT_003aa3e8 + 8);
    if (iVar3 == 0) {
      if (iVar1 != 0) {
        return *(undefined4 *)(iVar1 + 0x41bc);
      }
      goto LAB_001d4c08;
    }
    if (iVar1 == 0) goto LAB_001d4c08;
  }
  if (*(char *)(iVar1 + 0x4170) == '\0') {
    iVar1 = *(int *)(DAT_003aa3e8 + 8);
  }
  else {
    iVar3 = FUN_002075e0(param_1 + 8,".data");
    iVar1 = *(int *)(DAT_003aa3e8 + 8);
    if (iVar3 == 0) {
      if (iVar1 != 0) {
        return *(undefined4 *)(iVar1 + 0x4174);
      }
      goto LAB_001d4c08;
    }
    if (iVar1 == 0) goto LAB_001d4c08;
  }
  if ((*(char *)(iVar1 + 0x4128) == '\0') ||
     (iVar1 = FUN_002075e0(param_1 + 8,&DAT_0029e93c), iVar1 != 0)) {
    uVar2 = FUN_001d48a0(*(undefined4 *)(param_1 + 4),*param_2,param_2[1],
                         *(undefined1 *)(param_2 + 2),*(undefined1 *)((int)param_2 + 9),param_2[3],
                         param_2[4],param_2[5],0,param_2[7],0,0,0,0,param_2[0xb]);
    if ((undefined4 *)param_2[6] != (undefined4 *)0x0) {
      *(undefined4 *)param_2[6] = 0;
      return uVar2;
    }
  }
  else {
    if (*(int *)(DAT_003aa3e8 + 8) == 0) {
LAB_001d4c08:
                    /* WARNING: Subroutine does not return */
      FUN_0007ac80("../../gold/parameters.h",0x5c,"options");
    }
    uVar2 = *(undefined4 *)(*(int *)(DAT_003aa3e8 + 8) + 0x412c);
  }
  return uVar2;
}

