
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void write_relocs(bfd *abfd,asection *sec,void *xxx)

{
  uint *puVar1;
  segment_info_type *seginfo;
  uint uVar2;
  int iVar3;
  fixS fVar4;
  fix *pfVar5;
  arelent **ppaVar6;
  uint uVar7;
  arelent **ppaVar8;
  fragS *pfVar9;
  char *format;
  int iVar10;
  reloc_list **pprVar11;
  arelent *paVar12;
  fragS *r;
  int iVar13;
  uint local_3c;
  fragS *local_34;
  arelent **local_30;
  fixS *local_28;
  
  seginfo = (segment_info_type *)sec->userdata;
  if (seginfo != (segment_info_type *)0x0) {
    pfVar5 = seginfo->fix_root;
    iVar10 = 0;
    if (pfVar5 != (fixS *)0x0) {
      do {
        fVar4 = *pfVar5;
        pfVar5 = pfVar5->fx_next;
        iVar10 = iVar10 + (uint)((undefined1  [76])
                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==
                                (undefined1  [76])0x0);
      } while (pfVar5 != (fix *)0x0);
      iVar10 = iVar10 * 2;
    }
    pprVar11 = &reloc_list;
    local_34 = (fragS *)reloc_list;
    r = (fragS *)0x0;
    while (local_34 != (fragS *)0x0) {
      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,
            (asection *)
            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=
            sec) {
        pprVar11 = (reloc_list **)pfVar9;
        if (local_34 == (fragS *)0x0) goto LAB_0003da76;
      }
      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;
      iVar10 = iVar10 + 1;
      *(fragS **)&pfVar9->fr_address = r;
      r = pfVar9;
      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;
    }
LAB_0003da76:
    ppaVar6 = (arelent **)xcalloc(iVar10,4);
    local_28 = seginfo->fix_root;
    local_3c = 0;
    if (local_28 == (fixS *)0x0) {
      local_3c = 0;
      if (r != (fragS *)0x0) goto LAB_0003dc10;
    }
    else {
      do {
        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=
               (undefined1  [76])0x0) {
LAB_0003dac0:
          local_28 = local_28->fx_next;
          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;
        }
        uVar7 = (uint)local_28->fx_size + local_28->fx_where;
        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);
        iVar13 = (int)uVar7 >> 0x1f;
        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);
        iVar3 = iVar10 - iVar13;
        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {
          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);
          as_bad_where(local_28->fx_file,local_28->fx_line,format);
        }
        local_30 = tc_gen_reloc(sec,local_28);
        paVar12 = *local_30;
        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;
        do {
          ppaVar8 = ppaVar6 + local_3c;
          uVar2 = local_3c + 1;
          uVar7 = local_3c;
          while ((local_3c = uVar2, r != (fragS *)0x0 &&
                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),
                 puVar1 = (uint *)((int)&paVar12->address + 4),
                 uVar2 < *puVar1 ||
                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {
            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);
            ppaVar8 = ppaVar6 + uVar7;
            local_3c = uVar7 + 1;
            if (pfVar9 != (fragS *)0x0) {
              paVar12 = (arelent *)((int)&r->last_fr_address + 4);
              *ppaVar8 = paVar12;
              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol
                           );
              local_3c = uVar7 + 2;
              ppaVar8 = ppaVar6 + uVar7 + 1;
              uVar7 = uVar7 + 1;
              local_34 = pfVar9;
            }
            r = *(fragS **)&r->fr_address;
            paVar12 = *local_30;
            uVar2 = local_3c;
          }
          *ppaVar8 = paVar12;
          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);
          local_30 = local_30 + 1;
          paVar12 = *local_30;
        } while (paVar12 != (arelent *)0x0);
        local_28 = local_28->fx_next;
      } while (local_28 != (fix *)0x0);
joined_r0x0003dbfe:
      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {
LAB_0003dc10:
        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);
        uVar7 = local_3c;
        if (pfVar9 != (fragS *)0x0) {
          uVar7 = local_3c + 1;
          paVar12 = (arelent *)((int)&r->last_fr_address + 4);
          ppaVar6[local_3c] = paVar12;
          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);
          local_34 = pfVar9;
        }
        local_3c = uVar7;
      }
      if (local_3c != 0) {
        bfd_set_section_flags(abfd,sec,sec->flags | 4);
        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);
        return;
      }
    }
  }
  return;
}



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

void FUN_0003da00(undefined4 param_1,int param_2)

{
  byte bVar1;
  uint uVar2;
  byte *pbVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int *piVar7;
  int iVar8;
  undefined4 uVar9;
  int iVar10;
  undefined4 *puVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int *local_30;
  byte *local_28;
  
  iVar14 = *(int *)(param_2 + 0x80);
  if (iVar14 != 0) {
    pbVar3 = *(byte **)(iVar14 + 0xc);
    iVar10 = 0;
    if (pbVar3 != (byte *)0x0) {
      do {
        bVar1 = *pbVar3;
        pbVar3 = *(byte **)(pbVar3 + 0x28);
        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);
      } while (pbVar3 != (byte *)0x0);
      iVar10 = iVar10 * 2;
    }
    puVar6 = &DAT_000779a4;
    puVar4 = DAT_000779a4;
    puVar11 = (undefined4 *)0x0;
    while (puVar4 != (undefined4 *)0x0) {
      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {
        puVar6 = puVar5;
        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;
      }
      *puVar6 = puVar4;
      iVar10 = iVar10 + 1;
      *puVar5 = puVar11;
      puVar11 = puVar5;
      puVar4 = (undefined4 *)*puVar6;
    }
LAB_0003da76:
    iVar10 = xcalloc(iVar10,4);
    local_28 = *(byte **)(iVar14 + 0xc);
    iVar14 = 0;
    if (local_28 == (byte *)0x0) {
      iVar13 = 0;
      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;
    }
    else {
      do {
        while ((*local_28 & 0x20) != 0) {
LAB_0003dac0:
          local_28 = *(byte **)(local_28 + 0x28);
          iVar13 = iVar14;
          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;
        }
        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);
        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;
        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <
                      (uint)local_28[2] + *(int *)(local_28 + 8));
        iVar8 = iVar13 - iVar12;
        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {
          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);
          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);
        }
        local_30 = (int *)FUN_000470f0(param_2,local_28);
        iVar13 = *local_30;
        if (iVar13 == 0) goto LAB_0003dac0;
        do {
          piVar7 = (int *)(iVar10 + iVar14 * 4);
          iVar8 = iVar14 + 1;
          iVar12 = iVar14;
          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&
                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||
                  puVar11[5] - *(uint *)(iVar13 + 8) <
                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));
              puVar11 = (undefined4 *)*puVar11) {
            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);
            iVar8 = iVar12 + 1;
            piVar7 = (int *)(iVar10 + iVar12 * 4);
            iVar14 = iVar12;
            if (puVar6 != (undefined4 *)0x0) {
              *piVar7 = (int)(puVar11 + 3);
              iVar14 = iVar8;
              FUN_0003cec0(puVar11[9],puVar11[10]);
              iVar8 = iVar12 + 2;
              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);
              puVar4 = puVar6;
            }
            iVar13 = *local_30;
            iVar12 = iVar14;
          }
          *piVar7 = iVar13;
          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));
          local_30 = local_30 + 1;
          iVar13 = *local_30;
        } while (iVar13 != 0);
        local_28 = *(byte **)(local_28 + 0x28);
        iVar13 = iVar14;
      } while (local_28 != (byte *)0x0);
joined_r0x0003dbfe:
      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {
LAB_0003dc10:
        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);
        if (iVar8 != 0) {
          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;
          iVar13 = iVar13 + 1;
          FUN_0003cec0(puVar11[9],puVar11[10]);
          iVar14 = iVar13;
        }
      }
      if (iVar13 != 0) {
        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);
        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);
        return;
      }
    }
  }
  return;
}


