
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void finalize(Dwp_output_file * this) */

void __thiscall gold::Dwp_output_file::finalize(Dwp_output_file *this)

{
  Stringpool *this_00;
  uint uVar1;
  off_t offset;
  int iVar2;
  uint uVar3;
  char *pcVar4;
  uchar *puVar5;
  size_t sVar6;
  int iVar7;
  pointer pSVar8;
  int *piVar9;
  char *pcVar10;
  char *format;
  uint uVar11;
  Section *sect;
  uint uVar12;
  
  uVar12 = 0;
  pSVar8 = (this->sections_).
           super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
           ._M_impl._M_start;
  if ((this->sections_).
      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
      ._M_impl._M_finish != pSVar8) {
    do {
      sect = pSVar8 + uVar12;
      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&
         (sect->size != 0)) {
        uVar1 = sect->align;
        iVar2 = uVar1 + (int)this->next_file_offset_;
        uVar11 = -uVar1 & iVar2 - 1U;
        uVar3 = (int)-uVar1 >> 0x1f &
                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +
                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);
        *(uint *)&sect->offset = uVar11;
        *(uint *)((int)&sect->offset + 4) = uVar3;
        write_contributions(this,sect);
        uVar1 = sect->size;
        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;
        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);
        pSVar8 = (this->sections_).
                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
                 ._M_impl._M_start;
      }
      uVar12 = uVar12 + 1;
    } while (uVar12 < (uint)((int)(this->sections_).
                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
                                  ._M_impl._M_finish - (int)pSVar8 >> 5));
  }
  if (this->have_strings_ != false) {
    Stringpool_template<char>::set_string_offsets(&this->stringpool_);
    uVar12 = (this->stringpool_).strtab_size_;
    if (uVar12 == 0) goto LAB_00033c9c;
    puVar5 = (uchar *)operator_new__(uVar12);
    Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);
    write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);
    operator_delete__(puVar5);
  }
  if (this->big_endian_ == 0) {
    write_index<false>(this,".debug_cu_index",&this->cu_index_);
    write_index<false>(this,".debug_tu_index",&this->tu_index_);
  }
  else {
    write_index<true>(this,".debug_cu_index",&this->cu_index_);
    write_index<true>(this,".debug_tu_index",&this->tu_index_);
  }
  uVar12 = (uint)this->next_file_offset_;
  iVar2 = *(int *)((int)&this->next_file_offset_ + 4);
  offset = this->next_file_offset_;
  this_00 = &this->shstrtab_;
  this->shstrndx_ = this->shnum_;
  this->shnum_ = this->shnum_ + 1;
  pcVar4 = Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0);
  Stringpool_template<char>::set_string_offsets(this_00);
  uVar1 = (this->shstrtab_).strtab_size_;
  if (uVar1 != 0) {
    puVar5 = (uchar *)operator_new__(uVar1);
    Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);
    fseek((FILE *)this->fd_,uVar12,0);
    sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);
    if (sVar6 < uVar1) {
      pcVar4 = this->name_;
      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");
                    /* WARNING: Subroutine does not return */
      gold_fatal(pcVar10,pcVar4);
    }
    operator_delete__(puVar5);
    if (this->size_ == 0x20) {
      uVar11 = 0xfffffffc;
      uVar3 = 4;
    }
    else {
      uVar11 = 0xfffffff8;
      uVar3 = 8;
    }
    iVar7 = uVar3 + uVar1 + uVar12;
    uVar11 = uVar11 & iVar7 - 1U;
    *(uint *)((int)&this->shoff_ + 4) =
         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +
         (uint)(iVar7 != 0);
    *(uint *)&this->shoff_ = uVar11;
    fseek((FILE *)this->fd_,uVar11,0);
    uVar12 = this->shnum_;
    uVar3 = this->shstrndx_;
    if (uVar12 < 0xff00) {
      uVar12 = 0;
    }
    if (uVar3 < 0xff00) {
      uVar3 = 0;
    }
    uVar11 = 0;
    write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);
    pSVar8 = (this->sections_).
             super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
             ._M_impl._M_start;
    if ((this->sections_).
        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
        ._M_impl._M_finish != pSVar8) {
      do {
        uVar12 = uVar11 + 1;
        pSVar8 = pSVar8 + uVar11;
        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);
        pSVar8 = (this->sections_).
                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
                 ._M_impl._M_start;
        uVar11 = uVar12;
      } while (uVar12 < (uint)((int)(this->sections_).
                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>
                                    ._M_impl._M_finish - (int)pSVar8 >> 5));
    }
    write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);
    write_ehdr(this);
    if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {
      piVar9 = __errno_location();
      pcVar10 = strerror(*piVar9);
      pcVar4 = this->name_;
      format = (char *)gettext("%s: %s");
                    /* WARNING: Subroutine does not return */
      gold_fatal(format,pcVar4,pcVar10);
    }
    this->fd_ = (FILE *)0x0;
    return;
  }
LAB_00033c9c:
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size");
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000338c0(undefined4 *param_1)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  void *__ptr;
  size_t sVar5;
  undefined4 *puVar6;
  int *piVar7;
  char *pcVar8;
  undefined4 uVar9;
  uint uVar10;
  int iVar11;
  uint uVar12;
  uint __n;
  
  __n = 0;
  iVar2 = param_1[10];
  if (param_1[0xb] != iVar2) {
    do {
      iVar11 = __n * 0x20 + iVar2;
      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&
         (*(int *)(iVar11 + 0xc) != 0)) {
        uVar1 = *(uint *)(iVar11 + 0x10);
        iVar2 = uVar1 + param_1[7];
        uVar10 = -uVar1 & iVar2 - 1U;
        uVar3 = (int)-uVar1 >> 0x1f &
                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +
                (uint)(iVar2 != 0);
        *(uint *)(iVar11 + 4) = uVar10;
        *(uint *)(iVar11 + 8) = uVar3;
        FUN_000330f0(param_1,iVar11);
        uVar1 = *(uint *)(iVar11 + 0xc);
        param_1[7] = uVar1 + uVar10;
        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);
        iVar2 = param_1[10];
      }
      __n = __n + 1;
    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));
  }
  if (*(char *)(param_1 + 0x13) != '\0') {
    FUN_001215b0(param_1 + 0x14);
    iVar2 = param_1[0x22];
    if (iVar2 == 0) goto LAB_00033c9c;
    uVar4 = FUN_0017eb70(iVar2);
    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);
    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);
    FUN_00180740(uVar4);
  }
  if (param_1[3] == 0) {
    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);
    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);
  }
  else {
    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);
    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);
  }
  uVar1 = param_1[7];
  iVar2 = param_1[8];
  puVar6 = param_1 + 0x27;
  param_1[0x12] = param_1[9];
  param_1[9] = param_1[9] + 1;
  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);
  FUN_001215b0(puVar6);
  __n = param_1[0x35];
  if (__n != 0) {
    __ptr = (void *)FUN_0017eb70(__n);
    FUN_0011cb50(puVar6,__ptr,__n);
    fseek((FILE *)param_1[6],uVar1,0);
    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);
    if (sVar5 < __n) {
      uVar4 = *param_1;
      uVar9 = gettext("%s: error writing section \'.shstrtab\'");
                    /* WARNING: Subroutine does not return */
      FUN_0005aca0(uVar9,uVar4);
    }
    FUN_00180740(__ptr);
    if (param_1[2] == 0x20) {
      uVar10 = 0xfffffffc;
      uVar3 = 4;
    }
    else {
      uVar10 = 0xfffffff8;
      uVar3 = 8;
    }
    iVar11 = uVar3 + __n + uVar1;
    uVar10 = uVar10 & iVar11 - 1U;
    param_1[0x11] =
         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +
         (uint)(iVar11 != 0);
    param_1[0x10] = uVar10;
    fseek((FILE *)param_1[6],uVar10,0);
    uVar3 = param_1[9];
    uVar10 = param_1[0x12];
    if (uVar3 < 0xff00) {
      uVar3 = 0;
    }
    if (uVar10 < 0xff00) {
      uVar10 = 0;
    }
    uVar12 = 0;
    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);
    iVar11 = param_1[10];
    if (param_1[0xb] != iVar11) {
      do {
        uVar3 = uVar12 + 1;
        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);
        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);
        iVar11 = param_1[10];
        uVar12 = uVar3;
      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));
    }
    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);
    FUN_000335c0(param_1);
    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {
      piVar7 = __errno_location();
      pcVar8 = strerror(*piVar7);
      uVar4 = *param_1;
      uVar9 = gettext("%s: %s");
                    /* WARNING: Subroutine does not return */
      FUN_0005aca0(uVar9,uVar4,pcVar8);
    }
    param_1[6] = 0;
    return;
  }
LAB_00033c9c:
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);
}


