
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: init_fixed_output_section<32, false>
   DWARF original prototype: Output_section * init_fixed_output_section<32,_false>(Layout * this,
   char * name, Shdr<32,_false> * shdr) */

Output_section * __thiscall
gold::Layout::init_fixed_output_section<32,_false>(Layout *this,char *name,Shdr<32,_false> *shdr)

{
  uint sh_type;
  Shdr_data<32> *pSVar1;
  char *__filename;
  uint uVar2;
  uint uVar3;
  uint uVar4;
  uint uVar5;
  bool bVar6;
  char *name_00;
  Output_section *this_00;
  int iVar7;
  byte *pbVar8;
  byte *pbVar9;
  bool bVar10;
  byte bVar11;
  Key name_key;
  undefined4 uStack_14;
  
  bVar11 = 0;
  uStack_14 = 0xaa809;
  sh_type = shdr->p_->sh_type;
  bVar6 = can_incremental_update(sh_type);
  if (!bVar6) {
    return (Output_section *)0x0;
  }
  if (parameters->options_ == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
    do_gold_unreachable("../../gold/parameters.h",0x5c,"options");
  }
  if ((parameters->options_->gdb_index_).value != false) {
    bVar6 = sh_type == 0;
    bVar10 = sh_type == 1;
    if (bVar10) {
      iVar7 = 0xb;
      pbVar8 = (byte *)name;
      pbVar9 = (byte *)".gdb_index";
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar6 = *pbVar8 < *pbVar9;
        bVar10 = *pbVar8 == *pbVar9;
        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;
        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;
      } while (bVar10);
      if ((!bVar6 && !bVar10) == bVar6) {
        return (Output_section *)0x0;
      }
    }
  }
  pSVar1 = shdr->p_;
  __filename = (char *)pSVar1->sh_offset;
  uVar2 = pSVar1->sh_size;
  uVar3 = pSVar1->sh_flags;
  uVar4 = pSVar1->sh_addr;
  uVar5 = pSVar1->sh_addralign;
  name_00 = Stringpool_template<char>::add(&this->namepool_,name,true,&name_key);
  this_00 = get_output_section(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false);
  Output_section::set_fixed_layout
            (this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5);
  if (sh_type != 8) {
    Free_list::remove(&this->free_list_,__filename);
    return this_00;
  }
  return this_00;
}



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

undefined4 FUN_000aa800(int param_1,byte *param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char cVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int iVar9;
  byte *pbVar10;
  byte *pbVar11;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  bVar14 = 0;
  uStack_14 = 0xaa809;
  iVar1 = *(int *)(*param_3 + 4);
  cVar6 = FUN_000712b0(iVar1);
  if (cVar6 == '\0') {
    return 0;
  }
  if (*(int *)(DAT_0038f378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);
  }
  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {
    bVar12 = iVar1 == 0;
    bVar13 = iVar1 == 1;
    if (bVar13) {
      iVar9 = 0xb;
      pbVar10 = param_2;
      pbVar11 = (byte *)".gdb_index";
      do {
        if (iVar9 == 0) break;
        iVar9 = iVar9 + -1;
        bVar12 = *pbVar10 < *pbVar11;
        bVar13 = *pbVar10 == *pbVar11;
        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;
        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;
      } while (bVar13);
      if ((!bVar12 && !bVar13) == bVar12) {
        return 0;
      }
    }
  }
  iVar9 = *param_3;
  iVar2 = *(int *)(iVar9 + 0x10);
  iVar3 = *(int *)(iVar9 + 0x14);
  uVar8 = *(undefined4 *)(iVar9 + 8);
  uVar4 = *(undefined4 *)(iVar9 + 0xc);
  uVar5 = *(undefined4 *)(iVar9 + 0x20);
  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);
  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);
  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);
  if (iVar1 != 8) {
    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);
    return uVar8;
  }
  return uVar8;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2e47f7