CALL 0x00017d1a
ADD EAX,0x305fb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV EAX,dword ptr [EAX + 0x80]
MOV dword ptr [ESP + 0x10],EAX
TEST EAX,EAX
JZ 0x0003dc61
MOV EAX,dword ptr [EAX + 0xc]
XOR ECX,ECX
TEST EAX,EAX
JZ 0x0003da4d
LEA ESI,[ESI]
MOVZX EDX,byte ptr [EAX]
MOV EAX,dword ptr [EAX + 0x28]
AND EDX,0x20
CMP DL,0x1
ADC ECX,0x0
TEST EAX,EAX
JNZ 0x0003da38
ADD ECX,ECX
MOV EAX,dword ptr [ESP + 0x18]
XOR EBP,EBP
LEA EDX,[EAX + 0x99a4]
MOV EAX,dword ptr [EDX]
TEST EAX,EAX
JZ 0x0003da76
MOV EBX,dword ptr [EAX]
MOV ESI,dword ptr [ESP + 0x44]
CMP dword ptr [EAX + 0x4],ESI
JZ 0x0003dc69
MOV EDX,EAX
MOV EAX,EBX
TEST EAX,EAX
JNZ 0x0003da5f
MOV dword ptr [ESP + 0x8],EAX
SUB ESP,0x8
PUSH 0x4
PUSH ECX
MOV ESI,dword ptr [ESP + 0x28]
MOV EBX,ESI
CALL 0x00014790
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
MOV dword ptr [ESP],0x0
TEST EAX,EAX
JZ 0x0003dcfc
LEA EAX,[ESI + 0xfffe75b8]
MOV dword ptr [ESP + 0x1c],EAX
JMP 0x0003dad3
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX + 0x28]
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JZ 0x0003dbfc
MOV EBX,dword ptr [ESP + 0x14]
TEST byte ptr [EBX],0x20
JNZ 0x0003dac0
MOV EDX,dword ptr [EBX + 0x4]
MOVZX EAX,byte ptr [EBX + 0x2]
ADD EAX,dword ptr [EBX + 0x8]
MOV ESI,EAX
MOV ECX,dword ptr [EDX + 0x14]
SAR ESI,0x1f
CMP dword ptr [EDX + 0x10],EAX
SBB ECX,ESI
JL 0x0003dc79
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x50]
MOV EBX,dword ptr [ESP + 0x28]
CALL 0x000470f0
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x1c],EAX
ADD ESP,0x10
MOV EBX,dword ptr [ESP]
TEST EDX,EDX
JZ 0x0003dac0
LEA ESI,[ESI]
MOV EDI,dword ptr [ESP]
MOV EAX,dword ptr [ESP + 0x4]
LEA EAX,[EAX + EDI*0x4]
ADD EDI,0x1
MOV dword ptr [ESP],EDI
TEST EBP,EBP
JNZ 0x0003dba6
JMP 0x0003dbb4
MOV EDX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x8]
MOV ECX,EBP
LEA EDI,[EBX*0x4 + 0x0]
CALL 0x0003d8f0
LEA ECX,[EBX + 0x1]
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [ESP],ECX
ADD EAX,EDI
TEST ESI,ESI
JZ 0x0003db99
LEA EDX,[EBP + 0xc]
SUB ESP,0x8
MOV ECX,ESI
MOV dword ptr [EAX],EDX
PUSH dword ptr [EBP + 0x28]
PUSH dword ptr [EBP + 0x24]
MOV EAX,dword ptr [ESP + 0x54]
CALL 0x0003cec0
MOV EAX,dword ptr [ESP + 0x14]
LEA EDX,[EBX + 0x2]
ADD ESP,0x10
MOV EBX,dword ptr [ESP]
MOV dword ptr [ESP + 0x8],ESI
LEA EAX,[EAX + EDI*0x1 + 0x4]
MOV dword ptr [ESP],EDX
MOV EDI,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [EBP]
MOV EDX,dword ptr [EDI]
TEST EBP,EBP
JZ 0x0003dbb4
MOV ECX,dword ptr [EBP + 0x14]
MOV ESI,dword ptr [EDX + 0x4]
CMP dword ptr [EBP + 0x10],ESI
SBB ECX,dword ptr [EDX + 0x8]
JC 0x0003db40
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [ESP + 0x14]
SUB ESP,0x8
MOV ECX,dword ptr [EAX + 0x4]
PUSH dword ptr [EAX + 0x40]
PUSH dword ptr [EAX + 0x3c]
MOV EAX,dword ptr [ESP + 0x54]
CALL 0x0003cec0
ADD dword ptr [ESP + 0x1c],0x4
MOV EAX,dword ptr [ESP + 0x1c]
MOV EBX,dword ptr [ESP + 0x10]
ADD ESP,0x10
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JNZ 0x0003db20
MOV EAX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EAX + 0x28]
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JNZ 0x0003dad3
TEST EBP,EBP
JZ 0x0003dc5a
MOV ESI,dword ptr [ESP]
MOV EDI,dword ptr [ESP + 0x8]
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [ESP + 0x10]
MOV ECX,EBP
MOV EAX,EDI
CALL 0x0003d8f0
MOV EBX,EAX
TEST EAX,EAX
JZ 0x0003dc50
MOV EDI,dword ptr [ESP + 0x4]
LEA EAX,[ESI + 0x1]
LEA EDX,[EBP + 0xc]
SUB ESP,0x8
MOV dword ptr [ESP + 0x8],EAX
MOV ECX,EBX
MOV dword ptr [EDI + ESI*0x4],EDX
MOV EDI,EBX
PUSH dword ptr [EBP + 0x28]
PUSH dword ptr [EBP + 0x24]
MOV EAX,dword ptr [ESP + 0x54]
CALL 0x0003cec0
ADD ESP,0x10
MOV ESI,dword ptr [ESP]
MOV EBP,dword ptr [EBP]
TEST EBP,EBP
JNZ 0x0003dc10
MOV dword ptr [ESP],ESI
MOV EAX,dword ptr [ESP]
TEST EAX,EAX
JNZ 0x0003dcaa
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EDX],EBX
ADD ECX,0x1
MOV dword ptr [EAX],EBP
MOV EBP,EAX
MOV EAX,dword ptr [EDX]
JMP 0x0003da5b
SUB ESP,0x4
PUSH 0x5
PUSH dword ptr [ESP + 0x24]
PUSH 0x0
MOV ESI,dword ptr [ESP + 0x28]
MOV EBX,ESI
CALL 0x000141a0
ADD ESP,0xc
PUSH EAX
MOV EAX,dword ptr [ESP + 0x1c]
PUSH dword ptr [EAX + 0x40]
PUSH dword ptr [EAX + 0x3c]
CALL 0x0002bd40
ADD ESP,0x10
JMP 0x0003daf9
MOV EAX,dword ptr [ESP + 0x44]
SUB ESP,0x4
MOV EAX,dword ptr [EAX + 0x14]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0xc]
OR EAX,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x4c]
PUSH dword ptr [ESP + 0x4c]
MOV ESI,dword ptr [ESP + 0x28]
MOV EBX,ESI
CALL 0x00014730
LEA EAX,[ESI + 0x9804]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x4]
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x5c]
PUSH EAX
CALL dword ptr [EDX + 0x148]
ADD ESP,0x20
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR ESI,ESI
MOV EDI,dword ptr [ESP + 0x8]
TEST EBP,EBP
JNZ 0x0003dc10
JMP 0x0003dc61
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_0003da00(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0003da00(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003da00(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "iVar14 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar14 = *(int *)(param_2 + 0x80)" identifier = (pointer_expression "*(int *)(param_2 + 0x80)" * (cast_expression "(int *)(param_2 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }" { (expression_statement "pbVar3 = *(byte **)(iVar14 + 0xc);" (assignment_expression "pbVar3 = *(byte **)(iVar14 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar14 + 0xc)" * (cast_expression "(byte **)(iVar14 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar14 + 0xc)" ( (binary_expression "iVar14 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }" if (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }" { (do_statement "do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);" do (compound_statement "{\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      }" { (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "pbVar3 = *(byte **)(pbVar3 + 0x28);" (assignment_expression "pbVar3 = *(byte **)(pbVar3 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar3 + 0x28)" * (cast_expression "(byte **)(pbVar3 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar3 + 0x28)" ( (binary_expression "pbVar3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);" (assignment_expression "iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0)" identifier = (binary_expression "iVar10 + (uint)((bVar1 & 0x20) == 0)" identifier + (call_expression "(uint)((bVar1 & 0x20) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) ))))) ;) }) while (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar10 = iVar10 * 2;" (assignment_expression "iVar10 = iVar10 * 2" identifier = (binary_expression "iVar10 * 2" identifier * number_literal)) ;) })) (expression_statement "puVar6 = &DAT_000779a4;" (assignment_expression "puVar6 = &DAT_000779a4" identifier = (pointer_expression "&DAT_000779a4" & identifier)) ;) (expression_statement "puVar4 = DAT_000779a4;" (assignment_expression "puVar4 = DAT_000779a4" identifier = identifier) ;) (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }" while (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }" { (while_statement "while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }" while (parenthesized_expression "(puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2)" ( (comma_expression "puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2" (assignment_expression "puVar5 = puVar4" identifier = identifier) , (comma_expression "puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2" (assignment_expression "puVar4 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) , (binary_expression "puVar5[1] != param_2" (subscript_expression "puVar5[1]" identifier [ number_literal ]) != identifier))) )) (compound_statement "{\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003da76;" goto statement_identifier ;)) })) (expression_statement "*puVar6 = puVar4;" (assignment_expression "*puVar6 = puVar4" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = puVar11;" (assignment_expression "*puVar5 = puVar11" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar11 = puVar5;" (assignment_expression "puVar11 = puVar5" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)*puVar6;" (assignment_expression "puVar4 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) })) (labeled_statement "LAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);" statement_identifier : (expression_statement "iVar10 = xcalloc(iVar10,4);" (assignment_expression "iVar10 = xcalloc(iVar10,4)" identifier = (call_expression "xcalloc(iVar10,4)" identifier (argument_list "(iVar10,4)" ( identifier , number_literal )))) ;)) (expression_statement "local_28 = *(byte **)(iVar14 + 0xc);" (assignment_expression "local_28 = *(byte **)(iVar14 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar14 + 0xc)" * (cast_expression "(byte **)(iVar14 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar14 + 0xc)" ( (binary_expression "iVar14 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" if (parenthesized_expression "(local_28 == (byte *)0x0)" ( (binary_expression "local_28 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;" if (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" ( (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003dc10;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" else (compound_statement "{\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" { (do_statement "do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);" do (compound_statement "{\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      }" { (while_statement "while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }" while (parenthesized_expression "((*local_28 & 0x20) != 0)" ( (binary_expression "(*local_28 & 0x20) != 0" (parenthesized_expression "(*local_28 & 0x20)" ( (binary_expression "*local_28 & 0x20" (pointer_expression "*local_28" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }" { (labeled_statement "LAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);" statement_identifier : (expression_statement "local_28 = *(byte **)(local_28 + 0x28);" (assignment_expression "local_28 = *(byte **)(local_28 + 0x28)" identifier = (pointer_expression "*(byte **)(local_28 + 0x28)" * (cast_expression "(byte **)(local_28 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x28)" ( (binary_expression "local_28 + 0x28" identifier + number_literal) ))))) ;)) (expression_statement "iVar13 = iVar14;" (assignment_expression "iVar13 = iVar14" identifier = identifier) ;) (if_statement "if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;" if (parenthesized_expression "(local_28 == (byte *)0x0)" ( (binary_expression "local_28 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0003dbfe;" goto statement_identifier ;)) })) (expression_statement "iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);" (assignment_expression "iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(local_28 + 4) + 0x14)" * (cast_expression "(int *)(*(int *)(local_28 + 4) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(local_28 + 4) + 0x14)" ( (binary_expression "*(int *)(local_28 + 4) + 0x14" (pointer_expression "*(int *)(local_28 + 4)" * (cast_expression "(int *)(local_28 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 4)" ( (binary_expression "local_28 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;" (assignment_expression "iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f" identifier = (binary_expression "(int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f" (cast_expression "(int)((uint)local_28[2] + *(int *)(local_28 + 8))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)local_28[2] + *(int *)(local_28 + 8))" ( (binary_expression "(uint)local_28[2] + *(int *)(local_28 + 8)" (cast_expression "(uint)local_28[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(local_28 + 8)" * (cast_expression "(int *)(local_28 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 8)" ( (binary_expression "local_28 + 8" identifier + number_literal) ))))) ))) >> number_literal)) ;) (expression_statement "uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));" (assignment_expression "uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" identifier = (call_expression "(uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" ( (binary_expression "*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8)" (pointer_expression "*(uint *)(*(int *)(local_28 + 4) + 0x10)" * (cast_expression "(uint *)(*(int *)(local_28 + 4) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(local_28 + 4) + 0x10)" ( (binary_expression "*(int *)(local_28 + 4) + 0x10" (pointer_expression "*(int *)(local_28 + 4)" * (cast_expression "(int *)(local_28 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 4)" ( (binary_expression "local_28 + 4" identifier + number_literal) )))) + number_literal) )))) < (binary_expression "(uint)local_28[2] + *(int *)(local_28 + 8)" (cast_expression "(uint)local_28[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(local_28 + 8)" * (cast_expression "(int *)(local_28 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 8)" ( (binary_expression "local_28 + 8" identifier + number_literal) )))))) )))) ;) (expression_statement "iVar8 = iVar13 - iVar12;" (assignment_expression "iVar8 = iVar13 - iVar12" identifier = (binary_expression "iVar13 - iVar12" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }" if (parenthesized_expression "((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0)" ( (binary_expression "(SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0" (parenthesized_expression "(SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2))" ( (binary_expression "SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)" (call_expression "SBORROW4(iVar13,iVar12)" identifier (argument_list "(iVar13,iVar12)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar8,uVar2)" identifier (argument_list "(iVar8,uVar2)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar8 - uVar2) < 0" (cast_expression "(int)(iVar8 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar8 - uVar2)" ( (binary_expression "iVar8 - uVar2" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }" { (expression_statement "uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5)" identifier = (call_expression "dcgettext(0,"internal error: fixup not contained within frag",5)" identifier (argument_list "(0,"internal error: fixup not contained within frag",5)" ( number_literal , (string_literal ""internal error: fixup not contained within frag"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);" (call_expression "FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9)" identifier (argument_list "(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9)" ( (pointer_expression "*(undefined4 *)(local_28 + 0x3c)" * (cast_expression "(undefined4 *)(local_28 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x3c)" ( (binary_expression "local_28 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(local_28 + 0x40)" * (cast_expression "(undefined4 *)(local_28 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x40)" ( (binary_expression "local_28 + 0x40" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "local_30 = (int *)FUN_000470f0(param_2,local_28);" (assignment_expression "local_30 = (int *)FUN_000470f0(param_2,local_28)" identifier = (cast_expression "(int *)FUN_000470f0(param_2,local_28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000470f0(param_2,local_28)" identifier (argument_list "(param_2,local_28)" ( identifier , identifier ))))) ;) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) (if_statement "if (iVar13 == 0) goto LAB_0003dac0;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003dac0;" goto statement_identifier ;)) (do_statement "do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);" do (compound_statement "{\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        }" { (expression_statement "piVar7 = (int *)(iVar10 + iVar14 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + iVar14 * 4)" identifier = (cast_expression "(int *)(iVar10 + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar14 * 4)" ( (binary_expression "iVar10 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar8 = iVar14 + 1;" (assignment_expression "iVar8 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar14;" (assignment_expression "iVar12 = iVar14" identifier = identifier) ;) (for_statement "for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }" for ( ; (parenthesized_expression "(iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))))" ( (comma_expression "iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (assignment_expression "iVar14 = iVar8" identifier = identifier) , (binary_expression "puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" ( (binary_expression "(uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (binary_expression "(uint)puVar11[5] < *(uint *)(iVar13 + 8)" (cast_expression "(uint)puVar11[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar11[5]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar13 + 8)" * (cast_expression "(uint *)(iVar13 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) ))))) || (binary_expression "puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (binary_expression "puVar11[5] - *(uint *)(iVar13 + 8)" (subscript_expression "puVar11[5]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(iVar13 + 8)" * (cast_expression "(uint *)(iVar13 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) ))))) < (call_expression "(uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)puVar11[4] < *(uint *)(iVar13 + 4))" ( (binary_expression "(uint)puVar11[4] < *(uint *)(iVar13 + 4)" (cast_expression "(uint)puVar11[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar11[4]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar13 + 4)" * (cast_expression "(uint *)(iVar13 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) ))))) ))))) )))) )) ; (assignment_expression "puVar11 = (undefined4 *)*puVar11" identifier = (cast_expression "(undefined4 *)*puVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ) (compound_statement "{\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }" { (expression_statement "puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);" (assignment_expression "puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier = (cast_expression "(undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier (argument_list "(iVar14,iVar10,puVar4)" ( identifier , identifier , identifier ))))) ;) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "piVar7 = (int *)(iVar10 + iVar12 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + iVar12 * 4)" identifier = (cast_expression "(int *)(iVar10 + iVar12 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 4)" ( (binary_expression "iVar10 + iVar12 * 4" identifier + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar14 = iVar12;" (assignment_expression "iVar14 = iVar12" identifier = identifier) ;) (if_statement "if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }" if (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" ( (binary_expression "puVar6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }" { (expression_statement "*piVar7 = (int)(puVar11 + 3);" (assignment_expression "*piVar7 = (int)(puVar11 + 3)" (pointer_expression "*piVar7" * identifier) = (cast_expression "(int)(puVar11 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar11 + 3)" ( (binary_expression "puVar11 + 3" identifier + number_literal) )))) ;) (expression_statement "iVar14 = iVar8;" (assignment_expression "iVar14 = iVar8" identifier = identifier) ;) (expression_statement "FUN_0003cec0(puVar11[9],puVar11[10]);" (call_expression "FUN_0003cec0(puVar11[9],puVar11[10])" identifier (argument_list "(puVar11[9],puVar11[10])" ( (subscript_expression "puVar11[9]" identifier [ number_literal ]) , (subscript_expression "puVar11[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar8 = iVar12 + 2;" (assignment_expression "iVar8 = iVar12 + 2" identifier = (binary_expression "iVar12 + 2" identifier + number_literal)) ;) (expression_statement "piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + 4 + iVar12 * 4)" identifier = (cast_expression "(int *)(iVar10 + 4 + iVar12 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 4)" ( (binary_expression "iVar10 + 4 + iVar12 * 4" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) })) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) (expression_statement "iVar12 = iVar14;" (assignment_expression "iVar12 = iVar14" identifier = identifier) ;) })) (expression_statement "*piVar7 = iVar13;" (assignment_expression "*piVar7 = iVar13" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));" (call_expression "FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40))" identifier (argument_list "(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40))" ( (pointer_expression "*(undefined4 *)(local_28 + 0x3c)" * (cast_expression "(undefined4 *)(local_28 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x3c)" ( (binary_expression "local_28 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(local_28 + 0x40)" * (cast_expression "(undefined4 *)(local_28 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x40)" ( (binary_expression "local_28 + 0x40" identifier + number_literal) )))) ))) ;) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) }) while (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) ;) (expression_statement "local_28 = *(byte **)(local_28 + 0x28);" (assignment_expression "local_28 = *(byte **)(local_28 + 0x28)" identifier = (pointer_expression "*(byte **)(local_28 + 0x28)" * (cast_expression "(byte **)(local_28 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x28)" ( (binary_expression "local_28 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = iVar14;" (assignment_expression "iVar13 = iVar14" identifier = identifier) ;) }) while (parenthesized_expression "(local_28 != (byte *)0x0)" ( (binary_expression "local_28 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "joined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" statement_identifier : (for_statement "for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" for ( ; (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar11 = (undefined4 *)*puVar11" identifier = (cast_expression "(undefined4 *)*puVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ) (compound_statement "{\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" { (labeled_statement "LAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);" statement_identifier : (expression_statement "iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);" (assignment_expression "iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier = (call_expression "FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier (argument_list "(iVar14,iVar10,puVar4)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }" { (expression_statement "*(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;" (assignment_expression "*(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3" (pointer_expression "*(undefined4 **)(iVar10 + iVar13 * 4)" * (cast_expression "(undefined4 **)(iVar10 + iVar13 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + iVar13 * 4)" ( (binary_expression "iVar10 + iVar13 * 4" identifier + (binary_expression "iVar13 * 4" identifier * number_literal)) )))) = (binary_expression "puVar11 + 3" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0003cec0(puVar11[9],puVar11[10]);" (call_expression "FUN_0003cec0(puVar11[9],puVar11[10])" identifier (argument_list "(puVar11[9],puVar11[10])" ( (subscript_expression "puVar11[9]" identifier [ number_literal ]) , (subscript_expression "puVar11[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar14 = iVar13;" (assignment_expression "iVar14 = iVar13" identifier = identifier) ;) })) }))) (if_statement "if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }" { (expression_statement "bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);" (call_expression "bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4)" identifier (argument_list "(param_1,param_2,*(uint *)(param_2 + 0x14) | 4)" ( identifier , identifier , (binary_expression "*(uint *)(param_2 + 0x14) | 4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (expression_statement "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);" (call_expression "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))" ( (pointer_expression "**(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" * (pointer_expression "*(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" * (cast_expression "(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00077804 + 4) + 0x148)" ( (binary_expression "*(int *)(DAT_00077804 + 4) + 0x148" (pointer_expression "*(int *)(DAT_00077804 + 4)" * (cast_expression "(int *)(DAT_00077804 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00077804 + 4)" ( (binary_expression "DAT_00077804 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00077804,param_2,iVar10,iVar13)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid write_relocs(bfd *abfd,asection *sec,void *xxx)\n\n{\n  uint *puVar1;\n  segment_info_type *seginfo;\n  uint uVar2;\n  int iVar3;\n  fixS fVar4;\n  fix *pfVar5;\n  arelent **ppaVar6;\n  uint uVar7;\n  arelent **ppaVar8;\n  fragS *pfVar9;\n  char *format;\n  int iVar10;\n  reloc_list **pprVar11;\n  arelent *paVar12;\n  fragS *r;\n  int iVar13;\n  uint local_3c;\n  fragS *local_34;\n  arelent **local_30;\n  fixS *local_28;\n  \n  seginfo = (segment_info_type *)sec->userdata;\n  if (seginfo != (segment_info_type *)0x0) {\n    pfVar5 = seginfo->fix_root;\n    iVar10 = 0;\n    if (pfVar5 != (fixS *)0x0) {\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    pprVar11 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (local_34 != (fragS *)0x0) {\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }\nLAB_0003da76:\n    ppaVar6 = (arelent **)xcalloc(iVar10,4);\n    local_28 = seginfo->fix_root;\n    local_3c = 0;\n    if (local_28 == (fixS *)0x0) {\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" comment comment (function_definition "void write_relocs(bfd *abfd,asection *sec,void *xxx)\n\n{\n  uint *puVar1;\n  segment_info_type *seginfo;\n  uint uVar2;\n  int iVar3;\n  fixS fVar4;\n  fix *pfVar5;\n  arelent **ppaVar6;\n  uint uVar7;\n  arelent **ppaVar8;\n  fragS *pfVar9;\n  char *format;\n  int iVar10;\n  reloc_list **pprVar11;\n  arelent *paVar12;\n  fragS *r;\n  int iVar13;\n  uint local_3c;\n  fragS *local_34;\n  arelent **local_30;\n  fixS *local_28;\n  \n  seginfo = (segment_info_type *)sec->userdata;\n  if (seginfo != (segment_info_type *)0x0) {\n    pfVar5 = seginfo->fix_root;\n    iVar10 = 0;\n    if (pfVar5 != (fixS *)0x0) {\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    pprVar11 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (local_34 != (fragS *)0x0) {\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }\nLAB_0003da76:\n    ppaVar6 = (arelent **)xcalloc(iVar10,4);\n    local_28 = seginfo->fix_root;\n    local_3c = 0;\n    if (local_28 == (fixS *)0x0) {\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "write_relocs(bfd *abfd,asection *sec,void *xxx)" identifier (parameter_list "(bfd *abfd,asection *sec,void *xxx)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "void *xxx" primitive_type (pointer_declarator "*xxx" * identifier)) ))) (compound_statement "{\n  uint *puVar1;\n  segment_info_type *seginfo;\n  uint uVar2;\n  int iVar3;\n  fixS fVar4;\n  fix *pfVar5;\n  arelent **ppaVar6;\n  uint uVar7;\n  arelent **ppaVar8;\n  fragS *pfVar9;\n  char *format;\n  int iVar10;\n  reloc_list **pprVar11;\n  arelent *paVar12;\n  fragS *r;\n  int iVar13;\n  uint local_3c;\n  fragS *local_34;\n  arelent **local_30;\n  fixS *local_28;\n  \n  seginfo = (segment_info_type *)sec->userdata;\n  if (seginfo != (segment_info_type *)0x0) {\n    pfVar5 = seginfo->fix_root;\n    iVar10 = 0;\n    if (pfVar5 != (fixS *)0x0) {\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    pprVar11 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (local_34 != (fragS *)0x0) {\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }\nLAB_0003da76:\n    ppaVar6 = (arelent **)xcalloc(iVar10,4);\n    local_28 = seginfo->fix_root;\n    local_3c = 0;\n    if (local_28 == (fixS *)0x0) {\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "segment_info_type *seginfo;" type_identifier (pointer_declarator "*seginfo" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "fixS fVar4;" type_identifier identifier ;) (declaration "fix *pfVar5;" type_identifier (pointer_declarator "*pfVar5" * identifier) ;) (declaration "arelent **ppaVar6;" type_identifier (pointer_declarator "**ppaVar6" * (pointer_declarator "*ppaVar6" * identifier)) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "arelent **ppaVar8;" type_identifier (pointer_declarator "**ppaVar8" * (pointer_declarator "*ppaVar8" * identifier)) ;) (declaration "fragS *pfVar9;" type_identifier (pointer_declarator "*pfVar9" * identifier) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "reloc_list **pprVar11;" type_identifier (pointer_declarator "**pprVar11" * (pointer_declarator "*pprVar11" * identifier)) ;) (declaration "arelent *paVar12;" type_identifier (pointer_declarator "*paVar12" * identifier) ;) (declaration "fragS *r;" type_identifier (pointer_declarator "*r" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "fragS *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "arelent **local_30;" type_identifier (pointer_declarator "**local_30" * (pointer_declarator "*local_30" * identifier)) ;) (declaration "fixS *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "seginfo = (segment_info_type *)sec->userdata;" (assignment_expression "seginfo = (segment_info_type *)sec->userdata" identifier = (cast_expression "(segment_info_type *)sec->userdata" ( (type_descriptor "segment_info_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "sec->userdata" identifier -> field_identifier))) ;) (if_statement "if (seginfo != (segment_info_type *)0x0) {\n    pfVar5 = seginfo->fix_root;\n    iVar10 = 0;\n    if (pfVar5 != (fixS *)0x0) {\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    pprVar11 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (local_34 != (fragS *)0x0) {\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }\nLAB_0003da76:\n    ppaVar6 = (arelent **)xcalloc(iVar10,4);\n    local_28 = seginfo->fix_root;\n    local_3c = 0;\n    if (local_28 == (fixS *)0x0) {\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(seginfo != (segment_info_type *)0x0)" ( (binary_expression "seginfo != (segment_info_type *)0x0" identifier != (cast_expression "(segment_info_type *)0x0" ( (type_descriptor "segment_info_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pfVar5 = seginfo->fix_root;\n    iVar10 = 0;\n    if (pfVar5 != (fixS *)0x0) {\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    pprVar11 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (local_34 != (fragS *)0x0) {\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }\nLAB_0003da76:\n    ppaVar6 = (arelent **)xcalloc(iVar10,4);\n    local_28 = seginfo->fix_root;\n    local_3c = 0;\n    if (local_28 == (fixS *)0x0) {\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }\n  }" { (expression_statement "pfVar5 = seginfo->fix_root;" (assignment_expression "pfVar5 = seginfo->fix_root" identifier = (field_expression "seginfo->fix_root" identifier -> field_identifier)) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (pfVar5 != (fixS *)0x0) {\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }" if (parenthesized_expression "(pfVar5 != (fixS *)0x0)" ( (binary_expression "pfVar5 != (fixS *)0x0" identifier != (cast_expression "(fixS *)0x0" ( (type_descriptor "fixS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);\n      iVar10 = iVar10 * 2;\n    }" { (do_statement "do {\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      } while (pfVar5 != (fix *)0x0);" do (compound_statement "{\n        fVar4 = *pfVar5;\n        pfVar5 = pfVar5->fx_next;\n        iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);\n      }" { (expression_statement "fVar4 = *pfVar5;" (assignment_expression "fVar4 = *pfVar5" identifier = (pointer_expression "*pfVar5" * identifier)) ;) (expression_statement "pfVar5 = pfVar5->fx_next;" (assignment_expression "pfVar5 = pfVar5->fx_next" identifier = (field_expression "pfVar5->fx_next" identifier -> field_identifier)) ;) (expression_statement "iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0);" (assignment_expression "iVar10 = iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0)" identifier = (binary_expression "iVar10 + (uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0)" identifier + (call_expression "(uint)((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0)" ( (binary_expression "(undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20) ==\n                                (undefined1  [76])0x0" (call_expression "(undefined1  [76])\n                                 ((undefined1  [76])fVar4 & (undefined1  [76])0x20)" (parenthesized_expression "(undefined1  [76])" ( (subscript_expression "undefined1  [76]" identifier [ number_literal ]) )) (argument_list "((undefined1  [76])fVar4 & (undefined1  [76])0x20)" ( (binary_expression "(undefined1  [76])fVar4 & (undefined1  [76])0x20" (cast_expression "(undefined1  [76])fVar4" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) identifier) & (cast_expression "(undefined1  [76])0x20" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) number_literal)) ))) == (cast_expression "(undefined1  [76])0x0" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) number_literal)) ))))) ;) }) while (parenthesized_expression "(pfVar5 != (fix *)0x0)" ( (binary_expression "pfVar5 != (fix *)0x0" identifier != (cast_expression "(fix *)0x0" ( (type_descriptor "fix *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar10 = iVar10 * 2;" (assignment_expression "iVar10 = iVar10 * 2" identifier = (binary_expression "iVar10 * 2" identifier * number_literal)) ;) })) (expression_statement "pprVar11 = &reloc_list;" (assignment_expression "pprVar11 = &reloc_list" identifier = (pointer_expression "&reloc_list" & identifier)) ;) (expression_statement "local_34 = (fragS *)reloc_list;" (assignment_expression "local_34 = (fragS *)reloc_list" identifier = (cast_expression "(fragS *)reloc_list" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "r = (fragS *)0x0;" (assignment_expression "r = (fragS *)0x0" identifier = (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while (local_34 != (fragS *)0x0) {\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }" while (parenthesized_expression "(local_34 != (fragS *)0x0)" ( (binary_expression "local_34 != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }\n      *(fragS **)&((fragS *)pprVar11)->fr_address = local_34;\n      iVar10 = iVar10 + 1;\n      *(fragS **)&pfVar9->fr_address = r;\n      r = pfVar9;\n      local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;\n    }" { (while_statement "while (pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }" while (parenthesized_expression "(pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec)" ( (comma_expression "pfVar9 = local_34, local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec" (assignment_expression "pfVar9 = local_34" identifier = identifier) , (comma_expression "local_34 = *(fragS **)&pfVar9->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec" (assignment_expression "local_34 = *(fragS **)&pfVar9->fr_address" identifier = (pointer_expression "*(fragS **)&pfVar9->fr_address" * (cast_expression "(fragS **)&pfVar9->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pfVar9->fr_address" & (field_expression "pfVar9->fr_address" identifier -> field_identifier))))) , (binary_expression "(asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym !=\n            sec" (cast_expression "(asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a).offset_sym" (parenthesized_expression "(((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a)" ( (field_expression "((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))->a" (parenthesized_expression "((anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4))" ( (cast_expression "(anon_union_32_2_94730002_for_u *)((int)&pfVar9->fr_address + 4)" ( (type_descriptor "anon_union_32_2_94730002_for_u *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pfVar9->fr_address + 4)" ( (binary_expression "(int)&pfVar9->fr_address + 4" (cast_expression "(int)&pfVar9->fr_address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pfVar9->fr_address" & (field_expression "pfVar9->fr_address" identifier -> field_identifier))) + number_literal) ))) )) -> field_identifier) )) . field_identifier)) != identifier))) )) (compound_statement "{\n        pprVar11 = (reloc_list **)pfVar9;\n        if (local_34 == (fragS *)0x0) goto LAB_0003da76;\n      }" { (expression_statement "pprVar11 = (reloc_list **)pfVar9;" (assignment_expression "pprVar11 = (reloc_list **)pfVar9" identifier = (cast_expression "(reloc_list **)pfVar9" ( (type_descriptor "reloc_list **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (if_statement "if (local_34 == (fragS *)0x0) goto LAB_0003da76;" if (parenthesized_expression "(local_34 == (fragS *)0x0)" ( (binary_expression "local_34 == (fragS *)0x0" identifier == (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003da76;" goto statement_identifier ;)) })) (expression_statement "*(fragS **)&((fragS *)pprVar11)->fr_address = local_34;" (assignment_expression "*(fragS **)&((fragS *)pprVar11)->fr_address = local_34" (pointer_expression "*(fragS **)&((fragS *)pprVar11)->fr_address" * (cast_expression "(fragS **)&((fragS *)pprVar11)->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&((fragS *)pprVar11)->fr_address" & (field_expression "((fragS *)pprVar11)->fr_address" (parenthesized_expression "((fragS *)pprVar11)" ( (cast_expression "(fragS *)pprVar11" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)))) = identifier) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*(fragS **)&pfVar9->fr_address = r;" (assignment_expression "*(fragS **)&pfVar9->fr_address = r" (pointer_expression "*(fragS **)&pfVar9->fr_address" * (cast_expression "(fragS **)&pfVar9->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pfVar9->fr_address" & (field_expression "pfVar9->fr_address" identifier -> field_identifier)))) = identifier) ;) (expression_statement "r = pfVar9;" (assignment_expression "r = pfVar9" identifier = identifier) ;) (expression_statement "local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address;" (assignment_expression "local_34 = *(fragS **)&((fragS *)pprVar11)->fr_address" identifier = (pointer_expression "*(fragS **)&((fragS *)pprVar11)->fr_address" * (cast_expression "(fragS **)&((fragS *)pprVar11)->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&((fragS *)pprVar11)->fr_address" & (field_expression "((fragS *)pprVar11)->fr_address" (parenthesized_expression "((fragS *)pprVar11)" ( (cast_expression "(fragS *)pprVar11" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))))) ;) })) (labeled_statement "LAB_0003da76:\n    ppaVar6 = (arelent **)xcalloc(iVar10,4);" statement_identifier : (expression_statement "ppaVar6 = (arelent **)xcalloc(iVar10,4);" (assignment_expression "ppaVar6 = (arelent **)xcalloc(iVar10,4)" identifier = (cast_expression "(arelent **)xcalloc(iVar10,4)" ( (type_descriptor "arelent **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xcalloc(iVar10,4)" identifier (argument_list "(iVar10,4)" ( identifier , number_literal ))))) ;)) (expression_statement "local_28 = seginfo->fix_root;" (assignment_expression "local_28 = seginfo->fix_root" identifier = (field_expression "seginfo->fix_root" identifier -> field_identifier)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (if_statement "if (local_28 == (fixS *)0x0) {\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }" if (parenthesized_expression "(local_28 == (fixS *)0x0)" ( (binary_expression "local_28 == (fixS *)0x0" identifier == (cast_expression "(fixS *)0x0" ( (type_descriptor "fixS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_3c = 0;\n      if (r != (fragS *)0x0) goto LAB_0003dc10;\n    }" { (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (if_statement "if (r != (fragS *)0x0) goto LAB_0003dc10;" if (parenthesized_expression "(r != (fragS *)0x0)" ( (binary_expression "r != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003dc10;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }" else (compound_statement "{\n      do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);\njoined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }\n    }" { (do_statement "do {\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      } while (local_28 != (fix *)0x0);" do (compound_statement "{\n        while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }\n        uVar7 = (uint)local_28->fx_size + local_28->fx_where;\n        iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);\n        iVar13 = (int)uVar7 >> 0x1f;\n        uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);\n        iVar3 = iVar10 - iVar13;\n        if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }\n        local_30 = tc_gen_reloc(sec,local_28);\n        paVar12 = *local_30;\n        if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;\n        do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);\n        local_28 = local_28->fx_next;\n      }" { (while_statement "while ((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0) {\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }" while (parenthesized_expression "((undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0)" ( (binary_expression "(undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20) !=\n               (undefined1  [76])0x0" (call_expression "(undefined1  [76])((undefined1  [76])*local_28 & (undefined1  [76])0x20)" (parenthesized_expression "(undefined1  [76])" ( (subscript_expression "undefined1  [76]" identifier [ number_literal ]) )) (argument_list "((undefined1  [76])*local_28 & (undefined1  [76])0x20)" ( (binary_expression "(undefined1  [76])*local_28 & (undefined1  [76])0x20" (binary_expression "(undefined1  [76])*local_28" (parenthesized_expression "(undefined1  [76])" ( (subscript_expression "undefined1  [76]" identifier [ number_literal ]) )) * identifier) & (cast_expression "(undefined1  [76])0x20" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) number_literal)) ))) != (cast_expression "(undefined1  [76])0x0" ( (type_descriptor "undefined1  [76]" type_identifier (abstract_array_declarator "[76]" [ number_literal ])) ) number_literal)) )) (compound_statement "{\nLAB_0003dac0:\n          local_28 = local_28->fx_next;\n          if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;\n        }" { (labeled_statement "LAB_0003dac0:\n          local_28 = local_28->fx_next;" statement_identifier : (expression_statement "local_28 = local_28->fx_next;" (assignment_expression "local_28 = local_28->fx_next" identifier = (field_expression "local_28->fx_next" identifier -> field_identifier)) ;)) (if_statement "if (local_28 == (fix *)0x0) goto joined_r0x0003dbfe;" if (parenthesized_expression "(local_28 == (fix *)0x0)" ( (binary_expression "local_28 == (fix *)0x0" identifier == (cast_expression "(fix *)0x0" ( (type_descriptor "fix *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0003dbfe;" goto statement_identifier ;)) })) (expression_statement "uVar7 = (uint)local_28->fx_size + local_28->fx_where;" (assignment_expression "uVar7 = (uint)local_28->fx_size + local_28->fx_where" identifier = (binary_expression "(uint)local_28->fx_size + local_28->fx_where" (cast_expression "(uint)local_28->fx_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "local_28->fx_size" identifier -> field_identifier)) + (field_expression "local_28->fx_where" identifier -> field_identifier))) ;) (expression_statement "iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4);" (assignment_expression "iVar10 = *(int *)((int)&local_28->fx_frag->fr_fix + 4)" identifier = (pointer_expression "*(int *)((int)&local_28->fx_frag->fr_fix + 4)" * (cast_expression "(int *)((int)&local_28->fx_frag->fr_fix + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_28->fx_frag->fr_fix + 4)" ( (binary_expression "(int)&local_28->fx_frag->fr_fix + 4" (cast_expression "(int)&local_28->fx_frag->fr_fix" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_28->fx_frag->fr_fix" & (field_expression "local_28->fx_frag->fr_fix" (field_expression "local_28->fx_frag" identifier -> field_identifier) -> field_identifier))) + number_literal) ))))) ;) (expression_statement "iVar13 = (int)uVar7 >> 0x1f;" (assignment_expression "iVar13 = (int)uVar7 >> 0x1f" identifier = (binary_expression "(int)uVar7 >> 0x1f" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7);" (assignment_expression "uVar7 = (uint)((uint)local_28->fx_frag->fr_fix < uVar7)" identifier = (call_expression "(uint)((uint)local_28->fx_frag->fr_fix < uVar7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)local_28->fx_frag->fr_fix < uVar7)" ( (binary_expression "(uint)local_28->fx_frag->fr_fix < uVar7" (cast_expression "(uint)local_28->fx_frag->fr_fix" ( (type_descriptor "uint" type_identifier) ) (field_expression "local_28->fx_frag->fr_fix" (field_expression "local_28->fx_frag" identifier -> field_identifier) -> field_identifier)) < identifier) )))) ;) (expression_statement "iVar3 = iVar10 - iVar13;" (assignment_expression "iVar3 = iVar10 - iVar13" identifier = (binary_expression "iVar10 - iVar13" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }" if (parenthesized_expression "((SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0)" ( (binary_expression "(SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)) != (int)(iVar3 - uVar7) < 0" (parenthesized_expression "(SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7))" ( (binary_expression "SBORROW4(iVar10,iVar13) != SBORROW4(iVar3,uVar7)" (call_expression "SBORROW4(iVar10,iVar13)" identifier (argument_list "(iVar10,iVar13)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar3,uVar7)" identifier (argument_list "(iVar3,uVar7)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar7) < 0" (cast_expression "(int)(iVar3 - uVar7)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar7)" ( (binary_expression "iVar3 - uVar7" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(local_28->fx_file,local_28->fx_line,format);\n        }" { (expression_statement "format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5)" identifier = (cast_expression "(char *)dcgettext(0,"internal error: fixup not contained within frag",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"internal error: fixup not contained within frag",5)" identifier (argument_list "(0,"internal error: fixup not contained within frag",5)" ( number_literal , (string_literal ""internal error: fixup not contained within frag"" " string_content ") , number_literal ))))) ;) (expression_statement "as_bad_where(local_28->fx_file,local_28->fx_line,format);" (call_expression "as_bad_where(local_28->fx_file,local_28->fx_line,format)" identifier (argument_list "(local_28->fx_file,local_28->fx_line,format)" ( (field_expression "local_28->fx_file" identifier -> field_identifier) , (field_expression "local_28->fx_line" identifier -> field_identifier) , identifier ))) ;) })) (expression_statement "local_30 = tc_gen_reloc(sec,local_28);" (assignment_expression "local_30 = tc_gen_reloc(sec,local_28)" identifier = (call_expression "tc_gen_reloc(sec,local_28)" identifier (argument_list "(sec,local_28)" ( identifier , identifier )))) ;) (expression_statement "paVar12 = *local_30;" (assignment_expression "paVar12 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) (if_statement "if (paVar12 == (arelent *)0x0) goto LAB_0003dac0;" if (parenthesized_expression "(paVar12 == (arelent *)0x0)" ( (binary_expression "paVar12 == (arelent *)0x0" identifier == (cast_expression "(arelent *)0x0" ( (type_descriptor "arelent *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003dac0;" goto statement_identifier ;)) (do_statement "do {\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        } while (paVar12 != (arelent *)0x0);" do (compound_statement "{\n          ppaVar8 = ppaVar6 + local_3c;\n          uVar2 = local_3c + 1;\n          uVar7 = local_3c;\n          while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }\n          *ppaVar8 = paVar12;\n          install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);\n          local_30 = local_30 + 1;\n          paVar12 = *local_30;\n        }" { (expression_statement "ppaVar8 = ppaVar6 + local_3c;" (assignment_expression "ppaVar8 = ppaVar6 + local_3c" identifier = (binary_expression "ppaVar6 + local_3c" identifier + identifier)) ;) (expression_statement "uVar2 = local_3c + 1;" (assignment_expression "uVar2 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = local_3c;" (assignment_expression "uVar7 = local_3c" identifier = identifier) ;) (while_statement "while ((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))) {\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }" while (parenthesized_expression "((local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address))))" ( (parenthesized_expression "(local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)))" ( (comma_expression "local_3c = uVar2, r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address))" (assignment_expression "local_3c = uVar2" identifier = identifier) , (binary_expression "r != (fragS *)0x0 &&\n                 (uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address))" (binary_expression "r != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address))" ( (comma_expression "uVar2 = *(uint *)((int)&r->fr_fix + 4),\n                 puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)" (assignment_expression "uVar2 = *(uint *)((int)&r->fr_fix + 4)" identifier = (pointer_expression "*(uint *)((int)&r->fr_fix + 4)" * (cast_expression "(uint *)((int)&r->fr_fix + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&r->fr_fix + 4)" ( (binary_expression "(int)&r->fr_fix + 4" (cast_expression "(int)&r->fr_fix" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&r->fr_fix" & (field_expression "r->fr_fix" identifier -> field_identifier))) + number_literal) ))))) , (comma_expression "puVar1 = (uint *)((int)&paVar12->address + 4),\n                 uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)" (assignment_expression "puVar1 = (uint *)((int)&paVar12->address + 4)" identifier = (cast_expression "(uint *)((int)&paVar12->address + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar12->address + 4)" ( (binary_expression "(int)&paVar12->address + 4" (cast_expression "(int)&paVar12->address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar12->address" & (field_expression "paVar12->address" identifier -> field_identifier))) + number_literal) )))) , (binary_expression "uVar2 < *puVar1 ||\n                 uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)" (binary_expression "uVar2 < *puVar1" identifier < (pointer_expression "*puVar1" * identifier)) || (binary_expression "uVar2 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar12->address)" (binary_expression "uVar2 - *puVar1" identifier - (pointer_expression "*puVar1" * identifier)) < (call_expression "(uint)((uint)r->fr_fix < (uint)paVar12->address)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)r->fr_fix < (uint)paVar12->address)" ( (binary_expression "(uint)r->fr_fix < (uint)paVar12->address" (cast_expression "(uint)r->fr_fix" ( (type_descriptor "uint" type_identifier) ) (field_expression "r->fr_fix" identifier -> field_identifier)) < (cast_expression "(uint)paVar12->address" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar12->address" identifier -> field_identifier))) ))))))) )))) )) )) (compound_statement "{\n            pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar6 + uVar7;\n            local_3c = uVar7 + 1;\n            if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }\n            r = *(fragS **)&r->fr_address;\n            paVar12 = *local_30;\n            uVar2 = local_3c;\n          }" { (expression_statement "pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);" (assignment_expression "pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r)" identifier = (call_expression "get_frag_for_reloc(local_34,seginfo,(reloc_list *)r)" identifier (argument_list "(local_34,seginfo,(reloc_list *)r)" ( identifier , identifier , (cast_expression "(reloc_list *)r" ( (type_descriptor "reloc_list *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "ppaVar8 = ppaVar6 + uVar7;" (assignment_expression "ppaVar8 = ppaVar6 + uVar7" identifier = (binary_expression "ppaVar6 + uVar7" identifier + identifier)) ;) (expression_statement "local_3c = uVar7 + 1;" (assignment_expression "local_3c = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (if_statement "if (pfVar9 != (fragS *)0x0) {\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }" if (parenthesized_expression "(pfVar9 != (fragS *)0x0)" ( (binary_expression "pfVar9 != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = paVar12;\n              install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );\n              local_3c = uVar7 + 2;\n              ppaVar8 = ppaVar6 + uVar7 + 1;\n              uVar7 = uVar7 + 1;\n              local_34 = pfVar9;\n            }" { (expression_statement "paVar12 = (arelent *)((int)&r->last_fr_address + 4);" (assignment_expression "paVar12 = (arelent *)((int)&r->last_fr_address + 4)" identifier = (cast_expression "(arelent *)((int)&r->last_fr_address + 4)" ( (type_descriptor "arelent *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&r->last_fr_address + 4)" ( (binary_expression "(int)&r->last_fr_address + 4" (cast_expression "(int)&r->last_fr_address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&r->last_fr_address" & (field_expression "r->last_fr_address" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "*ppaVar8 = paVar12;" (assignment_expression "*ppaVar8 = paVar12" (pointer_expression "*ppaVar8" * identifier) = identifier) ;) (expression_statement "install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           );" (call_expression "install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           )" identifier (argument_list "(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol\n                           )" ( identifier , identifier , identifier , (pointer_expression "*(char **)((int)&r->fr_offset + 4)" * (cast_expression "(char **)((int)&r->fr_offset + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&r->fr_offset + 4)" ( (binary_expression "(int)&r->fr_offset + 4" (cast_expression "(int)&r->fr_offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&r->fr_offset" & (field_expression "r->fr_offset" identifier -> field_identifier))) + number_literal) )))) , (cast_expression "(uint)r->fr_symbol" ( (type_descriptor "uint" type_identifier) ) (field_expression "r->fr_symbol" identifier -> field_identifier)) ))) ;) (expression_statement "local_3c = uVar7 + 2;" (assignment_expression "local_3c = uVar7 + 2" identifier = (binary_expression "uVar7 + 2" identifier + number_literal)) ;) (expression_statement "ppaVar8 = ppaVar6 + uVar7 + 1;" (assignment_expression "ppaVar8 = ppaVar6 + uVar7 + 1" identifier = (binary_expression "ppaVar6 + uVar7 + 1" (binary_expression "ppaVar6 + uVar7" identifier + identifier) + number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "local_34 = pfVar9;" (assignment_expression "local_34 = pfVar9" identifier = identifier) ;) })) (expression_statement "r = *(fragS **)&r->fr_address;" (assignment_expression "r = *(fragS **)&r->fr_address" identifier = (pointer_expression "*(fragS **)&r->fr_address" * (cast_expression "(fragS **)&r->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&r->fr_address" & (field_expression "r->fr_address" identifier -> field_identifier))))) ;) (expression_statement "paVar12 = *local_30;" (assignment_expression "paVar12 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) (expression_statement "uVar2 = local_3c;" (assignment_expression "uVar2 = local_3c" identifier = identifier) ;) })) (expression_statement "*ppaVar8 = paVar12;" (assignment_expression "*ppaVar8 = paVar12" (pointer_expression "*ppaVar8" * identifier) = identifier) ;) (expression_statement "install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line);" (call_expression "install_reloc(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line)" identifier (argument_list "(sec,paVar12,local_28->fx_frag,local_28->fx_file,local_28->fx_line)" ( identifier , identifier , (field_expression "local_28->fx_frag" identifier -> field_identifier) , (field_expression "local_28->fx_file" identifier -> field_identifier) , (field_expression "local_28->fx_line" identifier -> field_identifier) ))) ;) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "paVar12 = *local_30;" (assignment_expression "paVar12 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) }) while (parenthesized_expression "(paVar12 != (arelent *)0x0)" ( (binary_expression "paVar12 != (arelent *)0x0" identifier != (cast_expression "(arelent *)0x0" ( (type_descriptor "arelent *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "local_28 = local_28->fx_next;" (assignment_expression "local_28 = local_28->fx_next" identifier = (field_expression "local_28->fx_next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(local_28 != (fix *)0x0)" ( (binary_expression "local_28 != (fix *)0x0" identifier != (cast_expression "(fix *)0x0" ( (type_descriptor "fix *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "joined_r0x0003dbfe:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }" statement_identifier : (for_statement "for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }" for ( ; (binary_expression "r != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "r = *(fragS **)&r->fr_address" identifier = (pointer_expression "*(fragS **)&r->fr_address" * (cast_expression "(fragS **)&r->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&r->fr_address" & (field_expression "r->fr_address" identifier -> field_identifier))))) ) (compound_statement "{\nLAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar7 = local_3c;\n        if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }\n        local_3c = uVar7;\n      }" { (labeled_statement "LAB_0003dc10:\n        pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);" statement_identifier : (expression_statement "pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);" (assignment_expression "pfVar9 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r)" identifier = (call_expression "get_frag_for_reloc(local_34,seginfo,(reloc_list *)r)" identifier (argument_list "(local_34,seginfo,(reloc_list *)r)" ( identifier , identifier , (cast_expression "(reloc_list *)r" ( (type_descriptor "reloc_list *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;)) (expression_statement "uVar7 = local_3c;" (assignment_expression "uVar7 = local_3c" identifier = identifier) ;) (if_statement "if (pfVar9 != (fragS *)0x0) {\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }" if (parenthesized_expression "(pfVar9 != (fragS *)0x0)" ( (binary_expression "pfVar9 != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar7 = local_3c + 1;\n          paVar12 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar6[local_3c] = paVar12;\n          install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar9;\n        }" { (expression_statement "uVar7 = local_3c + 1;" (assignment_expression "uVar7 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "paVar12 = (arelent *)((int)&r->last_fr_address + 4);" (assignment_expression "paVar12 = (arelent *)((int)&r->last_fr_address + 4)" identifier = (cast_expression "(arelent *)((int)&r->last_fr_address + 4)" ( (type_descriptor "arelent *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&r->last_fr_address + 4)" ( (binary_expression "(int)&r->last_fr_address + 4" (cast_expression "(int)&r->last_fr_address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&r->last_fr_address" & (field_expression "r->last_fr_address" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "ppaVar6[local_3c] = paVar12;" (assignment_expression "ppaVar6[local_3c] = paVar12" (subscript_expression "ppaVar6[local_3c]" identifier [ identifier ]) = identifier) ;) (expression_statement "install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);" (call_expression "install_reloc(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol)" identifier (argument_list "(sec,paVar12,pfVar9,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol)" ( identifier , identifier , identifier , (pointer_expression "*(char **)((int)&r->fr_offset + 4)" * (cast_expression "(char **)((int)&r->fr_offset + 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&r->fr_offset + 4)" ( (binary_expression "(int)&r->fr_offset + 4" (cast_expression "(int)&r->fr_offset" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&r->fr_offset" & (field_expression "r->fr_offset" identifier -> field_identifier))) + number_literal) )))) , (cast_expression "(uint)r->fr_symbol" ( (type_descriptor "uint" type_identifier) ) (field_expression "r->fr_symbol" identifier -> field_identifier)) ))) ;) (expression_statement "local_34 = pfVar9;" (assignment_expression "local_34 = pfVar9" identifier = identifier) ;) })) (expression_statement "local_3c = uVar7;" (assignment_expression "local_3c = uVar7" identifier = identifier) ;) }))) (if_statement "if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }" if (parenthesized_expression "(local_3c != 0)" ( (binary_expression "local_3c != 0" identifier != number_literal) )) (compound_statement "{\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);\n        return;\n      }" { (expression_statement "bfd_set_section_flags(abfd,sec,sec->flags | 4);" (call_expression "bfd_set_section_flags(abfd,sec,sec->flags | 4)" identifier (argument_list "(abfd,sec,sec->flags | 4)" ( identifier , identifier , (binary_expression "sec->flags | 4" (field_expression "sec->flags" identifier -> field_identifier) | number_literal) ))) ;) (expression_statement "(*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c);" (call_expression "(*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar6,local_3c)" (parenthesized_expression "(*stdoutput->xvec->_bfd_set_reloc)" ( (pointer_expression "*stdoutput->xvec->_bfd_set_reloc" * (field_expression "stdoutput->xvec->_bfd_set_reloc" (field_expression "stdoutput->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(stdoutput,sec,ppaVar6,local_3c)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003da00(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003da00(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003da00(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "byte *pbVar3;" type_identifier (pointer_declarator "*pbVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "iVar14 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar14 = *(int *)(param_2 + 0x80)" identifier = (pointer_expression "*(int *)(param_2 + 0x80)" * (cast_expression "(int *)(param_2 + 0x80)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x80)" ( (binary_expression "param_2 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) )) (compound_statement "{\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }" { (expression_statement "pbVar3 = *(byte **)(iVar14 + 0xc);" (assignment_expression "pbVar3 = *(byte **)(iVar14 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar14 + 0xc)" * (cast_expression "(byte **)(iVar14 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar14 + 0xc)" ( (binary_expression "iVar14 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }" if (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }" { (do_statement "do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);" do (compound_statement "{\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      }" { (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" identifier = (pointer_expression "*pbVar3" * identifier)) ;) (expression_statement "pbVar3 = *(byte **)(pbVar3 + 0x28);" (assignment_expression "pbVar3 = *(byte **)(pbVar3 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar3 + 0x28)" * (cast_expression "(byte **)(pbVar3 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar3 + 0x28)" ( (binary_expression "pbVar3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);" (assignment_expression "iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0)" identifier = (binary_expression "iVar10 + (uint)((bVar1 & 0x20) == 0)" identifier + (call_expression "(uint)((bVar1 & 0x20) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((bVar1 & 0x20) == 0)" ( (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" ( (binary_expression "bVar1 & 0x20" identifier & number_literal) )) == number_literal) ))))) ;) }) while (parenthesized_expression "(pbVar3 != (byte *)0x0)" ( (binary_expression "pbVar3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar10 = iVar10 * 2;" (assignment_expression "iVar10 = iVar10 * 2" identifier = (binary_expression "iVar10 * 2" identifier * number_literal)) ;) })) (expression_statement "puVar6 = &DAT_000779a4;" (assignment_expression "puVar6 = &DAT_000779a4" identifier = (pointer_expression "&DAT_000779a4" & identifier)) ;) (expression_statement "puVar4 = DAT_000779a4;" (assignment_expression "puVar4 = DAT_000779a4" identifier = identifier) ;) (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }" while (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }" { (while_statement "while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }" while (parenthesized_expression "(puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2)" ( (comma_expression "puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2" (assignment_expression "puVar5 = puVar4" identifier = identifier) , (comma_expression "puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2" (assignment_expression "puVar4 = (undefined4 *)*puVar5" identifier = (cast_expression "(undefined4 *)*puVar5" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) , (binary_expression "puVar5[1] != param_2" (subscript_expression "puVar5[1]" identifier [ number_literal ]) != identifier))) )) (compound_statement "{\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }" { (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" identifier = identifier) ;) (if_statement "if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;" if (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" ( (binary_expression "puVar4 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003da76;" goto statement_identifier ;)) })) (expression_statement "*puVar6 = puVar4;" (assignment_expression "*puVar6 = puVar4" (pointer_expression "*puVar6" * identifier) = identifier) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "*puVar5 = puVar11;" (assignment_expression "*puVar5 = puVar11" (pointer_expression "*puVar5" * identifier) = identifier) ;) (expression_statement "puVar11 = puVar5;" (assignment_expression "puVar11 = puVar5" identifier = identifier) ;) (expression_statement "puVar4 = (undefined4 *)*puVar6;" (assignment_expression "puVar4 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;) })) (labeled_statement "LAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);" statement_identifier : (expression_statement "iVar10 = xcalloc(iVar10,4);" (assignment_expression "iVar10 = xcalloc(iVar10,4)" identifier = (call_expression "xcalloc(iVar10,4)" identifier (argument_list "(iVar10,4)" ( identifier , number_literal )))) ;)) (expression_statement "local_28 = *(byte **)(iVar14 + 0xc);" (assignment_expression "local_28 = *(byte **)(iVar14 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar14 + 0xc)" * (cast_expression "(byte **)(iVar14 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar14 + 0xc)" ( (binary_expression "iVar14 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" if (parenthesized_expression "(local_28 == (byte *)0x0)" ( (binary_expression "local_28 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;" if (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" ( (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003dc10;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" else (compound_statement "{\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" { (do_statement "do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);" do (compound_statement "{\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      }" { (while_statement "while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }" while (parenthesized_expression "((*local_28 & 0x20) != 0)" ( (binary_expression "(*local_28 & 0x20) != 0" (parenthesized_expression "(*local_28 & 0x20)" ( (binary_expression "*local_28 & 0x20" (pointer_expression "*local_28" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }" { (labeled_statement "LAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);" statement_identifier : (expression_statement "local_28 = *(byte **)(local_28 + 0x28);" (assignment_expression "local_28 = *(byte **)(local_28 + 0x28)" identifier = (pointer_expression "*(byte **)(local_28 + 0x28)" * (cast_expression "(byte **)(local_28 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x28)" ( (binary_expression "local_28 + 0x28" identifier + number_literal) ))))) ;)) (expression_statement "iVar13 = iVar14;" (assignment_expression "iVar13 = iVar14" identifier = identifier) ;) (if_statement "if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;" if (parenthesized_expression "(local_28 == (byte *)0x0)" ( (binary_expression "local_28 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0003dbfe;" goto statement_identifier ;)) })) (expression_statement "iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);" (assignment_expression "iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(local_28 + 4) + 0x14)" * (cast_expression "(int *)(*(int *)(local_28 + 4) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(local_28 + 4) + 0x14)" ( (binary_expression "*(int *)(local_28 + 4) + 0x14" (pointer_expression "*(int *)(local_28 + 4)" * (cast_expression "(int *)(local_28 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 4)" ( (binary_expression "local_28 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;" (assignment_expression "iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f" identifier = (binary_expression "(int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f" (cast_expression "(int)((uint)local_28[2] + *(int *)(local_28 + 8))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)local_28[2] + *(int *)(local_28 + 8))" ( (binary_expression "(uint)local_28[2] + *(int *)(local_28 + 8)" (cast_expression "(uint)local_28[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(local_28 + 8)" * (cast_expression "(int *)(local_28 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 8)" ( (binary_expression "local_28 + 8" identifier + number_literal) ))))) ))) >> number_literal)) ;) (expression_statement "uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));" (assignment_expression "uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" identifier = (call_expression "(uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" ( (binary_expression "*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8)" (pointer_expression "*(uint *)(*(int *)(local_28 + 4) + 0x10)" * (cast_expression "(uint *)(*(int *)(local_28 + 4) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(local_28 + 4) + 0x10)" ( (binary_expression "*(int *)(local_28 + 4) + 0x10" (pointer_expression "*(int *)(local_28 + 4)" * (cast_expression "(int *)(local_28 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 4)" ( (binary_expression "local_28 + 4" identifier + number_literal) )))) + number_literal) )))) < (binary_expression "(uint)local_28[2] + *(int *)(local_28 + 8)" (cast_expression "(uint)local_28[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_28[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(local_28 + 8)" * (cast_expression "(int *)(local_28 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 8)" ( (binary_expression "local_28 + 8" identifier + number_literal) )))))) )))) ;) (expression_statement "iVar8 = iVar13 - iVar12;" (assignment_expression "iVar8 = iVar13 - iVar12" identifier = (binary_expression "iVar13 - iVar12" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }" if (parenthesized_expression "((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0)" ( (binary_expression "(SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0" (parenthesized_expression "(SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2))" ( (binary_expression "SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)" (call_expression "SBORROW4(iVar13,iVar12)" identifier (argument_list "(iVar13,iVar12)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar8,uVar2)" identifier (argument_list "(iVar8,uVar2)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar8 - uVar2) < 0" (cast_expression "(int)(iVar8 - uVar2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar8 - uVar2)" ( (binary_expression "iVar8 - uVar2" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }" { (expression_statement "uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5)" identifier = (call_expression "dcgettext(0,"internal error: fixup not contained within frag",5)" identifier (argument_list "(0,"internal error: fixup not contained within frag",5)" ( number_literal , (string_literal ""internal error: fixup not contained within frag"" " string_content ") , number_literal )))) ;) (expression_statement "FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);" (call_expression "FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9)" identifier (argument_list "(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9)" ( (pointer_expression "*(undefined4 *)(local_28 + 0x3c)" * (cast_expression "(undefined4 *)(local_28 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x3c)" ( (binary_expression "local_28 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(local_28 + 0x40)" * (cast_expression "(undefined4 *)(local_28 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x40)" ( (binary_expression "local_28 + 0x40" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "local_30 = (int *)FUN_000470f0(param_2,local_28);" (assignment_expression "local_30 = (int *)FUN_000470f0(param_2,local_28)" identifier = (cast_expression "(int *)FUN_000470f0(param_2,local_28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000470f0(param_2,local_28)" identifier (argument_list "(param_2,local_28)" ( identifier , identifier ))))) ;) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) (if_statement "if (iVar13 == 0) goto LAB_0003dac0;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003dac0;" goto statement_identifier ;)) (do_statement "do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);" do (compound_statement "{\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        }" { (expression_statement "piVar7 = (int *)(iVar10 + iVar14 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + iVar14 * 4)" identifier = (cast_expression "(int *)(iVar10 + iVar14 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar14 * 4)" ( (binary_expression "iVar10 + iVar14 * 4" identifier + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar8 = iVar14 + 1;" (assignment_expression "iVar8 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = iVar14;" (assignment_expression "iVar12 = iVar14" identifier = identifier) ;) (for_statement "for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }" for ( ; (parenthesized_expression "(iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))))" ( (comma_expression "iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (assignment_expression "iVar14 = iVar8" identifier = identifier) , (binary_expression "puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" ( (binary_expression "(uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (binary_expression "(uint)puVar11[5] < *(uint *)(iVar13 + 8)" (cast_expression "(uint)puVar11[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar11[5]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar13 + 8)" * (cast_expression "(uint *)(iVar13 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) ))))) || (binary_expression "puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (binary_expression "puVar11[5] - *(uint *)(iVar13 + 8)" (subscript_expression "puVar11[5]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(iVar13 + 8)" * (cast_expression "(uint *)(iVar13 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 8)" ( (binary_expression "iVar13 + 8" identifier + number_literal) ))))) < (call_expression "(uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)puVar11[4] < *(uint *)(iVar13 + 4))" ( (binary_expression "(uint)puVar11[4] < *(uint *)(iVar13 + 4)" (cast_expression "(uint)puVar11[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar11[4]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar13 + 4)" * (cast_expression "(uint *)(iVar13 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 4)" ( (binary_expression "iVar13 + 4" identifier + number_literal) ))))) ))))) )))) )) ; (assignment_expression "puVar11 = (undefined4 *)*puVar11" identifier = (cast_expression "(undefined4 *)*puVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ) (compound_statement "{\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }" { (expression_statement "puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);" (assignment_expression "puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier = (cast_expression "(undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier (argument_list "(iVar14,iVar10,puVar4)" ( identifier , identifier , identifier ))))) ;) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "piVar7 = (int *)(iVar10 + iVar12 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + iVar12 * 4)" identifier = (cast_expression "(int *)(iVar10 + iVar12 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + iVar12 * 4)" ( (binary_expression "iVar10 + iVar12 * 4" identifier + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar14 = iVar12;" (assignment_expression "iVar14 = iVar12" identifier = identifier) ;) (if_statement "if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }" if (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" ( (binary_expression "puVar6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }" { (expression_statement "*piVar7 = (int)(puVar11 + 3);" (assignment_expression "*piVar7 = (int)(puVar11 + 3)" (pointer_expression "*piVar7" * identifier) = (cast_expression "(int)(puVar11 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar11 + 3)" ( (binary_expression "puVar11 + 3" identifier + number_literal) )))) ;) (expression_statement "iVar14 = iVar8;" (assignment_expression "iVar14 = iVar8" identifier = identifier) ;) (expression_statement "FUN_0003cec0(puVar11[9],puVar11[10]);" (call_expression "FUN_0003cec0(puVar11[9],puVar11[10])" identifier (argument_list "(puVar11[9],puVar11[10])" ( (subscript_expression "puVar11[9]" identifier [ number_literal ]) , (subscript_expression "puVar11[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar8 = iVar12 + 2;" (assignment_expression "iVar8 = iVar12 + 2" identifier = (binary_expression "iVar12 + 2" identifier + number_literal)) ;) (expression_statement "piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + 4 + iVar12 * 4)" identifier = (cast_expression "(int *)(iVar10 + 4 + iVar12 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + 4 + iVar12 * 4)" ( (binary_expression "iVar10 + 4 + iVar12 * 4" (binary_expression "iVar10 + 4" identifier + number_literal) + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) ;) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" identifier = identifier) ;) })) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) (expression_statement "iVar12 = iVar14;" (assignment_expression "iVar12 = iVar14" identifier = identifier) ;) })) (expression_statement "*piVar7 = iVar13;" (assignment_expression "*piVar7 = iVar13" (pointer_expression "*piVar7" * identifier) = identifier) ;) (expression_statement "FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));" (call_expression "FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40))" identifier (argument_list "(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40))" ( (pointer_expression "*(undefined4 *)(local_28 + 0x3c)" * (cast_expression "(undefined4 *)(local_28 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x3c)" ( (binary_expression "local_28 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(local_28 + 0x40)" * (cast_expression "(undefined4 *)(local_28 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_28 + 0x40)" ( (binary_expression "local_28 + 0x40" identifier + number_literal) )))) ))) ;) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" identifier = (pointer_expression "*local_30" * identifier)) ;) }) while (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) ;) (expression_statement "local_28 = *(byte **)(local_28 + 0x28);" (assignment_expression "local_28 = *(byte **)(local_28 + 0x28)" identifier = (pointer_expression "*(byte **)(local_28 + 0x28)" * (cast_expression "(byte **)(local_28 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_28 + 0x28)" ( (binary_expression "local_28 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = iVar14;" (assignment_expression "iVar13 = iVar14" identifier = identifier) ;) }) while (parenthesized_expression "(local_28 != (byte *)0x0)" ( (binary_expression "local_28 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "joined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" statement_identifier : (for_statement "for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" for ( ; (binary_expression "puVar11 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar11 = (undefined4 *)*puVar11" identifier = (cast_expression "(undefined4 *)*puVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) ) (compound_statement "{\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" { (labeled_statement "LAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);" statement_identifier : (expression_statement "iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);" (assignment_expression "iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier = (call_expression "FUN_0003d8f0(iVar14,iVar10,puVar4)" identifier (argument_list "(iVar14,iVar10,puVar4)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }" { (expression_statement "*(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;" (assignment_expression "*(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3" (pointer_expression "*(undefined4 **)(iVar10 + iVar13 * 4)" * (cast_expression "(undefined4 **)(iVar10 + iVar13 * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar10 + iVar13 * 4)" ( (binary_expression "iVar10 + iVar13 * 4" identifier + (binary_expression "iVar13 * 4" identifier * number_literal)) )))) = (binary_expression "puVar11 + 3" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0003cec0(puVar11[9],puVar11[10]);" (call_expression "FUN_0003cec0(puVar11[9],puVar11[10])" identifier (argument_list "(puVar11[9],puVar11[10])" ( (subscript_expression "puVar11[9]" identifier [ number_literal ]) , (subscript_expression "puVar11[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar14 = iVar13;" (assignment_expression "iVar14 = iVar13" identifier = identifier) ;) })) }))) (if_statement "if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }" { (expression_statement "bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);" (call_expression "bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4)" identifier (argument_list "(param_1,param_2,*(uint *)(param_2 + 0x14) | 4)" ( identifier , identifier , (binary_expression "*(uint *)(param_2 + 0x14) | 4" (pointer_expression "*(uint *)(param_2 + 0x14)" * (cast_expression "(uint *)(param_2 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) | number_literal) ))) ;) (expression_statement "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);" (call_expression "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))" ( (pointer_expression "**(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" * (pointer_expression "*(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" * (cast_expression "(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00077804 + 4) + 0x148)" ( (binary_expression "*(int *)(DAT_00077804 + 4) + 0x148" (pointer_expression "*(int *)(DAT_00077804 + 4)" * (cast_expression "(int *)(DAT_00077804 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00077804 + 4)" ( (binary_expression "DAT_00077804 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00077804,param_2,iVar10,iVar13)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) != (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( ; (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) || (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))))) )))) )) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))))) ;) (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 (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (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 (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (labeled_statement statement_identifier : (for_statement for ( ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) | LIT) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (return_statement return ;) })) }))) })) (return_statement return ;) })))
(function_definition "void FUN_0003da00(undefined4 param_1,int param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003da00(undefined4 param_1,int param_2)" (identifier "FUN_0003da00") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  byte *pbVar3;\n  undefined4 *puVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  int *piVar7;\n  int iVar8;\n  undefined4 uVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int *local_30;\n  byte *local_28;\n  \n  iVar14 = *(int *)(param_2 + 0x80);\n  if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "byte *pbVar3;" (type_identifier "byte") (pointer_declarator "*pbVar3" (* "*") (identifier "pbVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "byte *local_28;" (type_identifier "byte") (pointer_declarator "*local_28" (* "*") (identifier "local_28")) (; ";")) (expression_statement "iVar14 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar14 = *(int *)(param_2 + 0x80)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(param_2 + 0x80)" (* "*") (cast_expression "(int *)(param_2 + 0x80)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x80)" (( "(") (binary_expression "param_2 + 0x80" (identifier "param_2") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (iVar14 != 0) {\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar14 != 0)" (( "(") (binary_expression "iVar14 != 0" (identifier "iVar14") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    pbVar3 = *(byte **)(iVar14 + 0xc);\n    iVar10 = 0;\n    if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }\n    puVar6 = &DAT_000779a4;\n    puVar4 = DAT_000779a4;\n    puVar11 = (undefined4 *)0x0;\n    while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }\nLAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);\n    local_28 = *(byte **)(iVar14 + 0xc);\n    iVar14 = 0;\n    if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }\n  }" ({ "{") (expression_statement "pbVar3 = *(byte **)(iVar14 + 0xc);" (assignment_expression "pbVar3 = *(byte **)(iVar14 + 0xc)" (identifier "pbVar3") (= "=") (pointer_expression "*(byte **)(iVar14 + 0xc)" (* "*") (cast_expression "(byte **)(iVar14 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar14 + 0xc)" (( "(") (binary_expression "iVar14 + 0xc" (identifier "iVar14") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (pbVar3 != (byte *)0x0) {\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }" (if "if") (parenthesized_expression "(pbVar3 != (byte *)0x0)" (( "(") (binary_expression "pbVar3 != (byte *)0x0" (identifier "pbVar3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);\n      iVar10 = iVar10 * 2;\n    }" ({ "{") (do_statement "do {\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      } while (pbVar3 != (byte *)0x0);" (do "do") (compound_statement "{\n        bVar1 = *pbVar3;\n        pbVar3 = *(byte **)(pbVar3 + 0x28);\n        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);\n      }" ({ "{") (expression_statement "bVar1 = *pbVar3;" (assignment_expression "bVar1 = *pbVar3" (identifier "bVar1") (= "=") (pointer_expression "*pbVar3" (* "*") (identifier "pbVar3"))) (; ";")) (expression_statement "pbVar3 = *(byte **)(pbVar3 + 0x28);" (assignment_expression "pbVar3 = *(byte **)(pbVar3 + 0x28)" (identifier "pbVar3") (= "=") (pointer_expression "*(byte **)(pbVar3 + 0x28)" (* "*") (cast_expression "(byte **)(pbVar3 + 0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pbVar3 + 0x28)" (( "(") (binary_expression "pbVar3 + 0x28" (identifier "pbVar3") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);" (assignment_expression "iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0)" (identifier "iVar10") (= "=") (binary_expression "iVar10 + (uint)((bVar1 & 0x20) == 0)" (identifier "iVar10") (+ "+") (call_expression "(uint)((bVar1 & 0x20) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((bVar1 & 0x20) == 0)" (( "(") (binary_expression "(bVar1 & 0x20) == 0" (parenthesized_expression "(bVar1 & 0x20)" (( "(") (binary_expression "bVar1 & 0x20" (identifier "bVar1") (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar3 != (byte *)0x0)" (( "(") (binary_expression "pbVar3 != (byte *)0x0" (identifier "pbVar3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "iVar10 = iVar10 * 2;" (assignment_expression "iVar10 = iVar10 * 2" (identifier "iVar10") (= "=") (binary_expression "iVar10 * 2" (identifier "iVar10") (* "*") (number_literal "2"))) (; ";")) (} "}"))) (expression_statement "puVar6 = &DAT_000779a4;" (assignment_expression "puVar6 = &DAT_000779a4" (identifier "puVar6") (= "=") (pointer_expression "&DAT_000779a4" (& "&") (identifier "DAT_000779a4"))) (; ";")) (expression_statement "puVar4 = DAT_000779a4;" (assignment_expression "puVar4 = DAT_000779a4" (identifier "puVar4") (= "=") (identifier "DAT_000779a4")) (; ";")) (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (while_statement "while (puVar4 != (undefined4 *)0x0) {\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }" (while "while") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }\n      *puVar6 = puVar4;\n      iVar10 = iVar10 + 1;\n      *puVar5 = puVar11;\n      puVar11 = puVar5;\n      puVar4 = (undefined4 *)*puVar6;\n    }" ({ "{") (while_statement "while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }" (while "while") (parenthesized_expression "(puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2)" (( "(") (comma_expression "puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2" (assignment_expression "puVar5 = puVar4" (identifier "puVar5") (= "=") (identifier "puVar4")) (, ",") (comma_expression "puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2" (assignment_expression "puVar4 = (undefined4 *)*puVar5" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar5" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) (, ",") (binary_expression "puVar5[1] != param_2" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (!= "!=") (identifier "param_2")))) () ")")) (compound_statement "{\n        puVar6 = puVar5;\n        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;\n      }" ({ "{") (expression_statement "puVar6 = puVar5;" (assignment_expression "puVar6 = puVar5" (identifier "puVar6") (= "=") (identifier "puVar5")) (; ";")) (if_statement "if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;" (if "if") (parenthesized_expression "(puVar4 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 == (undefined4 *)0x0" (identifier "puVar4") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0003da76;" (goto "goto") (statement_identifier "LAB_0003da76") (; ";"))) (} "}"))) (expression_statement "*puVar6 = puVar4;" (assignment_expression "*puVar6 = puVar4" (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (= "=") (identifier "puVar4")) (; ";")) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar5 = puVar11;" (assignment_expression "*puVar5 = puVar11" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar11 = puVar5;" (assignment_expression "puVar11 = puVar5" (identifier "puVar11") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "puVar4 = (undefined4 *)*puVar6;" (assignment_expression "puVar4 = (undefined4 *)*puVar6" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)*puVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";")) (} "}"))) (labeled_statement "LAB_0003da76:\n    iVar10 = xcalloc(iVar10,4);" (statement_identifier "LAB_0003da76") (: ":") (expression_statement "iVar10 = xcalloc(iVar10,4);" (assignment_expression "iVar10 = xcalloc(iVar10,4)" (identifier "iVar10") (= "=") (call_expression "xcalloc(iVar10,4)" (identifier "xcalloc") (argument_list "(iVar10,4)" (( "(") (identifier "iVar10") (, ",") (number_literal "4") () ")")))) (; ";"))) (expression_statement "local_28 = *(byte **)(iVar14 + 0xc);" (assignment_expression "local_28 = *(byte **)(iVar14 + 0xc)" (identifier "local_28") (= "=") (pointer_expression "*(byte **)(iVar14 + 0xc)" (* "*") (cast_expression "(byte **)(iVar14 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar14 + 0xc)" (( "(") (binary_expression "iVar14 + 0xc" (identifier "iVar14") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_28 == (byte *)0x0) {\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }\n    else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(local_28 == (byte *)0x0)" (( "(") (binary_expression "local_28 == (byte *)0x0" (identifier "local_28") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar13 = 0;\n      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;\n    }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;" (if "if") (parenthesized_expression "(puVar11 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar11 != (undefined4 *)0x0" (identifier "puVar11") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0003dc10;" (goto "goto") (statement_identifier "LAB_0003dc10") (; ";"))) (} "}")) (else_clause "else {\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);\njoined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }\n      if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }\n    }" ({ "{") (do_statement "do {\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      } while (local_28 != (byte *)0x0);" (do "do") (compound_statement "{\n        while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }\n        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);\n        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;\n        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));\n        iVar8 = iVar13 - iVar12;\n        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }\n        local_30 = (int *)FUN_000470f0(param_2,local_28);\n        iVar13 = *local_30;\n        if (iVar13 == 0) goto LAB_0003dac0;\n        do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);\n        local_28 = *(byte **)(local_28 + 0x28);\n        iVar13 = iVar14;\n      }" ({ "{") (while_statement "while ((*local_28 & 0x20) != 0) {\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }" (while "while") (parenthesized_expression "((*local_28 & 0x20) != 0)" (( "(") (binary_expression "(*local_28 & 0x20) != 0" (parenthesized_expression "(*local_28 & 0x20)" (( "(") (binary_expression "*local_28 & 0x20" (pointer_expression "*local_28" (* "*") (identifier "local_28")) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);\n          iVar13 = iVar14;\n          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;\n        }" ({ "{") (labeled_statement "LAB_0003dac0:\n          local_28 = *(byte **)(local_28 + 0x28);" (statement_identifier "LAB_0003dac0") (: ":") (expression_statement "local_28 = *(byte **)(local_28 + 0x28);" (assignment_expression "local_28 = *(byte **)(local_28 + 0x28)" (identifier "local_28") (= "=") (pointer_expression "*(byte **)(local_28 + 0x28)" (* "*") (cast_expression "(byte **)(local_28 + 0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_28 + 0x28)" (( "(") (binary_expression "local_28 + 0x28" (identifier "local_28") (+ "+") (number_literal "0x28")) () ")"))))) (; ";"))) (expression_statement "iVar13 = iVar14;" (assignment_expression "iVar13 = iVar14" (identifier "iVar13") (= "=") (identifier "iVar14")) (; ";")) (if_statement "if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;" (if "if") (parenthesized_expression "(local_28 == (byte *)0x0)" (( "(") (binary_expression "local_28 == (byte *)0x0" (identifier "local_28") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto joined_r0x0003dbfe;" (goto "goto") (statement_identifier "joined_r0x0003dbfe") (; ";"))) (} "}"))) (expression_statement "iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);" (assignment_expression "iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(*(int *)(local_28 + 4) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(local_28 + 4) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(local_28 + 4) + 0x14)" (( "(") (binary_expression "*(int *)(local_28 + 4) + 0x14" (pointer_expression "*(int *)(local_28 + 4)" (* "*") (cast_expression "(int *)(local_28 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 4)" (( "(") (binary_expression "local_28 + 4" (identifier "local_28") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;" (assignment_expression "iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f" (identifier "iVar12") (= "=") (binary_expression "(int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f" (cast_expression "(int)((uint)local_28[2] + *(int *)(local_28 + 8))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)local_28[2] + *(int *)(local_28 + 8))" (( "(") (binary_expression "(uint)local_28[2] + *(int *)(local_28 + 8)" (cast_expression "(uint)local_28[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))) (+ "+") (pointer_expression "*(int *)(local_28 + 8)" (* "*") (cast_expression "(int *)(local_28 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 8)" (( "(") (binary_expression "local_28 + 8" (identifier "local_28") (+ "+") (number_literal "8")) () ")"))))) () ")"))) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8));" (assignment_expression "uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" (identifier "uVar2") (= "=") (call_expression "(uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8))" (( "(") (binary_expression "*(uint *)(*(int *)(local_28 + 4) + 0x10) <\n                      (uint)local_28[2] + *(int *)(local_28 + 8)" (pointer_expression "*(uint *)(*(int *)(local_28 + 4) + 0x10)" (* "*") (cast_expression "(uint *)(*(int *)(local_28 + 4) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(local_28 + 4) + 0x10)" (( "(") (binary_expression "*(int *)(local_28 + 4) + 0x10" (pointer_expression "*(int *)(local_28 + 4)" (* "*") (cast_expression "(int *)(local_28 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 4)" (( "(") (binary_expression "local_28 + 4" (identifier "local_28") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (< "<") (binary_expression "(uint)local_28[2] + *(int *)(local_28 + 8)" (cast_expression "(uint)local_28[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_28[2]" (identifier "local_28") ([ "[") (number_literal "2") (] "]"))) (+ "+") (pointer_expression "*(int *)(local_28 + 8)" (* "*") (cast_expression "(int *)(local_28 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 8)" (( "(") (binary_expression "local_28 + 8" (identifier "local_28") (+ "+") (number_literal "8")) () ")")))))) () ")")))) (; ";")) (expression_statement "iVar8 = iVar13 - iVar12;" (assignment_expression "iVar8 = iVar13 - iVar12" (identifier "iVar8") (= "=") (binary_expression "iVar13 - iVar12" (identifier "iVar13") (- "-") (identifier "iVar12"))) (; ";")) (if_statement "if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }" (if "if") (parenthesized_expression "((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0)" (( "(") (binary_expression "(SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0" (parenthesized_expression "(SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2))" (( "(") (binary_expression "SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)" (call_expression "SBORROW4(iVar13,iVar12)" (identifier "SBORROW4") (argument_list "(iVar13,iVar12)" (( "(") (identifier "iVar13") (, ",") (identifier "iVar12") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar8,uVar2)" (identifier "SBORROW4") (argument_list "(iVar8,uVar2)" (( "(") (identifier "iVar8") (, ",") (identifier "uVar2") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar8 - uVar2) < 0" (cast_expression "(int)(iVar8 - uVar2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar8 - uVar2)" (( "(") (binary_expression "iVar8 - uVar2" (identifier "iVar8") (- "-") (identifier "uVar2")) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);\n        }" ({ "{") (expression_statement "uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5)" (identifier "uVar9") (= "=") (call_expression "dcgettext(0,"internal error: fixup not contained within frag",5)" (identifier "dcgettext") (argument_list "(0,"internal error: fixup not contained within frag",5)" (( "(") (number_literal "0") (, ",") (string_literal ""internal error: fixup not contained within frag"" (" """) (string_content "internal error: fixup not contained within frag") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);" (call_expression "FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9)" (identifier "FUN_0002bd40") (argument_list "(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9)" (( "(") (pointer_expression "*(undefined4 *)(local_28 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(local_28 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x3c)" (( "(") (binary_expression "local_28 + 0x3c" (identifier "local_28") (+ "+") (number_literal "0x3c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(local_28 + 0x40)" (* "*") (cast_expression "(undefined4 *)(local_28 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x40)" (( "(") (binary_expression "local_28 + 0x40" (identifier "local_28") (+ "+") (number_literal "0x40")) () ")")))) (, ",") (identifier "uVar9") () ")"))) (; ";")) (} "}"))) (expression_statement "local_30 = (int *)FUN_000470f0(param_2,local_28);" (assignment_expression "local_30 = (int *)FUN_000470f0(param_2,local_28)" (identifier "local_30") (= "=") (cast_expression "(int *)FUN_000470f0(param_2,local_28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000470f0(param_2,local_28)" (identifier "FUN_000470f0") (argument_list "(param_2,local_28)" (( "(") (identifier "param_2") (, ",") (identifier "local_28") () ")"))))) (; ";")) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" (identifier "iVar13") (= "=") (pointer_expression "*local_30" (* "*") (identifier "local_30"))) (; ";")) (if_statement "if (iVar13 == 0) goto LAB_0003dac0;" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003dac0;" (goto "goto") (statement_identifier "LAB_0003dac0") (; ";"))) (do_statement "do {\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        } while (iVar13 != 0);" (do "do") (compound_statement "{\n          piVar7 = (int *)(iVar10 + iVar14 * 4);\n          iVar8 = iVar14 + 1;\n          iVar12 = iVar14;\n          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }\n          *piVar7 = iVar13;\n          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));\n          local_30 = local_30 + 1;\n          iVar13 = *local_30;\n        }" ({ "{") (expression_statement "piVar7 = (int *)(iVar10 + iVar14 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + iVar14 * 4)" (identifier "piVar7") (= "=") (cast_expression "(int *)(iVar10 + iVar14 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar14 * 4)" (( "(") (binary_expression "iVar10 + iVar14 * 4" (identifier "iVar10") (+ "+") (binary_expression "iVar14 * 4" (identifier "iVar14") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar8 = iVar14 + 1;" (assignment_expression "iVar8 = iVar14 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar14 + 1" (identifier "iVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar12 = iVar14;" (assignment_expression "iVar12 = iVar14" (identifier "iVar12") (= "=") (identifier "iVar14")) (; ";")) (for_statement "for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));\n              puVar11 = (undefined4 *)*puVar11) {\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }" (for "for") (( "(") (; ";") (parenthesized_expression "(iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))))" (( "(") (comma_expression "iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (assignment_expression "iVar14 = iVar8" (identifier "iVar14") (= "=") (identifier "iVar8")) (, ",") (binary_expression "puVar11 != (undefined4 *)0x0 &&\n                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (binary_expression "puVar11 != (undefined4 *)0x0" (identifier "puVar11") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (parenthesized_expression "((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4)))" (( "(") (binary_expression "(uint)puVar11[5] < *(uint *)(iVar13 + 8) ||\n                  puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (binary_expression "(uint)puVar11[5] < *(uint *)(iVar13 + 8)" (cast_expression "(uint)puVar11[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar11[5]" (identifier "puVar11") ([ "[") (number_literal "5") (] "]"))) (< "<") (pointer_expression "*(uint *)(iVar13 + 8)" (* "*") (cast_expression "(uint *)(iVar13 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 8)" (( "(") (binary_expression "iVar13 + 8" (identifier "iVar13") (+ "+") (number_literal "8")) () ")"))))) (|| "||") (binary_expression "puVar11[5] - *(uint *)(iVar13 + 8) <\n                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (binary_expression "puVar11[5] - *(uint *)(iVar13 + 8)" (subscript_expression "puVar11[5]" (identifier "puVar11") ([ "[") (number_literal "5") (] "]")) (- "-") (pointer_expression "*(uint *)(iVar13 + 8)" (* "*") (cast_expression "(uint *)(iVar13 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 8)" (( "(") (binary_expression "iVar13 + 8" (identifier "iVar13") (+ "+") (number_literal "8")) () ")"))))) (< "<") (call_expression "(uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)puVar11[4] < *(uint *)(iVar13 + 4))" (( "(") (binary_expression "(uint)puVar11[4] < *(uint *)(iVar13 + 4)" (cast_expression "(uint)puVar11[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar11[4]" (identifier "puVar11") ([ "[") (number_literal "4") (] "]"))) (< "<") (pointer_expression "*(uint *)(iVar13 + 4)" (* "*") (cast_expression "(uint *)(iVar13 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 4)" (( "(") (binary_expression "iVar13 + 4" (identifier "iVar13") (+ "+") (number_literal "4")) () ")"))))) () ")"))))) () ")")))) () ")")) (; ";") (assignment_expression "puVar11 = (undefined4 *)*puVar11" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)*puVar11" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")))) () ")") (compound_statement "{\n            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);\n            iVar8 = iVar12 + 1;\n            piVar7 = (int *)(iVar10 + iVar12 * 4);\n            iVar14 = iVar12;\n            if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }\n            iVar13 = *local_30;\n            iVar12 = iVar14;\n          }" ({ "{") (expression_statement "puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);" (assignment_expression "puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0003d8f0(iVar14,iVar10,puVar4)" (identifier "FUN_0003d8f0") (argument_list "(iVar14,iVar10,puVar4)" (( "(") (identifier "iVar14") (, ",") (identifier "iVar10") (, ",") (identifier "puVar4") () ")"))))) (; ";")) (expression_statement "iVar8 = iVar12 + 1;" (assignment_expression "iVar8 = iVar12 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar7 = (int *)(iVar10 + iVar12 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + iVar12 * 4)" (identifier "piVar7") (= "=") (cast_expression "(int *)(iVar10 + iVar12 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + iVar12 * 4)" (( "(") (binary_expression "iVar10 + iVar12 * 4" (identifier "iVar10") (+ "+") (binary_expression "iVar12 * 4" (identifier "iVar12") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar14 = iVar12;" (assignment_expression "iVar14 = iVar12" (identifier "iVar14") (= "=") (identifier "iVar12")) (; ";")) (if_statement "if (puVar6 != (undefined4 *)0x0) {\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }" (if "if") (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined4 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *piVar7 = (int)(puVar11 + 3);\n              iVar14 = iVar8;\n              FUN_0003cec0(puVar11[9],puVar11[10]);\n              iVar8 = iVar12 + 2;\n              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);\n              puVar4 = puVar6;\n            }" ({ "{") (expression_statement "*piVar7 = (int)(puVar11 + 3);" (assignment_expression "*piVar7 = (int)(puVar11 + 3)" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (cast_expression "(int)(puVar11 + 3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar11 + 3)" (( "(") (binary_expression "puVar11 + 3" (identifier "puVar11") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "iVar14 = iVar8;" (assignment_expression "iVar14 = iVar8" (identifier "iVar14") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "FUN_0003cec0(puVar11[9],puVar11[10]);" (call_expression "FUN_0003cec0(puVar11[9],puVar11[10])" (identifier "FUN_0003cec0") (argument_list "(puVar11[9],puVar11[10])" (( "(") (subscript_expression "puVar11[9]" (identifier "puVar11") ([ "[") (number_literal "9") (] "]")) (, ",") (subscript_expression "puVar11[10]" (identifier "puVar11") ([ "[") (number_literal "10") (] "]")) () ")"))) (; ";")) (expression_statement "iVar8 = iVar12 + 2;" (assignment_expression "iVar8 = iVar12 + 2" (identifier "iVar8") (= "=") (binary_expression "iVar12 + 2" (identifier "iVar12") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);" (assignment_expression "piVar7 = (int *)(iVar10 + 4 + iVar12 * 4)" (identifier "piVar7") (= "=") (cast_expression "(int *)(iVar10 + 4 + iVar12 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + 4 + iVar12 * 4)" (( "(") (binary_expression "iVar10 + 4 + iVar12 * 4" (binary_expression "iVar10 + 4" (identifier "iVar10") (+ "+") (number_literal "4")) (+ "+") (binary_expression "iVar12 * 4" (identifier "iVar12") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "puVar4 = puVar6;" (assignment_expression "puVar4 = puVar6" (identifier "puVar4") (= "=") (identifier "puVar6")) (; ";")) (} "}"))) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" (identifier "iVar13") (= "=") (pointer_expression "*local_30" (* "*") (identifier "local_30"))) (; ";")) (expression_statement "iVar12 = iVar14;" (assignment_expression "iVar12 = iVar14" (identifier "iVar12") (= "=") (identifier "iVar14")) (; ";")) (} "}"))) (expression_statement "*piVar7 = iVar13;" (assignment_expression "*piVar7 = iVar13" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));" (call_expression "FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40))" (identifier "FUN_0003cec0") (argument_list "(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40))" (( "(") (pointer_expression "*(undefined4 *)(local_28 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(local_28 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x3c)" (( "(") (binary_expression "local_28 + 0x3c" (identifier "local_28") (+ "+") (number_literal "0x3c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(local_28 + 0x40)" (* "*") (cast_expression "(undefined4 *)(local_28 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_28 + 0x40)" (( "(") (binary_expression "local_28 + 0x40" (identifier "local_28") (+ "+") (number_literal "0x40")) () ")")))) () ")"))) (; ";")) (expression_statement "local_30 = local_30 + 1;" (assignment_expression "local_30 = local_30 + 1" (identifier "local_30") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar13 = *local_30;" (assignment_expression "iVar13 = *local_30" (identifier "iVar13") (= "=") (pointer_expression "*local_30" (* "*") (identifier "local_30"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "local_28 = *(byte **)(local_28 + 0x28);" (assignment_expression "local_28 = *(byte **)(local_28 + 0x28)" (identifier "local_28") (= "=") (pointer_expression "*(byte **)(local_28 + 0x28)" (* "*") (cast_expression "(byte **)(local_28 + 0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(local_28 + 0x28)" (( "(") (binary_expression "local_28 + 0x28" (identifier "local_28") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar13 = iVar14;" (assignment_expression "iVar13 = iVar14" (identifier "iVar13") (= "=") (identifier "iVar14")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_28 != (byte *)0x0)" (( "(") (binary_expression "local_28 != (byte *)0x0" (identifier "local_28") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (labeled_statement "joined_r0x0003dbfe:\n      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" (statement_identifier "joined_r0x0003dbfe") (: ":") (for_statement "for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" (for "for") (( "(") (; ";") (binary_expression "puVar11 != (undefined4 *)0x0" (identifier "puVar11") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar11 = (undefined4 *)*puVar11" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)*puVar11" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")))) () ")") (compound_statement "{\nLAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);\n        if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }\n      }" ({ "{") (labeled_statement "LAB_0003dc10:\n        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);" (statement_identifier "LAB_0003dc10") (: ":") (expression_statement "iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);" (assignment_expression "iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4)" (identifier "iVar8") (= "=") (call_expression "FUN_0003d8f0(iVar14,iVar10,puVar4)" (identifier "FUN_0003d8f0") (argument_list "(iVar14,iVar10,puVar4)" (( "(") (identifier "iVar14") (, ",") (identifier "iVar10") (, ",") (identifier "puVar4") () ")")))) (; ";"))) (if_statement "if (iVar8 != 0) {\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;\n          iVar13 = iVar13 + 1;\n          FUN_0003cec0(puVar11[9],puVar11[10]);\n          iVar14 = iVar13;\n        }" ({ "{") (expression_statement "*(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;" (assignment_expression "*(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3" (pointer_expression "*(undefined4 **)(iVar10 + iVar13 * 4)" (* "*") (cast_expression "(undefined4 **)(iVar10 + iVar13 * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar10 + iVar13 * 4)" (( "(") (binary_expression "iVar10 + iVar13 * 4" (identifier "iVar10") (+ "+") (binary_expression "iVar13 * 4" (identifier "iVar13") (* "*") (number_literal "4"))) () ")")))) (= "=") (binary_expression "puVar11 + 3" (identifier "puVar11") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0003cec0(puVar11[9],puVar11[10]);" (call_expression "FUN_0003cec0(puVar11[9],puVar11[10])" (identifier "FUN_0003cec0") (argument_list "(puVar11[9],puVar11[10])" (( "(") (subscript_expression "puVar11[9]" (identifier "puVar11") ([ "[") (number_literal "9") (] "]")) (, ",") (subscript_expression "puVar11[10]" (identifier "puVar11") ([ "[") (number_literal "10") (] "]")) () ")"))) (; ";")) (expression_statement "iVar14 = iVar13;" (assignment_expression "iVar14 = iVar13" (identifier "iVar14") (= "=") (identifier "iVar13")) (; ";")) (} "}"))) (} "}")))) (if_statement "if (iVar13 != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }" (if "if") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);\n        return;\n      }" ({ "{") (expression_statement "bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);" (call_expression "bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4)" (identifier "bfd_set_section_flags") (argument_list "(param_1,param_2,*(uint *)(param_2 + 0x14) | 4)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "*(uint *)(param_2 + 0x14) | 4" (pointer_expression "*(uint *)(param_2 + 0x14)" (* "*") (cast_expression "(uint *)(param_2 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (| "|") (number_literal "4")) () ")"))) (; ";")) (expression_statement "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);" (call_expression "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" (* "*") (cast_expression "(code **)(*(int *)(DAT_00077804 + 4) + 0x148)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_00077804 + 4) + 0x148)" (( "(") (binary_expression "*(int *)(DAT_00077804 + 4) + 0x148" (pointer_expression "*(int *)(DAT_00077804 + 4)" (* "*") (cast_expression "(int *)(DAT_00077804 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00077804 + 4)" (( "(") (binary_expression "DAT_00077804 + 4" (identifier "DAT_00077804") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x148")) () ")"))))) () ")")) (argument_list "(DAT_00077804,param_2,iVar10,iVar13)" (( "(") (identifier "DAT_00077804") (, ",") (identifier "param_2") (, ",") (identifier "iVar10") (, ",") (identifier "iVar13") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(type_1 *abfd,type_2 *var_5,void *xxx)

{
  type_3 *puVar1;
  type_4 *var_1;
  type_3 var_19;
  int var_12;
  type_5 fVar4;
  type_6 *var_2;
  type_7 **var_17;
  type_3 var_9;
  type_7 **ppaVar8;
  type_8 *var_21;
  char *format;
  int var_3;
  type_9 **pprVar11;
  type_7 *var_16;
  type_8 *var_8;
  int var_10;
  type_3 var_18;
  type_8 *var_4;
  type_7 **var_23;
  type_5 *var_7;
  
  var_1 = (type_4 *)var_5->userdata;
  if (var_1 != (type_4 *)0x0) {
    var_2 = var_1->fix_root;
    var_3 = 0;
    if (var_2 != (type_5 *)0x0) {
      do {
        fVar4 = *var_2;
        var_2 = var_2->fx_next;
        var_3 = var_3 + (type_3)((type_10  [76])
                                 ((type_10  [76])fVar4 & (type_10  [76])0x20) ==
                                (type_10  [76])0x0);
      } while (var_2 != (type_6 *)0x0);
      var_3 = var_3 * 2;
    }
    pprVar11 = &type_9;
    var_4 = (type_8 *)type_9;
    var_8 = (type_8 *)0x0;
    while (var_4 != (type_8 *)0x0) {
      while (var_21 = var_4, var_4 = *(type_8 **)&var_21->fr_address,
            (type_2 *)
            (((type_11 *)((int)&var_21->fr_address + 4))->a).offset_sym !=
            var_5) {
        pprVar11 = (type_9 **)var_21;
        if (var_4 == (type_8 *)0x0) goto LAB_0003da76;
      }
      *(type_8 **)&((type_8 *)pprVar11)->fr_address = var_4;
      var_3 = var_3 + 1;
      *(type_8 **)&var_21->fr_address = var_8;
      var_8 = var_21;
      var_4 = *(type_8 **)&((type_8 *)pprVar11)->fr_address;
    }
LAB_0003da76:
    var_17 = (type_7 **)var_6(var_3,4);
    var_7 = var_1->fix_root;
    var_18 = 0;
    if (var_7 == (type_5 *)0x0) {
      var_18 = 0;
      if (var_8 != (type_8 *)0x0) goto LAB_0003dc10;
    }
    else {
      do {
        while ((type_10  [76])((type_10  [76])*var_7 & (type_10  [76])0x20) !=
               (type_10  [76])0x0) {
LAB_0003dac0:
          var_7 = var_7->fx_next;
          if (var_7 == (type_6 *)0x0) goto joined_r0x0003dbfe;
        }
        var_9 = (type_3)var_7->fx_size + var_7->fx_where;
        var_3 = *(int *)((int)&var_7->fx_frag->fr_fix + 4);
        var_10 = (int)var_9 >> 0x1f;
        var_9 = (type_3)((type_3)var_7->fx_frag->fr_fix < var_9);
        var_12 = var_3 - var_10;
        if ((var_11(var_3,var_10) != var_11(var_12,var_9)) != (int)(var_12 - var_9) < 0) {
          format = (char *)var_13(0,"internal error: fixup not contained within frag",5);
          var_14(var_7->fx_file,var_7->fx_line,format);
        }
        var_23 = var_15(var_5,var_7);
        var_16 = *var_23;
        if (var_16 == (type_7 *)0x0) goto LAB_0003dac0;
        do {
          ppaVar8 = var_17 + var_18;
          var_19 = var_18 + 1;
          var_9 = var_18;
          while ((var_18 = var_19, var_8 != (type_8 *)0x0 &&
                 (var_19 = *(type_3 *)((int)&var_8->fr_fix + 4),
                 puVar1 = (type_3 *)((int)&var_16->address + 4),
                 var_19 < *puVar1 ||
                 var_19 - *puVar1 < (type_3)((type_3)var_8->fr_fix < (type_3)var_16->address)))) {
            var_21 = var_20(var_4,var_1,(type_9 *)var_8);
            ppaVar8 = var_17 + var_9;
            var_18 = var_9 + 1;
            if (var_21 != (type_8 *)0x0) {
              var_16 = (type_7 *)((int)&var_8->last_fr_address + 4);
              *ppaVar8 = var_16;
              var_22(var_5,var_16,var_21,*(char **)((int)&var_8->fr_offset + 4),(type_3)var_8->fr_symbol
                           );
              var_18 = var_9 + 2;
              ppaVar8 = var_17 + var_9 + 1;
              var_9 = var_9 + 1;
              var_4 = var_21;
            }
            var_8 = *(type_8 **)&var_8->fr_address;
            var_16 = *var_23;
            var_19 = var_18;
          }
          *ppaVar8 = var_16;
          var_22(var_5,var_16,var_7->fx_frag,var_7->fx_file,var_7->fx_line);
          var_23 = var_23 + 1;
          var_16 = *var_23;
        } while (var_16 != (type_7 *)0x0);
        var_7 = var_7->fx_next;
      } while (var_7 != (type_6 *)0x0);
joined_r0x0003dbfe:
      for (; var_8 != (type_8 *)0x0; var_8 = *(type_8 **)&var_8->fr_address) {
LAB_0003dc10:
        var_21 = var_20(var_4,var_1,(type_9 *)var_8);
        var_9 = var_18;
        if (var_21 != (type_8 *)0x0) {
          var_9 = var_18 + 1;
          var_16 = (type_7 *)((int)&var_8->last_fr_address + 4);
          var_17[var_18] = var_16;
          var_22(var_5,var_16,var_21,*(char **)((int)&var_8->fr_offset + 4),(type_3)var_8->fr_symbol);
          var_4 = var_21;
        }
        var_18 = var_9;
      }
      if (var_18 != 0) {
        var_24(abfd,var_5,var_5->flags | 4);
        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,var_5,var_17,var_18);
        return;
      }
    }
  }
  return;
}


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

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

void MASKED(undefined4 param_1,int param_2)

{
  byte bVar1;
  uint uVar2;
  byte *pbVar3;
  undefined4 *puVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  int *piVar7;
  int iVar8;
  undefined4 uVar9;
  int iVar10;
  undefined4 *puVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int *local_30;
  byte *local_28;
  
  iVar14 = *(int *)(param_2 + 0x80);
  if (iVar14 != 0) {
    pbVar3 = *(byte **)(iVar14 + 0xc);
    iVar10 = 0;
    if (pbVar3 != (byte *)0x0) {
      do {
        bVar1 = *pbVar3;
        pbVar3 = *(byte **)(pbVar3 + 0x28);
        iVar10 = iVar10 + (uint)((bVar1 & 0x20) == 0);
      } while (pbVar3 != (byte *)0x0);
      iVar10 = iVar10 * 2;
    }
    puVar6 = &DAT_000779a4;
    puVar4 = DAT_000779a4;
    puVar11 = (undefined4 *)0x0;
    while (puVar4 != (undefined4 *)0x0) {
      while (puVar5 = puVar4, puVar4 = (undefined4 *)*puVar5, puVar5[1] != param_2) {
        puVar6 = puVar5;
        if (puVar4 == (undefined4 *)0x0) goto LAB_0003da76;
      }
      *puVar6 = puVar4;
      iVar10 = iVar10 + 1;
      *puVar5 = puVar11;
      puVar11 = puVar5;
      puVar4 = (undefined4 *)*puVar6;
    }
LAB_0003da76:
    iVar10 = xcalloc(iVar10,4);
    local_28 = *(byte **)(iVar14 + 0xc);
    iVar14 = 0;
    if (local_28 == (byte *)0x0) {
      iVar13 = 0;
      if (puVar11 != (undefined4 *)0x0) goto LAB_0003dc10;
    }
    else {
      do {
        while ((*local_28 & 0x20) != 0) {
LAB_0003dac0:
          local_28 = *(byte **)(local_28 + 0x28);
          iVar13 = iVar14;
          if (local_28 == (byte *)0x0) goto joined_r0x0003dbfe;
        }
        iVar13 = *(int *)(*(int *)(local_28 + 4) + 0x14);
        iVar12 = (int)((uint)local_28[2] + *(int *)(local_28 + 8)) >> 0x1f;
        uVar2 = (uint)(*(uint *)(*(int *)(local_28 + 4) + 0x10) <
                      (uint)local_28[2] + *(int *)(local_28 + 8));
        iVar8 = iVar13 - iVar12;
        if ((SBORROW4(iVar13,iVar12) != SBORROW4(iVar8,uVar2)) != (int)(iVar8 - uVar2) < 0) {
          uVar9 = dcgettext(0,"internal error: fixup not contained within frag",5);
          FUN_0002bd40(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40),uVar9);
        }
        local_30 = (int *)FUN_000470f0(param_2,local_28);
        iVar13 = *local_30;
        if (iVar13 == 0) goto LAB_0003dac0;
        do {
          piVar7 = (int *)(iVar10 + iVar14 * 4);
          iVar8 = iVar14 + 1;
          iVar12 = iVar14;
          for (; (iVar14 = iVar8, puVar11 != (undefined4 *)0x0 &&
                 ((uint)puVar11[5] < *(uint *)(iVar13 + 8) ||
                  puVar11[5] - *(uint *)(iVar13 + 8) <
                  (uint)((uint)puVar11[4] < *(uint *)(iVar13 + 4))));
              puVar11 = (undefined4 *)*puVar11) {
            puVar6 = (undefined4 *)FUN_0003d8f0(iVar14,iVar10,puVar4);
            iVar8 = iVar12 + 1;
            piVar7 = (int *)(iVar10 + iVar12 * 4);
            iVar14 = iVar12;
            if (puVar6 != (undefined4 *)0x0) {
              *piVar7 = (int)(puVar11 + 3);
              iVar14 = iVar8;
              FUN_0003cec0(puVar11[9],puVar11[10]);
              iVar8 = iVar12 + 2;
              piVar7 = (int *)(iVar10 + 4 + iVar12 * 4);
              puVar4 = puVar6;
            }
            iVar13 = *local_30;
            iVar12 = iVar14;
          }
          *piVar7 = iVar13;
          FUN_0003cec0(*(undefined4 *)(local_28 + 0x3c),*(undefined4 *)(local_28 + 0x40));
          local_30 = local_30 + 1;
          iVar13 = *local_30;
        } while (iVar13 != 0);
        local_28 = *(byte **)(local_28 + 0x28);
        iVar13 = iVar14;
      } while (local_28 != (byte *)0x0);
joined_r0x0003dbfe:
      for (; puVar11 != (undefined4 *)0x0; puVar11 = (undefined4 *)*puVar11) {
LAB_0003dc10:
        iVar8 = FUN_0003d8f0(iVar14,iVar10,puVar4);
        if (iVar8 != 0) {
          *(undefined4 **)(iVar10 + iVar13 * 4) = puVar11 + 3;
          iVar13 = iVar13 + 1;
          FUN_0003cec0(puVar11[9],puVar11[10]);
          iVar14 = iVar13;
        }
      }
      if (iVar13 != 0) {
        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);
        (**(code **)(*(int *)(DAT_00077804 + 4) + 0x148))(DAT_00077804,param_2,iVar10,iVar13);
        return;
      }
    }
  }
  return;
}