CALL 0x0004fb76
ADD EAX,0x2ce73b
PUSH EBP
XOR EBP,EBP
PUSH EDI
XOR EDI,EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV ESI,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x4],EAX
MOV EDX,dword ptr [ESI + 0x28]
CMP dword ptr [ESI + 0x2c],EDX
JZ 0x0003398d
LEA ESI,[ESI]
MOV EBX,EBP
MOV EAX,EDI
SHL EBX,0x5
ADD EBX,EDX
CMP EDI,dword ptr [EBX + 0x4]
SBB EAX,dword ptr [EBX + 0x8]
JL 0x0003397a
MOV EAX,dword ptr [EBX + 0xc]
TEST EAX,EAX
JZ 0x0003397a
MOV ECX,dword ptr [EBX + 0x10]
MOV EAX,ECX
CDQ
ADD EAX,dword ptr [ESI + 0x1c]
ADC EDX,dword ptr [ESI + 0x20]
ADD EAX,-0x1
ADC EDX,-0x1
NEG ECX
MOV dword ptr [ESP + 0x10],EAX
SUB ESP,0x8
MOV EAX,ECX
MOV dword ptr [ESP + 0x1c],EDX
MOV EDX,dword ptr [ESP + 0x1c]
SAR EAX,0x1f
MOV dword ptr [ESP + 0x20],ECX
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x18]
AND ECX,EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x10],ECX
AND EAX,EDX
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESP + 0x14]
MOV dword ptr [EBX + 0x4],EAX
MOV dword ptr [EBX + 0x8],EDX
PUSH EBX
PUSH ESI
CALL 0x000330f0
MOV EAX,dword ptr [EBX + 0xc]
XOR EDX,EDX
ADD EAX,dword ptr [ESP + 0x18]
MOV dword ptr [ESI + 0x1c],EAX
ADC EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV dword ptr [ESI + 0x20],EDX
MOV EDX,dword ptr [ESI + 0x28]
MOV EAX,dword ptr [ESI + 0x2c]
ADD EBP,0x1
SUB EAX,EDX
SAR EAX,0x5
CMP EAX,EBP
JA 0x000338f0
CMP byte ptr [ESI + 0x4c],0x0
JNZ 0x00033c28
MOV EDI,dword ptr [ESI + 0xc]
LEA EAX,[ESI + 0xe8]
LEA EBX,[ESI + 0x108]
TEST EDI,EDI
JNZ 0x00033bd8
SUB ESP,0x4
PUSH EAX
MOV EDI,dword ptr [ESP + 0xc]
LEA EAX,[EDI + 0xfff18559]
PUSH EAX
PUSH ESI
CALL 0x000479f0
ADD ESP,0xc
LEA EAX,[EDI + 0xfff18569]
PUSH EBX
PUSH EAX
PUSH ESI
CALL 0x000479f0
ADD ESP,0x10
MOV EAX,dword ptr [ESI + 0x1c]
MOV EDX,dword ptr [ESI + 0x20]
SUB ESP,0xc
LEA EBP,[ESI + 0x9c]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESI + 0x24]
MOV dword ptr [ESP + 0x18],EDX
LEA EDX,[EAX + 0x1]
MOV dword ptr [ESI + 0x48],EAX
MOV dword ptr [ESI + 0x24],EDX
PUSH 0x0
PUSH 0x0
PUSH 0x9
MOV EDI,dword ptr [ESP + 0x1c]
LEA EAX,[EDI + 0xfff18579]
MOV EBX,EDI
PUSH EAX
PUSH EBP
CALL 0x0011ff30
MOV dword ptr [ESP + 0x38],EAX
ADD ESP,0x14
MOV dword ptr [ESP + 0x1c],EBP
PUSH EBP
CALL 0x001215b0
MOV EBP,dword ptr [ESI + 0xd4]
ADD ESP,0x10
TEST EBP,EBP
JZ 0x00033c9c
SUB ESP,0xc
PUSH EBP
MOV dword ptr [ESP + 0x14],EDI
CALL 0x0017eb70
ADD ESP,0xc
PUSH EBP
MOV EDI,EAX
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x0011cb50
ADD ESP,0xc
PUSH 0x0
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESI + 0x18]
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x000264f0
ADD ESP,0x10
PUSH dword ptr [ESI + 0x18]
PUSH EBP
PUSH 0x1
PUSH EDI
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x00026730
ADD ESP,0x10
CMP EAX,EBP
JC 0x00033cb9
SUB ESP,0xc
PUSH EDI
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x00180740
XOR EBX,EBX
MOV ECX,EBP
ADD ECX,dword ptr [ESP + 0x18]
ADC EBX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
CMP dword ptr [ESI + 0x8],0x20
JZ 0x00033c10
MOV EDI,0xfffffff8
MOV EAX,0x8
XOR EDX,EDX
ADD EAX,ECX
ADC EDX,EBX
ADD EAX,-0x1
ADC EDX,-0x1
SUB ESP,0x4
AND EDI,EAX
MOV dword ptr [ESI + 0x44],EDX
MOV dword ptr [ESI + 0x40],EDI
PUSH 0x0
PUSH EDI
PUSH dword ptr [ESI + 0x18]
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x000264f0
MOV EAX,dword ptr [ESI + 0x24]
MOV EDX,dword ptr [ESI + 0x48]
XOR ECX,ECX
MOV dword ptr [ESP],0x0
CMP EAX,0xfeff
PUSH 0x0
CMOVBE EAX,ECX
CMP EDX,0xfeff
PUSH 0x0
CMOVBE EDX,ECX
XOR EBX,EBX
PUSH EDX
PUSH EAX
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH ESI
CALL 0x000331b0
MOV EAX,dword ptr [ESI + 0x28]
ADD ESP,0x40
CMP dword ptr [ESI + 0x2c],EAX
JZ 0x00033b71
LEA ESI,[ESI]
LEA ESI,[ESI]
MOV EDX,EBX
SUB ESP,0xc
ADD EBX,0x1
SHL EDX,0x5
PUSH 0x0
ADD EAX,EDX
PUSH dword ptr [EAX + 0x10]
PUSH 0x0
PUSH 0x0
PUSH dword ptr [EAX + 0xc]
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0x4]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x1
PUSH dword ptr [EAX]
PUSH ESI
CALL 0x000331b0
MOV EAX,dword ptr [ESI + 0x28]
MOV EDX,dword ptr [ESI + 0x2c]
ADD ESP,0x40
SUB EDX,EAX
SAR EDX,0x5
CMP EBX,EDX
JC 0x00033b30
SUB ESP,0xc
PUSH 0x0
PUSH 0x1
PUSH 0x0
PUSH 0x0
PUSH EBP
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH 0x3
PUSH dword ptr [ESP + 0x50]
PUSH ESI
CALL 0x000331b0
ADD ESP,0x34
PUSH ESI
CALL 0x000335c0
MOV EAX,dword ptr [ESI + 0x18]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00033bc2
SUB ESP,0xc
PUSH EAX
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x00026580
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00033cd9
MOV dword ptr [ESI + 0x18],0x0
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
PUSH EAX
MOV EDI,dword ptr [ESP + 0xc]
LEA EAX,[EDI + 0xfff18559]
PUSH EAX
PUSH ESI
CALL 0x00047680
ADD ESP,0xc
LEA EAX,[EDI + 0xfff18569]
PUSH EBX
PUSH EAX
PUSH ESI
CALL 0x00047680
ADD ESP,0x10
JMP 0x000339d7
MOV EDI,0xfffffffc
MOV EAX,0x4
XOR EDX,EDX
JMP 0x00033abb
SUB ESP,0xc
LEA EDI,[ESI + 0x50]
PUSH EDI
MOV EBX,dword ptr [ESP + 0x14]
CALL 0x001215b0
MOV EDX,dword ptr [ESI + 0x88]
ADD ESP,0x10
TEST EDX,EDX
JZ 0x00033c9c
SUB ESP,0xc
PUSH EDX
MOV EBX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x18],EDX
CALL 0x0017eb70
ADD ESP,0xc
MOV EDX,dword ptr [ESP + 0xc]
MOV EBP,EAX
PUSH EDX
MOV dword ptr [ESP + 0x10],EDX
PUSH EAX
PUSH EDI
MOV EDI,dword ptr [ESP + 0x14]
MOV EBX,EDI
CALL 0x0011cb50
MOV EDX,dword ptr [ESP + 0x18]
LEA EAX,[EDI + 0xfff1854a]
MOV dword ptr [ESP],0x1
PUSH EDX
PUSH EBP
PUSH EAX
PUSH ESI
CALL 0x000337c0
ADD ESP,0x14
PUSH EBP
CALL 0x00180740
ADD ESP,0x10
JMP 0x00033997
PUSH EBP
MOV EBX,dword ptr [ESP + 0x8]
LEA EAX,[EBX + 0xfff18aec]
PUSH EAX
LEA EAX,[EBX + 0xfff18532]
PUSH 0x111
PUSH EAX
CALL 0x0005f0b0
SUB ESP,0xc
MOV ESI,dword ptr [ESI]
MOV EDI,dword ptr [ESP + 0x10]
LEA EAX,[EDI + 0xfff18274]
MOV EBX,EDI
PUSH EAX
CALL 0x000263b0
POP EDX
POP ECX
PUSH ESI
PUSH EAX
CALL 0x0005aca0
MOV EBP,dword ptr [ESP + 0x4]
MOV EBX,EBP
CALL 0x00026090
SUB ESP,0xc
PUSH dword ptr [EAX]
CALL 0x00026100
MOV ESI,dword ptr [ESI]
MOV EDI,EAX
LEA EAX,[EBP + 0xfff226b5]
MOV dword ptr [ESP],EAX
CALL 0x000263b0
ADD ESP,0xc
PUSH EDI
PUSH ESI
PUSH EAX
CALL 0x0005aca0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000338c0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}\n\n" comment (function_definition "void FUN_000338c0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}" primitive_type (function_declarator "FUN_000338c0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "iVar2 = param_1[10];" (assignment_expression "iVar2 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (if_statement "if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }" if (parenthesized_expression "(param_1[0xb] != iVar2)" ( (binary_expression "param_1[0xb] != iVar2" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }" { (do_statement "do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));" do (compound_statement "{\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    }" { (expression_statement "iVar11 = __n * 0x20 + iVar2;" (assignment_expression "iVar11 = __n * 0x20 + iVar2" identifier = (binary_expression "__n * 0x20 + iVar2" (binary_expression "__n * 0x20" identifier * number_literal) + identifier)) ;) (if_statement "if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }" if (parenthesized_expression "(((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0))" ( (binary_expression "((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)" (parenthesized_expression "((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8))" ( (binary_expression "(int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)" (cast_expression "(int)(uint)(*(int *)(iVar11 + 4) != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(*(int *)(iVar11 + 4) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar11 + 4) != 0)" ( (binary_expression "*(int *)(iVar11 + 4) != 0" (pointer_expression "*(int *)(iVar11 + 4)" * (cast_expression "(int *)(iVar11 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) != number_literal) )))) <= (unary_expression "-*(int *)(iVar11 + 8)" - (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))))) )) && (parenthesized_expression "(*(int *)(iVar11 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar11 + 0xc) != 0" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }" { (expression_statement "uVar1 = *(uint *)(iVar11 + 0x10);" (assignment_expression "uVar1 = *(uint *)(iVar11 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar11 + 0x10)" * (cast_expression "(uint *)(iVar11 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = uVar1 + param_1[7];" (assignment_expression "iVar2 = uVar1 + param_1[7]" identifier = (binary_expression "uVar1 + param_1[7]" identifier + (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = -uVar1 & iVar2 - 1U;" (assignment_expression "uVar10 = -uVar1 & iVar2 - 1U" identifier = (binary_expression "-uVar1 & iVar2 - 1U" (unary_expression "-uVar1" - identifier) & (binary_expression "iVar2 - 1U" identifier - number_literal))) ;) (expression_statement "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);" (assignment_expression "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" identifier = (binary_expression "(int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (binary_expression "(int)-uVar1 >> 0x1f" (cast_expression "(int)-uVar1" ( (type_descriptor "int" primitive_type) ) (unary_expression "-uVar1" - identifier)) >> number_literal) & (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7])" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8]" (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (subscript_expression "param_1[8]" identifier [ number_literal ])) + (cast_expression "(uint)CARRY4(uVar1,param_1[7])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar1,param_1[7])" identifier (argument_list "(uVar1,param_1[7])" ( identifier , (subscript_expression "param_1[7]" identifier [ number_literal ]) ))))) + number_literal) + (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))))) ;) (expression_statement "*(uint *)(iVar11 + 4) = uVar10;" (assignment_expression "*(uint *)(iVar11 + 4) = uVar10" (pointer_expression "*(uint *)(iVar11 + 4)" * (cast_expression "(uint *)(iVar11 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar11 + 8) = uVar3;" (assignment_expression "*(uint *)(iVar11 + 8) = uVar3" (pointer_expression "*(uint *)(iVar11 + 8)" * (cast_expression "(uint *)(iVar11 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000330f0(param_1,iVar11);" (call_expression "FUN_000330f0(param_1,iVar11)" identifier (argument_list "(param_1,iVar11)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = *(uint *)(iVar11 + 0xc);" (assignment_expression "uVar1 = *(uint *)(iVar11 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar11 + 0xc)" * (cast_expression "(uint *)(iVar11 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "param_1[7] = uVar1 + uVar10;" (assignment_expression "param_1[7] = uVar1 + uVar10" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (binary_expression "uVar1 + uVar10" identifier + identifier)) ;) (expression_statement "param_1[8] = uVar3 + CARRY4(uVar1,uVar10);" (assignment_expression "param_1[8] = uVar3 + CARRY4(uVar1,uVar10)" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (binary_expression "uVar3 + CARRY4(uVar1,uVar10)" identifier + (call_expression "CARRY4(uVar1,uVar10)" identifier (argument_list "(uVar1,uVar10)" ( identifier , identifier ))))) ;) (expression_statement "iVar2 = param_1[10];" (assignment_expression "iVar2 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) })) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(__n < (uint)(param_1[0xb] - iVar2 >> 5))" ( (binary_expression "__n < (uint)(param_1[0xb] - iVar2 >> 5)" identifier < (call_expression "(uint)(param_1[0xb] - iVar2 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[0xb] - iVar2 >> 5)" ( (binary_expression "param_1[0xb] - iVar2 >> 5" (binary_expression "param_1[0xb] - iVar2" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) - identifier) >> number_literal) )))) )) ;) })) (if_statement "if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x13) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x13) != '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }" { (expression_statement "FUN_001215b0(param_1 + 0x14);" (call_expression "FUN_001215b0(param_1 + 0x14)" identifier (argument_list "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))) ;) (expression_statement "iVar2 = param_1[0x22];" (assignment_expression "iVar2 = param_1[0x22]" identifier = (subscript_expression "param_1[0x22]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0) goto LAB_00033c9c;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033c9c;" goto statement_identifier ;)) (expression_statement "uVar4 = FUN_0017eb70(iVar2);" (assignment_expression "uVar4 = FUN_0017eb70(iVar2)" identifier = (call_expression "FUN_0017eb70(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);" (call_expression "FUN_0011cb50(param_1 + 0x14,uVar4,iVar2)" identifier (argument_list "(param_1 + 0x14,uVar4,iVar2)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);" (call_expression "FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1)" identifier (argument_list "(param_1,".debug_str.dwo",uVar4,iVar2,1)" ( identifier , (string_literal "".debug_str.dwo"" " string_content ") , identifier , identifier , number_literal ))) ;) (expression_statement "FUN_00180740(uVar4);" (call_expression "FUN_00180740(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (if_statement "if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" if (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }" { (expression_statement "FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);" (call_expression "FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a)" identifier (argument_list "(param_1,".debug_cu_index",param_1 + 0x3a)" ( identifier , (string_literal "".debug_cu_index"" " string_content ") , (binary_expression "param_1 + 0x3a" identifier + number_literal) ))) ;) (expression_statement "FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);" (call_expression "FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42)" identifier (argument_list "(param_1,".debug_tu_index",param_1 + 0x42)" ( identifier , (string_literal "".debug_tu_index"" " string_content ") , (binary_expression "param_1 + 0x42" identifier + number_literal) ))) ;) }) (else_clause "else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" else (compound_statement "{\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" { (expression_statement "FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);" (call_expression "FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a)" identifier (argument_list "(param_1,".debug_cu_index",param_1 + 0x3a)" ( identifier , (string_literal "".debug_cu_index"" " string_content ") , (binary_expression "param_1 + 0x3a" identifier + number_literal) ))) ;) (expression_statement "FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);" (call_expression "FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42)" identifier (argument_list "(param_1,".debug_tu_index",param_1 + 0x42)" ( identifier , (string_literal "".debug_tu_index"" " string_content ") , (binary_expression "param_1 + 0x42" identifier + number_literal) ))) ;) }))) (expression_statement "uVar1 = param_1[7];" (assignment_expression "uVar1 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[8];" (assignment_expression "iVar2 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = param_1 + 0x27;" (assignment_expression "puVar6 = param_1 + 0x27" identifier = (binary_expression "param_1 + 0x27" identifier + number_literal)) ;) (expression_statement "param_1[0x12] = param_1[9];" (assignment_expression "param_1[0x12] = param_1[9]" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "param_1[9] = param_1[9] + 1;" (assignment_expression "param_1[9] = param_1[9] + 1" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (binary_expression "param_1[9] + 1" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);" (assignment_expression "uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0)" identifier = (call_expression "FUN_0011ff30(puVar6,".shstrtab",9,0,0)" identifier (argument_list "(puVar6,".shstrtab",9,0,0)" ( identifier , (string_literal "".shstrtab"" " string_content ") , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_001215b0(puVar6);" (call_expression "FUN_001215b0(puVar6)" identifier (argument_list "(puVar6)" ( identifier ))) ;) (expression_statement "__n = param_1[0x35];" (assignment_expression "__n = param_1[0x35]" identifier = (subscript_expression "param_1[0x35]" identifier [ number_literal ])) ;) (if_statement "if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }" { (expression_statement "__ptr = (void *)FUN_0017eb70(__n);" (assignment_expression "__ptr = (void *)FUN_0017eb70(__n)" identifier = (cast_expression "(void *)FUN_0017eb70(__n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017eb70(__n)" identifier (argument_list "(__n)" ( identifier ))))) ;) (expression_statement "FUN_0011cb50(puVar6,__ptr,__n);" (call_expression "FUN_0011cb50(puVar6,__ptr,__n)" identifier (argument_list "(puVar6,__ptr,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "fseek((FILE *)param_1[6],uVar1,0);" (call_expression "fseek((FILE *)param_1[6],uVar1,0)" identifier (argument_list "((FILE *)param_1[6],uVar1,0)" ( (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) , identifier , number_literal ))) ;) (expression_statement "sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);" (assignment_expression "sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6])" identifier = (call_expression "fwrite(__ptr,1,__n,(FILE *)param_1[6])" identifier (argument_list "(__ptr,1,__n,(FILE *)param_1[6])" ( identifier , number_literal , identifier , (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) )))) ;) (if_statement "if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }" if (parenthesized_expression "(sVar5 < __n)" ( (binary_expression "sVar5 < __n" identifier < identifier) )) (compound_statement "{\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4);\n    }" { (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar9 = gettext("%s: error writing section \'.shstrtab\'");" (assignment_expression "uVar9 = gettext("%s: error writing section \'.shstrtab\'")" identifier = (call_expression "gettext("%s: error writing section \'.shstrtab\'")" identifier (argument_list "("%s: error writing section \'.shstrtab\'")" ( (string_literal ""%s: error writing section \'.shstrtab\'"" " string_content escape_sequence string_content escape_sequence ") )))) ;) comment (expression_statement "FUN_0005aca0(uVar9,uVar4);" (call_expression "FUN_0005aca0(uVar9,uVar4)" identifier (argument_list "(uVar9,uVar4)" ( identifier , identifier ))) ;) })) (expression_statement "FUN_00180740(__ptr);" (call_expression "FUN_00180740(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" if (parenthesized_expression "(param_1[2] == 0x20)" ( (binary_expression "param_1[2] == 0x20" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }" { (expression_statement "uVar10 = 0xfffffffc;" (assignment_expression "uVar10 = 0xfffffffc" identifier = number_literal) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" else (compound_statement "{\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" { (expression_statement "uVar10 = 0xfffffff8;" (assignment_expression "uVar10 = 0xfffffff8" identifier = number_literal) ;) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) }))) (expression_statement "iVar11 = uVar3 + __n + uVar1;" (assignment_expression "iVar11 = uVar3 + __n + uVar1" identifier = (binary_expression "uVar3 + __n + uVar1" (binary_expression "uVar3 + __n" identifier + identifier) + identifier)) ;) (expression_statement "uVar10 = uVar10 & iVar11 - 1U;" (assignment_expression "uVar10 = uVar10 & iVar11 - 1U" identifier = (binary_expression "uVar10 & iVar11 - 1U" identifier & (binary_expression "iVar11 - 1U" identifier - number_literal))) ;) (expression_statement "param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);" (assignment_expression "param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0)" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0)" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1)" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1)" identifier + (cast_expression "(uint)CARRY4(__n,uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(__n,uVar1)" identifier (argument_list "(__n,uVar1)" ( identifier , identifier ))))) + (cast_expression "(uint)CARRY4(uVar3,__n + uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,__n + uVar1)" identifier (argument_list "(uVar3,__n + uVar1)" ( identifier , (binary_expression "__n + uVar1" identifier + identifier) ))))) + number_literal) + (call_expression "(uint)(iVar11 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) ))))) ;) (expression_statement "param_1[0x10] = uVar10;" (assignment_expression "param_1[0x10] = uVar10" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "fseek((FILE *)param_1[6],uVar10,0);" (call_expression "fseek((FILE *)param_1[6],uVar10,0)" identifier (argument_list "((FILE *)param_1[6],uVar10,0)" ( (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) , identifier , number_literal ))) ;) (expression_statement "uVar3 = param_1[9];" (assignment_expression "uVar3 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = param_1[0x12];" (assignment_expression "uVar10 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }" if (parenthesized_expression "(uVar3 < 0xff00)" ( (binary_expression "uVar3 < 0xff00" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }" if (parenthesized_expression "(uVar10 < 0xff00)" ( (binary_expression "uVar10 < 0xff00" identifier < number_literal) )) (compound_statement "{\n      uVar10 = 0;\n    }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);" (call_expression "FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0)" identifier (argument_list "(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "iVar11 = param_1[10];" (assignment_expression "iVar11 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (if_statement "if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }" if (parenthesized_expression "(param_1[0xb] != iVar11)" ( (binary_expression "param_1[0xb] != iVar11" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }" { (do_statement "do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));" do (compound_statement "{\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      }" { (expression_statement "uVar3 = uVar12 + 1;" (assignment_expression "uVar3 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);" (assignment_expression "puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20)" identifier = (cast_expression "(undefined4 *)(iVar11 + uVar12 * 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + uVar12 * 0x20)" ( (binary_expression "iVar11 + uVar12 * 0x20" identifier + (binary_expression "uVar12 * 0x20" identifier * number_literal)) )))) ;) (expression_statement "FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);" (call_expression "FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0)" identifier (argument_list "(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0)" ( identifier , (pointer_expression "*puVar6" * identifier) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "puVar6[1]" identifier [ number_literal ]) , (subscript_expression "puVar6[2]" identifier [ number_literal ]) , (subscript_expression "puVar6[3]" identifier [ number_literal ]) , number_literal , number_literal , (subscript_expression "puVar6[4]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "iVar11 = param_1[10];" (assignment_expression "iVar11 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "uVar12 = uVar3;" (assignment_expression "uVar12 = uVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 < (uint)(param_1[0xb] - iVar11 >> 5))" ( (binary_expression "uVar3 < (uint)(param_1[0xb] - iVar11 >> 5)" identifier < (call_expression "(uint)(param_1[0xb] - iVar11 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[0xb] - iVar11 >> 5)" ( (binary_expression "param_1[0xb] - iVar11 >> 5" (binary_expression "param_1[0xb] - iVar11" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) - identifier) >> number_literal) )))) )) ;) })) (expression_statement "FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);" (call_expression "FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0)" identifier (argument_list "(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (expression_statement "FUN_000335c0(param_1);" (call_expression "FUN_000335c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }" if (parenthesized_expression "(((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0))" ( (binary_expression "((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)" (parenthesized_expression "((FILE *)param_1[6] != (FILE *)0x0)" ( (binary_expression "(FILE *)param_1[6] != (FILE *)0x0" (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)" ( (comma_expression "iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0" (assignment_expression "iVar2 = fclose((FILE *)param_1[6])" identifier = (call_expression "fclose((FILE *)param_1[6])" identifier (argument_list "((FILE *)param_1[6])" ( (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }" { (expression_statement "piVar7 = __errno_location();" (assignment_expression "piVar7 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar8 = strerror(*piVar7);" (assignment_expression "pcVar8 = strerror(*piVar7)" identifier = (call_expression "strerror(*piVar7)" identifier (argument_list "(*piVar7)" ( (pointer_expression "*piVar7" * identifier) )))) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar9 = gettext("%s: %s");" (assignment_expression "uVar9 = gettext("%s: %s")" identifier = (call_expression "gettext("%s: %s")" identifier (argument_list "("%s: %s")" ( (string_literal ""%s: %s"" " string_content ") )))) ;) comment (expression_statement "FUN_0005aca0(uVar9,uVar4,pcVar8);" (call_expression "FUN_0005aca0(uVar9,uVar4,pcVar8)" identifier (argument_list "(uVar9,uVar4,pcVar8)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);" statement_identifier : comment (expression_statement "FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);" (call_expression "FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n)" identifier (argument_list "("../../gold/stringpool.h",0x111,"get_strtab_size",__n)" ( (string_literal ""../../gold/stringpool.h"" " string_content ") , number_literal , (string_literal ""get_strtab_size"" " string_content ") , identifier ))) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* DWARF original prototype: void finalize(Dwp_output_file * this) */\n\nvoid __thiscall gold::Dwp_output_file::finalize(Dwp_output_file *this)\n\n{\n  Stringpool *this_00;\n  uint uVar1;\n  off_t offset;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  uchar *puVar5;\n  size_t sVar6;\n  int iVar7;\n  pointer pSVar8;\n  int *piVar9;\n  char *pcVar10;\n  char *format;\n  uint uVar11;\n  Section *sect;\n  uint uVar12;\n  \n  uVar12 = 0;\n  pSVar8 = (this->sections_).\n           super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n           ._M_impl._M_start;\n  if ((this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n      ._M_impl._M_finish != pSVar8) {\n    do {\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    } while (uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5));\n  }\n  if (this->have_strings_ != false) {\n    Stringpool_template<char>::set_string_offsets(&this->stringpool_);\n    uVar12 = (this->stringpool_).strtab_size_;\n    if (uVar12 == 0) goto LAB_00033c9c;\n    puVar5 = (uchar *)operator_new__(uVar12);\n    Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);\n    write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);\n    operator_delete__(puVar5);\n  }\n  if (this->big_endian_ == 0) {\n    write_index<false>(this,".debug_cu_index",&this->cu_index_);\n    write_index<false>(this,".debug_tu_index",&this->tu_index_);\n  }\n  else {\n    write_index<true>(this,".debug_cu_index",&this->cu_index_);\n    write_index<true>(this,".debug_tu_index",&this->tu_index_);\n  }\n  uVar12 = (uint)this->next_file_offset_;\n  iVar2 = *(int *)((int)&this->next_file_offset_ + 4);\n  offset = this->next_file_offset_;\n  this_00 = &this->shstrtab_;\n  this->shstrndx_ = this->shnum_;\n  this->shnum_ = this->shnum_ + 1;\n  pcVar4 = Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0);\n  Stringpool_template<char>::set_string_offsets(this_00);\n  uVar1 = (this->shstrtab_).strtab_size_;\n  if (uVar1 != 0) {\n    puVar5 = (uchar *)operator_new__(uVar1);\n    Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);\n    fseek((FILE *)this->fd_,uVar12,0);\n    sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);\n    if (sVar6 < uVar1) {\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }\n    operator_delete__(puVar5);\n    if (this->size_ == 0x20) {\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar7 = uVar3 + uVar1 + uVar12;\n    uVar11 = uVar11 & iVar7 - 1U;\n    *(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0);\n    *(uint *)&this->shoff_ = uVar11;\n    fseek((FILE *)this->fd_,uVar11,0);\n    uVar12 = this->shnum_;\n    uVar3 = this->shstrndx_;\n    if (uVar12 < 0xff00) {\n      uVar12 = 0;\n    }\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    uVar11 = 0;\n    write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);\n    pSVar8 = (this->sections_).\n             super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n             ._M_impl._M_start;\n    if ((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8) {\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }\n    write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);\n    write_ehdr(this);\n    if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }\n    this->fd_ = (FILE *)0x0;\n    return;\n  }\nLAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size");\n}\n\n" comment comment (function_definition "void __thiscall gold::Dwp_output_file::finalize(Dwp_output_file *this)\n\n{\n  Stringpool *this_00;\n  uint uVar1;\n  off_t offset;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  uchar *puVar5;\n  size_t sVar6;\n  int iVar7;\n  pointer pSVar8;\n  int *piVar9;\n  char *pcVar10;\n  char *format;\n  uint uVar11;\n  Section *sect;\n  uint uVar12;\n  \n  uVar12 = 0;\n  pSVar8 = (this->sections_).\n           super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n           ._M_impl._M_start;\n  if ((this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n      ._M_impl._M_finish != pSVar8) {\n    do {\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    } while (uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5));\n  }\n  if (this->have_strings_ != false) {\n    Stringpool_template<char>::set_string_offsets(&this->stringpool_);\n    uVar12 = (this->stringpool_).strtab_size_;\n    if (uVar12 == 0) goto LAB_00033c9c;\n    puVar5 = (uchar *)operator_new__(uVar12);\n    Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);\n    write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);\n    operator_delete__(puVar5);\n  }\n  if (this->big_endian_ == 0) {\n    write_index<false>(this,".debug_cu_index",&this->cu_index_);\n    write_index<false>(this,".debug_tu_index",&this->tu_index_);\n  }\n  else {\n    write_index<true>(this,".debug_cu_index",&this->cu_index_);\n    write_index<true>(this,".debug_tu_index",&this->tu_index_);\n  }\n  uVar12 = (uint)this->next_file_offset_;\n  iVar2 = *(int *)((int)&this->next_file_offset_ + 4);\n  offset = this->next_file_offset_;\n  this_00 = &this->shstrtab_;\n  this->shstrndx_ = this->shnum_;\n  this->shnum_ = this->shnum_ + 1;\n  pcVar4 = Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0);\n  Stringpool_template<char>::set_string_offsets(this_00);\n  uVar1 = (this->shstrtab_).strtab_size_;\n  if (uVar1 != 0) {\n    puVar5 = (uchar *)operator_new__(uVar1);\n    Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);\n    fseek((FILE *)this->fd_,uVar12,0);\n    sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);\n    if (sVar6 < uVar1) {\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }\n    operator_delete__(puVar5);\n    if (this->size_ == 0x20) {\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar7 = uVar3 + uVar1 + uVar12;\n    uVar11 = uVar11 & iVar7 - 1U;\n    *(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0);\n    *(uint *)&this->shoff_ = uVar11;\n    fseek((FILE *)this->fd_,uVar11,0);\n    uVar12 = this->shnum_;\n    uVar3 = this->shstrndx_;\n    if (uVar12 < 0xff00) {\n      uVar12 = 0;\n    }\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    uVar11 = 0;\n    write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);\n    pSVar8 = (this->sections_).\n             super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n             ._M_impl._M_start;\n    if ((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8) {\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }\n    write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);\n    write_ehdr(this);\n    if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }\n    this->fd_ = (FILE *)0x0;\n    return;\n  }\nLAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Dwp_output_file::" identifier : : identifier : :) (function_declarator "finalize(Dwp_output_file *this)" identifier (parameter_list "(Dwp_output_file *this)" ( (parameter_declaration "Dwp_output_file *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Stringpool *this_00;\n  uint uVar1;\n  off_t offset;\n  int iVar2;\n  uint uVar3;\n  char *pcVar4;\n  uchar *puVar5;\n  size_t sVar6;\n  int iVar7;\n  pointer pSVar8;\n  int *piVar9;\n  char *pcVar10;\n  char *format;\n  uint uVar11;\n  Section *sect;\n  uint uVar12;\n  \n  uVar12 = 0;\n  pSVar8 = (this->sections_).\n           super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n           ._M_impl._M_start;\n  if ((this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n      ._M_impl._M_finish != pSVar8) {\n    do {\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    } while (uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5));\n  }\n  if (this->have_strings_ != false) {\n    Stringpool_template<char>::set_string_offsets(&this->stringpool_);\n    uVar12 = (this->stringpool_).strtab_size_;\n    if (uVar12 == 0) goto LAB_00033c9c;\n    puVar5 = (uchar *)operator_new__(uVar12);\n    Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);\n    write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);\n    operator_delete__(puVar5);\n  }\n  if (this->big_endian_ == 0) {\n    write_index<false>(this,".debug_cu_index",&this->cu_index_);\n    write_index<false>(this,".debug_tu_index",&this->tu_index_);\n  }\n  else {\n    write_index<true>(this,".debug_cu_index",&this->cu_index_);\n    write_index<true>(this,".debug_tu_index",&this->tu_index_);\n  }\n  uVar12 = (uint)this->next_file_offset_;\n  iVar2 = *(int *)((int)&this->next_file_offset_ + 4);\n  offset = this->next_file_offset_;\n  this_00 = &this->shstrtab_;\n  this->shstrndx_ = this->shnum_;\n  this->shnum_ = this->shnum_ + 1;\n  pcVar4 = Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0);\n  Stringpool_template<char>::set_string_offsets(this_00);\n  uVar1 = (this->shstrtab_).strtab_size_;\n  if (uVar1 != 0) {\n    puVar5 = (uchar *)operator_new__(uVar1);\n    Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);\n    fseek((FILE *)this->fd_,uVar12,0);\n    sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);\n    if (sVar6 < uVar1) {\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }\n    operator_delete__(puVar5);\n    if (this->size_ == 0x20) {\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar7 = uVar3 + uVar1 + uVar12;\n    uVar11 = uVar11 & iVar7 - 1U;\n    *(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0);\n    *(uint *)&this->shoff_ = uVar11;\n    fseek((FILE *)this->fd_,uVar11,0);\n    uVar12 = this->shnum_;\n    uVar3 = this->shstrndx_;\n    if (uVar12 < 0xff00) {\n      uVar12 = 0;\n    }\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    uVar11 = 0;\n    write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);\n    pSVar8 = (this->sections_).\n             super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n             ._M_impl._M_start;\n    if ((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8) {\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }\n    write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);\n    write_ehdr(this);\n    if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }\n    this->fd_ = (FILE *)0x0;\n    return;\n  }\nLAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size");\n}" { (declaration "Stringpool *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "uint uVar1;" type_identifier identifier ;) (declaration "off_t offset;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uchar *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "pointer pSVar8;" type_identifier identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "Section *sect;" type_identifier (pointer_declarator "*sect" * identifier) ;) (declaration "uint uVar12;" type_identifier identifier ;) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (ERROR "pSVar8 = (this->sections_).\n           super__Vector_base<gold::" (assignment_expression "pSVar8 = (this->sections_).\n           super__Vector_base<gold" identifier = (binary_expression "(this->sections_).\n           super__Vector_base<gold" (field_expression "(this->sections_).\n           super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n           ._M_impl._M_start;" statement_identifier (ERROR "::Section,_std::allocator<gold:" : : (comma_expression "Section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwp_output_file::Section>_>\n           ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Section>_>\n           ._M_impl._M_start;" (field_expression "Section>_>\n           ._M_impl._M_start" (field_expression "Section>_>\n           ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (if_statement "if ((this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n      ._M_impl._M_finish != pSVar8) {\n    do {\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    } while (uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5));\n  }" if (parenthesized_expression "((this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n      ._M_impl._M_finish != pSVar8)" ( (ERROR "(this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::" (comma_expression "(this->sections_).\n      super__Vector_base<gold::Dwp_output_file::Section,_std" (binary_expression "(this->sections_).\n      super__Vector_base<gold" (field_expression "(this->sections_).\n      super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Dwp_output_file::Section" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Section>_>\n      ._M_impl._M_finish != pSVar8" (field_expression "Section>_>\n      ._M_impl._M_finish" (field_expression "Section>_>\n      ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) (compound_statement "{\n    do {\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    } while (uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5));\n  }" { (do_statement "do {\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    } while (uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5));" do (compound_statement "{\n      sect = pSVar8 + uVar12;\n      if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }\n      uVar12 = uVar12 + 1;\n    }" { (expression_statement "sect = pSVar8 + uVar12;" (assignment_expression "sect = pSVar8 + uVar12" identifier = (binary_expression "pSVar8 + uVar12" identifier + identifier)) ;) (if_statement "if (((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)) {\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }" if (parenthesized_expression "(((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0))" ( (binary_expression "((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&\n         (sect->size != 0)" (parenthesized_expression "((int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4))" ( (binary_expression "(int)(uint)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)" (cast_expression "(int)(uint)((int)sect->offset != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)((int)sect->offset != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)sect->offset != 0)" ( (binary_expression "(int)sect->offset != 0" (cast_expression "(int)sect->offset" ( (type_descriptor "int" primitive_type) ) (field_expression "sect->offset" identifier -> field_identifier)) != number_literal) )))) <= (unary_expression "-*(int *)((int)&sect->offset + 4)" - (pointer_expression "*(int *)((int)&sect->offset + 4)" * (cast_expression "(int *)((int)&sect->offset + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sect->offset + 4)" ( (binary_expression "(int)&sect->offset + 4" (cast_expression "(int)&sect->offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sect->offset" & (field_expression "sect->offset" identifier -> field_identifier))) + number_literal) )))))) )) && (parenthesized_expression "(sect->size != 0)" ( (binary_expression "sect->size != 0" (field_expression "sect->size" identifier -> field_identifier) != number_literal) ))) )) (compound_statement "{\n        uVar1 = sect->align;\n        iVar2 = uVar1 + (int)this->next_file_offset_;\n        uVar11 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);\n        *(uint *)&sect->offset = uVar11;\n        *(uint *)((int)&sect->offset + 4) = uVar3;\n        write_contributions(this,sect);\n        uVar1 = sect->size;\n        *(uint *)&this->next_file_offset_ = uVar1 + uVar11;\n        *(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n      }" { (expression_statement "uVar1 = sect->align;" (assignment_expression "uVar1 = sect->align" identifier = (field_expression "sect->align" identifier -> field_identifier)) ;) (expression_statement "iVar2 = uVar1 + (int)this->next_file_offset_;" (assignment_expression "iVar2 = uVar1 + (int)this->next_file_offset_" identifier = (binary_expression "uVar1 + (int)this->next_file_offset_" identifier + (cast_expression "(int)this->next_file_offset_" ( (type_descriptor "int" primitive_type) ) (field_expression "this->next_file_offset_" identifier -> field_identifier)))) ;) (expression_statement "uVar11 = -uVar1 & iVar2 - 1U;" (assignment_expression "uVar11 = -uVar1 & iVar2 - 1U" identifier = (binary_expression "-uVar1 & iVar2 - 1U" (unary_expression "-uVar1" - identifier) & (binary_expression "iVar2 - 1U" identifier - number_literal))) ;) (expression_statement "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0);" (assignment_expression "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0)" identifier = (binary_expression "(int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0)" (binary_expression "(int)-uVar1 >> 0x1f" (cast_expression "(int)-uVar1" ( (type_descriptor "int" primitive_type) ) (unary_expression "-uVar1" - identifier)) >> number_literal) & (binary_expression "((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1 + (uint)(iVar2 != 0)" (binary_expression "((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_) + -1" (binary_expression "((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +\n                (uint)CARRY4(uVar1,(uint)this->next_file_offset_)" (binary_expression "((int)uVar1 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4)" (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (pointer_expression "*(int *)((int)&this->next_file_offset_ + 4)" * (cast_expression "(int *)((int)&this->next_file_offset_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->next_file_offset_ + 4)" ( (binary_expression "(int)&this->next_file_offset_ + 4" (cast_expression "(int)&this->next_file_offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->next_file_offset_" & (field_expression "this->next_file_offset_" identifier -> field_identifier))) + number_literal) ))))) + (cast_expression "(uint)CARRY4(uVar1,(uint)this->next_file_offset_)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar1,(uint)this->next_file_offset_)" identifier (argument_list "(uVar1,(uint)this->next_file_offset_)" ( identifier , (cast_expression "(uint)this->next_file_offset_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->next_file_offset_" identifier -> field_identifier)) ))))) + number_literal) + (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))))) ;) (expression_statement "*(uint *)&sect->offset = uVar11;" (assignment_expression "*(uint *)&sect->offset = uVar11" (pointer_expression "*(uint *)&sect->offset" * (cast_expression "(uint *)&sect->offset" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&sect->offset" & (field_expression "sect->offset" identifier -> field_identifier)))) = identifier) ;) (expression_statement "*(uint *)((int)&sect->offset + 4) = uVar3;" (assignment_expression "*(uint *)((int)&sect->offset + 4) = uVar3" (pointer_expression "*(uint *)((int)&sect->offset + 4)" * (cast_expression "(uint *)((int)&sect->offset + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&sect->offset + 4)" ( (binary_expression "(int)&sect->offset + 4" (cast_expression "(int)&sect->offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&sect->offset" & (field_expression "sect->offset" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "write_contributions(this,sect);" (call_expression "write_contributions(this,sect)" identifier (argument_list "(this,sect)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = sect->size;" (assignment_expression "uVar1 = sect->size" identifier = (field_expression "sect->size" identifier -> field_identifier)) ;) (expression_statement "*(uint *)&this->next_file_offset_ = uVar1 + uVar11;" (assignment_expression "*(uint *)&this->next_file_offset_ = uVar1 + uVar11" (pointer_expression "*(uint *)&this->next_file_offset_" * (cast_expression "(uint *)&this->next_file_offset_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->next_file_offset_" & (field_expression "this->next_file_offset_" identifier -> field_identifier)))) = (binary_expression "uVar1 + uVar11" identifier + identifier)) ;) (expression_statement "*(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11);" (assignment_expression "*(uint *)((int)&this->next_file_offset_ + 4) = uVar3 + CARRY4(uVar1,uVar11)" (pointer_expression "*(uint *)((int)&this->next_file_offset_ + 4)" * (cast_expression "(uint *)((int)&this->next_file_offset_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->next_file_offset_ + 4)" ( (binary_expression "(int)&this->next_file_offset_ + 4" (cast_expression "(int)&this->next_file_offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->next_file_offset_" & (field_expression "this->next_file_offset_" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "uVar3 + CARRY4(uVar1,uVar11)" identifier + (call_expression "CARRY4(uVar1,uVar11)" identifier (argument_list "(uVar1,uVar11)" ( identifier , identifier ))))) ;) (ERROR "pSVar8 = (this->sections_).\n                 super__Vector_base<gold::" (assignment_expression "pSVar8 = (this->sections_).\n                 super__Vector_base<gold" identifier = (binary_expression "(this->sections_).\n                 super__Vector_base<gold" (field_expression "(this->sections_).\n                 super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;" statement_identifier (ERROR "::Section,_std::allocator<gold:" : : (comma_expression "Section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwp_output_file::Section>_>\n                 ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Section>_>\n                 ._M_impl._M_start;" (field_expression "Section>_>\n                 ._M_impl._M_start" (field_expression "Section>_>\n                 ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) })) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5))" ( (binary_expression "uVar12 < (uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5)" identifier < (call_expression "(uint)((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->sections_).\n                                  super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5)" ( (binary_expression "(int)(this->sections_).\n                                  super__Vector_base<gold" (cast_expression "(int)(this->sections_).\n                                  super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->sections_).\n                                  super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Dwp_output_file::Section" : : identifier : : identifier) , (ERROR "_std::allocator<gold::Dwp_output_file::" identifier : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8 >> 5" (binary_expression "Section>_>\n                                  ._M_impl._M_finish - (int)pSVar8" (field_expression "Section>_>\n                                  ._M_impl._M_finish" (field_expression "Section>_>\n                                  ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)pSVar8" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) ;) })) (if_statement "if (this->have_strings_ != false) {\n    Stringpool_template<char>::set_string_offsets(&this->stringpool_);\n    uVar12 = (this->stringpool_).strtab_size_;\n    if (uVar12 == 0) goto LAB_00033c9c;\n    puVar5 = (uchar *)operator_new__(uVar12);\n    Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);\n    write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);\n    operator_delete__(puVar5);\n  }" if (parenthesized_expression "(this->have_strings_ != false)" ( (binary_expression "this->have_strings_ != false" (field_expression "this->have_strings_" identifier -> field_identifier) != false) )) (compound_statement "{\n    Stringpool_template<char>::set_string_offsets(&this->stringpool_);\n    uVar12 = (this->stringpool_).strtab_size_;\n    if (uVar12 == 0) goto LAB_00033c9c;\n    puVar5 = (uchar *)operator_new__(uVar12);\n    Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);\n    write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);\n    operator_delete__(puVar5);\n  }" { (expression_statement "Stringpool_template<char>::set_string_offsets(&this->stringpool_);" (binary_expression "Stringpool_template<char>::set_string_offsets(&this->stringpool_)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "set_string_offsets(&this->stringpool_)" identifier (argument_list "(&this->stringpool_)" ( (pointer_expression "&this->stringpool_" & (field_expression "this->stringpool_" identifier -> field_identifier)) )))) ;) (expression_statement "uVar12 = (this->stringpool_).strtab_size_;" (assignment_expression "uVar12 = (this->stringpool_).strtab_size_" identifier = (field_expression "(this->stringpool_).strtab_size_" (parenthesized_expression "(this->stringpool_)" ( (field_expression "this->stringpool_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (uVar12 == 0) goto LAB_00033c9c;" if (parenthesized_expression "(uVar12 == 0)" ( (binary_expression "uVar12 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033c9c;" goto statement_identifier ;)) (expression_statement "puVar5 = (uchar *)operator_new__(uVar12);" (assignment_expression "puVar5 = (uchar *)operator_new__(uVar12)" identifier = (cast_expression "(uchar *)operator_new__(uVar12)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar12)" identifier (argument_list "(uVar12)" ( identifier ))))) ;) (expression_statement "Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12);" (binary_expression "Stringpool_template<char>::write_to_buffer(&this->stringpool_,puVar5,uVar12)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "write_to_buffer(&this->stringpool_,puVar5,uVar12)" identifier (argument_list "(&this->stringpool_,puVar5,uVar12)" ( (pointer_expression "&this->stringpool_" & (field_expression "this->stringpool_" identifier -> field_identifier)) , identifier , identifier )))) ;) (expression_statement "write_new_section(this,".debug_str.dwo",puVar5,uVar12,1);" (call_expression "write_new_section(this,".debug_str.dwo",puVar5,uVar12,1)" identifier (argument_list "(this,".debug_str.dwo",puVar5,uVar12,1)" ( identifier , (string_literal "".debug_str.dwo"" " string_content ") , identifier , identifier , number_literal ))) ;) (expression_statement "operator_delete__(puVar5);" (call_expression "operator_delete__(puVar5)" identifier (argument_list "(puVar5)" ( identifier ))) ;) })) (if_statement "if (this->big_endian_ == 0) {\n    write_index<false>(this,".debug_cu_index",&this->cu_index_);\n    write_index<false>(this,".debug_tu_index",&this->tu_index_);\n  }\n  else {\n    write_index<true>(this,".debug_cu_index",&this->cu_index_);\n    write_index<true>(this,".debug_tu_index",&this->tu_index_);\n  }" if (parenthesized_expression "(this->big_endian_ == 0)" ( (binary_expression "this->big_endian_ == 0" (field_expression "this->big_endian_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    write_index<false>(this,".debug_cu_index",&this->cu_index_);\n    write_index<false>(this,".debug_tu_index",&this->tu_index_);\n  }" { (expression_statement "write_index<false>(this,".debug_cu_index",&this->cu_index_);" (binary_expression "write_index<false>(this,".debug_cu_index",&this->cu_index_)" (binary_expression "write_index<false" identifier < false) > (parenthesized_expression "(this,".debug_cu_index",&this->cu_index_)" ( (comma_expression "this,".debug_cu_index",&this->cu_index_" identifier , (comma_expression "".debug_cu_index",&this->cu_index_" (string_literal "".debug_cu_index"" " string_content ") , (pointer_expression "&this->cu_index_" & (field_expression "this->cu_index_" identifier -> field_identifier)))) ))) ;) (expression_statement "write_index<false>(this,".debug_tu_index",&this->tu_index_);" (binary_expression "write_index<false>(this,".debug_tu_index",&this->tu_index_)" (binary_expression "write_index<false" identifier < false) > (parenthesized_expression "(this,".debug_tu_index",&this->tu_index_)" ( (comma_expression "this,".debug_tu_index",&this->tu_index_" identifier , (comma_expression "".debug_tu_index",&this->tu_index_" (string_literal "".debug_tu_index"" " string_content ") , (pointer_expression "&this->tu_index_" & (field_expression "this->tu_index_" identifier -> field_identifier)))) ))) ;) }) (else_clause "else {\n    write_index<true>(this,".debug_cu_index",&this->cu_index_);\n    write_index<true>(this,".debug_tu_index",&this->tu_index_);\n  }" else (compound_statement "{\n    write_index<true>(this,".debug_cu_index",&this->cu_index_);\n    write_index<true>(this,".debug_tu_index",&this->tu_index_);\n  }" { (expression_statement "write_index<true>(this,".debug_cu_index",&this->cu_index_);" (binary_expression "write_index<true>(this,".debug_cu_index",&this->cu_index_)" (binary_expression "write_index<true" identifier < true) > (parenthesized_expression "(this,".debug_cu_index",&this->cu_index_)" ( (comma_expression "this,".debug_cu_index",&this->cu_index_" identifier , (comma_expression "".debug_cu_index",&this->cu_index_" (string_literal "".debug_cu_index"" " string_content ") , (pointer_expression "&this->cu_index_" & (field_expression "this->cu_index_" identifier -> field_identifier)))) ))) ;) (expression_statement "write_index<true>(this,".debug_tu_index",&this->tu_index_);" (binary_expression "write_index<true>(this,".debug_tu_index",&this->tu_index_)" (binary_expression "write_index<true" identifier < true) > (parenthesized_expression "(this,".debug_tu_index",&this->tu_index_)" ( (comma_expression "this,".debug_tu_index",&this->tu_index_" identifier , (comma_expression "".debug_tu_index",&this->tu_index_" (string_literal "".debug_tu_index"" " string_content ") , (pointer_expression "&this->tu_index_" & (field_expression "this->tu_index_" identifier -> field_identifier)))) ))) ;) }))) (expression_statement "uVar12 = (uint)this->next_file_offset_;" (assignment_expression "uVar12 = (uint)this->next_file_offset_" identifier = (cast_expression "(uint)this->next_file_offset_" ( (type_descriptor "uint" type_identifier) ) (field_expression "this->next_file_offset_" identifier -> field_identifier))) ;) (expression_statement "iVar2 = *(int *)((int)&this->next_file_offset_ + 4);" (assignment_expression "iVar2 = *(int *)((int)&this->next_file_offset_ + 4)" identifier = (pointer_expression "*(int *)((int)&this->next_file_offset_ + 4)" * (cast_expression "(int *)((int)&this->next_file_offset_ + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->next_file_offset_ + 4)" ( (binary_expression "(int)&this->next_file_offset_ + 4" (cast_expression "(int)&this->next_file_offset_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->next_file_offset_" & (field_expression "this->next_file_offset_" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "offset = this->next_file_offset_;" (assignment_expression "offset = this->next_file_offset_" identifier = (field_expression "this->next_file_offset_" identifier -> field_identifier)) ;) (expression_statement "this_00 = &this->shstrtab_;" (assignment_expression "this_00 = &this->shstrtab_" identifier = (pointer_expression "&this->shstrtab_" & (field_expression "this->shstrtab_" identifier -> field_identifier))) ;) (expression_statement "this->shstrndx_ = this->shnum_;" (assignment_expression "this->shstrndx_ = this->shnum_" (field_expression "this->shstrndx_" identifier -> field_identifier) = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (expression_statement "this->shnum_ = this->shnum_ + 1;" (assignment_expression "this->shnum_ = this->shnum_ + 1" (field_expression "this->shnum_" identifier -> field_identifier) = (binary_expression "this->shnum_ + 1" (field_expression "this->shnum_" identifier -> field_identifier) + number_literal)) ;) (expression_statement "pcVar4 = Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0);" (assignment_expression "pcVar4 = Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0)" identifier = (binary_expression "Stringpool_template<char>::add_with_length(this_00,".shstrtab",9,false,(Key *)0x0)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "add_with_length(this_00,".shstrtab",9,false,(Key *)0x0)" identifier (argument_list "(this_00,".shstrtab",9,false,(Key *)0x0)" ( identifier , (string_literal "".shstrtab"" " string_content ") , number_literal , false , (cast_expression "(Key *)0x0" ( (type_descriptor "Key *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))))) ;) (expression_statement "Stringpool_template<char>::set_string_offsets(this_00);" (binary_expression "Stringpool_template<char>::set_string_offsets(this_00)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "set_string_offsets(this_00)" identifier (argument_list "(this_00)" ( identifier )))) ;) (expression_statement "uVar1 = (this->shstrtab_).strtab_size_;" (assignment_expression "uVar1 = (this->shstrtab_).strtab_size_" identifier = (field_expression "(this->shstrtab_).strtab_size_" (parenthesized_expression "(this->shstrtab_)" ( (field_expression "this->shstrtab_" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (uVar1 != 0) {\n    puVar5 = (uchar *)operator_new__(uVar1);\n    Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);\n    fseek((FILE *)this->fd_,uVar12,0);\n    sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);\n    if (sVar6 < uVar1) {\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }\n    operator_delete__(puVar5);\n    if (this->size_ == 0x20) {\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar7 = uVar3 + uVar1 + uVar12;\n    uVar11 = uVar11 & iVar7 - 1U;\n    *(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0);\n    *(uint *)&this->shoff_ = uVar11;\n    fseek((FILE *)this->fd_,uVar11,0);\n    uVar12 = this->shnum_;\n    uVar3 = this->shstrndx_;\n    if (uVar12 < 0xff00) {\n      uVar12 = 0;\n    }\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    uVar11 = 0;\n    write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);\n    pSVar8 = (this->sections_).\n             super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n             ._M_impl._M_start;\n    if ((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8) {\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }\n    write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);\n    write_ehdr(this);\n    if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }\n    this->fd_ = (FILE *)0x0;\n    return;\n  }" if (parenthesized_expression "(uVar1 != 0)" ( (binary_expression "uVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    puVar5 = (uchar *)operator_new__(uVar1);\n    Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);\n    fseek((FILE *)this->fd_,uVar12,0);\n    sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);\n    if (sVar6 < uVar1) {\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }\n    operator_delete__(puVar5);\n    if (this->size_ == 0x20) {\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar7 = uVar3 + uVar1 + uVar12;\n    uVar11 = uVar11 & iVar7 - 1U;\n    *(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0);\n    *(uint *)&this->shoff_ = uVar11;\n    fseek((FILE *)this->fd_,uVar11,0);\n    uVar12 = this->shnum_;\n    uVar3 = this->shstrndx_;\n    if (uVar12 < 0xff00) {\n      uVar12 = 0;\n    }\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    uVar11 = 0;\n    write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);\n    pSVar8 = (this->sections_).\n             super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n             ._M_impl._M_start;\n    if ((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8) {\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }\n    write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);\n    write_ehdr(this);\n    if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }\n    this->fd_ = (FILE *)0x0;\n    return;\n  }" { (expression_statement "puVar5 = (uchar *)operator_new__(uVar1);" (assignment_expression "puVar5 = (uchar *)operator_new__(uVar1)" identifier = (cast_expression "(uchar *)operator_new__(uVar1)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new__(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))))) ;) (expression_statement "Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1);" (binary_expression "Stringpool_template<char>::write_to_buffer(this_00,puVar5,uVar1)" (binary_expression "Stringpool_template<char" identifier < identifier) > (ERROR "::" : :) (call_expression "write_to_buffer(this_00,puVar5,uVar1)" identifier (argument_list "(this_00,puVar5,uVar1)" ( identifier , identifier , identifier )))) ;) (expression_statement "fseek((FILE *)this->fd_,uVar12,0);" (call_expression "fseek((FILE *)this->fd_,uVar12,0)" identifier (argument_list "((FILE *)this->fd_,uVar12,0)" ( (cast_expression "(FILE *)this->fd_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->fd_" identifier -> field_identifier)) , identifier , number_literal ))) ;) (expression_statement "sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_);" (assignment_expression "sVar6 = fwrite(puVar5,1,uVar1,(FILE *)this->fd_)" identifier = (call_expression "fwrite(puVar5,1,uVar1,(FILE *)this->fd_)" identifier (argument_list "(puVar5,1,uVar1,(FILE *)this->fd_)" ( identifier , number_literal , identifier , (cast_expression "(FILE *)this->fd_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->fd_" identifier -> field_identifier)) )))) ;) (if_statement "if (sVar6 < uVar1) {\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }" if (parenthesized_expression "(sVar6 < uVar1)" ( (binary_expression "sVar6 < uVar1" identifier < identifier) )) (compound_statement "{\n      pcVar4 = this->name_;\n      pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(pcVar10,pcVar4);\n    }" { (expression_statement "pcVar4 = this->name_;" (assignment_expression "pcVar4 = this->name_" identifier = (field_expression "this->name_" identifier -> field_identifier)) ;) (expression_statement "pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'");" (assignment_expression "pcVar10 = (char *)gettext("%s: error writing section \'.shstrtab\'")" identifier = (cast_expression "(char *)gettext("%s: error writing section \'.shstrtab\'")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: error writing section \'.shstrtab\'")" identifier (argument_list "("%s: error writing section \'.shstrtab\'")" ( (string_literal ""%s: error writing section \'.shstrtab\'"" " string_content escape_sequence string_content escape_sequence ") ))))) ;) comment (expression_statement "gold_fatal(pcVar10,pcVar4);" (call_expression "gold_fatal(pcVar10,pcVar4)" identifier (argument_list "(pcVar10,pcVar4)" ( identifier , identifier ))) ;) })) (expression_statement "operator_delete__(puVar5);" (call_expression "operator_delete__(puVar5)" identifier (argument_list "(puVar5)" ( identifier ))) ;) (if_statement "if (this->size_ == 0x20) {\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }" if (parenthesized_expression "(this->size_ == 0x20)" ( (binary_expression "this->size_ == 0x20" (field_expression "this->size_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      uVar11 = 0xfffffffc;\n      uVar3 = 4;\n    }" { (expression_statement "uVar11 = 0xfffffffc;" (assignment_expression "uVar11 = 0xfffffffc" identifier = number_literal) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }" else (compound_statement "{\n      uVar11 = 0xfffffff8;\n      uVar3 = 8;\n    }" { (expression_statement "uVar11 = 0xfffffff8;" (assignment_expression "uVar11 = 0xfffffff8" identifier = number_literal) ;) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) }))) (expression_statement "iVar7 = uVar3 + uVar1 + uVar12;" (assignment_expression "iVar7 = uVar3 + uVar1 + uVar12" identifier = (binary_expression "uVar3 + uVar1 + uVar12" (binary_expression "uVar3 + uVar1" identifier + identifier) + identifier)) ;) (expression_statement "uVar11 = uVar11 & iVar7 - 1U;" (assignment_expression "uVar11 = uVar11 & iVar7 - 1U" identifier = (binary_expression "uVar11 & iVar7 - 1U" identifier & (binary_expression "iVar7 - 1U" identifier - number_literal))) ;) (expression_statement "*(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0);" (assignment_expression "*(uint *)((int)&this->shoff_ + 4) =\n         iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0)" (pointer_expression "*(uint *)((int)&this->shoff_ + 4)" * (cast_expression "(uint *)((int)&this->shoff_ + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->shoff_ + 4)" ( (binary_expression "(int)&this->shoff_ + 4" (cast_expression "(int)&this->shoff_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->shoff_" & (field_expression "this->shoff_" identifier -> field_identifier))) + number_literal) )))) = (binary_expression "iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1 +\n         (uint)(iVar7 != 0)" (binary_expression "iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12) + -1" (binary_expression "iVar2 + (uint)CARRY4(uVar1,uVar12) + (uint)CARRY4(uVar3,uVar1 + uVar12)" (binary_expression "iVar2 + (uint)CARRY4(uVar1,uVar12)" identifier + (cast_expression "(uint)CARRY4(uVar1,uVar12)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar1,uVar12)" identifier (argument_list "(uVar1,uVar12)" ( identifier , identifier ))))) + (cast_expression "(uint)CARRY4(uVar3,uVar1 + uVar12)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,uVar1 + uVar12)" identifier (argument_list "(uVar3,uVar1 + uVar12)" ( identifier , (binary_expression "uVar1 + uVar12" identifier + identifier) ))))) + number_literal) + (call_expression "(uint)(iVar7 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) ))))) ;) (expression_statement "*(uint *)&this->shoff_ = uVar11;" (assignment_expression "*(uint *)&this->shoff_ = uVar11" (pointer_expression "*(uint *)&this->shoff_" * (cast_expression "(uint *)&this->shoff_" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&this->shoff_" & (field_expression "this->shoff_" identifier -> field_identifier)))) = identifier) ;) (expression_statement "fseek((FILE *)this->fd_,uVar11,0);" (call_expression "fseek((FILE *)this->fd_,uVar11,0)" identifier (argument_list "((FILE *)this->fd_,uVar11,0)" ( (cast_expression "(FILE *)this->fd_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->fd_" identifier -> field_identifier)) , identifier , number_literal ))) ;) (expression_statement "uVar12 = this->shnum_;" (assignment_expression "uVar12 = this->shnum_" identifier = (field_expression "this->shnum_" identifier -> field_identifier)) ;) (expression_statement "uVar3 = this->shstrndx_;" (assignment_expression "uVar3 = this->shstrndx_" identifier = (field_expression "this->shstrndx_" identifier -> field_identifier)) ;) (if_statement "if (uVar12 < 0xff00) {\n      uVar12 = 0;\n    }" if (parenthesized_expression "(uVar12 < 0xff00)" ( (binary_expression "uVar12 < 0xff00" identifier < number_literal) )) (compound_statement "{\n      uVar12 = 0;\n    }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }" if (parenthesized_expression "(uVar3 < 0xff00)" ( (binary_expression "uVar3 < 0xff00" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) })) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0);" (call_expression "write_shdr(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0)" identifier (argument_list "(this,(char *)0x0,0,0,0,0,uVar12,uVar3,0,0,0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , number_literal , number_literal , number_literal , number_literal , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (ERROR "pSVar8 = (this->sections_).\n             super__Vector_base<gold::" (assignment_expression "pSVar8 = (this->sections_).\n             super__Vector_base<gold" identifier = (binary_expression "(this->sections_).\n             super__Vector_base<gold" (field_expression "(this->sections_).\n             super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n             ._M_impl._M_start;" statement_identifier (ERROR "::Section,_std::allocator<gold:" : : (comma_expression "Section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwp_output_file::Section>_>\n             ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Section>_>\n             ._M_impl._M_start;" (field_expression "Section>_>\n             ._M_impl._M_start" (field_expression "Section>_>\n             ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (if_statement "if ((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8) {\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }" if (parenthesized_expression "((this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n        ._M_impl._M_finish != pSVar8)" ( (ERROR "(this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::" (comma_expression "(this->sections_).\n        super__Vector_base<gold::Dwp_output_file::Section,_std" (binary_expression "(this->sections_).\n        super__Vector_base<gold" (field_expression "(this->sections_).\n        super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Dwp_output_file::Section" : : identifier : : identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Section>_>\n        ._M_impl._M_finish != pSVar8" (field_expression "Section>_>\n        ._M_impl._M_finish" (field_expression "Section>_>\n        ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) (compound_statement "{\n      do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));\n    }" { (do_statement "do {\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      } while (uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5));" do (compound_statement "{\n        uVar12 = uVar11 + 1;\n        pSVar8 = pSVar8 + uVar11;\n        write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);\n        pSVar8 = (this->sections_).\n                 super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;\n        uVar11 = uVar12;\n      }" { (expression_statement "uVar12 = uVar11 + 1;" (assignment_expression "uVar12 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "pSVar8 = pSVar8 + uVar11;" (assignment_expression "pSVar8 = pSVar8 + uVar11" identifier = (binary_expression "pSVar8 + uVar11" identifier + identifier)) ;) (expression_statement "write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0);" (call_expression "write_shdr(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0)" identifier (argument_list "(this,pSVar8->name,1,0,0,pSVar8->offset,pSVar8->size,0,0,pSVar8->align,0)" ( identifier , (field_expression "pSVar8->name" identifier -> field_identifier) , number_literal , number_literal , number_literal , (field_expression "pSVar8->offset" identifier -> field_identifier) , (field_expression "pSVar8->size" identifier -> field_identifier) , number_literal , number_literal , (field_expression "pSVar8->align" identifier -> field_identifier) , number_literal ))) ;) (ERROR "pSVar8 = (this->sections_).\n                 super__Vector_base<gold::" (assignment_expression "pSVar8 = (this->sections_).\n                 super__Vector_base<gold" identifier = (binary_expression "(this->sections_).\n                 super__Vector_base<gold" (field_expression "(this->sections_).\n                 super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) : :) (labeled_statement "Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                 ._M_impl._M_start;" statement_identifier (ERROR "::Section,_std::allocator<gold:" : : (comma_expression "Section,_std" identifier , identifier) : : (binary_expression "allocator<gold" identifier < identifier) :) : (labeled_statement "Dwp_output_file::Section>_>\n                 ._M_impl._M_start;" statement_identifier : (ERROR ":" :) (expression_statement "Section>_>\n                 ._M_impl._M_start;" (field_expression "Section>_>\n                 ._M_impl._M_start" (field_expression "Section>_>\n                 ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;))) (expression_statement "uVar11 = uVar12;" (assignment_expression "uVar11 = uVar12" identifier = identifier) ;) }) while (parenthesized_expression "(uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5))" ( (binary_expression "uVar12 < (uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5)" identifier < (call_expression "(uint)((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)(this->sections_).\n                                    super__Vector_base<gold::Dwp_output_file::Section,_std::allocator<gold::Dwp_output_file::Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5)" ( (binary_expression "(int)(this->sections_).\n                                    super__Vector_base<gold" (cast_expression "(int)(this->sections_).\n                                    super__Vector_base" ( (type_descriptor "int" primitive_type) ) (field_expression "(this->sections_).\n                                    super__Vector_base" (parenthesized_expression "(this->sections_)" ( (field_expression "this->sections_" identifier -> field_identifier) )) . field_identifier)) < identifier) (ERROR "::Dwp_output_file::Section" : : identifier : : identifier) , (ERROR "_std::allocator<gold::Dwp_output_file::" identifier : : (binary_expression "allocator<gold" identifier < identifier) : : identifier : :) (binary_expression "Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8 >> 5" (binary_expression "Section>_>\n                                    ._M_impl._M_finish - (int)pSVar8" (field_expression "Section>_>\n                                    ._M_impl._M_finish" (field_expression "Section>_>\n                                    ._M_impl" (binary_expression "Section>_" identifier > identifier) (ERROR ">" >) . field_identifier) . field_identifier) - (cast_expression "(int)pSVar8" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal) )))) )) ;) })) (expression_statement "write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0);" (call_expression "write_shdr(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0)" identifier (argument_list "(this,pcVar4,3,0,0,offset,uVar1,0,0,1,0)" ( identifier , identifier , number_literal , number_literal , number_literal , identifier , identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (expression_statement "write_ehdr(this);" (call_expression "write_ehdr(this)" identifier (argument_list "(this)" ( identifier ))) ;) (if_statement "if (((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)) {\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }" if (parenthesized_expression "(((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0))" ( (binary_expression "((FILE *)this->fd_ != (FILE *)0x0) && (iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)" (parenthesized_expression "((FILE *)this->fd_ != (FILE *)0x0)" ( (binary_expression "(FILE *)this->fd_ != (FILE *)0x0" (cast_expression "(FILE *)this->fd_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->fd_" identifier -> field_identifier)) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = fclose((FILE *)this->fd_), iVar2 != 0)" ( (comma_expression "iVar2 = fclose((FILE *)this->fd_), iVar2 != 0" (assignment_expression "iVar2 = fclose((FILE *)this->fd_)" identifier = (call_expression "fclose((FILE *)this->fd_)" identifier (argument_list "((FILE *)this->fd_)" ( (cast_expression "(FILE *)this->fd_" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->fd_" identifier -> field_identifier)) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      piVar9 = __errno_location();\n      pcVar10 = strerror(*piVar9);\n      pcVar4 = this->name_;\n      format = (char *)gettext("%s: %s");\n                    /* WARNING: Subroutine does not return */\n      gold_fatal(format,pcVar4,pcVar10);\n    }" { (expression_statement "piVar9 = __errno_location();" (assignment_expression "piVar9 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar10 = strerror(*piVar9);" (assignment_expression "pcVar10 = strerror(*piVar9)" identifier = (call_expression "strerror(*piVar9)" identifier (argument_list "(*piVar9)" ( (pointer_expression "*piVar9" * identifier) )))) ;) (expression_statement "pcVar4 = this->name_;" (assignment_expression "pcVar4 = this->name_" identifier = (field_expression "this->name_" identifier -> field_identifier)) ;) (expression_statement "format = (char *)gettext("%s: %s");" (assignment_expression "format = (char *)gettext("%s: %s")" identifier = (cast_expression "(char *)gettext("%s: %s")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: %s")" identifier (argument_list "("%s: %s")" ( (string_literal ""%s: %s"" " string_content ") ))))) ;) comment (expression_statement "gold_fatal(format,pcVar4,pcVar10);" (call_expression "gold_fatal(format,pcVar4,pcVar10)" identifier (argument_list "(format,pcVar4,pcVar10)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "this->fd_ = (FILE *)0x0;" (assignment_expression "this->fd_ = (FILE *)0x0" (field_expression "this->fd_" identifier -> field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00033c9c:\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size");" statement_identifier : comment (expression_statement "do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size");" (call_expression "do_gold_unreachable("../../gold/stringpool.h",0x111,"get_strtab_size")" identifier (argument_list "("../../gold/stringpool.h",0x111,"get_strtab_size")" ( (string_literal ""../../gold/stringpool.h"" " string_content ") , number_literal , (string_literal ""get_strtab_size"" " string_content ") ))) ;)) })))
(translation_unit "void FUN_000338c0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}\n\n" (function_definition "void FUN_000338c0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}" primitive_type (function_declarator "FUN_000338c0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "uint __n;" type_identifier identifier ;) (expression_statement "__n = 0;" (assignment_expression "__n = 0" identifier = number_literal) ;) (expression_statement "iVar2 = param_1[10];" (assignment_expression "iVar2 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (if_statement "if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }" if (parenthesized_expression "(param_1[0xb] != iVar2)" ( (binary_expression "param_1[0xb] != iVar2" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }" { (do_statement "do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));" do (compound_statement "{\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    }" { (expression_statement "iVar11 = __n * 0x20 + iVar2;" (assignment_expression "iVar11 = __n * 0x20 + iVar2" identifier = (binary_expression "__n * 0x20 + iVar2" (binary_expression "__n * 0x20" identifier * number_literal) + identifier)) ;) (if_statement "if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }" if (parenthesized_expression "(((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0))" ( (binary_expression "((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)" (parenthesized_expression "((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8))" ( (binary_expression "(int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)" (cast_expression "(int)(uint)(*(int *)(iVar11 + 4) != 0)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(*(int *)(iVar11 + 4) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar11 + 4) != 0)" ( (binary_expression "*(int *)(iVar11 + 4) != 0" (pointer_expression "*(int *)(iVar11 + 4)" * (cast_expression "(int *)(iVar11 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) != number_literal) )))) <= (unary_expression "-*(int *)(iVar11 + 8)" - (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))))) )) && (parenthesized_expression "(*(int *)(iVar11 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar11 + 0xc) != 0" (pointer_expression "*(int *)(iVar11 + 0xc)" * (cast_expression "(int *)(iVar11 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }" { (expression_statement "uVar1 = *(uint *)(iVar11 + 0x10);" (assignment_expression "uVar1 = *(uint *)(iVar11 + 0x10)" identifier = (pointer_expression "*(uint *)(iVar11 + 0x10)" * (cast_expression "(uint *)(iVar11 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x10)" ( (binary_expression "iVar11 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = uVar1 + param_1[7];" (assignment_expression "iVar2 = uVar1 + param_1[7]" identifier = (binary_expression "uVar1 + param_1[7]" identifier + (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (expression_statement "uVar10 = -uVar1 & iVar2 - 1U;" (assignment_expression "uVar10 = -uVar1 & iVar2 - 1U" identifier = (binary_expression "-uVar1 & iVar2 - 1U" (unary_expression "-uVar1" - identifier) & (binary_expression "iVar2 - 1U" identifier - number_literal))) ;) (expression_statement "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);" (assignment_expression "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" identifier = (binary_expression "(int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (binary_expression "(int)-uVar1 >> 0x1f" (cast_expression "(int)-uVar1" ( (type_descriptor "int" primitive_type) ) (unary_expression "-uVar1" - identifier)) >> number_literal) & (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7])" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8]" (parenthesized_expression "((int)uVar1 >> 0x1f)" ( (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (subscript_expression "param_1[8]" identifier [ number_literal ])) + (cast_expression "(uint)CARRY4(uVar1,param_1[7])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar1,param_1[7])" identifier (argument_list "(uVar1,param_1[7])" ( identifier , (subscript_expression "param_1[7]" identifier [ number_literal ]) ))))) + number_literal) + (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )))))) ;) (expression_statement "*(uint *)(iVar11 + 4) = uVar10;" (assignment_expression "*(uint *)(iVar11 + 4) = uVar10" (pointer_expression "*(uint *)(iVar11 + 4)" * (cast_expression "(uint *)(iVar11 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(uint *)(iVar11 + 8) = uVar3;" (assignment_expression "*(uint *)(iVar11 + 8) = uVar3" (pointer_expression "*(uint *)(iVar11 + 8)" * (cast_expression "(uint *)(iVar11 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_000330f0(param_1,iVar11);" (call_expression "FUN_000330f0(param_1,iVar11)" identifier (argument_list "(param_1,iVar11)" ( identifier , identifier ))) ;) (expression_statement "uVar1 = *(uint *)(iVar11 + 0xc);" (assignment_expression "uVar1 = *(uint *)(iVar11 + 0xc)" identifier = (pointer_expression "*(uint *)(iVar11 + 0xc)" * (cast_expression "(uint *)(iVar11 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "param_1[7] = uVar1 + uVar10;" (assignment_expression "param_1[7] = uVar1 + uVar10" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (binary_expression "uVar1 + uVar10" identifier + identifier)) ;) (expression_statement "param_1[8] = uVar3 + CARRY4(uVar1,uVar10);" (assignment_expression "param_1[8] = uVar3 + CARRY4(uVar1,uVar10)" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (binary_expression "uVar3 + CARRY4(uVar1,uVar10)" identifier + (call_expression "CARRY4(uVar1,uVar10)" identifier (argument_list "(uVar1,uVar10)" ( identifier , identifier ))))) ;) (expression_statement "iVar2 = param_1[10];" (assignment_expression "iVar2 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) })) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(__n < (uint)(param_1[0xb] - iVar2 >> 5))" ( (binary_expression "__n < (uint)(param_1[0xb] - iVar2 >> 5)" identifier < (call_expression "(uint)(param_1[0xb] - iVar2 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[0xb] - iVar2 >> 5)" ( (binary_expression "param_1[0xb] - iVar2 >> 5" (binary_expression "param_1[0xb] - iVar2" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) - identifier) >> number_literal) )))) )) ;) })) (if_statement "if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }" if (parenthesized_expression "(*(char *)(param_1 + 0x13) != '\0')" ( (binary_expression "*(char *)(param_1 + 0x13) != '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" * (cast_expression "(char *)(param_1 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x13)" ( (binary_expression "param_1 + 0x13" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }" { (expression_statement "FUN_001215b0(param_1 + 0x14);" (call_expression "FUN_001215b0(param_1 + 0x14)" identifier (argument_list "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))) ;) (expression_statement "iVar2 = param_1[0x22];" (assignment_expression "iVar2 = param_1[0x22]" identifier = (subscript_expression "param_1[0x22]" identifier [ number_literal ])) ;) (if_statement "if (iVar2 == 0) goto LAB_00033c9c;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00033c9c;" goto statement_identifier ;)) (expression_statement "uVar4 = FUN_0017eb70(iVar2);" (assignment_expression "uVar4 = FUN_0017eb70(iVar2)" identifier = (call_expression "FUN_0017eb70(iVar2)" identifier (argument_list "(iVar2)" ( identifier )))) ;) (expression_statement "FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);" (call_expression "FUN_0011cb50(param_1 + 0x14,uVar4,iVar2)" identifier (argument_list "(param_1 + 0x14,uVar4,iVar2)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);" (call_expression "FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1)" identifier (argument_list "(param_1,".debug_str.dwo",uVar4,iVar2,1)" ( identifier , (string_literal "".debug_str.dwo"" " string_content ") , identifier , identifier , number_literal ))) ;) (expression_statement "FUN_00180740(uVar4);" (call_expression "FUN_00180740(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) })) (if_statement "if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" if (parenthesized_expression "(param_1[3] == 0)" ( (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }" { (expression_statement "FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);" (call_expression "FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a)" identifier (argument_list "(param_1,".debug_cu_index",param_1 + 0x3a)" ( identifier , (string_literal "".debug_cu_index"" " string_content ") , (binary_expression "param_1 + 0x3a" identifier + number_literal) ))) ;) (expression_statement "FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);" (call_expression "FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42)" identifier (argument_list "(param_1,".debug_tu_index",param_1 + 0x42)" ( identifier , (string_literal "".debug_tu_index"" " string_content ") , (binary_expression "param_1 + 0x42" identifier + number_literal) ))) ;) }) (else_clause "else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" else (compound_statement "{\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" { (expression_statement "FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);" (call_expression "FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a)" identifier (argument_list "(param_1,".debug_cu_index",param_1 + 0x3a)" ( identifier , (string_literal "".debug_cu_index"" " string_content ") , (binary_expression "param_1 + 0x3a" identifier + number_literal) ))) ;) (expression_statement "FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);" (call_expression "FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42)" identifier (argument_list "(param_1,".debug_tu_index",param_1 + 0x42)" ( identifier , (string_literal "".debug_tu_index"" " string_content ") , (binary_expression "param_1 + 0x42" identifier + number_literal) ))) ;) }))) (expression_statement "uVar1 = param_1[7];" (assignment_expression "uVar1 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[8];" (assignment_expression "iVar2 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "puVar6 = param_1 + 0x27;" (assignment_expression "puVar6 = param_1 + 0x27" identifier = (binary_expression "param_1 + 0x27" identifier + number_literal)) ;) (expression_statement "param_1[0x12] = param_1[9];" (assignment_expression "param_1[0x12] = param_1[9]" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "param_1[9] = param_1[9] + 1;" (assignment_expression "param_1[9] = param_1[9] + 1" (subscript_expression "param_1[9]" identifier [ number_literal ]) = (binary_expression "param_1[9] + 1" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);" (assignment_expression "uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0)" identifier = (call_expression "FUN_0011ff30(puVar6,".shstrtab",9,0,0)" identifier (argument_list "(puVar6,".shstrtab",9,0,0)" ( identifier , (string_literal "".shstrtab"" " string_content ") , number_literal , number_literal , number_literal )))) ;) (expression_statement "FUN_001215b0(puVar6);" (call_expression "FUN_001215b0(puVar6)" identifier (argument_list "(puVar6)" ( identifier ))) ;) (expression_statement "__n = param_1[0x35];" (assignment_expression "__n = param_1[0x35]" identifier = (subscript_expression "param_1[0x35]" identifier [ number_literal ])) ;) (if_statement "if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }" { (expression_statement "__ptr = (void *)FUN_0017eb70(__n);" (assignment_expression "__ptr = (void *)FUN_0017eb70(__n)" identifier = (cast_expression "(void *)FUN_0017eb70(__n)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017eb70(__n)" identifier (argument_list "(__n)" ( identifier ))))) ;) (expression_statement "FUN_0011cb50(puVar6,__ptr,__n);" (call_expression "FUN_0011cb50(puVar6,__ptr,__n)" identifier (argument_list "(puVar6,__ptr,__n)" ( identifier , identifier , identifier ))) ;) (expression_statement "fseek((FILE *)param_1[6],uVar1,0);" (call_expression "fseek((FILE *)param_1[6],uVar1,0)" identifier (argument_list "((FILE *)param_1[6],uVar1,0)" ( (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) , identifier , number_literal ))) ;) (expression_statement "sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);" (assignment_expression "sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6])" identifier = (call_expression "fwrite(__ptr,1,__n,(FILE *)param_1[6])" identifier (argument_list "(__ptr,1,__n,(FILE *)param_1[6])" ( identifier , number_literal , identifier , (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) )))) ;) (if_statement "if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }" if (parenthesized_expression "(sVar5 < __n)" ( (binary_expression "sVar5 < __n" identifier < identifier) )) (compound_statement "{\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }" { (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar9 = gettext("%s: error writing section \'.shstrtab\'");" (assignment_expression "uVar9 = gettext("%s: error writing section \'.shstrtab\'")" identifier = (call_expression "gettext("%s: error writing section \'.shstrtab\'")" identifier (argument_list "("%s: error writing section \'.shstrtab\'")" ( (string_literal ""%s: error writing section \'.shstrtab\'"" " string_content escape_sequence string_content escape_sequence ") )))) ;) (expression_statement "FUN_0005aca0(uVar9,uVar4);" (call_expression "FUN_0005aca0(uVar9,uVar4)" identifier (argument_list "(uVar9,uVar4)" ( identifier , identifier ))) ;) })) (expression_statement "FUN_00180740(__ptr);" (call_expression "FUN_00180740(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (if_statement "if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" if (parenthesized_expression "(param_1[2] == 0x20)" ( (binary_expression "param_1[2] == 0x20" (subscript_expression "param_1[2]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }" { (expression_statement "uVar10 = 0xfffffffc;" (assignment_expression "uVar10 = 0xfffffffc" identifier = number_literal) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }) (else_clause "else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" else (compound_statement "{\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" { (expression_statement "uVar10 = 0xfffffff8;" (assignment_expression "uVar10 = 0xfffffff8" identifier = number_literal) ;) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" identifier = number_literal) ;) }))) (expression_statement "iVar11 = uVar3 + __n + uVar1;" (assignment_expression "iVar11 = uVar3 + __n + uVar1" identifier = (binary_expression "uVar3 + __n + uVar1" (binary_expression "uVar3 + __n" identifier + identifier) + identifier)) ;) (expression_statement "uVar10 = uVar10 & iVar11 - 1U;" (assignment_expression "uVar10 = uVar10 & iVar11 - 1U" identifier = (binary_expression "uVar10 & iVar11 - 1U" identifier & (binary_expression "iVar11 - 1U" identifier - number_literal))) ;) (expression_statement "param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);" (assignment_expression "param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0)" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0)" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1)" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1)" identifier + (cast_expression "(uint)CARRY4(__n,uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(__n,uVar1)" identifier (argument_list "(__n,uVar1)" ( identifier , identifier ))))) + (cast_expression "(uint)CARRY4(uVar3,__n + uVar1)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,__n + uVar1)" identifier (argument_list "(uVar3,__n + uVar1)" ( identifier , (binary_expression "__n + uVar1" identifier + identifier) ))))) + number_literal) + (call_expression "(uint)(iVar11 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) ))))) ;) (expression_statement "param_1[0x10] = uVar10;" (assignment_expression "param_1[0x10] = uVar10" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "fseek((FILE *)param_1[6],uVar10,0);" (call_expression "fseek((FILE *)param_1[6],uVar10,0)" identifier (argument_list "((FILE *)param_1[6],uVar10,0)" ( (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) , identifier , number_literal ))) ;) (expression_statement "uVar3 = param_1[9];" (assignment_expression "uVar3 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = param_1[0x12];" (assignment_expression "uVar10 = param_1[0x12]" identifier = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }" if (parenthesized_expression "(uVar3 < 0xff00)" ( (binary_expression "uVar3 < 0xff00" identifier < number_literal) )) (compound_statement "{\n      uVar3 = 0;\n    }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) })) (if_statement "if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }" if (parenthesized_expression "(uVar10 < 0xff00)" ( (binary_expression "uVar10 < 0xff00" identifier < number_literal) )) (compound_statement "{\n      uVar10 = 0;\n    }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);" (call_expression "FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0)" identifier (argument_list "(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , number_literal , identifier , identifier , number_literal , number_literal , number_literal ))) ;) (expression_statement "iVar11 = param_1[10];" (assignment_expression "iVar11 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (if_statement "if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }" if (parenthesized_expression "(param_1[0xb] != iVar11)" ( (binary_expression "param_1[0xb] != iVar11" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != identifier) )) (compound_statement "{\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }" { (do_statement "do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));" do (compound_statement "{\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      }" { (expression_statement "uVar3 = uVar12 + 1;" (assignment_expression "uVar3 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);" (assignment_expression "puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20)" identifier = (cast_expression "(undefined4 *)(iVar11 + uVar12 * 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + uVar12 * 0x20)" ( (binary_expression "iVar11 + uVar12 * 0x20" identifier + (binary_expression "uVar12 * 0x20" identifier * number_literal)) )))) ;) (expression_statement "FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);" (call_expression "FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0)" identifier (argument_list "(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0)" ( identifier , (pointer_expression "*puVar6" * identifier) , number_literal , number_literal , number_literal , number_literal , (subscript_expression "puVar6[1]" identifier [ number_literal ]) , (subscript_expression "puVar6[2]" identifier [ number_literal ]) , (subscript_expression "puVar6[3]" identifier [ number_literal ]) , number_literal , number_literal , (subscript_expression "puVar6[4]" identifier [ number_literal ]) , number_literal ))) ;) (expression_statement "iVar11 = param_1[10];" (assignment_expression "iVar11 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "uVar12 = uVar3;" (assignment_expression "uVar12 = uVar3" identifier = identifier) ;) }) while (parenthesized_expression "(uVar3 < (uint)(param_1[0xb] - iVar11 >> 5))" ( (binary_expression "uVar3 < (uint)(param_1[0xb] - iVar11 >> 5)" identifier < (call_expression "(uint)(param_1[0xb] - iVar11 >> 5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1[0xb] - iVar11 >> 5)" ( (binary_expression "param_1[0xb] - iVar11 >> 5" (binary_expression "param_1[0xb] - iVar11" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) - identifier) >> number_literal) )))) )) ;) })) (expression_statement "FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);" (call_expression "FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0)" identifier (argument_list "(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0)" ( identifier , identifier , number_literal , number_literal , number_literal , number_literal , identifier , identifier , identifier , number_literal , number_literal , number_literal , number_literal ))) ;) (expression_statement "FUN_000335c0(param_1);" (call_expression "FUN_000335c0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }" if (parenthesized_expression "(((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0))" ( (binary_expression "((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)" (parenthesized_expression "((FILE *)param_1[6] != (FILE *)0x0)" ( (binary_expression "(FILE *)param_1[6] != (FILE *)0x0" (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)" ( (comma_expression "iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0" (assignment_expression "iVar2 = fclose((FILE *)param_1[6])" identifier = (call_expression "fclose((FILE *)param_1[6])" identifier (argument_list "((FILE *)param_1[6])" ( (cast_expression "(FILE *)param_1[6]" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }" { (expression_statement "piVar7 = __errno_location();" (assignment_expression "piVar7 = __errno_location()" identifier = (call_expression "__errno_location()" identifier (argument_list "()" ( )))) ;) (expression_statement "pcVar8 = strerror(*piVar7);" (assignment_expression "pcVar8 = strerror(*piVar7)" identifier = (call_expression "strerror(*piVar7)" identifier (argument_list "(*piVar7)" ( (pointer_expression "*piVar7" * identifier) )))) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar9 = gettext("%s: %s");" (assignment_expression "uVar9 = gettext("%s: %s")" identifier = (call_expression "gettext("%s: %s")" identifier (argument_list "("%s: %s")" ( (string_literal ""%s: %s"" " string_content ") )))) ;) (expression_statement "FUN_0005aca0(uVar9,uVar4,pcVar8);" (call_expression "FUN_0005aca0(uVar9,uVar4,pcVar8)" identifier (argument_list "(uVar9,uVar4,pcVar8)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);" statement_identifier : (expression_statement "FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);" (call_expression "FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n)" identifier (argument_list "("../../gold/stringpool.h",0x111,"get_strtab_size",__n)" ( (string_literal ""../../gold/stringpool.h"" " string_content ") , number_literal , (string_literal ""get_strtab_size"" " string_content ") , identifier ))) ;)) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )))) <= (unary_expression - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) && (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 (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression - IDENT) & (binary_expression IDENT - LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (unary_expression - IDENT)) >> LIT) & (binary_expression (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + (subscript_expression IDENT [ LIT ])) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) ))))) + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , 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 (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT) >> LIT) )))) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (binary_expression IDENT + LIT) ))) ;) }))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT , LIT , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & (binary_expression IDENT - LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + IDENT) ))))) + LIT) + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT , LIT , LIT , LIT , IDENT , IDENT , LIT , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , LIT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , LIT , LIT , (subscript_expression IDENT [ LIT ]) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - IDENT) >> LIT) )))) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , LIT , LIT , LIT , IDENT , IDENT , IDENT , LIT , LIT , LIT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })))
(function_definition "void FUN_000338c0(undefined4 *param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}" (primitive_type "void") (function_declarator "FUN_000338c0(undefined4 *param_1)" (identifier "FUN_000338c0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 uVar4;\n  void *__ptr;\n  size_t sVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  char *pcVar8;\n  undefined4 uVar9;\n  uint uVar10;\n  int iVar11;\n  uint uVar12;\n  uint __n;\n  \n  __n = 0;\n  iVar2 = param_1[10];\n  if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }\n  if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }\n  if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  uVar1 = param_1[7];\n  iVar2 = param_1[8];\n  puVar6 = param_1 + 0x27;\n  param_1[0x12] = param_1[9];\n  param_1[9] = param_1[9] + 1;\n  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);\n  FUN_001215b0(puVar6);\n  __n = param_1[0x35];\n  if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }\nLAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "char *pcVar8;" (primitive_type "char") (pointer_declarator "*pcVar8" (* "*") (identifier "pcVar8")) (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "uint __n;" (type_identifier "uint") (identifier "__n") (; ";")) (expression_statement "__n = 0;" (assignment_expression "__n = 0" (identifier "__n") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar2 = param_1[10];" (assignment_expression "iVar2 = param_1[10]" (identifier "iVar2") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (if_statement "if (param_1[0xb] != iVar2) {\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }" (if "if") (parenthesized_expression "(param_1[0xb] != iVar2)" (( "(") (binary_expression "param_1[0xb] != iVar2" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (!= "!=") (identifier "iVar2")) () ")")) (compound_statement "{\n    do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));\n  }" ({ "{") (do_statement "do {\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));" (do "do") (compound_statement "{\n      iVar11 = __n * 0x20 + iVar2;\n      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }\n      __n = __n + 1;\n    }" ({ "{") (expression_statement "iVar11 = __n * 0x20 + iVar2;" (assignment_expression "iVar11 = __n * 0x20 + iVar2" (identifier "iVar11") (= "=") (binary_expression "__n * 0x20 + iVar2" (binary_expression "__n * 0x20" (identifier "__n") (* "*") (number_literal "0x20")) (+ "+") (identifier "iVar2"))) (; ";")) (if_statement "if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)) {\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }" (if "if") (parenthesized_expression "(((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0))" (( "(") (binary_expression "((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&\n         (*(int *)(iVar11 + 0xc) != 0)" (parenthesized_expression "((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8))" (( "(") (binary_expression "(int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)" (cast_expression "(int)(uint)(*(int *)(iVar11 + 4) != 0)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "(uint)(*(int *)(iVar11 + 4) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar11 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar11 + 4) != 0" (pointer_expression "*(int *)(iVar11 + 4)" (* "*") (cast_expression "(int *)(iVar11 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")))) (<= "<=") (unary_expression "-*(int *)(iVar11 + 8)" (- "-") (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar11 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(iVar11 + 0xc) != 0" (pointer_expression "*(int *)(iVar11 + 0xc)" (* "*") (cast_expression "(int *)(iVar11 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        uVar1 = *(uint *)(iVar11 + 0x10);\n        iVar2 = uVar1 + param_1[7];\n        uVar10 = -uVar1 & iVar2 - 1U;\n        uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);\n        *(uint *)(iVar11 + 4) = uVar10;\n        *(uint *)(iVar11 + 8) = uVar3;\n        FUN_000330f0(param_1,iVar11);\n        uVar1 = *(uint *)(iVar11 + 0xc);\n        param_1[7] = uVar1 + uVar10;\n        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);\n        iVar2 = param_1[10];\n      }" ({ "{") (expression_statement "uVar1 = *(uint *)(iVar11 + 0x10);" (assignment_expression "uVar1 = *(uint *)(iVar11 + 0x10)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar11 + 0x10)" (* "*") (cast_expression "(uint *)(iVar11 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x10)" (( "(") (binary_expression "iVar11 + 0x10" (identifier "iVar11") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar2 = uVar1 + param_1[7];" (assignment_expression "iVar2 = uVar1 + param_1[7]" (identifier "iVar2") (= "=") (binary_expression "uVar1 + param_1[7]" (identifier "uVar1") (+ "+") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) (; ";")) (expression_statement "uVar10 = -uVar1 & iVar2 - 1U;" (assignment_expression "uVar10 = -uVar1 & iVar2 - 1U" (identifier "uVar10") (= "=") (binary_expression "-uVar1 & iVar2 - 1U" (unary_expression "-uVar1" (- "-") (identifier "uVar1")) (& "&") (binary_expression "iVar2 - 1U" (identifier "iVar2") (- "-") (number_literal "1U")))) (; ";")) (expression_statement "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0);" (assignment_expression "uVar3 = (int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (identifier "uVar3") (= "=") (binary_expression "(int)-uVar1 >> 0x1f &\n                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (binary_expression "(int)-uVar1 >> 0x1f" (cast_expression "(int)-uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (unary_expression "-uVar1" (- "-") (identifier "uVar1"))) (>> ">>") (number_literal "0x1f")) (& "&") (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +\n                (uint)(iVar2 != 0)" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7])" (binary_expression "((int)uVar1 >> 0x1f) + param_1[8]" (parenthesized_expression "((int)uVar1 >> 0x1f)" (( "(") (binary_expression "(int)uVar1 >> 0x1f" (cast_expression "(int)uVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar1")) (>> ">>") (number_literal "0x1f")) () ")")) (+ "+") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (+ "+") (cast_expression "(uint)CARRY4(uVar1,param_1[7])" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar1,param_1[7])" (identifier "CARRY4") (argument_list "(uVar1,param_1[7])" (( "(") (identifier "uVar1") (, ",") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) () ")"))))) (+ "+") (number_literal "-1")) (+ "+") (call_expression "(uint)(iVar2 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")))))) (; ";")) (expression_statement "*(uint *)(iVar11 + 4) = uVar10;" (assignment_expression "*(uint *)(iVar11 + 4) = uVar10" (pointer_expression "*(uint *)(iVar11 + 4)" (* "*") (cast_expression "(uint *)(iVar11 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "*(uint *)(iVar11 + 8) = uVar3;" (assignment_expression "*(uint *)(iVar11 + 8) = uVar3" (pointer_expression "*(uint *)(iVar11 + 8)" (* "*") (cast_expression "(uint *)(iVar11 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "FUN_000330f0(param_1,iVar11);" (call_expression "FUN_000330f0(param_1,iVar11)" (identifier "FUN_000330f0") (argument_list "(param_1,iVar11)" (( "(") (identifier "param_1") (, ",") (identifier "iVar11") () ")"))) (; ";")) (expression_statement "uVar1 = *(uint *)(iVar11 + 0xc);" (assignment_expression "uVar1 = *(uint *)(iVar11 + 0xc)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(iVar11 + 0xc)" (* "*") (cast_expression "(uint *)(iVar11 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "param_1[7] = uVar1 + uVar10;" (assignment_expression "param_1[7] = uVar1 + uVar10" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (binary_expression "uVar1 + uVar10" (identifier "uVar1") (+ "+") (identifier "uVar10"))) (; ";")) (expression_statement "param_1[8] = uVar3 + CARRY4(uVar1,uVar10);" (assignment_expression "param_1[8] = uVar3 + CARRY4(uVar1,uVar10)" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (binary_expression "uVar3 + CARRY4(uVar1,uVar10)" (identifier "uVar3") (+ "+") (call_expression "CARRY4(uVar1,uVar10)" (identifier "CARRY4") (argument_list "(uVar1,uVar10)" (( "(") (identifier "uVar1") (, ",") (identifier "uVar10") () ")"))))) (; ";")) (expression_statement "iVar2 = param_1[10];" (assignment_expression "iVar2 = param_1[10]" (identifier "iVar2") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (} "}"))) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" (identifier "__n") (= "=") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__n < (uint)(param_1[0xb] - iVar2 >> 5))" (( "(") (binary_expression "__n < (uint)(param_1[0xb] - iVar2 >> 5)" (identifier "__n") (< "<") (call_expression "(uint)(param_1[0xb] - iVar2 >> 5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[0xb] - iVar2 >> 5)" (( "(") (binary_expression "param_1[0xb] - iVar2 >> 5" (binary_expression "param_1[0xb] - iVar2" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (- "-") (identifier "iVar2")) (>> ">>") (number_literal "5")) () ")")))) () ")")) (; ";")) (} "}"))) (if_statement "if (*(char *)(param_1 + 0x13) != '\0') {\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }" (if "if") (parenthesized_expression "(*(char *)(param_1 + 0x13) != '\0')" (( "(") (binary_expression "*(char *)(param_1 + 0x13) != '\0'" (pointer_expression "*(char *)(param_1 + 0x13)" (* "*") (cast_expression "(char *)(param_1 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x13)" (( "(") (binary_expression "param_1 + 0x13" (identifier "param_1") (+ "+") (number_literal "0x13")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    FUN_001215b0(param_1 + 0x14);\n    iVar2 = param_1[0x22];\n    if (iVar2 == 0) goto LAB_00033c9c;\n    uVar4 = FUN_0017eb70(iVar2);\n    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);\n    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);\n    FUN_00180740(uVar4);\n  }" ({ "{") (expression_statement "FUN_001215b0(param_1 + 0x14);" (call_expression "FUN_001215b0(param_1 + 0x14)" (identifier "FUN_001215b0") (argument_list "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))) (; ";")) (expression_statement "iVar2 = param_1[0x22];" (assignment_expression "iVar2 = param_1[0x22]" (identifier "iVar2") (= "=") (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]"))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_00033c9c;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00033c9c;" (goto "goto") (statement_identifier "LAB_00033c9c") (; ";"))) (expression_statement "uVar4 = FUN_0017eb70(iVar2);" (assignment_expression "uVar4 = FUN_0017eb70(iVar2)" (identifier "uVar4") (= "=") (call_expression "FUN_0017eb70(iVar2)" (identifier "FUN_0017eb70") (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);" (call_expression "FUN_0011cb50(param_1 + 0x14,uVar4,iVar2)" (identifier "FUN_0011cb50") (argument_list "(param_1 + 0x14,uVar4,iVar2)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) (, ",") (identifier "uVar4") (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);" (call_expression "FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1)" (identifier "FUN_000337c0") (argument_list "(param_1,".debug_str.dwo",uVar4,iVar2,1)" (( "(") (identifier "param_1") (, ",") (string_literal "".debug_str.dwo"" (" """) (string_content ".debug_str.dwo") (" """)) (, ",") (identifier "uVar4") (, ",") (identifier "iVar2") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "FUN_00180740(uVar4);" (call_expression "FUN_00180740(uVar4)" (identifier "FUN_00180740") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[3] == 0) {\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }\n  else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" (if "if") (parenthesized_expression "(param_1[3] == 0)" (( "(") (binary_expression "param_1[3] == 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);\n  }" ({ "{") (expression_statement "FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);" (call_expression "FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a)" (identifier "FUN_000479f0") (argument_list "(param_1,".debug_cu_index",param_1 + 0x3a)" (( "(") (identifier "param_1") (, ",") (string_literal "".debug_cu_index"" (" """) (string_content ".debug_cu_index") (" """)) (, ",") (binary_expression "param_1 + 0x3a" (identifier "param_1") (+ "+") (number_literal "0x3a")) () ")"))) (; ";")) (expression_statement "FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);" (call_expression "FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42)" (identifier "FUN_000479f0") (argument_list "(param_1,".debug_tu_index",param_1 + 0x42)" (( "(") (identifier "param_1") (, ",") (string_literal "".debug_tu_index"" (" """) (string_content ".debug_tu_index") (" """)) (, ",") (binary_expression "param_1 + 0x42" (identifier "param_1") (+ "+") (number_literal "0x42")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" (else "else") (compound_statement "{\n    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);\n    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);\n  }" ({ "{") (expression_statement "FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);" (call_expression "FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a)" (identifier "FUN_00047680") (argument_list "(param_1,".debug_cu_index",param_1 + 0x3a)" (( "(") (identifier "param_1") (, ",") (string_literal "".debug_cu_index"" (" """) (string_content ".debug_cu_index") (" """)) (, ",") (binary_expression "param_1 + 0x3a" (identifier "param_1") (+ "+") (number_literal "0x3a")) () ")"))) (; ";")) (expression_statement "FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);" (call_expression "FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42)" (identifier "FUN_00047680") (argument_list "(param_1,".debug_tu_index",param_1 + 0x42)" (( "(") (identifier "param_1") (, ",") (string_literal "".debug_tu_index"" (" """) (string_content ".debug_tu_index") (" """)) (, ",") (binary_expression "param_1 + 0x42" (identifier "param_1") (+ "+") (number_literal "0x42")) () ")"))) (; ";")) (} "}")))) (expression_statement "uVar1 = param_1[7];" (assignment_expression "uVar1 = param_1[7]" (identifier "uVar1") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar2 = param_1[8];" (assignment_expression "iVar2 = param_1[8]" (identifier "iVar2") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "puVar6 = param_1 + 0x27;" (assignment_expression "puVar6 = param_1 + 0x27" (identifier "puVar6") (= "=") (binary_expression "param_1 + 0x27" (identifier "param_1") (+ "+") (number_literal "0x27"))) (; ";")) (expression_statement "param_1[0x12] = param_1[9];" (assignment_expression "param_1[0x12] = param_1[9]" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "param_1[9] = param_1[9] + 1;" (assignment_expression "param_1[9] = param_1[9] + 1" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (binary_expression "param_1[9] + 1" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);" (assignment_expression "uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0)" (identifier "uVar4") (= "=") (call_expression "FUN_0011ff30(puVar6,".shstrtab",9,0,0)" (identifier "FUN_0011ff30") (argument_list "(puVar6,".shstrtab",9,0,0)" (( "(") (identifier "puVar6") (, ",") (string_literal "".shstrtab"" (" """) (string_content ".shstrtab") (" """)) (, ",") (number_literal "9") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_001215b0(puVar6);" (call_expression "FUN_001215b0(puVar6)" (identifier "FUN_001215b0") (argument_list "(puVar6)" (( "(") (identifier "puVar6") () ")"))) (; ";")) (expression_statement "__n = param_1[0x35];" (assignment_expression "__n = param_1[0x35]" (identifier "__n") (= "=") (subscript_expression "param_1[0x35]" (identifier "param_1") ([ "[") (number_literal "0x35") (] "]"))) (; ";")) (if_statement "if (__n != 0) {\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __ptr = (void *)FUN_0017eb70(__n);\n    FUN_0011cb50(puVar6,__ptr,__n);\n    fseek((FILE *)param_1[6],uVar1,0);\n    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);\n    if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }\n    FUN_00180740(__ptr);\n    if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }\n    iVar11 = uVar3 + __n + uVar1;\n    uVar10 = uVar10 & iVar11 - 1U;\n    param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);\n    param_1[0x10] = uVar10;\n    fseek((FILE *)param_1[6],uVar10,0);\n    uVar3 = param_1[9];\n    uVar10 = param_1[0x12];\n    if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }\n    if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }\n    uVar12 = 0;\n    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);\n    iVar11 = param_1[10];\n    if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }\n    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);\n    FUN_000335c0(param_1);\n    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }\n    param_1[6] = 0;\n    return;\n  }" ({ "{") (expression_statement "__ptr = (void *)FUN_0017eb70(__n);" (assignment_expression "__ptr = (void *)FUN_0017eb70(__n)" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_0017eb70(__n)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017eb70(__n)" (identifier "FUN_0017eb70") (argument_list "(__n)" (( "(") (identifier "__n") () ")"))))) (; ";")) (expression_statement "FUN_0011cb50(puVar6,__ptr,__n);" (call_expression "FUN_0011cb50(puVar6,__ptr,__n)" (identifier "FUN_0011cb50") (argument_list "(puVar6,__ptr,__n)" (( "(") (identifier "puVar6") (, ",") (identifier "__ptr") (, ",") (identifier "__n") () ")"))) (; ";")) (expression_statement "fseek((FILE *)param_1[6],uVar1,0);" (call_expression "fseek((FILE *)param_1[6],uVar1,0)" (identifier "fseek") (argument_list "((FILE *)param_1[6],uVar1,0)" (( "(") (cast_expression "(FILE *)param_1[6]" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (, ",") (identifier "uVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);" (assignment_expression "sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6])" (identifier "sVar5") (= "=") (call_expression "fwrite(__ptr,1,__n,(FILE *)param_1[6])" (identifier "fwrite") (argument_list "(__ptr,1,__n,(FILE *)param_1[6])" (( "(") (identifier "__ptr") (, ",") (number_literal "1") (, ",") (identifier "__n") (, ",") (cast_expression "(FILE *)param_1[6]" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) () ")")))) (; ";")) (if_statement "if (sVar5 < __n) {\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }" (if "if") (parenthesized_expression "(sVar5 < __n)" (( "(") (binary_expression "sVar5 < __n" (identifier "sVar5") (< "<") (identifier "__n")) () ")")) (compound_statement "{\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: error writing section \'.shstrtab\'");\n                    \n      FUN_0005aca0(uVar9,uVar4);\n    }" ({ "{") (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar9 = gettext("%s: error writing section \'.shstrtab\'");" (assignment_expression "uVar9 = gettext("%s: error writing section \'.shstrtab\'")" (identifier "uVar9") (= "=") (call_expression "gettext("%s: error writing section \'.shstrtab\'")" (identifier "gettext") (argument_list "("%s: error writing section \'.shstrtab\'")" (( "(") (string_literal ""%s: error writing section \'.shstrtab\'"" (" """) (string_content "%s: error writing section ") (escape_sequence "\'") (string_content ".shstrtab") (escape_sequence "\'") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0005aca0(uVar9,uVar4);" (call_expression "FUN_0005aca0(uVar9,uVar4)" (identifier "FUN_0005aca0") (argument_list "(uVar9,uVar4)" (( "(") (identifier "uVar9") (, ",") (identifier "uVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00180740(__ptr);" (call_expression "FUN_00180740(__ptr)" (identifier "FUN_00180740") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (if_statement "if (param_1[2] == 0x20) {\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }\n    else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" (if "if") (parenthesized_expression "(param_1[2] == 0x20)" (( "(") (binary_expression "param_1[2] == 0x20" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n      uVar10 = 0xfffffffc;\n      uVar3 = 4;\n    }" ({ "{") (expression_statement "uVar10 = 0xfffffffc;" (assignment_expression "uVar10 = 0xfffffffc" (identifier "uVar10") (= "=") (number_literal "0xfffffffc")) (; ";")) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (} "}")) (else_clause "else {\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" (else "else") (compound_statement "{\n      uVar10 = 0xfffffff8;\n      uVar3 = 8;\n    }" ({ "{") (expression_statement "uVar10 = 0xfffffff8;" (assignment_expression "uVar10 = 0xfffffff8" (identifier "uVar10") (= "=") (number_literal "0xfffffff8")) (; ";")) (expression_statement "uVar3 = 8;" (assignment_expression "uVar3 = 8" (identifier "uVar3") (= "=") (number_literal "8")) (; ";")) (} "}")))) (expression_statement "iVar11 = uVar3 + __n + uVar1;" (assignment_expression "iVar11 = uVar3 + __n + uVar1" (identifier "iVar11") (= "=") (binary_expression "uVar3 + __n + uVar1" (binary_expression "uVar3 + __n" (identifier "uVar3") (+ "+") (identifier "__n")) (+ "+") (identifier "uVar1"))) (; ";")) (expression_statement "uVar10 = uVar10 & iVar11 - 1U;" (assignment_expression "uVar10 = uVar10 & iVar11 - 1U" (identifier "uVar10") (= "=") (binary_expression "uVar10 & iVar11 - 1U" (identifier "uVar10") (& "&") (binary_expression "iVar11 - 1U" (identifier "iVar11") (- "-") (number_literal "1U")))) (; ";")) (expression_statement "param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0);" (assignment_expression "param_1[0x11] =\n         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0)" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +\n         (uint)(iVar11 != 0)" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1)" (binary_expression "iVar2 + (uint)CARRY4(__n,uVar1)" (identifier "iVar2") (+ "+") (cast_expression "(uint)CARRY4(__n,uVar1)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(__n,uVar1)" (identifier "CARRY4") (argument_list "(__n,uVar1)" (( "(") (identifier "__n") (, ",") (identifier "uVar1") () ")"))))) (+ "+") (cast_expression "(uint)CARRY4(uVar3,__n + uVar1)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar3,__n + uVar1)" (identifier "CARRY4") (argument_list "(uVar3,__n + uVar1)" (( "(") (identifier "uVar3") (, ",") (binary_expression "__n + uVar1" (identifier "__n") (+ "+") (identifier "uVar1")) () ")"))))) (+ "+") (number_literal "-1")) (+ "+") (call_expression "(uint)(iVar11 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")"))))) (; ";")) (expression_statement "param_1[0x10] = uVar10;" (assignment_expression "param_1[0x10] = uVar10" (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "fseek((FILE *)param_1[6],uVar10,0);" (call_expression "fseek((FILE *)param_1[6],uVar10,0)" (identifier "fseek") (argument_list "((FILE *)param_1[6],uVar10,0)" (( "(") (cast_expression "(FILE *)param_1[6]" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (, ",") (identifier "uVar10") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "uVar3 = param_1[9];" (assignment_expression "uVar3 = param_1[9]" (identifier "uVar3") (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "uVar10 = param_1[0x12];" (assignment_expression "uVar10 = param_1[0x12]" (identifier "uVar10") (= "=") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (if_statement "if (uVar3 < 0xff00) {\n      uVar3 = 0;\n    }" (if "if") (parenthesized_expression "(uVar3 < 0xff00)" (( "(") (binary_expression "uVar3 < 0xff00" (identifier "uVar3") (< "<") (number_literal "0xff00")) () ")")) (compound_statement "{\n      uVar3 = 0;\n    }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (uVar10 < 0xff00) {\n      uVar10 = 0;\n    }" (if "if") (parenthesized_expression "(uVar10 < 0xff00)" (( "(") (binary_expression "uVar10 < 0xff00" (identifier "uVar10") (< "<") (number_literal "0xff00")) () ")")) (compound_statement "{\n      uVar10 = 0;\n    }" ({ "{") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);" (call_expression "FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0)" (identifier "FUN_000331b0") (argument_list "(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "uVar3") (, ",") (identifier "uVar10") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar11 = param_1[10];" (assignment_expression "iVar11 = param_1[10]" (identifier "iVar11") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (if_statement "if (param_1[0xb] != iVar11) {\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }" (if "if") (parenthesized_expression "(param_1[0xb] != iVar11)" (( "(") (binary_expression "param_1[0xb] != iVar11" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (!= "!=") (identifier "iVar11")) () ")")) (compound_statement "{\n      do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));\n    }" ({ "{") (do_statement "do {\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));" (do "do") (compound_statement "{\n        uVar3 = uVar12 + 1;\n        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);\n        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);\n        iVar11 = param_1[10];\n        uVar12 = uVar3;\n      }" ({ "{") (expression_statement "uVar3 = uVar12 + 1;" (assignment_expression "uVar3 = uVar12 + 1" (identifier "uVar3") (= "=") (binary_expression "uVar12 + 1" (identifier "uVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);" (assignment_expression "puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)(iVar11 + uVar12 * 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + uVar12 * 0x20)" (( "(") (binary_expression "iVar11 + uVar12 * 0x20" (identifier "iVar11") (+ "+") (binary_expression "uVar12 * 0x20" (identifier "uVar12") (* "*") (number_literal "0x20"))) () ")")))) (; ";")) (expression_statement "FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);" (call_expression "FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0)" (identifier "FUN_000331b0") (argument_list "(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "puVar6[2]" (identifier "puVar6") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "puVar6[3]" (identifier "puVar6") ([ "[") (number_literal "3") (] "]")) (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (subscript_expression "puVar6[4]" (identifier "puVar6") ([ "[") (number_literal "4") (] "]")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar11 = param_1[10];" (assignment_expression "iVar11 = param_1[10]" (identifier "iVar11") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "uVar12 = uVar3;" (assignment_expression "uVar12 = uVar3" (identifier "uVar12") (= "=") (identifier "uVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < (uint)(param_1[0xb] - iVar11 >> 5))" (( "(") (binary_expression "uVar3 < (uint)(param_1[0xb] - iVar11 >> 5)" (identifier "uVar3") (< "<") (call_expression "(uint)(param_1[0xb] - iVar11 >> 5)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1[0xb] - iVar11 >> 5)" (( "(") (binary_expression "param_1[0xb] - iVar11 >> 5" (binary_expression "param_1[0xb] - iVar11" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (- "-") (identifier "iVar11")) (>> ">>") (number_literal "5")) () ")")))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);" (call_expression "FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0)" (identifier "FUN_000331b0") (argument_list "(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar4") (, ",") (number_literal "3") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "uVar1") (, ",") (identifier "iVar2") (, ",") (identifier "__n") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_000335c0(param_1);" (call_expression "FUN_000335c0(param_1)" (identifier "FUN_000335c0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }" (if "if") (parenthesized_expression "(((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0))" (( "(") (binary_expression "((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)" (parenthesized_expression "((FILE *)param_1[6] != (FILE *)0x0)" (( "(") (binary_expression "(FILE *)param_1[6] != (FILE *)0x0" (cast_expression "(FILE *)param_1[6]" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (!= "!=") (cast_expression "(FILE *)0x0" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)" (( "(") (comma_expression "iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0" (assignment_expression "iVar2 = fclose((FILE *)param_1[6])" (identifier "iVar2") (= "=") (call_expression "fclose((FILE *)param_1[6])" (identifier "fclose") (argument_list "((FILE *)param_1[6])" (( "(") (cast_expression "(FILE *)param_1[6]" (( "(") (type_descriptor "FILE *" (type_identifier "FILE") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      piVar7 = __errno_location();\n      pcVar8 = strerror(*piVar7);\n      uVar4 = *param_1;\n      uVar9 = gettext("%s: %s");\n                    \n      FUN_0005aca0(uVar9,uVar4,pcVar8);\n    }" ({ "{") (expression_statement "piVar7 = __errno_location();" (assignment_expression "piVar7 = __errno_location()" (identifier "piVar7") (= "=") (call_expression "__errno_location()" (identifier "__errno_location") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "pcVar8 = strerror(*piVar7);" (assignment_expression "pcVar8 = strerror(*piVar7)" (identifier "pcVar8") (= "=") (call_expression "strerror(*piVar7)" (identifier "strerror") (argument_list "(*piVar7)" (( "(") (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) () ")")))) (; ";")) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar9 = gettext("%s: %s");" (assignment_expression "uVar9 = gettext("%s: %s")" (identifier "uVar9") (= "=") (call_expression "gettext("%s: %s")" (identifier "gettext") (argument_list "("%s: %s")" (( "(") (string_literal ""%s: %s"" (" """) (string_content "%s: %s") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0005aca0(uVar9,uVar4,pcVar8);" (call_expression "FUN_0005aca0(uVar9,uVar4,pcVar8)" (identifier "FUN_0005aca0") (argument_list "(uVar9,uVar4,pcVar8)" (( "(") (identifier "uVar9") (, ",") (identifier "uVar4") (, ",") (identifier "pcVar8") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_00033c9c:\n                    \n  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);" (statement_identifier "LAB_00033c9c") (: ":") (expression_statement "FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);" (call_expression "FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n)" (identifier "FUN_0005f0b0") (argument_list "("../../gold/stringpool.h",0x111,"get_strtab_size",__n)" (( "(") (string_literal ""../../gold/stringpool.h"" (" """) (string_content "../../gold/stringpool.h") (" """)) (, ",") (number_literal "0x111") (, ",") (string_literal ""get_strtab_size"" (" """) (string_content "get_strtab_size") (" """)) (, ",") (identifier "__n") () ")"))) (; ";"))) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* DWARF original prototype: void finalize(Dwp_output_file * this) */

void __thiscall var_10::type_1::function_1(type_1 *this)

{
  type_2 *this_00;
  type_3 var_4;
  type_4 offset;
  int var_5;
  type_3 var_9;
  char *pcVar4;
  type_5 *puVar5;
  size_t var_22;
  int var_25;
  type_6 var_2;
  int *piVar9;
  char *pcVar10;
  char *format;
  type_3 var_8;
  type_7 *sect;
  type_3 var_3;
  
  var_3 = 0;
  var_2 = (this->sections_).
           super__Vector_base<var_10::Dwp_output_file::type_7,_std::allocator<var_10::Dwp_output_file::type_7>var_1>
           ._M_impl._M_start;
  if ((this->sections_).
      super__Vector_base<var_10::type_1::type_7,_std::allocator<var_10::type_1::type_7>var_1>
      ._M_impl._M_finish != var_2) {
    do {
      sect = var_2 + var_3;
      if (((int)(type_3)((int)sect->offset != 0) <= -*(int *)((int)&sect->offset + 4)) &&
         (sect->size != 0)) {
        var_4 = sect->align;
        var_5 = var_4 + (int)this->next_file_offset_;
        var_8 = -var_4 & var_5 - 1U;
        var_9 = (int)-var_4 >> 0x1f &
                ((int)var_4 >> 0x1f) + *(int *)((int)&this->next_file_offset_ + 4) +
                (type_3)var_6(var_4,(type_3)this->next_file_offset_) + -1 + (type_3)(var_5 != 0);
        *(type_3 *)&sect->offset = var_8;
        *(type_3 *)((int)&sect->offset + 4) = var_9;
        var_7(this,sect);
        var_4 = sect->size;
        *(type_3 *)&this->next_file_offset_ = var_4 + var_8;
        *(type_3 *)((int)&this->next_file_offset_ + 4) = var_9 + var_6(var_4,var_8);
        var_2 = (this->sections_).
                 super__Vector_base<var_10::Dwp_output_file::type_7,_std::allocator<var_10::Dwp_output_file::type_7>var_1>
                 ._M_impl._M_start;
      }
      var_3 = var_3 + 1;
    } while (var_3 < (type_3)((int)(this->sections_).
                                  super__Vector_base<var_10::type_1::type_7,_std::allocator<var_10::type_1::type_7>var_1>
                                  ._M_impl._M_finish - (int)var_2 >> 5));
  }
  if (this->have_strings_ != false) {
    var_11<var_12>::var_13(&this->stringpool_);
    var_3 = (this->stringpool_).strtab_size_;
    if (var_3 == 0) goto LAB_00033c9c;
    puVar5 = (type_5 *)var_14(var_3);
    var_11<var_12>::var_15(&this->stringpool_,puVar5,var_3);
    var_16(this,".debug_str.dwo",puVar5,var_3,1);
    var_17(puVar5);
  }
  if (this->big_endian_ == 0) {
    var_18<false>(this,".debug_cu_index",&this->cu_index_);
    var_18<false>(this,".debug_tu_index",&this->tu_index_);
  }
  else {
    var_18<true>(this,".debug_cu_index",&this->cu_index_);
    var_18<true>(this,".debug_tu_index",&this->tu_index_);
  }
  var_3 = (type_3)this->next_file_offset_;
  var_5 = *(int *)((int)&this->next_file_offset_ + 4);
  offset = this->next_file_offset_;
  this_00 = &this->shstrtab_;
  this->shstrndx_ = this->shnum_;
  this->shnum_ = this->shnum_ + 1;
  pcVar4 = var_11<var_12>::var_19(this_00,".shstrtab",9,false,(type_8 *)0x0);
  var_11<var_12>::var_13(this_00);
  var_4 = (this->shstrtab_).strtab_size_;
  if (var_4 != 0) {
    puVar5 = (type_5 *)var_14(var_4);
    var_11<var_12>::var_15(this_00,puVar5,var_4);
    var_20((type_9 *)this->fd_,var_3,0);
    var_22 = var_21(puVar5,1,var_4,(type_9 *)this->fd_);
    if (var_22 < var_4) {
      pcVar4 = this->name_;
      pcVar10 = (char *)var_23("%s: error writing section \'.shstrtab\'");
                    /* WARNING: Subroutine does not return */
      var_24(pcVar10,pcVar4);
    }
    var_17(puVar5);
    if (this->size_ == 0x20) {
      var_8 = 0xfffffffc;
      var_9 = 4;
    }
    else {
      var_8 = 0xfffffff8;
      var_9 = 8;
    }
    var_25 = var_9 + var_4 + var_3;
    var_8 = var_8 & var_25 - 1U;
    *(type_3 *)((int)&this->shoff_ + 4) =
         var_5 + (type_3)var_6(var_4,var_3) + (type_3)var_6(var_9,var_4 + var_3) + -1 +
         (type_3)(var_25 != 0);
    *(type_3 *)&this->shoff_ = var_8;
    var_20((type_9 *)this->fd_,var_8,0);
    var_3 = this->shnum_;
    var_9 = this->shstrndx_;
    if (var_3 < 0xff00) {
      var_3 = 0;
    }
    if (var_9 < 0xff00) {
      var_9 = 0;
    }
    var_8 = 0;
    var_26(this,(char *)0x0,0,0,0,0,var_3,var_9,0,0,0);
    var_2 = (this->sections_).
             super__Vector_base<var_10::Dwp_output_file::type_7,_std::allocator<var_10::Dwp_output_file::type_7>var_1>
             ._M_impl._M_start;
    if ((this->sections_).
        super__Vector_base<var_10::type_1::type_7,_std::allocator<var_10::type_1::type_7>var_1>
        ._M_impl._M_finish != var_2) {
      do {
        var_3 = var_8 + 1;
        var_2 = var_2 + var_8;
        var_26(this,var_2->name,1,0,0,var_2->offset,var_2->size,0,0,var_2->align,0);
        var_2 = (this->sections_).
                 super__Vector_base<var_10::Dwp_output_file::type_7,_std::allocator<var_10::Dwp_output_file::type_7>var_1>
                 ._M_impl._M_start;
        var_8 = var_3;
      } while (var_3 < (type_3)((int)(this->sections_).
                                    super__Vector_base<var_10::type_1::type_7,_std::allocator<var_10::type_1::type_7>var_1>
                                    ._M_impl._M_finish - (int)var_2 >> 5));
    }
    var_26(this,pcVar4,3,0,0,offset,var_4,0,0,1,0);
    var_27(this);
    if (((type_9 *)this->fd_ != (type_9 *)0x0) && (var_5 = var_28((type_9 *)this->fd_), var_5 != 0)) {
      piVar9 = var_29();
      pcVar10 = var_30(*piVar9);
      pcVar4 = this->name_;
      format = (char *)var_23("%s: %s");
                    /* WARNING: Subroutine does not return */
      var_24(format,pcVar4,pcVar10);
    }
    this->fd_ = (type_9 *)0x0;
    return;
  }
LAB_00033c9c:
                    /* WARNING: Subroutine does not return */
  var_31("../../gold/stringpool.h",0x111,"get_strtab_size");
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(undefined4 *param_1)

{
  uint uVar1;
  int iVar2;
  uint uVar3;
  undefined4 uVar4;
  void *__ptr;
  size_t sVar5;
  undefined4 *puVar6;
  int *piVar7;
  char *pcVar8;
  undefined4 uVar9;
  uint uVar10;
  int iVar11;
  uint uVar12;
  uint __n;
  
  __n = 0;
  iVar2 = param_1[10];
  if (param_1[0xb] != iVar2) {
    do {
      iVar11 = __n * 0x20 + iVar2;
      if (((int)(uint)(*(int *)(iVar11 + 4) != 0) <= -*(int *)(iVar11 + 8)) &&
         (*(int *)(iVar11 + 0xc) != 0)) {
        uVar1 = *(uint *)(iVar11 + 0x10);
        iVar2 = uVar1 + param_1[7];
        uVar10 = -uVar1 & iVar2 - 1U;
        uVar3 = (int)-uVar1 >> 0x1f &
                ((int)uVar1 >> 0x1f) + param_1[8] + (uint)CARRY4(uVar1,param_1[7]) + -1 +
                (uint)(iVar2 != 0);
        *(uint *)(iVar11 + 4) = uVar10;
        *(uint *)(iVar11 + 8) = uVar3;
        FUN_000330f0(param_1,iVar11);
        uVar1 = *(uint *)(iVar11 + 0xc);
        param_1[7] = uVar1 + uVar10;
        param_1[8] = uVar3 + CARRY4(uVar1,uVar10);
        iVar2 = param_1[10];
      }
      __n = __n + 1;
    } while (__n < (uint)(param_1[0xb] - iVar2 >> 5));
  }
  if (*(char *)(param_1 + 0x13) != '\0') {
    FUN_001215b0(param_1 + 0x14);
    iVar2 = param_1[0x22];
    if (iVar2 == 0) goto LAB_00033c9c;
    uVar4 = FUN_0017eb70(iVar2);
    FUN_0011cb50(param_1 + 0x14,uVar4,iVar2);
    FUN_000337c0(param_1,".debug_str.dwo",uVar4,iVar2,1);
    FUN_00180740(uVar4);
  }
  if (param_1[3] == 0) {
    FUN_000479f0(param_1,".debug_cu_index",param_1 + 0x3a);
    FUN_000479f0(param_1,".debug_tu_index",param_1 + 0x42);
  }
  else {
    FUN_00047680(param_1,".debug_cu_index",param_1 + 0x3a);
    FUN_00047680(param_1,".debug_tu_index",param_1 + 0x42);
  }
  uVar1 = param_1[7];
  iVar2 = param_1[8];
  puVar6 = param_1 + 0x27;
  param_1[0x12] = param_1[9];
  param_1[9] = param_1[9] + 1;
  uVar4 = FUN_0011ff30(puVar6,".shstrtab",9,0,0);
  FUN_001215b0(puVar6);
  __n = param_1[0x35];
  if (__n != 0) {
    __ptr = (void *)FUN_0017eb70(__n);
    FUN_0011cb50(puVar6,__ptr,__n);
    fseek((FILE *)param_1[6],uVar1,0);
    sVar5 = fwrite(__ptr,1,__n,(FILE *)param_1[6]);
    if (sVar5 < __n) {
      uVar4 = *param_1;
      uVar9 = gettext("%s: error writing section \'.shstrtab\'");
                    /* WARNING: Subroutine does not return */
      FUN_0005aca0(uVar9,uVar4);
    }
    FUN_00180740(__ptr);
    if (param_1[2] == 0x20) {
      uVar10 = 0xfffffffc;
      uVar3 = 4;
    }
    else {
      uVar10 = 0xfffffff8;
      uVar3 = 8;
    }
    iVar11 = uVar3 + __n + uVar1;
    uVar10 = uVar10 & iVar11 - 1U;
    param_1[0x11] =
         iVar2 + (uint)CARRY4(__n,uVar1) + (uint)CARRY4(uVar3,__n + uVar1) + -1 +
         (uint)(iVar11 != 0);
    param_1[0x10] = uVar10;
    fseek((FILE *)param_1[6],uVar10,0);
    uVar3 = param_1[9];
    uVar10 = param_1[0x12];
    if (uVar3 < 0xff00) {
      uVar3 = 0;
    }
    if (uVar10 < 0xff00) {
      uVar10 = 0;
    }
    uVar12 = 0;
    FUN_000331b0(param_1,0,0,0,0,0,0,0,uVar3,uVar10,0,0,0);
    iVar11 = param_1[10];
    if (param_1[0xb] != iVar11) {
      do {
        uVar3 = uVar12 + 1;
        puVar6 = (undefined4 *)(iVar11 + uVar12 * 0x20);
        FUN_000331b0(param_1,*puVar6,1,0,0,0,puVar6[1],puVar6[2],puVar6[3],0,0,puVar6[4],0);
        iVar11 = param_1[10];
        uVar12 = uVar3;
      } while (uVar3 < (uint)(param_1[0xb] - iVar11 >> 5));
    }
    FUN_000331b0(param_1,uVar4,3,0,0,0,uVar1,iVar2,__n,0,0,1,0);
    FUN_000335c0(param_1);
    if (((FILE *)param_1[6] != (FILE *)0x0) && (iVar2 = fclose((FILE *)param_1[6]), iVar2 != 0)) {
      piVar7 = __errno_location();
      pcVar8 = strerror(*piVar7);
      uVar4 = *param_1;
      uVar9 = gettext("%s: %s");
                    /* WARNING: Subroutine does not return */
      FUN_0005aca0(uVar9,uVar4,pcVar8);
    }
    param_1[6] = 0;
    return;
  }
LAB_00033c9c:
                    /* WARNING: Subroutine does not return */
  FUN_0005f0b0("../../gold/stringpool.h",0x111,"get_strtab_size",__n);
}