SUB ESP,0x48
MOV EBP,dword ptr [ESP + 0x64]
MOV EAX,dword ptr [EBP]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x1c],EAX
PUSH EAX
CALL 0x000712b0
ADD ESP,0x10
TEST AL,AL
JZ 0x000aa956
LEA EAX,[EBX + 0x378]
MOV EAX,dword ptr [EAX]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JZ 0x000aa962
CMP byte ptr [EAX + 0x192d],0x0
JZ 0x000aa858
CMP dword ptr [ESP + 0x10],0x1
JZ 0x000aa938
MOV EAX,dword ptr [EBP]
MOV EDX,dword ptr [EAX + 0x10]
MOV ECX,dword ptr [EAX + 0x14]
MOV EDI,dword ptr [EAX + 0x8]
MOV ESI,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x18],EDX
MOV EDX,dword ptr [EAX + 0x20]
LEA EAX,[ESP + 0x2c]
MOV dword ptr [ESP + 0x14],ECX
MOV dword ptr [ESP + 0x1c],EDX
PUSH EAX
PUSH 0x1
PUSH dword ptr [ESP + 0x5c]
MOV EBP,dword ptr [ESP + 0x5c]
LEA EAX,[EBP + 0x8]
XOR EBP,EBP
PUSH EAX
CALL 0x00174930
ADD ESP,0x10
PUSH 0x0
PUSH 0x0
PUSH EBP
PUSH EDI
XOR EDI,EDI
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x40]
PUSH EAX
PUSH dword ptr [ESP + 0x6c]
CALL 0x0009fd60
MOV EDX,dword ptr [ESP + 0x38]
MOV dword ptr [ESP + 0x2c],0x0
MOV EBP,EAX
MOV dword ptr [ESP + 0x28],EDX
ADD ESP,0x14
MOV EDX,dword ptr [ESP + 0x28]
MOV EAX,EDX
XOR EDX,EDX
PUSH EDX
XOR EDX,EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x28]
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH EDI
PUSH ESI
PUSH EBP
CALL 0x000efa30
ADD ESP,0x30
CMP dword ptr [ESP + 0x10],0x8
JNZ 0x000aa900
ADD ESP,0x3c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
XOR EDX,EDX
MOV EAX,dword ptr [ESP + 0x20]
ADD EAX,dword ptr [ESP + 0x24]
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESP + 0x6c]
ADD EAX,0x248
PUSH EAX
CALL 0x00096350
ADD ESP,0x20
MOV EAX,EBP
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV ESI,dword ptr [ESP + 0x54]
MOV ECX,0xb
LEA EDI,[EBX + 0xffefc340]
CMPSB.REPE ES:EDI,ESI
SETA AL
SBB AL,0x0
TEST AL,AL
JNZ 0x000aa858
ADD ESP,0x3c
XOR EBP,EBP
POP EBX
MOV EAX,EBP
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xffefca48]
PUSH EAX
LEA EAX,[EBX + 0xffef8210]
PUSH 0x5c
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000aa800(int param_1,byte *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}\n\n" comment (function_definition "undefined4 FUN_000aa800(int param_1,byte *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}" type_identifier (function_declarator "FUN_000aa800(int param_1,byte *param_2,int *param_3)" identifier (parameter_list "(int param_1,byte *param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xaa809;" (assignment_expression "uStack_14 = 0xaa809" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(*param_3 + 4);" (assignment_expression "iVar1 = *(int *)(*param_3 + 4)" identifier = (pointer_expression "*(int *)(*param_3 + 4)" * (cast_expression "(int *)(*param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 4)" ( (binary_expression "*param_3 + 4" (pointer_expression "*param_3" * identifier) + number_literal) ))))) ;) (expression_statement "cVar6 = FUN_000712b0(iVar1);" (assignment_expression "cVar6 = FUN_000712b0(iVar1)" identifier = (call_expression "FUN_000712b0(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (cVar6 == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" { comment (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d)" * (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x192d)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x192d" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }" { (expression_statement "bVar12 = iVar1 == 0;" (assignment_expression "bVar12 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) (expression_statement "bVar13 = iVar1 == 1;" (assignment_expression "bVar13 = iVar1 == 1" identifier = (binary_expression "iVar1 == 1" identifier == number_literal)) ;) (if_statement "if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }" { (expression_statement "iVar9 = 0xb;" (assignment_expression "iVar9 = 0xb" identifier = number_literal) ;) (expression_statement "pbVar10 = param_2;" (assignment_expression "pbVar10 = param_2" identifier = identifier) ;) (expression_statement "pbVar11 = (byte *)".gdb_index";" (assignment_expression "pbVar11 = (byte *)".gdb_index"" identifier = (cast_expression "(byte *)".gdb_index"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal "".gdb_index"" " string_content "))) ;) (do_statement "do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);" do (compound_statement "{\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      }" { (if_statement "if (iVar9 == 0) break;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar10 < *pbVar11;" (assignment_expression "bVar12 = *pbVar10 < *pbVar11" identifier = (binary_expression "*pbVar10 < *pbVar11" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "bVar13 = *pbVar10 == *pbVar11;" (assignment_expression "bVar13 = *pbVar10 == *pbVar11" identifier = (binary_expression "*pbVar10 == *pbVar11" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }" if (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" ( (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) })) (expression_statement "iVar9 = *param_3;" (assignment_expression "iVar9 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar9 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar9 + 0x10)" identifier = (pointer_expression "*(int *)(iVar9 + 0x10)" * (cast_expression "(int *)(iVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x10)" ( (binary_expression "iVar9 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar9 + 0x14);" (assignment_expression "iVar3 = *(int *)(iVar9 + 0x14)" identifier = (pointer_expression "*(int *)(iVar9 + 0x14)" * (cast_expression "(int *)(iVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)(iVar9 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(iVar9 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 8)" * (cast_expression "(undefined4 *)(iVar9 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar9 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)(iVar9 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0xc)" * (cast_expression "(undefined4 *)(iVar9 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar9 + 0x20);" (assignment_expression "uVar5 = *(undefined4 *)(iVar9 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x20)" * (cast_expression "(undefined4 *)(iVar9 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);" (assignment_expression "uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20)" identifier = (call_expression "FUN_00174930(param_1 + 8,param_2,1,local_20)" identifier (argument_list "(param_1 + 8,param_2,1,local_20)" ( (binary_expression "param_1 + 8" identifier + number_literal) , identifier , number_literal , identifier )))) ;) (expression_statement "uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);" (assignment_expression "uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" identifier = (call_expression "FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" identifier (argument_list "(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" ( identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);" (call_expression "FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0)" identifier (argument_list "(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0)" ( identifier , identifier , number_literal , identifier , number_literal , identifier , number_literal , identifier , number_literal ))) ;) (if_statement "if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }" { (expression_statement "FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);" (call_expression "FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0)" identifier (argument_list "(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) , identifier , number_literal , (binary_expression "iVar3 + iVar2" identifier + identifier) , number_literal ))) ;) (return_statement "return uVar8;" return identifier ;) })) (return_statement "return uVar8;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original name: init_fixed_output_section<32, false>\n   DWARF original prototype: Output_section * init_fixed_output_section<32,_false>(Layout * this,\n   char * name, Shdr<32,_false> * shdr) */\n\nOutput_section * __thiscall\ngold::Layout::init_fixed_output_section<32,_false>(Layout *this,char *name,Shdr<32,_false> *shdr)\n\n{\n  uint sh_type;\n  Shdr_data<32> *pSVar1;\n  char *__filename;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  bool bVar6;\n  char *name_00;\n  Output_section *this_00;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  bool bVar10;\n  byte bVar11;\n  Key name_key;\n  undefined4 uStack_14;\n  \n  bVar11 = 0;\n  uStack_14 = 0xaa809;\n  sh_type = shdr->p_->sh_type;\n  bVar6 = can_incremental_update(sh_type);\n  if (!bVar6) {\n    return (Output_section *)0x0;\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_->gdb_index_).value != false) {\n    bVar6 = sh_type == 0;\n    bVar10 = sh_type == 1;\n    if (bVar10) {\n      iVar7 = 0xb;\n      pbVar8 = (byte *)name;\n      pbVar9 = (byte *)".gdb_index";\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }\n    }\n  }\n  pSVar1 = shdr->p_;\n  __filename = (char *)pSVar1->sh_offset;\n  uVar2 = pSVar1->sh_size;\n  uVar3 = pSVar1->sh_flags;\n  uVar4 = pSVar1->sh_addr;\n  uVar5 = pSVar1->sh_addralign;\n  name_00 = Stringpool_template<char>::add(&this->namepool_,name,true,&name_key);\n  this_00 = get_output_section(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false);\n  Output_section::set_fixed_layout\n            (this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5);\n  if (sh_type != 8) {\n    Free_list::remove(&this->free_list_,__filename);\n    return this_00;\n  }\n  return this_00;\n}\n\n" comment comment comment (ERROR "Output_section * __thiscall\ngold::Layout::init_fixed_output_section<32,_false>(Layout *this,char *name,Shdr<32,_false> *shdr)" (binary_expression "Output_section * __thiscall\ngold::Layout::init_fixed_output_section<32,_false>(Layout *this,char *name,Shdr<32,_false> *shdr)" (binary_expression "Output_section * __thiscall\ngold::Layout::init_fixed_output_section<32" (binary_expression "Output_section * __thiscall" identifier * identifier) (ERROR "gold::Layout::init_fixed_output_section" identifier : : identifier : : identifier) < number_literal) (ERROR ",_false" , identifier) > (parenthesized_expression "(Layout *this,char *name,Shdr<32,_false> *shdr)" ( (comma_expression "Layout *this,char *name,Shdr<32,_false> *shdr" (binary_expression "Layout *this" identifier * identifier) , (comma_expression "char *name,Shdr<32,_false> *shdr" (binary_expression "char *name" identifier * identifier) , (comma_expression "Shdr<32,_false> *shdr" (binary_expression "Shdr<32" identifier < number_literal) , (binary_expression "_false> *shdr" identifier > (pointer_expression "*shdr" * identifier))))) )))) (compound_statement "{\n  uint sh_type;\n  Shdr_data<32> *pSVar1;\n  char *__filename;\n  uint uVar2;\n  uint uVar3;\n  uint uVar4;\n  uint uVar5;\n  bool bVar6;\n  char *name_00;\n  Output_section *this_00;\n  int iVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  bool bVar10;\n  byte bVar11;\n  Key name_key;\n  undefined4 uStack_14;\n  \n  bVar11 = 0;\n  uStack_14 = 0xaa809;\n  sh_type = shdr->p_->sh_type;\n  bVar6 = can_incremental_update(sh_type);\n  if (!bVar6) {\n    return (Output_section *)0x0;\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_->gdb_index_).value != false) {\n    bVar6 = sh_type == 0;\n    bVar10 = sh_type == 1;\n    if (bVar10) {\n      iVar7 = 0xb;\n      pbVar8 = (byte *)name;\n      pbVar9 = (byte *)".gdb_index";\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }\n    }\n  }\n  pSVar1 = shdr->p_;\n  __filename = (char *)pSVar1->sh_offset;\n  uVar2 = pSVar1->sh_size;\n  uVar3 = pSVar1->sh_flags;\n  uVar4 = pSVar1->sh_addr;\n  uVar5 = pSVar1->sh_addralign;\n  name_00 = Stringpool_template<char>::add(&this->namepool_,name,true,&name_key);\n  this_00 = get_output_section(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false);\n  Output_section::set_fixed_layout\n            (this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5);\n  if (sh_type != 8) {\n    Free_list::remove(&this->free_list_,__filename);\n    return this_00;\n  }\n  return this_00;\n}" { (declaration "uint sh_type;" type_identifier identifier ;) (expression_statement "Shdr_data<32> *pSVar1;" (binary_expression "Shdr_data<32> *pSVar1" (binary_expression "Shdr_data<32" identifier < number_literal) > (pointer_expression "*pSVar1" * identifier)) ;) (declaration "char *__filename;" primitive_type (pointer_declarator "*__filename" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "char *name_00;" primitive_type (pointer_declarator "*name_00" * identifier) ;) (declaration "Output_section *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "Key name_key;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xaa809;" (assignment_expression "uStack_14 = 0xaa809" identifier = number_literal) ;) (expression_statement "sh_type = shdr->p_->sh_type;" (assignment_expression "sh_type = shdr->p_->sh_type" identifier = (field_expression "shdr->p_->sh_type" (field_expression "shdr->p_" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "bVar6 = can_incremental_update(sh_type);" (assignment_expression "bVar6 = can_incremental_update(sh_type)" identifier = (call_expression "can_incremental_update(sh_type)" identifier (argument_list "(sh_type)" ( identifier )))) ;) (if_statement "if (!bVar6) {\n    return (Output_section *)0x0;\n  }" if (parenthesized_expression "(!bVar6)" ( (unary_expression "!bVar6" ! identifier) )) (compound_statement "{\n    return (Output_section *)0x0;\n  }" { (return_statement "return (Output_section *)0x0;" return (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (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_->gdb_index_).value != false) {\n    bVar6 = sh_type == 0;\n    bVar10 = sh_type == 1;\n    if (bVar10) {\n      iVar7 = 0xb;\n      pbVar8 = (byte *)name;\n      pbVar9 = (byte *)".gdb_index";\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }\n    }\n  }" if (parenthesized_expression "((parameters->options_->gdb_index_).value != false)" ( (binary_expression "(parameters->options_->gdb_index_).value != false" (field_expression "(parameters->options_->gdb_index_).value" (parenthesized_expression "(parameters->options_->gdb_index_)" ( (field_expression "parameters->options_->gdb_index_" (field_expression "parameters->options_" identifier -> field_identifier) -> field_identifier) )) . field_identifier) != false) )) (compound_statement "{\n    bVar6 = sh_type == 0;\n    bVar10 = sh_type == 1;\n    if (bVar10) {\n      iVar7 = 0xb;\n      pbVar8 = (byte *)name;\n      pbVar9 = (byte *)".gdb_index";\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }\n    }\n  }" { (expression_statement "bVar6 = sh_type == 0;" (assignment_expression "bVar6 = sh_type == 0" identifier = (binary_expression "sh_type == 0" identifier == number_literal)) ;) (expression_statement "bVar10 = sh_type == 1;" (assignment_expression "bVar10 = sh_type == 1" identifier = (binary_expression "sh_type == 1" identifier == number_literal)) ;) (if_statement "if (bVar10) {\n      iVar7 = 0xb;\n      pbVar8 = (byte *)name;\n      pbVar9 = (byte *)".gdb_index";\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }\n    }" if (parenthesized_expression "(bVar10)" ( identifier )) (compound_statement "{\n      iVar7 = 0xb;\n      pbVar8 = (byte *)name;\n      pbVar9 = (byte *)".gdb_index";\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);\n      if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }\n    }" { (expression_statement "iVar7 = 0xb;" (assignment_expression "iVar7 = 0xb" identifier = number_literal) ;) (expression_statement "pbVar8 = (byte *)name;" (assignment_expression "pbVar8 = (byte *)name" identifier = (cast_expression "(byte *)name" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar9 = (byte *)".gdb_index";" (assignment_expression "pbVar9 = (byte *)".gdb_index"" identifier = (cast_expression "(byte *)".gdb_index"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal "".gdb_index"" " string_content "))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      } while (bVar10);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar6 = *pbVar8 < *pbVar9;\n        bVar10 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;\n        pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar6 = *pbVar8 < *pbVar9;" (assignment_expression "bVar6 = *pbVar8 < *pbVar9" identifier = (binary_expression "*pbVar8 < *pbVar9" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar9" * identifier))) ;) (expression_statement "bVar10 = *pbVar8 == *pbVar9;" (assignment_expression "bVar10 = *pbVar8 == *pbVar9" identifier = (binary_expression "*pbVar8 == *pbVar9" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar9" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar8 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar8 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar11 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar11 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar11 * -2" identifier + (binary_expression "(uint)bVar11 * -2" (cast_expression "(uint)bVar11" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar10)" ( identifier )) ;) (if_statement "if ((!bVar6 && !bVar10) == bVar6) {\n        return (Output_section *)0x0;\n      }" if (parenthesized_expression "((!bVar6 && !bVar10) == bVar6)" ( (binary_expression "(!bVar6 && !bVar10) == bVar6" (parenthesized_expression "(!bVar6 && !bVar10)" ( (binary_expression "!bVar6 && !bVar10" (unary_expression "!bVar6" ! identifier) && (unary_expression "!bVar10" ! identifier)) )) == identifier) )) (compound_statement "{\n        return (Output_section *)0x0;\n      }" { (return_statement "return (Output_section *)0x0;" return (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) })) (expression_statement "pSVar1 = shdr->p_;" (assignment_expression "pSVar1 = shdr->p_" identifier = (field_expression "shdr->p_" identifier -> field_identifier)) ;) (expression_statement "__filename = (char *)pSVar1->sh_offset;" (assignment_expression "__filename = (char *)pSVar1->sh_offset" identifier = (cast_expression "(char *)pSVar1->sh_offset" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pSVar1->sh_offset" identifier -> field_identifier))) ;) (expression_statement "uVar2 = pSVar1->sh_size;" (assignment_expression "uVar2 = pSVar1->sh_size" identifier = (field_expression "pSVar1->sh_size" identifier -> field_identifier)) ;) (expression_statement "uVar3 = pSVar1->sh_flags;" (assignment_expression "uVar3 = pSVar1->sh_flags" identifier = (field_expression "pSVar1->sh_flags" identifier -> field_identifier)) ;) (expression_statement "uVar4 = pSVar1->sh_addr;" (assignment_expression "uVar4 = pSVar1->sh_addr" identifier = (field_expression "pSVar1->sh_addr" identifier -> field_identifier)) ;) (expression_statement "uVar5 = pSVar1->sh_addralign;" (assignment_expression "uVar5 = pSVar1->sh_addralign" identifier = (field_expression "pSVar1->sh_addralign" identifier -> field_identifier)) ;) (expression_statement "name_00 = Stringpool_template<char>::add(&this->namepool_,name,true,&name_key);" (assignment_expression "name_00 = Stringpool_template<char>::add(&this->namepool_,name,true,&name_key)" identifier = (binary_expression "Stringpool_template<char>::add(&this->namepool_,name,true,&name_key)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "add(&this->namepool_,name,true,&name_key)" identifier (argument_list "(&this->namepool_,name,true,&name_key)" ( (pointer_expression "&this->namepool_" & (field_expression "this->namepool_" identifier -> field_identifier)) , identifier , true , (pointer_expression "&name_key" & identifier) ))))) ;) (expression_statement "this_00 = get_output_section(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false);" (assignment_expression "this_00 = get_output_section(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false)" identifier = (call_expression "get_output_section(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false)" identifier (argument_list "(this,name_00,name_key,sh_type,(ulonglong)uVar3,ORDER_INVALID,false)" ( identifier , identifier , identifier , identifier , (cast_expression "(ulonglong)uVar3" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , identifier , false )))) ;) (labeled_statement "Output_section::set_fixed_layout\n            (this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5);" statement_identifier : (ERROR ":" :) (expression_statement "set_fixed_layout\n            (this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5);" (call_expression "set_fixed_layout\n            (this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5)" identifier (argument_list "(this_00,(ulonglong)uVar4,ZEXT48(__filename),(ulonglong)uVar2,(ulonglong)uVar5)" ( identifier , (cast_expression "(ulonglong)uVar4" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , (call_expression "ZEXT48(__filename)" identifier (argument_list "(__filename)" ( identifier ))) , (cast_expression "(ulonglong)uVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) , (cast_expression "(ulonglong)uVar5" ( (type_descriptor "ulonglong" type_identifier) ) identifier) ))) ;)) (if_statement "if (sh_type != 8) {\n    Free_list::remove(&this->free_list_,__filename);\n    return this_00;\n  }" if (parenthesized_expression "(sh_type != 8)" ( (binary_expression "sh_type != 8" identifier != number_literal) )) (compound_statement "{\n    Free_list::remove(&this->free_list_,__filename);\n    return this_00;\n  }" { (labeled_statement "Free_list::remove(&this->free_list_,__filename);" statement_identifier : (ERROR ":" :) (expression_statement "remove(&this->free_list_,__filename);" (call_expression "remove(&this->free_list_,__filename)" identifier (argument_list "(&this->free_list_,__filename)" ( (pointer_expression "&this->free_list_" & (field_expression "this->free_list_" identifier -> field_identifier)) , identifier ))) ;)) (return_statement "return this_00;" return identifier ;) })) (return_statement "return this_00;" return identifier ;) }))
(translation_unit "undefined4 FUN_000aa800(int param_1,byte *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}\n\n" (function_definition "undefined4 FUN_000aa800(int param_1,byte *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}" type_identifier (function_declarator "FUN_000aa800(int param_1,byte *param_2,int *param_3)" identifier (parameter_list "(int param_1,byte *param_2,int *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "byte *pbVar11;" type_identifier (pointer_declarator "*pbVar11" * identifier) ;) (declaration "bool bVar12;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0xaa809;" (assignment_expression "uStack_14 = 0xaa809" identifier = number_literal) ;) (expression_statement "iVar1 = *(int *)(*param_3 + 4);" (assignment_expression "iVar1 = *(int *)(*param_3 + 4)" identifier = (pointer_expression "*(int *)(*param_3 + 4)" * (cast_expression "(int *)(*param_3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + 4)" ( (binary_expression "*param_3 + 4" (pointer_expression "*param_3" * identifier) + number_literal) ))))) ;) (expression_statement "cVar6 = FUN_000712b0(iVar1);" (assignment_expression "cVar6 = FUN_000712b0(iVar1)" identifier = (call_expression "FUN_000712b0(iVar1)" identifier (argument_list "(iVar1)" ( identifier )))) ;) (if_statement "if (cVar6 == '\0') {\n    return 0;\n  }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" if (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" { (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" identifier (argument_list "("../../gold/parameters.h",0x5c,"options",0)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""options"" " string_content ") , number_literal ))) ;) })) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0')" ( (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d)" * (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x192d)" ( (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x192d" (pointer_expression "*(int *)(DAT_0038f378 + 8)" * (cast_expression "(int *)(DAT_0038f378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_0038f378 + 8)" ( (binary_expression "DAT_0038f378 + 8" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }" { (expression_statement "bVar12 = iVar1 == 0;" (assignment_expression "bVar12 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) (expression_statement "bVar13 = iVar1 == 1;" (assignment_expression "bVar13 = iVar1 == 1" identifier = (binary_expression "iVar1 == 1" identifier == number_literal)) ;) (if_statement "if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }" { (expression_statement "iVar9 = 0xb;" (assignment_expression "iVar9 = 0xb" identifier = number_literal) ;) (expression_statement "pbVar10 = param_2;" (assignment_expression "pbVar10 = param_2" identifier = identifier) ;) (expression_statement "pbVar11 = (byte *)".gdb_index";" (assignment_expression "pbVar11 = (byte *)".gdb_index"" identifier = (cast_expression "(byte *)".gdb_index"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal "".gdb_index"" " string_content "))) ;) (do_statement "do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);" do (compound_statement "{\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      }" { (if_statement "if (iVar9 == 0) break;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" identifier = (binary_expression "iVar9 + -1" identifier + number_literal)) ;) (expression_statement "bVar12 = *pbVar10 < *pbVar11;" (assignment_expression "bVar12 = *pbVar10 < *pbVar11" identifier = (binary_expression "*pbVar10 < *pbVar11" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "bVar13 = *pbVar10 == *pbVar11;" (assignment_expression "bVar13 = *pbVar10 == *pbVar11" identifier = (binary_expression "*pbVar10 == *pbVar11" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar11" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar13)" ( identifier )) ;) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }" if (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" ( (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" ( (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" ! identifier) && (unary_expression "!bVar13" ! identifier)) )) == identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) })) })) (expression_statement "iVar9 = *param_3;" (assignment_expression "iVar9 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar9 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar9 + 0x10)" identifier = (pointer_expression "*(int *)(iVar9 + 0x10)" * (cast_expression "(int *)(iVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x10)" ( (binary_expression "iVar9 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar9 + 0x14);" (assignment_expression "iVar3 = *(int *)(iVar9 + 0x14)" identifier = (pointer_expression "*(int *)(iVar9 + 0x14)" * (cast_expression "(int *)(iVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)(iVar9 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(iVar9 + 8)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 8)" * (cast_expression "(undefined4 *)(iVar9 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(iVar9 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)(iVar9 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0xc)" * (cast_expression "(undefined4 *)(iVar9 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0xc)" ( (binary_expression "iVar9 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(iVar9 + 0x20);" (assignment_expression "uVar5 = *(undefined4 *)(iVar9 + 0x20)" identifier = (pointer_expression "*(undefined4 *)(iVar9 + 0x20)" * (cast_expression "(undefined4 *)(iVar9 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);" (assignment_expression "uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20)" identifier = (call_expression "FUN_00174930(param_1 + 8,param_2,1,local_20)" identifier (argument_list "(param_1 + 8,param_2,1,local_20)" ( (binary_expression "param_1 + 8" identifier + number_literal) , identifier , number_literal , identifier )))) ;) (expression_statement "uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);" (assignment_expression "uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" identifier = (call_expression "FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" identifier (argument_list "(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" ( identifier , identifier , (subscript_expression "local_20[0]" identifier [ number_literal ]) , identifier , identifier , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);" (call_expression "FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0)" identifier (argument_list "(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0)" ( identifier , identifier , number_literal , identifier , number_literal , identifier , number_literal , identifier , number_literal ))) ;) (if_statement "if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }" if (parenthesized_expression "(iVar1 != 8)" ( (binary_expression "iVar1 != 8" identifier != number_literal) )) (compound_statement "{\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }" { (expression_statement "FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);" (call_expression "FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0)" identifier (argument_list "(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0)" ( (binary_expression "param_1 + 0x248" identifier + number_literal) , identifier , number_literal , (binary_expression "iVar3 + iVar2" identifier + identifier) , number_literal ))) ;) (return_statement "return uVar8;" return identifier ;) })) (return_statement "return uVar8;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) (compound_statement { (return_statement return LIT ;) })) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (subscript_expression IDENT [ LIT ]) , IDENT , IDENT , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT , LIT , IDENT , LIT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , LIT , (binary_expression IDENT + IDENT) , LIT ))) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000aa800(int param_1,byte *param_2,int *param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}" (type_identifier "undefined4") (function_declarator "FUN_000aa800(int param_1,byte *param_2,int *param_3)" (identifier "FUN_000aa800") (parameter_list "(int param_1,byte *param_2,int *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  char cVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  int iVar9;\n  byte *pbVar10;\n  byte *pbVar11;\n  bool bVar12;\n  bool bVar13;\n  byte bVar14;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0xaa809;\n  iVar1 = *(int *)(*param_3 + 4);\n  cVar6 = FUN_000712b0(iVar1);\n  if (cVar6 == '\0') {\n    return 0;\n  }\n  if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }\n  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }\n  iVar9 = *param_3;\n  iVar2 = *(int *)(iVar9 + 0x10);\n  iVar3 = *(int *)(iVar9 + 0x14);\n  uVar8 = *(undefined4 *)(iVar9 + 8);\n  uVar4 = *(undefined4 *)(iVar9 + 0xc);\n  uVar5 = *(undefined4 *)(iVar9 + 0x20);\n  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);\n  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);\n  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);\n  if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }\n  return uVar8;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "char cVar6;" (primitive_type "char") (identifier "cVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "byte *pbVar11;" (type_identifier "byte") (pointer_declarator "*pbVar11" (* "*") (identifier "pbVar11")) (; ";")) (declaration "bool bVar12;" (primitive_type "bool") (identifier "bVar12") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "byte bVar14;" (type_identifier "byte") (identifier "bVar14") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" (identifier "bVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0xaa809;" (assignment_expression "uStack_14 = 0xaa809" (identifier "uStack_14") (= "=") (number_literal "0xaa809")) (; ";")) (expression_statement "iVar1 = *(int *)(*param_3 + 4);" (assignment_expression "iVar1 = *(int *)(*param_3 + 4)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(*param_3 + 4)" (* "*") (cast_expression "(int *)(*param_3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + 4)" (( "(") (binary_expression "*param_3 + 4" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "cVar6 = FUN_000712b0(iVar1);" (assignment_expression "cVar6 = FUN_000712b0(iVar1)" (identifier "cVar6") (= "=") (call_expression "FUN_000712b0(iVar1)" (identifier "FUN_000712b0") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (if_statement "if (cVar6 == '\0') {\n    return 0;\n  }" (if "if") (parenthesized_expression "(cVar6 == '\0')" (( "(") (binary_expression "cVar6 == '\0'" (identifier "cVar6") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(int *)(DAT_0038f378 + 8) == 0) {\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) == 0)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 8) == 0" (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);\n  }" ({ "{") (expression_statement "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);" (call_expression "FUN_00069d00("../../gold/parameters.h",0x5c,"options",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/parameters.h",0x5c,"options",0)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x5c") (, ",") (string_literal ""options"" (" """) (string_content "options") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0'" (pointer_expression "*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d)" (* "*") (cast_expression "(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(DAT_0038f378 + 8) + 0x192d)" (( "(") (binary_expression "*(int *)(DAT_0038f378 + 8) + 0x192d" (pointer_expression "*(int *)(DAT_0038f378 + 8)" (* "*") (cast_expression "(int *)(DAT_0038f378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_0038f378 + 8)" (( "(") (binary_expression "DAT_0038f378 + 8" (identifier "DAT_0038f378") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x192d")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    bVar12 = iVar1 == 0;\n    bVar13 = iVar1 == 1;\n    if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }\n  }" ({ "{") (expression_statement "bVar12 = iVar1 == 0;" (assignment_expression "bVar12 = iVar1 == 0" (identifier "bVar12") (= "=") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) (; ";")) (expression_statement "bVar13 = iVar1 == 1;" (assignment_expression "bVar13 = iVar1 == 1" (identifier "bVar13") (= "=") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1"))) (; ";")) (if_statement "if (bVar13) {\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }" (if "if") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (compound_statement "{\n      iVar9 = 0xb;\n      pbVar10 = param_2;\n      pbVar11 = (byte *)".gdb_index";\n      do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);\n      if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }\n    }" ({ "{") (expression_statement "iVar9 = 0xb;" (assignment_expression "iVar9 = 0xb" (identifier "iVar9") (= "=") (number_literal "0xb")) (; ";")) (expression_statement "pbVar10 = param_2;" (assignment_expression "pbVar10 = param_2" (identifier "pbVar10") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pbVar11 = (byte *)".gdb_index";" (assignment_expression "pbVar11 = (byte *)".gdb_index"" (identifier "pbVar11") (= "=") (cast_expression "(byte *)".gdb_index"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal "".gdb_index"" (" """) (string_content ".gdb_index") (" """)))) (; ";")) (do_statement "do {\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      } while (bVar13);" (do "do") (compound_statement "{\n        if (iVar9 == 0) break;\n        iVar9 = iVar9 + -1;\n        bVar12 = *pbVar10 < *pbVar11;\n        bVar13 = *pbVar10 == *pbVar11;\n        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;\n        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar9 == 0) break;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar9 = iVar9 + -1;" (assignment_expression "iVar9 = iVar9 + -1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + -1" (identifier "iVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar12 = *pbVar10 < *pbVar11;" (assignment_expression "bVar12 = *pbVar10 < *pbVar11" (identifier "bVar12") (= "=") (binary_expression "*pbVar10 < *pbVar11" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (< "<") (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")))) (; ";")) (expression_statement "bVar13 = *pbVar10 == *pbVar11;" (assignment_expression "bVar13 = *pbVar10 == *pbVar11" (identifier "bVar13") (= "=") (binary_expression "*pbVar10 == *pbVar11" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (== "==") (pointer_expression "*pbVar11" (* "*") (identifier "pbVar11")))) (; ";")) (expression_statement "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar14 * -2" (identifier "pbVar10") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;" (assignment_expression "pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1" (identifier "pbVar11") (= "=") (binary_expression "pbVar11 + (uint)bVar14 * -2 + 1" (binary_expression "pbVar11 + (uint)bVar14 * -2" (identifier "pbVar11") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (; ";")) (if_statement "if ((!bVar12 && !bVar13) == bVar12) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((!bVar12 && !bVar13) == bVar12)" (( "(") (binary_expression "(!bVar12 && !bVar13) == bVar12" (parenthesized_expression "(!bVar12 && !bVar13)" (( "(") (binary_expression "!bVar12 && !bVar13" (unary_expression "!bVar12" (! "!") (identifier "bVar12")) (&& "&&") (unary_expression "!bVar13" (! "!") (identifier "bVar13"))) () ")")) (== "==") (identifier "bVar12")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iVar9 = *param_3;" (assignment_expression "iVar9 = *param_3" (identifier "iVar9") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar9 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar9 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar9 + 0x10)" (* "*") (cast_expression "(int *)(iVar9 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x10)" (( "(") (binary_expression "iVar9 + 0x10" (identifier "iVar9") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar9 + 0x14);" (assignment_expression "iVar3 = *(int *)(iVar9 + 0x14)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar9 + 0x14)" (* "*") (cast_expression "(int *)(iVar9 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x14)" (( "(") (binary_expression "iVar9 + 0x14" (identifier "iVar9") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar8 = *(undefined4 *)(iVar9 + 8);" (assignment_expression "uVar8 = *(undefined4 *)(iVar9 + 8)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 8)" (( "(") (binary_expression "iVar9 + 8" (identifier "iVar9") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(iVar9 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)(iVar9 + 0xc)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0xc)" (( "(") (binary_expression "iVar9 + 0xc" (identifier "iVar9") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(iVar9 + 0x20);" (assignment_expression "uVar5 = *(undefined4 *)(iVar9 + 0x20)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar9 + 0x20)" (* "*") (cast_expression "(undefined4 *)(iVar9 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x20)" (( "(") (binary_expression "iVar9 + 0x20" (identifier "iVar9") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);" (assignment_expression "uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20)" (identifier "uVar7") (= "=") (call_expression "FUN_00174930(param_1 + 8,param_2,1,local_20)" (identifier "FUN_00174930") (argument_list "(param_1 + 8,param_2,1,local_20)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) (, ",") (identifier "param_2") (, ",") (number_literal "1") (, ",") (identifier "local_20") () ")")))) (; ";")) (expression_statement "uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);" (assignment_expression "uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" (identifier "uVar8") (= "=") (call_expression "FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" (identifier "FUN_0009fd60") (argument_list "(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar7") (, ",") (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (, ",") (identifier "iVar1") (, ",") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);" (call_expression "FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0)" (identifier "FUN_000efa30") (argument_list "(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0)" (( "(") (identifier "uVar8") (, ",") (identifier "uVar4") (, ",") (number_literal "0") (, ",") (identifier "iVar2") (, ",") (number_literal "0") (, ",") (identifier "iVar3") (, ",") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (iVar1 != 8) {\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }" (if "if") (parenthesized_expression "(iVar1 != 8)" (( "(") (binary_expression "iVar1 != 8" (identifier "iVar1") (!= "!=") (number_literal "8")) () ")")) (compound_statement "{\n    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);\n    return uVar8;\n  }" ({ "{") (expression_statement "FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);" (call_expression "FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0)" (identifier "FUN_00096350") (argument_list "(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0)" (( "(") (binary_expression "param_1 + 0x248" (identifier "param_1") (+ "+") (number_literal "0x248")) (, ",") (identifier "iVar2") (, ",") (number_literal "0") (, ",") (binary_expression "iVar3 + iVar2" (identifier "iVar3") (+ "+") (identifier "iVar2")) (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}"))) (return_statement "return uVar8;" (return "return") (identifier "uVar8") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original name: init_fixed_output_section<32, false>
   DWARF original prototype: Output_section * init_fixed_output_section<32,_false>(Layout * this,
   char * name, Shdr<32,_false> * shdr) */

type_2 * __thiscall
gold::Layout::init_fixed_output_section<32,_false>(Layout *this,var_10 *name,Shdr<32,_false> *shdr)

{
  type_1 var_4;
  var_1<32> *pSVar1;
  char *__filename;
  type_1 uVar2;
  type_1 uVar3;
  type_1 uVar4;
  type_1 uVar5;
  bool var_8;
  char *name_00;
  type_2 *this_00;
  int var_5;
  type_3 *var_6;
  type_3 *var_7;
  bool bVar10;
  type_3 bVar11;
  type_4 name_key;
  type_5 uStack_14;
  
  bVar11 = 0;
  uStack_14 = 0xaa809;
  var_4 = shdr->p_->var_4;
  var_8 = var_2(var_4);
  if (!var_8) {
    return (type_2 *)0x0;
  }
  if (parameters->options_ == (type_6 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("../../gold/parameters.h",0x5c,"options");
  }
  if ((parameters->options_->gdb_index_).value != false) {
    var_8 = var_4 == 0;
    bVar10 = var_4 == 1;
    if (bVar10) {
      var_5 = 0xb;
      var_6 = (type_3 *)name;
      var_7 = (type_3 *)".gdb_index";
      do {
        if (var_5 == 0) break;
        var_5 = var_5 + -1;
        var_8 = *var_6 < *var_7;
        bVar10 = *var_6 == *var_7;
        var_6 = var_6 + (type_1)bVar11 * -2 + 1;
        var_7 = var_7 + (type_1)bVar11 * -2 + 1;
      } while (bVar10);
      if ((!var_8 && !bVar10) == var_8) {
        return (type_2 *)0x0;
      }
    }
  }
  pSVar1 = shdr->p_;
  __filename = (char *)pSVar1->sh_offset;
  uVar2 = pSVar1->sh_size;
  uVar3 = pSVar1->sh_flags;
  uVar4 = pSVar1->sh_addr;
  uVar5 = pSVar1->sh_addralign;
  name_00 = var_9<var_10>::var_11(&this->namepool_,name,true,&name_key);
  this_00 = var_12(this,name_00,name_key,var_4,(type_7)uVar3,ORDER_INVALID,false);
  Output_section::var_13
            (this_00,(type_7)uVar4,var_14(__filename),(type_7)uVar2,(type_7)uVar5);
  if (var_4 != 8) {
    Free_list::var_15(&this->free_list_,__filename);
    return this_00;
  }
  return this_00;
}


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

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

undefined4 MASKED(int param_1,byte *param_2,int *param_3)

{
  int iVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  char cVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  int iVar9;
  byte *pbVar10;
  byte *pbVar11;
  bool bVar12;
  bool bVar13;
  byte bVar14;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  bVar14 = 0;
  uStack_14 = 0xaa809;
  iVar1 = *(int *)(*param_3 + 4);
  cVar6 = FUN_000712b0(iVar1);
  if (cVar6 == '\0') {
    return 0;
  }
  if (*(int *)(DAT_0038f378 + 8) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_00069d00("../../gold/parameters.h",0x5c,"options",0);
  }
  if (*(char *)(*(int *)(DAT_0038f378 + 8) + 0x192d) != '\0') {
    bVar12 = iVar1 == 0;
    bVar13 = iVar1 == 1;
    if (bVar13) {
      iVar9 = 0xb;
      pbVar10 = param_2;
      pbVar11 = (byte *)".gdb_index";
      do {
        if (iVar9 == 0) break;
        iVar9 = iVar9 + -1;
        bVar12 = *pbVar10 < *pbVar11;
        bVar13 = *pbVar10 == *pbVar11;
        pbVar10 = pbVar10 + (uint)bVar14 * -2 + 1;
        pbVar11 = pbVar11 + (uint)bVar14 * -2 + 1;
      } while (bVar13);
      if ((!bVar12 && !bVar13) == bVar12) {
        return 0;
      }
    }
  }
  iVar9 = *param_3;
  iVar2 = *(int *)(iVar9 + 0x10);
  iVar3 = *(int *)(iVar9 + 0x14);
  uVar8 = *(undefined4 *)(iVar9 + 8);
  uVar4 = *(undefined4 *)(iVar9 + 0xc);
  uVar5 = *(undefined4 *)(iVar9 + 0x20);
  uVar7 = FUN_00174930(param_1 + 8,param_2,1,local_20);
  uVar8 = FUN_0009fd60(param_1,uVar7,local_20[0],iVar1,uVar8,0,0,0);
  FUN_000efa30(uVar8,uVar4,0,iVar2,0,iVar3,0,uVar5,0);
  if (iVar1 != 8) {
    FUN_00096350(param_1 + 0x248,iVar2,0,iVar3 + iVar2,0);
    return uVar8;
  }
  return uVar8;
}

