
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Output_segment * find_first_load_seg(Layout * this, Target * target) */

Output_segment * __thiscall gold::Layout::find_first_load_seg(Layout *this,Target *target)

{
  uint uVar1;
  bool bVar2;
  Output_segment *pOVar3;
  pointer ppOVar4;
  Output_segment *seg1;
  
  ppOVar4 = (this->segment_list_).
            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.
            _M_impl._M_start;
  pOVar3 = (Output_segment *)0x0;
  if (ppOVar4 !=
      (this->segment_list_).
      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl.
      _M_finish) {
    do {
      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {
LAB_001bd060:
        ppOVar4 = ppOVar4 + 1;
        if ((this->segment_list_).
            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.
            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;
      }
      if (parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
      }
      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||
         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;
      if (pOVar3 != (Output_segment *)0x0) {
        bVar2 = segment_precedes(this,seg1,pOVar3);
        if (!bVar2) goto LAB_001bd060;
        seg1 = *ppOVar4;
      }
      ppOVar4 = ppOVar4 + 1;
      pOVar3 = seg1;
    } while ((this->segment_list_).
             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.
             _M_impl._M_finish != ppOVar4);
LAB_001bd0e0:
    if (pOVar3 != (Output_segment *)0x0) {
      return pOVar3;
    }
  }
  if (((this->script_options_->script_sections_).saw_sections_clause_ != false) &&
     ((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0)) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg");
  }
  pOVar3 = make_output_segment(this,1,4);
  return pOVar3;
}



long FUN_001bd030(long param_1,long param_2)

{
  uint uVar1;
  char cVar2;
  long lVar3;
  long *plVar4;
  long lVar5;
  
  plVar4 = *(long **)(param_1 + 0x230);
  lVar3 = 0;
  if (plVar4 != *(long **)(param_1 + 0x238)) {
    do {
      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||
             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {
LAB_001bd060:
        plVar4 = plVar4 + 1;
        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;
      }
      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");
      }
      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))
         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))
      goto LAB_001bd060;
      if (lVar3 != 0) {
        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);
        if (cVar2 == '\0') goto LAB_001bd060;
        lVar5 = *plVar4;
      }
      plVar4 = plVar4 + 1;
      lVar3 = lVar5;
    } while (*(long **)(param_1 + 0x238) != plVar4);
LAB_001bd0e0:
    if (lVar3 != 0) {
      return lVar3;
    }
  }
  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&
     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");
  }
  lVar3 = FUN_001bb420(param_1,1,4);
  return lVar3;
}


PUSH R13
MOV R13,RSI
PUSH R12
XOR R12D,R12D
PUSH RBP
MOV RBP,RDI
PUSH RBX
SUB RSP,0x8
MOV RBX,qword ptr [RDI + 0x230]
CMP RBX,qword ptr [RDI + 0x238]
JNZ 0x001bd06d
JMP 0x001bd0f8
ADD RBX,0x8
CMP qword ptr [RBP + 0x238],RBX
JZ 0x001bd0e0
MOV RSI,qword ptr [RBX]
CMP dword ptr [RSI + 0x2f0],0x1
JNZ 0x001bd060
MOV EAX,dword ptr [RSI + 0x2f4]
TEST AL,0x4
JZ 0x001bd060
MOV RDX,qword ptr [0x004586c8]
MOV RDX,qword ptr [RDX + 0x10]
TEST RDX,RDX
JZ 0x001bd14c
CMP byte ptr [RDX + 0x3c71],0x0
JNZ 0x001bd0a4
TEST AL,0x2
JNZ 0x001bd060
MOV RDX,qword ptr [R13 + 0x8]
CMP byte ptr [RDX + 0x38],0x0
JZ 0x001bd0b2
TEST AL,0x1
JNZ 0x001bd060
TEST R12,R12
JZ 0x001bd0c9
MOV RDX,R12
MOV RDI,RBP
CALL 0x001b8810
TEST AL,AL
JZ 0x001bd060
MOV RSI,qword ptr [RBX]
MOV R12,RSI
ADD RBX,0x8
CMP qword ptr [RBP + 0x238],RBX
JNZ 0x001bd06d
NOP dword ptr [RAX]
TEST R12,R12
JZ 0x001bd0f8
ADD RSP,0x8
MOV RAX,R12
POP RBX
POP RBP
POP R12
POP R13
RET
MOV RAX,qword ptr [RBP + 0x8]
CMP byte ptr [RAX + 0x148],0x0
JZ 0x001bd130
CMP qword ptr [RAX + 0x168],0x0
JZ 0x001bd130
LEA RDX,[0x38e5d0]
MOV ESI,0xa10
LEA RDI,[0x38d038]
CALL 0x0018dcf0
ADD RSP,0x8
MOV RDI,RBP
MOV EDX,0x4
MOV ESI,0x1
POP RBX
POP RBP
POP R12
POP R13
JMP 0x001bb420
LEA RDX,[0x38e788]
MOV ESI,0x5c
LEA RDI,[0x380279]
CALL 0x0018dcf0
(translation_unit "long FUN_001bd030(long param_1,long param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}\n\n" (function_definition "long FUN_001bd030(long param_1,long param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001bd030(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (expression_statement "plVar4 = *(long **)(param_1 + 0x230);" (assignment_expression "plVar4 = *(long **)(param_1 + 0x230)" identifier = (pointer_expression "*(long **)(param_1 + 0x230)" * (cast_expression "(long **)(param_1 + 0x230)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x230)" ( (binary_expression "param_1 + 0x230" identifier + number_literal) ))))) ;) (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (if_statement "if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }" if (parenthesized_expression "(plVar4 != *(long **)(param_1 + 0x238))" ( (binary_expression "plVar4 != *(long **)(param_1 + 0x238)" identifier != (pointer_expression "*(long **)(param_1 + 0x238)" * (cast_expression "(long **)(param_1 + 0x238)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x238)" ( (binary_expression "param_1 + 0x238" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }" { (do_statement "do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);" do (compound_statement "{\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    }" { (while_statement "while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }" while (parenthesized_expression "((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)))" ( (parenthesized_expression "(lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))" ( (comma_expression "lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (assignment_expression "lVar5 = *plVar4" identifier = (pointer_expression "*plVar4" * identifier)) , (binary_expression "*(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (binary_expression "*(int *)(lVar5 + 0x2f0) != 1" (pointer_expression "*(int *)(lVar5 + 0x2f0)" * (cast_expression "(int *)(lVar5 + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x2f0)" ( (binary_expression "lVar5 + 0x2f0" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "(uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" ( (comma_expression "uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0" (assignment_expression "uVar1 = *(uint *)(lVar5 + 0x2f4)" identifier = (pointer_expression "*(uint *)(lVar5 + 0x2f4)" * (cast_expression "(uint *)(lVar5 + 0x2f4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x2f4)" ( (binary_expression "lVar5 + 0x2f4" identifier + number_literal) ))))) , (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal)) )))) )) )) (compound_statement "{\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }" { (labeled_statement "LAB_001bd060:\n        plVar4 = plVar4 + 1;" statement_identifier : (expression_statement "plVar4 = plVar4 + 1;" (assignment_expression "plVar4 = plVar4 + 1" identifier = (binary_expression "plVar4 + 1" identifier + number_literal)) ;)) (if_statement "if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;" if (parenthesized_expression "(*(long **)(param_1 + 0x238) == plVar4)" ( (binary_expression "*(long **)(param_1 + 0x238) == plVar4" (pointer_expression "*(long **)(param_1 + 0x238)" * (cast_expression "(long **)(param_1 + 0x238)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x238)" ( (binary_expression "param_1 + 0x238" identifier + number_literal) )))) == identifier) )) (goto_statement "goto LAB_001bd0e0;" goto statement_identifier ;)) })) (if_statement "if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }" if (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) == 0)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }" { comment (expression_statement "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0018dcf0("../../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 ") ))) ;) })) (if_statement "if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;" if (parenthesized_expression "(((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))" ( (binary_expression "((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)))" (parenthesized_expression "((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))" ( (binary_expression "(*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0)" (parenthesized_expression "(*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0')" ( (binary_expression "*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0'" (pointer_expression "*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" * (cast_expression "(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((uVar1 & 2) != 0)" ( (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)))" ( (parenthesized_expression "(*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))" ( (binary_expression "*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)" (binary_expression "*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0'" (pointer_expression "*(char *)(*(long *)(param_2 + 8) + 0x38)" * (cast_expression "(char *)(*(long *)(param_2 + 8) + 0x38)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 8) + 0x38)" ( (binary_expression "*(long *)(param_2 + 8) + 0x38" (pointer_expression "*(long *)(param_2 + 8)" * (cast_expression "(long *)(param_2 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) ))) )) ))) )) (goto_statement "goto LAB_001bd060;" goto statement_identifier ;)) (if_statement "if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }" { (expression_statement "cVar2 = FUN_001b8810(param_1,lVar5,lVar3);" (assignment_expression "cVar2 = FUN_001b8810(param_1,lVar5,lVar3)" identifier = (call_expression "FUN_001b8810(param_1,lVar5,lVar3)" identifier (argument_list "(param_1,lVar5,lVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (cVar2 == '\0') goto LAB_001bd060;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001bd060;" goto statement_identifier ;)) (expression_statement "lVar5 = *plVar4;" (assignment_expression "lVar5 = *plVar4" identifier = (pointer_expression "*plVar4" * identifier)) ;) })) (expression_statement "plVar4 = plVar4 + 1;" (assignment_expression "plVar4 = plVar4 + 1" identifier = (binary_expression "plVar4 + 1" identifier + number_literal)) ;) (expression_statement "lVar3 = lVar5;" (assignment_expression "lVar3 = lVar5" identifier = identifier) ;) }) while (parenthesized_expression "(*(long **)(param_1 + 0x238) != plVar4)" ( (binary_expression "*(long **)(param_1 + 0x238) != plVar4" (pointer_expression "*(long **)(param_1 + 0x238)" * (cast_expression "(long **)(param_1 + 0x238)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x238)" ( (binary_expression "param_1 + 0x238" identifier + number_literal) )))) != identifier) )) ;) (labeled_statement "LAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }" statement_identifier : (if_statement "if (lVar3 != 0) {\n      return lVar3;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      return lVar3;\n    }" { (return_statement "return lVar3;" return identifier ;) }))) })) (if_statement "if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" if (parenthesized_expression "((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0))" ( (binary_expression "(*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)" (parenthesized_expression "(*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0')" ( (binary_expression "*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0'" (pointer_expression "*(char *)(*(long *)(param_1 + 8) + 0x148)" * (cast_expression "(char *)(*(long *)(param_1 + 8) + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x148)" ( (binary_expression "*(long *)(param_1 + 8) + 0x148" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)" ( (binary_expression "*(long *)(*(long *)(param_1 + 8) + 0x168) != 0" (pointer_expression "*(long *)(*(long *)(param_1 + 8) + 0x168)" * (cast_expression "(long *)(*(long *)(param_1 + 8) + 0x168)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x168)" ( (binary_expression "*(long *)(param_1 + 8) + 0x168" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" { comment (expression_statement "FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");" (call_expression "FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg")" identifier (argument_list "("../../gold/layout.cc",0xa10,"find_first_load_seg")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""find_first_load_seg"" " string_content ") ))) ;) })) (expression_statement "lVar3 = FUN_001bb420(param_1,1,4);" (assignment_expression "lVar3 = FUN_001bb420(param_1,1,4)" identifier = (call_expression "FUN_001bb420(param_1,1,4)" identifier (argument_list "(param_1,1,4)" ( identifier , number_literal , number_literal )))) ;) (return_statement "return lVar3;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: Output_segment * find_first_load_seg(Layout * this, Target * target) */\n\nOutput_segment * __thiscall gold::Layout::find_first_load_seg(Layout *this,Target *target)\n\n{\n  uint uVar1;\n  bool bVar2;\n  Output_segment *pOVar3;\n  pointer ppOVar4;\n  Output_segment *seg1;\n  \n  ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_start;\n  pOVar3 = (Output_segment *)0x0;\n  if (ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl.\n      _M_finish) {\n    do {\n      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }\n      if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }\n      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;\n      if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }\n      ppOVar4 = ppOVar4 + 1;\n      pOVar3 = seg1;\n    } while ((this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4);\nLAB_001bd0e0:\n    if (pOVar3 != (Output_segment *)0x0) {\n      return pOVar3;\n    }\n  }\n  if (((this->script_options_->script_sections_).saw_sections_clause_ != false) &&\n     ((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  pOVar3 = make_output_segment(this,1,4);\n  return pOVar3;\n}\n\n" comment comment comment (ERROR "Output_segment * __thiscall gold::Layout::find_first_load_seg(Layout *this,Target *target)" (binary_expression "Output_segment * __thiscall gold::Layout::find_first_load_seg(Layout *this,Target *target" (binary_expression "Output_segment * __thiscall gold::Layout::find_first_load_seg(Layout *this" (binary_expression "Output_segment * __thiscall" identifier * identifier) (ERROR "gold::Layout::find_first_load_seg(Layout" identifier : : identifier : : identifier ( identifier) * identifier) (ERROR ",Target" , identifier) * identifier) )) (compound_statement "{\n  uint uVar1;\n  bool bVar2;\n  Output_segment *pOVar3;\n  pointer ppOVar4;\n  Output_segment *seg1;\n  \n  ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_start;\n  pOVar3 = (Output_segment *)0x0;\n  if (ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl.\n      _M_finish) {\n    do {\n      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }\n      if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }\n      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;\n      if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }\n      ppOVar4 = ppOVar4 + 1;\n      pOVar3 = seg1;\n    } while ((this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4);\nLAB_001bd0e0:\n    if (pOVar3 != (Output_segment *)0x0) {\n      return pOVar3;\n    }\n  }\n  if (((this->script_options_->script_sections_).saw_sections_clause_ != false) &&\n     ((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  pOVar3 = make_output_segment(this,1,4);\n  return pOVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "Output_segment *pOVar3;" type_identifier (pointer_declarator "*pOVar3" * identifier) ;) (declaration "pointer ppOVar4;" type_identifier identifier ;) (declaration "Output_segment *seg1;" type_identifier (pointer_declarator "*seg1" * identifier) ;) (expression_statement "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_start" (field_expression "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl" (binary_expression "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold" (binary_expression "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std" (assignment_expression "ppOVar4 = (this->segment_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->segment_list_).\n            super__Vector_base<gold" (field_expression "(this->segment_list_).\n            super__Vector_base" (parenthesized_expression "(this->segment_list_)" ( (field_expression "this->segment_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "pOVar3 = (Output_segment *)0x0;" (assignment_expression "pOVar3 = (Output_segment *)0x0" identifier = (cast_expression "(Output_segment *)0x0" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl.\n      _M_finish) {\n    do {\n      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }\n      if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }\n      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;\n      if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }\n      ppOVar4 = ppOVar4 + 1;\n      pOVar3 = seg1;\n    } while ((this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4);\nLAB_001bd0e0:\n    if (pOVar3 != (Output_segment *)0x0) {\n      return pOVar3;\n    }\n  }" if (parenthesized_expression "(ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl.\n      _M_finish)" ( (field_expression "ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl.\n      _M_finish" (field_expression "ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>._M_impl" (binary_expression "ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std::allocator<gold" (binary_expression "ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold::Output_segment*,_std" (binary_expression "ppOVar4 !=\n      (this->segment_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->segment_list_).\n      super__Vector_base<gold" (field_expression "(this->segment_list_).\n      super__Vector_base" (parenthesized_expression "(this->segment_list_)" ( (field_expression "this->segment_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }\n      if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }\n      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;\n      if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }\n      ppOVar4 = ppOVar4 + 1;\n      pOVar3 = seg1;\n    } while ((this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4);\nLAB_001bd0e0:\n    if (pOVar3 != (Output_segment *)0x0) {\n      return pOVar3;\n    }\n  }" { (do_statement "do {\n      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }\n      if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }\n      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;\n      if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }\n      ppOVar4 = ppOVar4 + 1;\n      pOVar3 = seg1;\n    } while ((this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4);" do (compound_statement "{\n      while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }\n      if (parameters->options_ == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }\n      if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;\n      if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }\n      ppOVar4 = ppOVar4 + 1;\n      pOVar3 = seg1;\n    }" { (while_statement "while ((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }" while (parenthesized_expression "((seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0)))" ( (parenthesized_expression "(seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0))" ( (comma_expression "seg1 = *ppOVar4, seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0)" (assignment_expression "seg1 = *ppOVar4" identifier = (pointer_expression "*ppOVar4" * identifier)) , (binary_expression "seg1->type_ != 1 || (uVar1 = seg1->flags_, (uVar1 & 4) == 0)" (binary_expression "seg1->type_ != 1" (field_expression "seg1->type_" identifier -> field_identifier) != number_literal) || (parenthesized_expression "(uVar1 = seg1->flags_, (uVar1 & 4) == 0)" ( (comma_expression "uVar1 = seg1->flags_, (uVar1 & 4) == 0" (assignment_expression "uVar1 = seg1->flags_" identifier = (field_expression "seg1->flags_" identifier -> field_identifier)) , (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal)) )))) )) )) (compound_statement "{\nLAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;\n        if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;\n      }" { (labeled_statement "LAB_001bd060:\n        ppOVar4 = ppOVar4 + 1;" statement_identifier : (expression_statement "ppOVar4 = ppOVar4 + 1;" (assignment_expression "ppOVar4 = ppOVar4 + 1" identifier = (binary_expression "ppOVar4 + 1" identifier + number_literal)) ;)) (if_statement "if ((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4) goto LAB_001bd0e0;" if (parenthesized_expression "((this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4)" ( (binary_expression "(this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish == ppOVar4" (field_expression "(this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl._M_finish" (field_expression "(this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n            _M_impl" (binary_expression "(this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "(this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std::allocator<gold" (binary_expression "(this->segment_list_).\n            super__Vector_base<gold::Output_segment*,_std" (binary_expression "(this->segment_list_).\n            super__Vector_base<gold" (field_expression "(this->segment_list_).\n            super__Vector_base" (parenthesized_expression "(this->segment_list_)" ( (field_expression "this->segment_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) == identifier) )) (goto_statement "goto LAB_001bd0e0;" goto statement_identifier ;)) })) (if_statement "if (parameters->options_ == (General_options *)0x0) {\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 "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/parameters.h",0x5c,"options");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/parameters.h",0x5c,"options");" (call_expression "do_gold_unreachable("../../gold/parameters.h",0x5c,"options")" identifier (argument_list "("../../gold/parameters.h",0x5c,"options")" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") ))) ;) })) (if_statement "if ((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))) goto LAB_001bd060;" if (parenthesized_expression "((((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0))))" ( (binary_expression "(((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)) ||\n         ((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))" (parenthesized_expression "(((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0))" ( (binary_expression "((parameters->options_->omagic_).value == false) && ((uVar1 & 2) != 0)" (parenthesized_expression "((parameters->options_->omagic_).value == false)" ( (binary_expression "(parameters->options_->omagic_).value == false" (field_expression "(parameters->options_->omagic_).value" (parenthesized_expression "(parameters->options_->omagic_)" ( (field_expression "parameters->options_->omagic_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) == false) )) && (parenthesized_expression "((uVar1 & 2) != 0)" ( (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "((target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)))" ( (parenthesized_expression "(target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0))" ( (binary_expression "target->pti_->isolate_execinstr != false && ((uVar1 & 1) != 0)" (binary_expression "target->pti_->isolate_execinstr != false" (field_expression "target->pti_->isolate_execinstr" (field_expression "target->pti_" identifier -> field_identifier) -> field_identifier) != false) && (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) ))) )) ))) )) (goto_statement "goto LAB_001bd060;" goto statement_identifier ;)) (if_statement "if (pOVar3 != (Output_segment *)0x0) {\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }" if (parenthesized_expression "(pOVar3 != (Output_segment *)0x0)" ( (binary_expression "pOVar3 != (Output_segment *)0x0" identifier != (cast_expression "(Output_segment *)0x0" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        bVar2 = segment_precedes(this,seg1,pOVar3);\n        if (!bVar2) goto LAB_001bd060;\n        seg1 = *ppOVar4;\n      }" { (expression_statement "bVar2 = segment_precedes(this,seg1,pOVar3);" (assignment_expression "bVar2 = segment_precedes(this,seg1,pOVar3)" identifier = (call_expression "segment_precedes(this,seg1,pOVar3)" identifier (argument_list "(this,seg1,pOVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (!bVar2) goto LAB_001bd060;" if (parenthesized_expression "(!bVar2)" ( (unary_expression "!bVar2" ! identifier) )) (goto_statement "goto LAB_001bd060;" goto statement_identifier ;)) (expression_statement "seg1 = *ppOVar4;" (assignment_expression "seg1 = *ppOVar4" identifier = (pointer_expression "*ppOVar4" * identifier)) ;) })) (expression_statement "ppOVar4 = ppOVar4 + 1;" (assignment_expression "ppOVar4 = ppOVar4 + 1" identifier = (binary_expression "ppOVar4 + 1" identifier + number_literal)) ;) (expression_statement "pOVar3 = seg1;" (assignment_expression "pOVar3 = seg1" identifier = identifier) ;) }) while (parenthesized_expression "((this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4)" ( (binary_expression "(this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish != ppOVar4" (field_expression "(this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl._M_finish" (field_expression "(this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_>.\n             _M_impl" (binary_expression "(this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold::Output_segment*>_" (binary_expression "(this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std::allocator<gold" (binary_expression "(this->segment_list_).\n             super__Vector_base<gold::Output_segment*,_std" (binary_expression "(this->segment_list_).\n             super__Vector_base<gold" (field_expression "(this->segment_list_).\n             super__Vector_base" (parenthesized_expression "(this->segment_list_)" ( (field_expression "this->segment_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_segment" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) (labeled_statement "LAB_001bd0e0:\n    if (pOVar3 != (Output_segment *)0x0) {\n      return pOVar3;\n    }" statement_identifier : (if_statement "if (pOVar3 != (Output_segment *)0x0) {\n      return pOVar3;\n    }" if (parenthesized_expression "(pOVar3 != (Output_segment *)0x0)" ( (binary_expression "pOVar3 != (Output_segment *)0x0" identifier != (cast_expression "(Output_segment *)0x0" ( (type_descriptor "Output_segment *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pOVar3;\n    }" { (return_statement "return pOVar3;" return identifier ;) }))) })) (if_statement "if (((this->script_options_->script_sections_).saw_sections_clause_ != false) &&\n     ((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0)) {\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" if (parenthesized_expression "(((this->script_options_->script_sections_).saw_sections_clause_ != false) &&\n     ((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0))" ( (binary_expression "((this->script_options_->script_sections_).saw_sections_clause_ != false) &&\n     ((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0)" (parenthesized_expression "((this->script_options_->script_sections_).saw_sections_clause_ != false)" ( (binary_expression "(this->script_options_->script_sections_).saw_sections_clause_ != false" (field_expression "(this->script_options_->script_sections_).saw_sections_clause_" (parenthesized_expression "(this->script_options_->script_sections_)" ( (field_expression "this->script_options_->script_sections_" (field_expression "this->script_options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) && (parenthesized_expression "((this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0)" ( (binary_expression "(this->script_options_->script_sections_).phdrs_elements_ != (Phdrs_elements *)0x0" (field_expression "(this->script_options_->script_sections_).phdrs_elements_" (parenthesized_expression "(this->script_options_->script_sections_)" ( (field_expression "this->script_options_->script_sections_" (field_expression "this->script_options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != (cast_expression "(Phdrs_elements *)0x0" ( (type_descriptor "Phdrs_elements *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" { comment (expression_statement "do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg");" (call_expression "do_gold_unreachable("../../gold/layout.cc",0xa10,"find_first_load_seg")" identifier (argument_list "("../../gold/layout.cc",0xa10,"find_first_load_seg")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""find_first_load_seg"" " string_content ") ))) ;) })) (expression_statement "pOVar3 = make_output_segment(this,1,4);" (assignment_expression "pOVar3 = make_output_segment(this,1,4)" identifier = (call_expression "make_output_segment(this,1,4)" identifier (argument_list "(this,1,4)" ( identifier , number_literal , number_literal )))) ;) (return_statement "return pOVar3;" return identifier ;) }))
(translation_unit "long FUN_001bd030(long param_1,long param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}\n\n" (function_definition "long FUN_001bd030(long param_1,long param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_001bd030(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar4;" (sized_type_specifier "long" long) (pointer_declarator "*plVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (expression_statement "plVar4 = *(long **)(param_1 + 0x230);" (assignment_expression "plVar4 = *(long **)(param_1 + 0x230)" identifier = (pointer_expression "*(long **)(param_1 + 0x230)" * (cast_expression "(long **)(param_1 + 0x230)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x230)" ( (binary_expression "param_1 + 0x230" identifier + number_literal) ))))) ;) (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (if_statement "if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }" if (parenthesized_expression "(plVar4 != *(long **)(param_1 + 0x238))" ( (binary_expression "plVar4 != *(long **)(param_1 + 0x238)" identifier != (pointer_expression "*(long **)(param_1 + 0x238)" * (cast_expression "(long **)(param_1 + 0x238)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x238)" ( (binary_expression "param_1 + 0x238" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }" { (do_statement "do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);" do (compound_statement "{\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    }" { (while_statement "while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }" while (parenthesized_expression "((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)))" ( (parenthesized_expression "(lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))" ( (comma_expression "lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (assignment_expression "lVar5 = *plVar4" identifier = (pointer_expression "*plVar4" * identifier)) , (binary_expression "*(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (binary_expression "*(int *)(lVar5 + 0x2f0) != 1" (pointer_expression "*(int *)(lVar5 + 0x2f0)" * (cast_expression "(int *)(lVar5 + 0x2f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x2f0)" ( (binary_expression "lVar5 + 0x2f0" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "(uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" ( (comma_expression "uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0" (assignment_expression "uVar1 = *(uint *)(lVar5 + 0x2f4)" identifier = (pointer_expression "*(uint *)(lVar5 + 0x2f4)" * (cast_expression "(uint *)(lVar5 + 0x2f4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x2f4)" ( (binary_expression "lVar5 + 0x2f4" identifier + number_literal) ))))) , (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal)) )))) )) )) (compound_statement "{\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }" { (labeled_statement "LAB_001bd060:\n        plVar4 = plVar4 + 1;" statement_identifier : (expression_statement "plVar4 = plVar4 + 1;" (assignment_expression "plVar4 = plVar4 + 1" identifier = (binary_expression "plVar4 + 1" identifier + number_literal)) ;)) (if_statement "if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;" if (parenthesized_expression "(*(long **)(param_1 + 0x238) == plVar4)" ( (binary_expression "*(long **)(param_1 + 0x238) == plVar4" (pointer_expression "*(long **)(param_1 + 0x238)" * (cast_expression "(long **)(param_1 + 0x238)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x238)" ( (binary_expression "param_1 + 0x238" identifier + number_literal) )))) == identifier) )) (goto_statement "goto LAB_001bd0e0;" goto statement_identifier ;)) })) (if_statement "if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }" if (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) == 0)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }" { (expression_statement "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0018dcf0("../../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 ") ))) ;) })) (if_statement "if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;" if (parenthesized_expression "(((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))" ( (binary_expression "((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)))" (parenthesized_expression "((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))" ( (binary_expression "(*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0)" (parenthesized_expression "(*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0')" ( (binary_expression "*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0'" (pointer_expression "*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" * (cast_expression "(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" ( (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" * (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" ( (binary_expression "PTR_DAT_004586c8 + 0x10" identifier + number_literal) )))) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((uVar1 & 2) != 0)" ( (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) != number_literal) ))) )) || (parenthesized_expression "((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)))" ( (parenthesized_expression "(*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))" ( (binary_expression "*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)" (binary_expression "*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0'" (pointer_expression "*(char *)(*(long *)(param_2 + 8) + 0x38)" * (cast_expression "(char *)(*(long *)(param_2 + 8) + 0x38)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_2 + 8) + 0x38)" ( (binary_expression "*(long *)(param_2 + 8) + 0x38" (pointer_expression "*(long *)(param_2 + 8)" * (cast_expression "(long *)(param_2 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) ))) )) ))) )) (goto_statement "goto LAB_001bd060;" goto statement_identifier ;)) (if_statement "if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }" { (expression_statement "cVar2 = FUN_001b8810(param_1,lVar5,lVar3);" (assignment_expression "cVar2 = FUN_001b8810(param_1,lVar5,lVar3)" identifier = (call_expression "FUN_001b8810(param_1,lVar5,lVar3)" identifier (argument_list "(param_1,lVar5,lVar3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (cVar2 == '\0') goto LAB_001bd060;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001bd060;" goto statement_identifier ;)) (expression_statement "lVar5 = *plVar4;" (assignment_expression "lVar5 = *plVar4" identifier = (pointer_expression "*plVar4" * identifier)) ;) })) (expression_statement "plVar4 = plVar4 + 1;" (assignment_expression "plVar4 = plVar4 + 1" identifier = (binary_expression "plVar4 + 1" identifier + number_literal)) ;) (expression_statement "lVar3 = lVar5;" (assignment_expression "lVar3 = lVar5" identifier = identifier) ;) }) while (parenthesized_expression "(*(long **)(param_1 + 0x238) != plVar4)" ( (binary_expression "*(long **)(param_1 + 0x238) != plVar4" (pointer_expression "*(long **)(param_1 + 0x238)" * (cast_expression "(long **)(param_1 + 0x238)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x238)" ( (binary_expression "param_1 + 0x238" identifier + number_literal) )))) != identifier) )) ;) (labeled_statement "LAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }" statement_identifier : (if_statement "if (lVar3 != 0) {\n      return lVar3;\n    }" if (parenthesized_expression "(lVar3 != 0)" ( (binary_expression "lVar3 != 0" identifier != number_literal) )) (compound_statement "{\n      return lVar3;\n    }" { (return_statement "return lVar3;" return identifier ;) }))) })) (if_statement "if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" if (parenthesized_expression "((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0))" ( (binary_expression "(*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)" (parenthesized_expression "(*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0')" ( (binary_expression "*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0'" (pointer_expression "*(char *)(*(long *)(param_1 + 8) + 0x148)" * (cast_expression "(char *)(*(long *)(param_1 + 8) + 0x148)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x148)" ( (binary_expression "*(long *)(param_1 + 8) + 0x148" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)" ( (binary_expression "*(long *)(*(long *)(param_1 + 8) + 0x168) != 0" (pointer_expression "*(long *)(*(long *)(param_1 + 8) + 0x168)" * (cast_expression "(long *)(*(long *)(param_1 + 8) + 0x168)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x168)" ( (binary_expression "*(long *)(param_1 + 8) + 0x168" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" { (expression_statement "FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");" (call_expression "FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg")" identifier (argument_list "("../../gold/layout.cc",0xa10,"find_first_load_seg")" ( (string_literal ""../../gold/layout.cc"" " string_content ") , number_literal , (string_literal ""find_first_load_seg"" " string_content ") ))) ;) })) (expression_statement "lVar3 = FUN_001bb420(param_1,1,4);" (assignment_expression "lVar3 = FUN_001bb420(param_1,1,4)" identifier = (call_expression "FUN_001bb420(param_1,1,4)" identifier (argument_list "(param_1,1,4)" ( identifier , number_literal , number_literal )))) ;) (return_statement "return lVar3;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT)) )))) )) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (goto_statement goto statement_identifier ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (return_statement return IDENT ;) })))
(function_definition "long FUN_001bd030(long param_1,long param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_001bd030(long param_1,long param_2)" (identifier "FUN_001bd030") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  long lVar3;\n  long *plVar4;\n  long lVar5;\n  \n  plVar4 = *(long **)(param_1 + 0x230);\n  lVar3 = 0;\n  if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }\n  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }\n  lVar3 = FUN_001bb420(param_1,1,4);\n  return lVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long *plVar4;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar4" (* "*") (identifier "plVar4")) (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (expression_statement "plVar4 = *(long **)(param_1 + 0x230);" (assignment_expression "plVar4 = *(long **)(param_1 + 0x230)" (identifier "plVar4") (= "=") (pointer_expression "*(long **)(param_1 + 0x230)" (* "*") (cast_expression "(long **)(param_1 + 0x230)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x230)" (( "(") (binary_expression "param_1 + 0x230" (identifier "param_1") (+ "+") (number_literal "0x230")) () ")"))))) (; ";")) (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" (identifier "lVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (plVar4 != *(long **)(param_1 + 0x238)) {\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }" (if "if") (parenthesized_expression "(plVar4 != *(long **)(param_1 + 0x238))" (( "(") (binary_expression "plVar4 != *(long **)(param_1 + 0x238)" (identifier "plVar4") (!= "!=") (pointer_expression "*(long **)(param_1 + 0x238)" (* "*") (cast_expression "(long **)(param_1 + 0x238)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x238)" (( "(") (binary_expression "param_1 + 0x238" (identifier "param_1") (+ "+") (number_literal "0x238")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);\nLAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }\n  }" ({ "{") (do_statement "do {\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    } while (*(long **)(param_1 + 0x238) != plVar4);" (do "do") (compound_statement "{\n      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }\n      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }\n      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;\n      if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }\n      plVar4 = plVar4 + 1;\n      lVar3 = lVar5;\n    }" ({ "{") (while_statement "while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }" (while "while") (parenthesized_expression "((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)))" (( "(") (parenthesized_expression "(lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))" (( "(") (comma_expression "lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (assignment_expression "lVar5 = *plVar4" (identifier "lVar5") (= "=") (pointer_expression "*plVar4" (* "*") (identifier "plVar4"))) (, ",") (binary_expression "*(int *)(lVar5 + 0x2f0) != 1 ||\n             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (binary_expression "*(int *)(lVar5 + 0x2f0) != 1" (pointer_expression "*(int *)(lVar5 + 0x2f0)" (* "*") (cast_expression "(int *)(lVar5 + 0x2f0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x2f0)" (( "(") (binary_expression "lVar5 + 0x2f0" (identifier "lVar5") (+ "+") (number_literal "0x2f0")) () ")")))) (!= "!=") (number_literal "1")) (|| "||") (parenthesized_expression "(uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0)" (( "(") (comma_expression "uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0" (assignment_expression "uVar1 = *(uint *)(lVar5 + 0x2f4)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(lVar5 + 0x2f4)" (* "*") (cast_expression "(uint *)(lVar5 + 0x2f4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x2f4)" (( "(") (binary_expression "lVar5 + 0x2f4" (identifier "lVar5") (+ "+") (number_literal "0x2f4")) () ")"))))) (, ",") (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" (( "(") (binary_expression "uVar1 & 4" (identifier "uVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0"))) () ")")))) () ")")) () ")")) (compound_statement "{\nLAB_001bd060:\n        plVar4 = plVar4 + 1;\n        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;\n      }" ({ "{") (labeled_statement "LAB_001bd060:\n        plVar4 = plVar4 + 1;" (statement_identifier "LAB_001bd060") (: ":") (expression_statement "plVar4 = plVar4 + 1;" (assignment_expression "plVar4 = plVar4 + 1" (identifier "plVar4") (= "=") (binary_expression "plVar4 + 1" (identifier "plVar4") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;" (if "if") (parenthesized_expression "(*(long **)(param_1 + 0x238) == plVar4)" (( "(") (binary_expression "*(long **)(param_1 + 0x238) == plVar4" (pointer_expression "*(long **)(param_1 + 0x238)" (* "*") (cast_expression "(long **)(param_1 + 0x238)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x238)" (( "(") (binary_expression "param_1 + 0x238" (identifier "param_1") (+ "+") (number_literal "0x238")) () ")")))) (== "==") (identifier "plVar4")) () ")")) (goto_statement "goto LAB_001bd0e0;" (goto "goto") (statement_identifier "LAB_001bd0e0") (; ";"))) (} "}"))) (if_statement "if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }" (if "if") (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) == 0)" (( "(") (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) == 0" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" (( "(") (binary_expression "PTR_DAT_004586c8 + 0x10" (identifier "PTR_DAT_004586c8") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");\n      }" ({ "{") (expression_statement "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");" (call_expression "FUN_0018dcf0("../../gold/parameters.h",0x5c,"options")" (identifier "FUN_0018dcf0") (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") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))\n      goto LAB_001bd060;" (if "if") (parenthesized_expression "(((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))" (( "(") (binary_expression "((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))\n         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)))" (parenthesized_expression "((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))" (( "(") (binary_expression "(*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0)" (parenthesized_expression "(*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0')" (( "(") (binary_expression "*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0'" (pointer_expression "*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" (* "*") (cast_expression "(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71)" (( "(") (binary_expression "*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71" (pointer_expression "*(long *)(PTR_DAT_004586c8 + 0x10)" (* "*") (cast_expression "(long *)(PTR_DAT_004586c8 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_004586c8 + 0x10)" (( "(") (binary_expression "PTR_DAT_004586c8 + 0x10" (identifier "PTR_DAT_004586c8") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (number_literal "0x3c71")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((uVar1 & 2) != 0)" (( "(") (binary_expression "(uVar1 & 2) != 0" (parenthesized_expression "(uVar1 & 2)" (( "(") (binary_expression "uVar1 & 2" (identifier "uVar1") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)))" (( "(") (parenthesized_expression "(*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))" (( "(") (binary_expression "*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0)" (binary_expression "*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0'" (pointer_expression "*(char *)(*(long *)(param_2 + 8) + 0x38)" (* "*") (cast_expression "(char *)(*(long *)(param_2 + 8) + 0x38)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_2 + 8) + 0x38)" (( "(") (binary_expression "*(long *)(param_2 + 8) + 0x38" (pointer_expression "*(long *)(param_2 + 8)" (* "*") (cast_expression "(long *)(param_2 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x38")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "((uVar1 & 1) != 0)" (( "(") (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_001bd060;" (goto "goto") (statement_identifier "LAB_001bd060") (; ";"))) (if_statement "if (lVar3 != 0) {\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);\n        if (cVar2 == '\0') goto LAB_001bd060;\n        lVar5 = *plVar4;\n      }" ({ "{") (expression_statement "cVar2 = FUN_001b8810(param_1,lVar5,lVar3);" (assignment_expression "cVar2 = FUN_001b8810(param_1,lVar5,lVar3)" (identifier "cVar2") (= "=") (call_expression "FUN_001b8810(param_1,lVar5,lVar3)" (identifier "FUN_001b8810") (argument_list "(param_1,lVar5,lVar3)" (( "(") (identifier "param_1") (, ",") (identifier "lVar5") (, ",") (identifier "lVar3") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') goto LAB_001bd060;" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_001bd060;" (goto "goto") (statement_identifier "LAB_001bd060") (; ";"))) (expression_statement "lVar5 = *plVar4;" (assignment_expression "lVar5 = *plVar4" (identifier "lVar5") (= "=") (pointer_expression "*plVar4" (* "*") (identifier "plVar4"))) (; ";")) (} "}"))) (expression_statement "plVar4 = plVar4 + 1;" (assignment_expression "plVar4 = plVar4 + 1" (identifier "plVar4") (= "=") (binary_expression "plVar4 + 1" (identifier "plVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "lVar3 = lVar5;" (assignment_expression "lVar3 = lVar5" (identifier "lVar3") (= "=") (identifier "lVar5")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(long **)(param_1 + 0x238) != plVar4)" (( "(") (binary_expression "*(long **)(param_1 + 0x238) != plVar4" (pointer_expression "*(long **)(param_1 + 0x238)" (* "*") (cast_expression "(long **)(param_1 + 0x238)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x238)" (( "(") (binary_expression "param_1 + 0x238" (identifier "param_1") (+ "+") (number_literal "0x238")) () ")")))) (!= "!=") (identifier "plVar4")) () ")")) (; ";")) (labeled_statement "LAB_001bd0e0:\n    if (lVar3 != 0) {\n      return lVar3;\n    }" (statement_identifier "LAB_001bd0e0") (: ":") (if_statement "if (lVar3 != 0) {\n      return lVar3;\n    }" (if "if") (parenthesized_expression "(lVar3 != 0)" (( "(") (binary_expression "lVar3 != 0" (identifier "lVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return lVar3;\n    }" ({ "{") (return_statement "return lVar3;" (return "return") (identifier "lVar3") (; ";")) (} "}")))) (} "}"))) (if_statement "if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" (if "if") (parenthesized_expression "((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0))" (( "(") (binary_expression "(*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&\n     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)" (parenthesized_expression "(*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0')" (( "(") (binary_expression "*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0'" (pointer_expression "*(char *)(*(long *)(param_1 + 8) + 0x148)" (* "*") (cast_expression "(char *)(*(long *)(param_1 + 8) + 0x148)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x148)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x148" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x148")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 8) + 0x168) != 0" (pointer_expression "*(long *)(*(long *)(param_1 + 8) + 0x168)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 8) + 0x168)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x168)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x168" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x168")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    \n    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");\n  }" ({ "{") (expression_statement "FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");" (call_expression "FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg")" (identifier "FUN_0018dcf0") (argument_list "("../../gold/layout.cc",0xa10,"find_first_load_seg")" (( "(") (string_literal ""../../gold/layout.cc"" (" """) (string_content "../../gold/layout.cc") (" """)) (, ",") (number_literal "0xa10") (, ",") (string_literal ""find_first_load_seg"" (" """) (string_content "find_first_load_seg") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "lVar3 = FUN_001bb420(param_1,1,4);" (assignment_expression "lVar3 = FUN_001bb420(param_1,1,4)" (identifier "lVar3") (= "=") (call_expression "FUN_001bb420(param_1,1,4)" (identifier "FUN_001bb420") (argument_list "(param_1,1,4)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (number_literal "4") () ")")))) (; ";")) (return_statement "return lVar3;" (return "return") (identifier "lVar3") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Output_segment * find_first_load_seg(Layout * this, Target * target) */

type_2 * __thiscall var_1::Layout::find_first_load_seg(Layout *this,Target *target)

{
  type_1 var_5;
  bool bVar2;
  type_2 *var_7;
  type_3 var_4;
  type_2 *seg1;
  
  var_4 = (this->segment_list_).
            super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>.
            _M_impl._M_start;
  var_7 = (type_2 *)0x0;
  if (var_4 !=
      (this->segment_list_).
      super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>._M_impl.
      _M_finish) {
    do {
      while ((seg1 = *var_4, seg1->type_ != 1 || (var_5 = seg1->flags_, (var_5 & 4) == 0))) {
LAB_001bd060:
        var_4 = var_4 + 1;
        if ((this->segment_list_).
            super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>.
            _M_impl._M_finish == var_4) goto LAB_001bd0e0;
      }
      if (parameters->options_ == (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_6("../../gold/parameters.h",0x5c,"options");
      }
      if ((((parameters->options_->omagic_).value == false) && ((var_5 & 2) != 0)) ||
         ((target->pti_->isolate_execinstr != false && ((var_5 & 1) != 0)))) goto LAB_001bd060;
      if (var_7 != (type_2 *)0x0) {
        bVar2 = var_8(this,seg1,var_7);
        if (!bVar2) goto LAB_001bd060;
        seg1 = *var_4;
      }
      var_4 = var_4 + 1;
      var_7 = seg1;
    } while ((this->segment_list_).
             super__Vector_base<var_1::type_2*,var_2::allocator<var_1::type_2*>var_3>.
             _M_impl._M_finish != var_4);
LAB_001bd0e0:
    if (var_7 != (type_2 *)0x0) {
      return var_7;
    }
  }
  if (((this->script_options_->script_sections_).saw_sections_clause_ != false) &&
     ((this->script_options_->script_sections_).phdrs_elements_ != (type_5 *)0x0)) {
                    /* WARNING: Subroutine does not return */
    var_6("../../gold/layout.cc",0xa10,"find_first_load_seg");
  }
  var_7 = var_9(this,1,4);
  return var_7;
}


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

long MASKED(long param_1,long param_2)

{
  uint uVar1;
  char cVar2;
  long lVar3;
  long *plVar4;
  long lVar5;
  
  plVar4 = *(long **)(param_1 + 0x230);
  lVar3 = 0;
  if (plVar4 != *(long **)(param_1 + 0x238)) {
    do {
      while ((lVar5 = *plVar4, *(int *)(lVar5 + 0x2f0) != 1 ||
             (uVar1 = *(uint *)(lVar5 + 0x2f4), (uVar1 & 4) == 0))) {
LAB_001bd060:
        plVar4 = plVar4 + 1;
        if (*(long **)(param_1 + 0x238) == plVar4) goto LAB_001bd0e0;
      }
      if (*(long *)(PTR_DAT_004586c8 + 0x10) == 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0018dcf0("../../gold/parameters.h",0x5c,"options");
      }
      if (((*(char *)(*(long *)(PTR_DAT_004586c8 + 0x10) + 0x3c71) == '\0') && ((uVar1 & 2) != 0))
         || ((*(char *)(*(long *)(param_2 + 8) + 0x38) != '\0' && ((uVar1 & 1) != 0))))
      goto LAB_001bd060;
      if (lVar3 != 0) {
        cVar2 = FUN_001b8810(param_1,lVar5,lVar3);
        if (cVar2 == '\0') goto LAB_001bd060;
        lVar5 = *plVar4;
      }
      plVar4 = plVar4 + 1;
      lVar3 = lVar5;
    } while (*(long **)(param_1 + 0x238) != plVar4);
LAB_001bd0e0:
    if (lVar3 != 0) {
      return lVar3;
    }
  }
  if ((*(char *)(*(long *)(param_1 + 8) + 0x148) != '\0') &&
     (*(long *)(*(long *)(param_1 + 8) + 0x168) != 0)) {
                    /* WARNING: Subroutine does not return */
    FUN_0018dcf0("../../gold/layout.cc",0xa10,"find_first_load_seg");
  }
  lVar3 = FUN_001bb420(param_1,1,4);
  return lVar3;
}

