
/* 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;
  arelent *reloc;
  segment_info_type *seginfo;
  fixS *pfVar2;
  int iVar3;
  arelent **ppaVar4;
  uint uVar5;
  arelent *paVar6;
  fragS *pfVar7;
  arelent **ppaVar8;
  char *format;
  int iVar9;
  reloc_list **pprVar10;
  int iVar11;
  uint uVar12;
  fix *fixp;
  fragS *r;
  uint local_3c;
  fragS *local_34;
  
  seginfo = (segment_info_type *)sec->userdata;
  if (seginfo != (segment_info_type *)0x0) {
    iVar9 = 0;
    for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {
      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)
                            == (undefined1  [68])0x0);
    }
    pprVar10 = &reloc_list;
    local_34 = (fragS *)reloc_list;
    r = (fragS *)0x0;
    while (pfVar7 = local_34, local_34 != (fragS *)0x0) {
      while (local_34 = *(fragS **)&pfVar7->fr_address,
            (asection *)
            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=
            sec) {
        pprVar10 = (reloc_list **)pfVar7;
        pfVar7 = local_34;
        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;
      }
      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;
      iVar9 = iVar9 + 1;
      *(fragS **)&pfVar7->fr_address = r;
      r = pfVar7;
      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;
    }
LAB_0003e7d4:
    local_3c = 0;
    ppaVar4 = (arelent **)xcalloc(iVar9,4);
    fixp = seginfo->fix_root;
    if (fixp == (fixS *)0x0) {
      if (r != (fragS *)0x0) goto LAB_0003e960;
    }
    else {
      do {
        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=
               (undefined1  [68])0x0) {
LAB_0003e818:
          fixp = fixp->fx_next;
          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;
        }
        uVar5 = (uint)fixp->fx_size + fixp->fx_where;
        iVar11 = (int)uVar5 >> 0x1f;
        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);
        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);
        iVar3 = iVar9 - iVar11;
        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {
          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);
          as_bad_where(fixp->fx_file,fixp->fx_line,format);
        }
        paVar6 = tc_gen_reloc(sec,fixp);
        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;
        uVar5 = local_3c + 1;
        ppaVar8 = ppaVar4 + local_3c;
        if ((r != (fragS *)0x0) &&
           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),
           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))
        {
          while( true ) {
            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);
            ppaVar8 = ppaVar4 + local_3c;
            uVar12 = uVar5;
            if (pfVar7 != (fragS *)0x0) {
              reloc = (arelent *)((int)&r->last_fr_address + 4);
              *ppaVar8 = reloc;
              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);
              uVar12 = local_3c + 2;
              ppaVar8 = ppaVar4 + local_3c + 1;
              local_3c = uVar5;
              local_34 = pfVar7;
            }
            r = *(fragS **)&r->fr_address;
            uVar5 = uVar12;
            if ((r == (fragS *)0x0) ||
               (uVar12 = *(uint *)((int)&r->fr_fix + 4),
               puVar1 = (uint *)((int)&paVar6->address + 4),
               *puVar1 <= uVar12 &&
               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;
            uVar5 = local_3c + 1;
          }
        }
        local_3c = uVar5;
        *ppaVar8 = paVar6;
        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);
        fixp = fixp->fx_next;
      } while (fixp != (fix *)0x0);
joined_r0x0003e95b:
      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {
LAB_0003e960:
        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);
        uVar5 = local_3c;
        if (pfVar7 != (fragS *)0x0) {
          uVar5 = local_3c + 1;
          paVar6 = (arelent *)((int)&r->last_fr_address + 4);
          ppaVar4[local_3c] = paVar6;
          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);
          local_34 = pfVar7;
        }
        local_3c = uVar5;
      }
      if (local_3c != 0) {
        bfd_set_section_flags(abfd,sec,sec->flags | 4);
        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,local_3c);
        return;
      }
    }
  }
  return;
}



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

void FUN_0003e760(undefined4 param_1,int param_2)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 *puVar8;
  int iVar9;
  undefined4 *puVar10;
  undefined4 *puVar11;
  byte *pbVar12;
  undefined4 *puVar13;
  int local_3c;
  
  iVar2 = *(int *)(param_2 + 0x80);
  if (iVar2 != 0) {
    iVar7 = 0;
    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;
        pbVar12 = *(byte **)(pbVar12 + 0x28)) {
      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);
    }
    puVar8 = &DAT_00089ae4;
    puVar10 = DAT_00089ae4;
    puVar13 = (undefined4 *)0x0;
    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {
      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {
        puVar8 = puVar11;
        puVar11 = puVar10;
        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;
      }
      *puVar8 = puVar10;
      iVar7 = iVar7 + 1;
      *puVar11 = puVar13;
      puVar13 = puVar11;
      puVar10 = (undefined4 *)*puVar8;
    }
LAB_0003e7d4:
    local_3c = 0;
    iVar7 = xcalloc(iVar7,4);
    pbVar12 = *(byte **)(iVar2 + 0xc);
    if (pbVar12 == (byte *)0x0) {
      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;
    }
    else {
      do {
        while ((*pbVar12 & 0x20) != 0) {
LAB_0003e818:
          pbVar12 = *(byte **)(pbVar12 + 0x28);
          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;
        }
        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;
        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);
        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <
                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));
        iVar5 = iVar2 - iVar9;
        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {
          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);
          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);
        }
        iVar2 = FUN_00053700(param_2,pbVar12);
        if (iVar2 == 0) goto LAB_0003e818;
        iVar5 = local_3c + 1;
        piVar4 = (int *)(iVar7 + local_3c * 4);
        if ((puVar13 != (undefined4 *)0x0) &&
           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||
            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {
          while( true ) {
            iVar3 = FUN_0003e650();
            piVar4 = (int *)(iVar7 + local_3c * 4);
            iVar9 = iVar5;
            if (iVar3 != 0) {
              *piVar4 = (int)(puVar13 + 3);
              FUN_0003db20(puVar13[9],puVar13[10]);
              iVar9 = local_3c + 2;
              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);
              local_3c = iVar5;
            }
            puVar13 = (undefined4 *)*puVar13;
            iVar5 = iVar9;
            if ((puVar13 == (undefined4 *)0x0) ||
               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&
                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)
               )) break;
            iVar5 = local_3c + 1;
          }
        }
        local_3c = iVar5;
        *piVar4 = iVar2;
        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));
        pbVar12 = *(byte **)(pbVar12 + 0x28);
      } while (pbVar12 != (byte *)0x0);
joined_r0x0003e95b:
      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {
LAB_0003e960:
        iVar5 = FUN_0003e650();
        iVar2 = local_3c;
        if (iVar5 != 0) {
          iVar2 = local_3c + 1;
          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;
          FUN_0003db20(puVar13[9],puVar13[10]);
        }
        local_3c = iVar2;
      }
      if (local_3c != 0) {
        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);
        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);
        return;
      }
    }
  }
  return;
}


CALL 0x00017d1a
ADD EAX,0x4189b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x3c
MOV dword ptr [ESP + 0x24],EAX
MOV EAX,dword ptr [ESP + 0x54]
MOV EAX,dword ptr [EAX + 0x80]
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JZ 0x0003e9ab
MOV EAX,dword ptr [EAX + 0xc]
XOR ECX,ECX
TEST EAX,EAX
JZ 0x0003e7ab
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 0x0003e798
MOV EAX,dword ptr [ESP + 0x24]
XOR EDI,EDI
LEA EDX,[EAX + 0x9ae4]
MOV ESI,dword ptr [EDX]
TEST ESI,ESI
JZ 0x0003e7d4
MOV EAX,dword ptr [ESI]
MOV EBX,dword ptr [ESP + 0x54]
CMP dword ptr [ESI + 0x4],EBX
JZ 0x0003e9b8
MOV EDX,ESI
MOV ESI,EAX
TEST ESI,ESI
JNZ 0x0003e7bd
SUB ESP,0x8
XOR EBP,EBP
PUSH 0x4
PUSH ECX
MOV EBX,dword ptr [ESP + 0x34]
CALL 0x00014750
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x2c]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JZ 0x0003ea4f
MOV EBX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x18],ESI
MOV ESI,EAX
LEA EBX,[EBX + 0xfffe1878]
MOV dword ptr [ESP + 0x2c],EBX
JMP 0x0003e823
MOV ESI,dword ptr [ESI + 0x28]
TEST ESI,ESI
JZ 0x0003e955
TEST byte ptr [ESI],0x20
JNZ 0x0003e818
MOVZX EAX,byte ptr [ESI + 0x2]
ADD EAX,dword ptr [ESI + 0x8]
MOV EDX,dword ptr [ESI + 0x4]
MOV EBX,EAX
MOV dword ptr [ESP + 0x10],EAX
SAR EBX,0x1f
MOV ECX,dword ptr [EDX + 0x14]
CMP dword ptr [EDX + 0x10],EAX
MOV dword ptr [ESP + 0x14],EBX
SBB ECX,dword ptr [ESP + 0x14]
JL 0x0003e9d0
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x60]
MOV EBX,dword ptr [ESP + 0x34]
CALL 0x00053700
ADD ESP,0x10
MOV EBX,EAX
TEST EAX,EAX
JZ 0x0003e818
MOV EAX,dword ptr [ESP + 0xc]
LEA ECX,[EBP + 0x1]
MOV dword ptr [ESP + 0x10],ECX
LEA EAX,[EAX + EBP*0x4]
TEST EDI,EDI
JZ 0x0003e92a
MOV EDX,dword ptr [EDI + 0x14]
MOV dword ptr [ESP + 0x20],EDX
MOV EDX,dword ptr [EBX + 0x4]
CMP dword ptr [EDI + 0x10],EDX
MOV EDX,dword ptr [ESP + 0x20]
SBB EDX,dword ptr [EBX + 0x8]
JNC 0x0003e92a
MOV dword ptr [ESP + 0x20],EBX
MOV EBX,ECX
MOV dword ptr [ESP + 0x28],ESI
JMP 0x0003e8bd
MOV ECX,dword ptr [ESP + 0x20]
MOV EDX,dword ptr [EDI + 0x14]
MOV ESI,dword ptr [ECX + 0x4]
CMP dword ptr [EDI + 0x10],ESI
SBB EDX,dword ptr [ECX + 0x8]
JNC 0x0003e91e
LEA EBX,[EBP + 0x1]
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
MOV ECX,EDI
CALL 0x0003e650
MOV ESI,EAX
LEA EAX,[EBP*0x4 + 0x0]
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x10],ECX
ADD EAX,ECX
TEST ESI,ESI
JZ 0x0003e918
LEA EDX,[EDI + 0xc]
SUB ESP,0x8
MOV ECX,ESI
MOV dword ptr [EAX],EDX
PUSH dword ptr [EDI + 0x28]
PUSH dword ptr [EDI + 0x24]
MOV EAX,dword ptr [ESP + 0x64]
CALL 0x0003db20
MOV EAX,dword ptr [ESP + 0x1c]
MOV ECX,dword ptr [ESP + 0x20]
ADD ESP,0x10
LEA EDX,[EBP + 0x2]
MOV EBP,EBX
MOV dword ptr [ESP + 0x18],ESI
LEA EAX,[EAX + ECX*0x1 + 0x4]
MOV EBX,EDX
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JNZ 0x0003e8a8
MOV dword ptr [ESP + 0x10],EBX
MOV ESI,dword ptr [ESP + 0x28]
MOV EBX,dword ptr [ESP + 0x20]
SUB ESP,0x8
MOV dword ptr [EAX],EBX
MOV ECX,dword ptr [ESI + 0x4]
MOV EDX,EBX
PUSH dword ptr [ESI + 0x40]
PUSH dword ptr [ESI + 0x3c]
MOV EAX,dword ptr [ESP + 0x64]
CALL 0x0003db20
MOV ESI,dword ptr [ESI + 0x28]
ADD ESP,0x10
MOV EBP,dword ptr [ESP + 0x10]
TEST ESI,ESI
JNZ 0x0003e823
MOV ESI,dword ptr [ESP + 0x18]
TEST EDI,EDI
JZ 0x0003e9a7
LEA ESI,[ESI]
MOV EDX,dword ptr [ESP + 0x1c]
MOV ECX,EDI
MOV EAX,ESI
CALL 0x0003e650
MOV EBX,EAX
TEST EAX,EAX
JZ 0x0003e9a1
MOV ESI,dword ptr [ESP + 0xc]
LEA EAX,[EBP + 0x1]
LEA EDX,[EDI + 0xc]
SUB ESP,0x8
MOV dword ptr [ESP + 0x20],EAX
MOV ECX,EBX
MOV dword ptr [ESI + EBP*0x4],EDX
MOV ESI,EBX
PUSH dword ptr [EDI + 0x28]
PUSH dword ptr [EDI + 0x24]
MOV EAX,dword ptr [ESP + 0x64]
CALL 0x0003db20
ADD ESP,0x10
MOV EBP,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JNZ 0x0003e960
TEST EBP,EBP
JNZ 0x0003ea00
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV dword ptr [EDX],EAX
ADD ECX,0x1
MOV dword ptr [ESI],EDI
MOV EDI,ESI
MOV ESI,dword ptr [EDX]
JMP 0x0003e7b9
SUB ESP,0x4
PUSH 0x5
PUSH dword ptr [ESP + 0x34]
PUSH 0x0
MOV EBX,dword ptr [ESP + 0x34]
CALL 0x000141a0
ADD ESP,0xc
PUSH EAX
PUSH dword ptr [ESI + 0x40]
PUSH dword ptr [ESI + 0x3c]
MOV EBX,dword ptr [ESP + 0x34]
CALL 0x0002bdb0
ADD ESP,0x10
JMP 0x0003e84f
MOV EAX,dword ptr [ESP + 0x54]
SUB ESP,0x4
MOV EAX,dword ptr [EAX + 0x14]
MOV dword ptr [ESP + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x1c]
OR EAX,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x5c]
PUSH dword ptr [ESP + 0x5c]
MOV EDI,dword ptr [ESP + 0x34]
MOV EBX,EDI
CALL 0x000146f0
LEA EAX,[EDI + 0x9944]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x4]
PUSH EBP
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x6c]
PUSH EAX
CALL dword ptr [EDX + 0x148]
ADD ESP,0x20
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
TEST EDI,EDI
JNZ 0x0003e960
JMP 0x0003e9ab
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_0003e760(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0003e760(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003e760(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  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int local_3c;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar2 = *(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 (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (for_statement "for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }" for ( (assignment_expression "pbVar12 = *(byte **)(iVar2 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar2 + 0xc)" * (cast_expression "(byte **)(iVar2 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ; (binary_expression "pbVar12 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar12 + 0x28)" * (cast_expression "(byte **)(pbVar12 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar12 + 0x28)" ( (binary_expression "pbVar12 + 0x28" identifier + number_literal) ))))) ) (compound_statement "{\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }" { (expression_statement "iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);" (assignment_expression "iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0)" identifier = (binary_expression "iVar7 + (uint)((*pbVar12 & 0x20) == 0)" identifier + (call_expression "(uint)((*pbVar12 & 0x20) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*pbVar12 & 0x20) == 0)" ( (binary_expression "(*pbVar12 & 0x20) == 0" (parenthesized_expression "(*pbVar12 & 0x20)" ( (binary_expression "*pbVar12 & 0x20" (pointer_expression "*pbVar12" * identifier) & number_literal) )) == number_literal) ))))) ;) })) (expression_statement "puVar8 = &DAT_00089ae4;" (assignment_expression "puVar8 = &DAT_00089ae4" identifier = (pointer_expression "&DAT_00089ae4" & identifier)) ;) (expression_statement "puVar10 = DAT_00089ae4;" (assignment_expression "puVar10 = DAT_00089ae4" identifier = identifier) ;) (expression_statement "puVar13 = (undefined4 *)0x0;" (assignment_expression "puVar13 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }" while (parenthesized_expression "(puVar11 = puVar10, puVar10 != (undefined4 *)0x0)" ( (comma_expression "puVar11 = puVar10, puVar10 != (undefined4 *)0x0" (assignment_expression "puVar11 = puVar10" identifier = identifier) , (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }" { (while_statement "while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }" while (parenthesized_expression "(puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2)" ( (comma_expression "puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2" (assignment_expression "puVar10 = (undefined4 *)*puVar11" identifier = (cast_expression "(undefined4 *)*puVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) , (binary_expression "puVar11[1] != param_2" (subscript_expression "puVar11[1]" identifier [ number_literal ]) != identifier)) )) (compound_statement "{\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }" { (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" identifier = identifier) ;) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" identifier = identifier) ;) (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003e7d4;" goto statement_identifier ;)) })) (expression_statement "*puVar8 = puVar10;" (assignment_expression "*puVar8 = puVar10" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = puVar13;" (assignment_expression "*puVar11 = puVar13" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "puVar13 = puVar11;" (assignment_expression "puVar13 = puVar11" identifier = identifier) ;) (expression_statement "puVar10 = (undefined4 *)*puVar8;" (assignment_expression "puVar10 = (undefined4 *)*puVar8" identifier = (cast_expression "(undefined4 *)*puVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ;) })) (labeled_statement "LAB_0003e7d4:\n    local_3c = 0;" statement_identifier : (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;)) (expression_statement "iVar7 = xcalloc(iVar7,4);" (assignment_expression "iVar7 = xcalloc(iVar7,4)" identifier = (call_expression "xcalloc(iVar7,4)" identifier (argument_list "(iVar7,4)" ( identifier , number_literal )))) ;) (expression_statement "pbVar12 = *(byte **)(iVar2 + 0xc);" (assignment_expression "pbVar12 = *(byte **)(iVar2 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar2 + 0xc)" * (cast_expression "(byte **)(iVar2 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" if (parenthesized_expression "(pbVar12 == (byte *)0x0)" ( (binary_expression "pbVar12 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }" { (if_statement "if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;" if (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" ( (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003e960;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" else (compound_statement "{\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" { (do_statement "do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);" do (compound_statement "{\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      }" { (while_statement "while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }" while (parenthesized_expression "((*pbVar12 & 0x20) != 0)" ( (binary_expression "(*pbVar12 & 0x20) != 0" (parenthesized_expression "(*pbVar12 & 0x20)" ( (binary_expression "*pbVar12 & 0x20" (pointer_expression "*pbVar12" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }" { (labeled_statement "LAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);" statement_identifier : (expression_statement "pbVar12 = *(byte **)(pbVar12 + 0x28);" (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar12 + 0x28)" * (cast_expression "(byte **)(pbVar12 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar12 + 0x28)" ( (binary_expression "pbVar12 + 0x28" identifier + number_literal) ))))) ;)) (if_statement "if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;" if (parenthesized_expression "(pbVar12 == (byte *)0x0)" ( (binary_expression "pbVar12 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0003e95b;" goto statement_identifier ;)) })) (expression_statement "iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;" (assignment_expression "iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f" identifier = (binary_expression "(int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f" (cast_expression "(int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)pbVar12[2] + *(int *)(pbVar12 + 8))" ( (binary_expression "(uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (cast_expression "(uint)pbVar12[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(pbVar12 + 8)" * (cast_expression "(int *)(pbVar12 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 8)" ( (binary_expression "pbVar12 + 8" identifier + number_literal) ))))) ))) >> number_literal)) ;) (expression_statement "iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(pbVar12 + 4) + 0x14)" * (cast_expression "(int *)(*(int *)(pbVar12 + 4) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar12 + 4) + 0x14)" ( (binary_expression "*(int *)(pbVar12 + 4) + 0x14" (pointer_expression "*(int *)(pbVar12 + 4)" * (cast_expression "(int *)(pbVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 4)" ( (binary_expression "pbVar12 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));" (assignment_expression "uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" identifier = (call_expression "(uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" ( (binary_expression "*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (pointer_expression "*(uint *)(*(int *)(pbVar12 + 4) + 0x10)" * (cast_expression "(uint *)(*(int *)(pbVar12 + 4) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar12 + 4) + 0x10)" ( (binary_expression "*(int *)(pbVar12 + 4) + 0x10" (pointer_expression "*(int *)(pbVar12 + 4)" * (cast_expression "(int *)(pbVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 4)" ( (binary_expression "pbVar12 + 4" identifier + number_literal) )))) + number_literal) )))) < (binary_expression "(uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (cast_expression "(uint)pbVar12[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(pbVar12 + 8)" * (cast_expression "(int *)(pbVar12 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 8)" ( (binary_expression "pbVar12 + 8" identifier + number_literal) )))))) )))) ;) (expression_statement "iVar5 = iVar2 - iVar9;" (assignment_expression "iVar5 = iVar2 - iVar9" identifier = (binary_expression "iVar2 - iVar9" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }" if (parenthesized_expression "((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0)" ( (binary_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0" (parenthesized_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1))" ( (binary_expression "SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)" (call_expression "SBORROW4(iVar2,iVar9)" identifier (argument_list "(iVar2,iVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5,uVar1)" identifier (argument_list "(iVar5,uVar1)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar5 - uVar1) < 0" (cast_expression "(int)(iVar5 - uVar1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar5 - uVar1)" ( (binary_expression "iVar5 - uVar1" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }" { (expression_statement "uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "uVar6 = 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_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);" (call_expression "FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6)" identifier (argument_list "(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6)" ( (pointer_expression "*(undefined4 *)(pbVar12 + 0x3c)" * (cast_expression "(undefined4 *)(pbVar12 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x3c)" ( (binary_expression "pbVar12 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pbVar12 + 0x40)" * (cast_expression "(undefined4 *)(pbVar12 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x40)" ( (binary_expression "pbVar12 + 0x40" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "iVar2 = FUN_00053700(param_2,pbVar12);" (assignment_expression "iVar2 = FUN_00053700(param_2,pbVar12)" identifier = (call_expression "FUN_00053700(param_2,pbVar12)" identifier (argument_list "(param_2,pbVar12)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_0003e818;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003e818;" goto statement_identifier ;)) (expression_statement "iVar5 = local_3c + 1;" (assignment_expression "iVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)(iVar7 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + local_3c * 4)" identifier = (cast_expression "(int *)(iVar7 + local_3c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + local_3c * 4)" ( (binary_expression "iVar7 + local_3c * 4" identifier + (binary_expression "local_3c * 4" identifier * number_literal)) )))) ;) (if_statement "if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }" if (parenthesized_expression "((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))))" ( (binary_expression "(puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))" (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" ( (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))" ( (binary_expression "(uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (binary_expression "(uint)puVar13[5] < *(uint *)(iVar2 + 8)" (cast_expression "(uint)puVar13[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[5]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) || (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8)" (subscript_expression "puVar13[5]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) < (call_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)puVar13[4] < *(uint *)(iVar2 + 4))" ( (binary_expression "(uint)puVar13[4] < *(uint *)(iVar2 + 4)" (cast_expression "(uint)puVar13[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[4]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) ))))) ))) )) (compound_statement "{\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }" { (while_statement "while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }" { (expression_statement "iVar3 = FUN_0003e650();" (assignment_expression "iVar3 = FUN_0003e650()" identifier = (call_expression "FUN_0003e650()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar4 = (int *)(iVar7 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + local_3c * 4)" identifier = (cast_expression "(int *)(iVar7 + local_3c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + local_3c * 4)" ( (binary_expression "iVar7 + local_3c * 4" identifier + (binary_expression "local_3c * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar9 = iVar5;" (assignment_expression "iVar9 = iVar5" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }" { (expression_statement "*piVar4 = (int)(puVar13 + 3);" (assignment_expression "*piVar4 = (int)(puVar13 + 3)" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)(puVar13 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar13 + 3)" ( (binary_expression "puVar13 + 3" identifier + number_literal) )))) ;) (expression_statement "FUN_0003db20(puVar13[9],puVar13[10]);" (call_expression "FUN_0003db20(puVar13[9],puVar13[10])" identifier (argument_list "(puVar13[9],puVar13[10])" ( (subscript_expression "puVar13[9]" identifier [ number_literal ]) , (subscript_expression "puVar13[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar9 = local_3c + 2;" (assignment_expression "iVar9 = local_3c + 2" identifier = (binary_expression "local_3c + 2" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)(iVar7 + 4 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + 4 + local_3c * 4)" identifier = (cast_expression "(int *)(iVar7 + 4 + local_3c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4 + local_3c * 4)" ( (binary_expression "iVar7 + 4 + local_3c * 4" (binary_expression "iVar7 + 4" identifier + number_literal) + (binary_expression "local_3c * 4" identifier * number_literal)) )))) ;) (expression_statement "local_3c = iVar5;" (assignment_expression "local_3c = iVar5" identifier = identifier) ;) })) (expression_statement "puVar13 = (undefined4 *)*puVar13;" (assignment_expression "puVar13 = (undefined4 *)*puVar13" identifier = (cast_expression "(undefined4 *)*puVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ;) (expression_statement "iVar5 = iVar9;" (assignment_expression "iVar5 = iVar9" identifier = identifier) ;) (if_statement "if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;" if (parenthesized_expression "((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               ))" ( (binary_expression "(puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )" (parenthesized_expression "(puVar13 == (undefined4 *)0x0)" ( (binary_expression "puVar13 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )" ( (binary_expression "*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)" (binary_expression "*(uint *)(iVar2 + 8) <= (uint)puVar13[5]" (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) <= (cast_expression "(uint)puVar13[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[5]" identifier [ number_literal ]))) && (binary_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)" (call_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)puVar13[4] < *(uint *)(iVar2 + 4))" ( (binary_expression "(uint)puVar13[4] < *(uint *)(iVar2 + 4)" (cast_expression "(uint)puVar13[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[4]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) ))) <= (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8)" (subscript_expression "puVar13[5]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))))) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = local_3c + 1;" (assignment_expression "iVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) })) })) (expression_statement "local_3c = iVar5;" (assignment_expression "local_3c = iVar5" identifier = identifier) ;) (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));" (call_expression "FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40))" identifier (argument_list "(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40))" ( (pointer_expression "*(undefined4 *)(pbVar12 + 0x3c)" * (cast_expression "(undefined4 *)(pbVar12 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x3c)" ( (binary_expression "pbVar12 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pbVar12 + 0x40)" * (cast_expression "(undefined4 *)(pbVar12 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x40)" ( (binary_expression "pbVar12 + 0x40" identifier + number_literal) )))) ))) ;) (expression_statement "pbVar12 = *(byte **)(pbVar12 + 0x28);" (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar12 + 0x28)" * (cast_expression "(byte **)(pbVar12 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar12 + 0x28)" ( (binary_expression "pbVar12 + 0x28" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(pbVar12 != (byte *)0x0)" ( (binary_expression "pbVar12 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "joined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" statement_identifier : (for_statement "for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" for ( ; (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar13 = (undefined4 *)*puVar13" identifier = (cast_expression "(undefined4 *)*puVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ) (compound_statement "{\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" { (labeled_statement "LAB_0003e960:\n        iVar5 = FUN_0003e650();" statement_identifier : (expression_statement "iVar5 = FUN_0003e650();" (assignment_expression "iVar5 = FUN_0003e650()" identifier = (call_expression "FUN_0003e650()" identifier (argument_list "()" ( )))) ;)) (expression_statement "iVar2 = local_3c;" (assignment_expression "iVar2 = local_3c" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }" { (expression_statement "iVar2 = local_3c + 1;" (assignment_expression "iVar2 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;" (assignment_expression "*(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3" (pointer_expression "*(undefined4 **)(iVar7 + local_3c * 4)" * (cast_expression "(undefined4 **)(iVar7 + local_3c * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + local_3c * 4)" ( (binary_expression "iVar7 + local_3c * 4" identifier + (binary_expression "local_3c * 4" identifier * number_literal)) )))) = (binary_expression "puVar13 + 3" identifier + number_literal)) ;) (expression_statement "FUN_0003db20(puVar13[9],puVar13[10]);" (call_expression "FUN_0003db20(puVar13[9],puVar13[10])" identifier (argument_list "(puVar13[9],puVar13[10])" ( (subscript_expression "puVar13[9]" identifier [ number_literal ]) , (subscript_expression "puVar13[10]" identifier [ number_literal ]) ))) ;) })) (expression_statement "local_3c = iVar2;" (assignment_expression "local_3c = iVar2" identifier = identifier) ;) }))) (if_statement "if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,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(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\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_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);" (call_expression "(**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))" ( (pointer_expression "**(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" * (pointer_expression "*(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" * (cast_expression "(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00089944 + 4) + 0x148)" ( (binary_expression "*(int *)(DAT_00089944 + 4) + 0x148" (pointer_expression "*(int *)(DAT_00089944 + 4)" * (cast_expression "(int *)(DAT_00089944 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089944 + 4)" ( (binary_expression "DAT_00089944 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00089944,param_2,iVar7,local_3c)" ( 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  arelent *reloc;\n  segment_info_type *seginfo;\n  fixS *pfVar2;\n  int iVar3;\n  arelent **ppaVar4;\n  uint uVar5;\n  arelent *paVar6;\n  fragS *pfVar7;\n  arelent **ppaVar8;\n  char *format;\n  int iVar9;\n  reloc_list **pprVar10;\n  int iVar11;\n  uint uVar12;\n  fix *fixp;\n  fragS *r;\n  uint local_3c;\n  fragS *local_34;\n  \n  seginfo = (segment_info_type *)sec->userdata;\n  if (seginfo != (segment_info_type *)0x0) {\n    iVar9 = 0;\n    for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }\n    pprVar10 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (pfVar7 = local_34, local_34 != (fragS *)0x0) {\n      while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    ppaVar4 = (arelent **)xcalloc(iVar9,4);\n    fixp = seginfo->fix_root;\n    if (fixp == (fixS *)0x0) {\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,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  arelent *reloc;\n  segment_info_type *seginfo;\n  fixS *pfVar2;\n  int iVar3;\n  arelent **ppaVar4;\n  uint uVar5;\n  arelent *paVar6;\n  fragS *pfVar7;\n  arelent **ppaVar8;\n  char *format;\n  int iVar9;\n  reloc_list **pprVar10;\n  int iVar11;\n  uint uVar12;\n  fix *fixp;\n  fragS *r;\n  uint local_3c;\n  fragS *local_34;\n  \n  seginfo = (segment_info_type *)sec->userdata;\n  if (seginfo != (segment_info_type *)0x0) {\n    iVar9 = 0;\n    for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }\n    pprVar10 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (pfVar7 = local_34, local_34 != (fragS *)0x0) {\n      while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    ppaVar4 = (arelent **)xcalloc(iVar9,4);\n    fixp = seginfo->fix_root;\n    if (fixp == (fixS *)0x0) {\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,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  arelent *reloc;\n  segment_info_type *seginfo;\n  fixS *pfVar2;\n  int iVar3;\n  arelent **ppaVar4;\n  uint uVar5;\n  arelent *paVar6;\n  fragS *pfVar7;\n  arelent **ppaVar8;\n  char *format;\n  int iVar9;\n  reloc_list **pprVar10;\n  int iVar11;\n  uint uVar12;\n  fix *fixp;\n  fragS *r;\n  uint local_3c;\n  fragS *local_34;\n  \n  seginfo = (segment_info_type *)sec->userdata;\n  if (seginfo != (segment_info_type *)0x0) {\n    iVar9 = 0;\n    for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }\n    pprVar10 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (pfVar7 = local_34, local_34 != (fragS *)0x0) {\n      while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    ppaVar4 = (arelent **)xcalloc(iVar9,4);\n    fixp = seginfo->fix_root;\n    if (fixp == (fixS *)0x0) {\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "arelent *reloc;" type_identifier (pointer_declarator "*reloc" * identifier) ;) (declaration "segment_info_type *seginfo;" type_identifier (pointer_declarator "*seginfo" * identifier) ;) (declaration "fixS *pfVar2;" type_identifier (pointer_declarator "*pfVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "arelent **ppaVar4;" type_identifier (pointer_declarator "**ppaVar4" * (pointer_declarator "*ppaVar4" * identifier)) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "arelent *paVar6;" type_identifier (pointer_declarator "*paVar6" * identifier) ;) (declaration "fragS *pfVar7;" type_identifier (pointer_declarator "*pfVar7" * identifier) ;) (declaration "arelent **ppaVar8;" type_identifier (pointer_declarator "**ppaVar8" * (pointer_declarator "*ppaVar8" * identifier)) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "reloc_list **pprVar10;" type_identifier (pointer_declarator "**pprVar10" * (pointer_declarator "*pprVar10" * identifier)) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "fix *fixp;" type_identifier (pointer_declarator "*fixp" * identifier) ;) (declaration "fragS *r;" type_identifier (pointer_declarator "*r" * identifier) ;) (declaration "uint local_3c;" type_identifier identifier ;) (declaration "fragS *local_34;" type_identifier (pointer_declarator "*local_34" * 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    iVar9 = 0;\n    for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }\n    pprVar10 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (pfVar7 = local_34, local_34 != (fragS *)0x0) {\n      while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    ppaVar4 = (arelent **)xcalloc(iVar9,4);\n    fixp = seginfo->fix_root;\n    if (fixp == (fixS *)0x0) {\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,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    iVar9 = 0;\n    for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }\n    pprVar10 = &reloc_list;\n    local_34 = (fragS *)reloc_list;\n    r = (fragS *)0x0;\n    while (pfVar7 = local_34, local_34 != (fragS *)0x0) {\n      while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    ppaVar4 = (arelent **)xcalloc(iVar9,4);\n    fixp = seginfo->fix_root;\n    if (fixp == (fixS *)0x0) {\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,local_3c);\n        return;\n      }\n    }\n  }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (for_statement "for (pfVar2 = seginfo->fix_root; pfVar2 != (fixS *)0x0; pfVar2 = pfVar2->fx_next) {\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }" for ( (assignment_expression "pfVar2 = seginfo->fix_root" identifier = (field_expression "seginfo->fix_root" identifier -> field_identifier)) ; (binary_expression "pfVar2 != (fixS *)0x0" identifier != (cast_expression "(fixS *)0x0" ( (type_descriptor "fixS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pfVar2 = pfVar2->fx_next" identifier = (field_expression "pfVar2->fx_next" identifier -> field_identifier)) ) (compound_statement "{\n      iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);\n    }" { (expression_statement "iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0);" (assignment_expression "iVar9 = iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0)" identifier = (binary_expression "iVar9 + (uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0)" identifier + (call_expression "(uint)((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0)" ( (binary_expression "(undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)\n                            == (undefined1  [68])0x0" (call_expression "(undefined1  [68])((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)" (parenthesized_expression "(undefined1  [68])" ( (subscript_expression "undefined1  [68]" identifier [ number_literal ]) )) (argument_list "((undefined1  [68])*pfVar2 & (undefined1  [68])0x20)" ( (binary_expression "(undefined1  [68])*pfVar2 & (undefined1  [68])0x20" (binary_expression "(undefined1  [68])*pfVar2" (parenthesized_expression "(undefined1  [68])" ( (subscript_expression "undefined1  [68]" identifier [ number_literal ]) )) * identifier) & (cast_expression "(undefined1  [68])0x20" ( (type_descriptor "undefined1  [68]" type_identifier (abstract_array_declarator "[68]" [ number_literal ])) ) number_literal)) ))) == (cast_expression "(undefined1  [68])0x0" ( (type_descriptor "undefined1  [68]" type_identifier (abstract_array_declarator "[68]" [ number_literal ])) ) number_literal)) ))))) ;) })) (expression_statement "pprVar10 = &reloc_list;" (assignment_expression "pprVar10 = &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 (pfVar7 = local_34, local_34 != (fragS *)0x0) {\n      while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }" while (parenthesized_expression "(pfVar7 = local_34, local_34 != (fragS *)0x0)" ( (comma_expression "pfVar7 = local_34, local_34 != (fragS *)0x0" (assignment_expression "pfVar7 = local_34" identifier = identifier) , (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 (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }\n      *(fragS **)&((fragS *)pprVar10)->fr_address = local_34;\n      iVar9 = iVar9 + 1;\n      *(fragS **)&pfVar7->fr_address = r;\n      r = pfVar7;\n      local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;\n    }" { (while_statement "while (local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec) {\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }" while (parenthesized_expression "(local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec)" ( (comma_expression "local_34 = *(fragS **)&pfVar7->fr_address,\n            (asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec" (assignment_expression "local_34 = *(fragS **)&pfVar7->fr_address" identifier = (pointer_expression "*(fragS **)&pfVar7->fr_address" * (cast_expression "(fragS **)&pfVar7->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pfVar7->fr_address" & (field_expression "pfVar7->fr_address" identifier -> field_identifier))))) , (binary_expression "(asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym !=\n            sec" (cast_expression "(asection *)\n            (((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym" ( (type_descriptor "asection *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a).offset_sym" (parenthesized_expression "(((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a)" ( (field_expression "((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))->a" (parenthesized_expression "((anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4))" ( (cast_expression "(anon_union_32_2_94730002_for_u *)((int)&pfVar7->fr_address + 4)" ( (type_descriptor "anon_union_32_2_94730002_for_u *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pfVar7->fr_address + 4)" ( (binary_expression "(int)&pfVar7->fr_address + 4" (cast_expression "(int)&pfVar7->fr_address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pfVar7->fr_address" & (field_expression "pfVar7->fr_address" identifier -> field_identifier))) + number_literal) ))) )) -> field_identifier) )) . field_identifier)) != identifier)) )) (compound_statement "{\n        pprVar10 = (reloc_list **)pfVar7;\n        pfVar7 = local_34;\n        if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;\n      }" { (expression_statement "pprVar10 = (reloc_list **)pfVar7;" (assignment_expression "pprVar10 = (reloc_list **)pfVar7" identifier = (cast_expression "(reloc_list **)pfVar7" ( (type_descriptor "reloc_list **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (expression_statement "pfVar7 = local_34;" (assignment_expression "pfVar7 = local_34" identifier = identifier) ;) (if_statement "if (local_34 == (fragS *)0x0) goto LAB_0003e7d4;" 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_0003e7d4;" goto statement_identifier ;)) })) (expression_statement "*(fragS **)&((fragS *)pprVar10)->fr_address = local_34;" (assignment_expression "*(fragS **)&((fragS *)pprVar10)->fr_address = local_34" (pointer_expression "*(fragS **)&((fragS *)pprVar10)->fr_address" * (cast_expression "(fragS **)&((fragS *)pprVar10)->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&((fragS *)pprVar10)->fr_address" & (field_expression "((fragS *)pprVar10)->fr_address" (parenthesized_expression "((fragS *)pprVar10)" ( (cast_expression "(fragS *)pprVar10" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier)))) = identifier) ;) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "*(fragS **)&pfVar7->fr_address = r;" (assignment_expression "*(fragS **)&pfVar7->fr_address = r" (pointer_expression "*(fragS **)&pfVar7->fr_address" * (cast_expression "(fragS **)&pfVar7->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&pfVar7->fr_address" & (field_expression "pfVar7->fr_address" identifier -> field_identifier)))) = identifier) ;) (expression_statement "r = pfVar7;" (assignment_expression "r = pfVar7" identifier = identifier) ;) (expression_statement "local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address;" (assignment_expression "local_34 = *(fragS **)&((fragS *)pprVar10)->fr_address" identifier = (pointer_expression "*(fragS **)&((fragS *)pprVar10)->fr_address" * (cast_expression "(fragS **)&((fragS *)pprVar10)->fr_address" ( (type_descriptor "fragS **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&((fragS *)pprVar10)->fr_address" & (field_expression "((fragS *)pprVar10)->fr_address" (parenthesized_expression "((fragS *)pprVar10)" ( (cast_expression "(fragS *)pprVar10" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )) -> field_identifier))))) ;) })) (labeled_statement "LAB_0003e7d4:\n    local_3c = 0;" statement_identifier : (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;)) (expression_statement "ppaVar4 = (arelent **)xcalloc(iVar9,4);" (assignment_expression "ppaVar4 = (arelent **)xcalloc(iVar9,4)" identifier = (cast_expression "(arelent **)xcalloc(iVar9,4)" ( (type_descriptor "arelent **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xcalloc(iVar9,4)" identifier (argument_list "(iVar9,4)" ( identifier , number_literal ))))) ;) (expression_statement "fixp = seginfo->fix_root;" (assignment_expression "fixp = seginfo->fix_root" identifier = (field_expression "seginfo->fix_root" identifier -> field_identifier)) ;) (if_statement "if (fixp == (fixS *)0x0) {\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,local_3c);\n        return;\n      }\n    }" if (parenthesized_expression "(fixp == (fixS *)0x0)" ( (binary_expression "fixp == (fixS *)0x0" identifier == (cast_expression "(fixS *)0x0" ( (type_descriptor "fixS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (r != (fragS *)0x0) goto LAB_0003e960;\n    }" { (if_statement "if (r != (fragS *)0x0) goto LAB_0003e960;" 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_0003e960;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,local_3c);\n        return;\n      }\n    }" else (compound_statement "{\n      do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);\njoined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(abfd,sec,sec->flags | 4);\n        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,local_3c);\n        return;\n      }\n    }" { (do_statement "do {\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      } while (fixp != (fix *)0x0);" do (compound_statement "{\n        while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }\n        uVar5 = (uint)fixp->fx_size + fixp->fx_where;\n        iVar11 = (int)uVar5 >> 0x1f;\n        iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);\n        uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);\n        iVar3 = iVar9 - iVar11;\n        if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }\n        paVar6 = tc_gen_reloc(sec,fixp);\n        if (paVar6 == (arelent *)0x0) goto LAB_0003e818;\n        uVar5 = local_3c + 1;\n        ppaVar8 = ppaVar4 + local_3c;\n        if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }\n        local_3c = uVar5;\n        *ppaVar8 = paVar6;\n        install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);\n        fixp = fixp->fx_next;\n      }" { (while_statement "while ((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0) {\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }" while (parenthesized_expression "((undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0)" ( (binary_expression "(undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20) !=\n               (undefined1  [68])0x0" (call_expression "(undefined1  [68])((undefined1  [68])*fixp & (undefined1  [68])0x20)" (parenthesized_expression "(undefined1  [68])" ( (subscript_expression "undefined1  [68]" identifier [ number_literal ]) )) (argument_list "((undefined1  [68])*fixp & (undefined1  [68])0x20)" ( (binary_expression "(undefined1  [68])*fixp & (undefined1  [68])0x20" (binary_expression "(undefined1  [68])*fixp" (parenthesized_expression "(undefined1  [68])" ( (subscript_expression "undefined1  [68]" identifier [ number_literal ]) )) * identifier) & (cast_expression "(undefined1  [68])0x20" ( (type_descriptor "undefined1  [68]" type_identifier (abstract_array_declarator "[68]" [ number_literal ])) ) number_literal)) ))) != (cast_expression "(undefined1  [68])0x0" ( (type_descriptor "undefined1  [68]" type_identifier (abstract_array_declarator "[68]" [ number_literal ])) ) number_literal)) )) (compound_statement "{\nLAB_0003e818:\n          fixp = fixp->fx_next;\n          if (fixp == (fix *)0x0) goto joined_r0x0003e95b;\n        }" { (labeled_statement "LAB_0003e818:\n          fixp = fixp->fx_next;" statement_identifier : (expression_statement "fixp = fixp->fx_next;" (assignment_expression "fixp = fixp->fx_next" identifier = (field_expression "fixp->fx_next" identifier -> field_identifier)) ;)) (if_statement "if (fixp == (fix *)0x0) goto joined_r0x0003e95b;" if (parenthesized_expression "(fixp == (fix *)0x0)" ( (binary_expression "fixp == (fix *)0x0" identifier == (cast_expression "(fix *)0x0" ( (type_descriptor "fix *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0003e95b;" goto statement_identifier ;)) })) (expression_statement "uVar5 = (uint)fixp->fx_size + fixp->fx_where;" (assignment_expression "uVar5 = (uint)fixp->fx_size + fixp->fx_where" identifier = (binary_expression "(uint)fixp->fx_size + fixp->fx_where" (cast_expression "(uint)fixp->fx_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "fixp->fx_size" identifier -> field_identifier)) + (field_expression "fixp->fx_where" identifier -> field_identifier))) ;) (expression_statement "iVar11 = (int)uVar5 >> 0x1f;" (assignment_expression "iVar11 = (int)uVar5 >> 0x1f" identifier = (binary_expression "(int)uVar5 >> 0x1f" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (expression_statement "iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4);" (assignment_expression "iVar9 = *(int *)((int)&fixp->fx_frag->fr_fix + 4)" identifier = (pointer_expression "*(int *)((int)&fixp->fx_frag->fr_fix + 4)" * (cast_expression "(int *)((int)&fixp->fx_frag->fr_fix + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&fixp->fx_frag->fr_fix + 4)" ( (binary_expression "(int)&fixp->fx_frag->fr_fix + 4" (cast_expression "(int)&fixp->fx_frag->fr_fix" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&fixp->fx_frag->fr_fix" & (field_expression "fixp->fx_frag->fr_fix" (field_expression "fixp->fx_frag" identifier -> field_identifier) -> field_identifier))) + number_literal) ))))) ;) (expression_statement "uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5);" (assignment_expression "uVar5 = (uint)((uint)fixp->fx_frag->fr_fix < uVar5)" identifier = (call_expression "(uint)((uint)fixp->fx_frag->fr_fix < uVar5)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)fixp->fx_frag->fr_fix < uVar5)" ( (binary_expression "(uint)fixp->fx_frag->fr_fix < uVar5" (cast_expression "(uint)fixp->fx_frag->fr_fix" ( (type_descriptor "uint" type_identifier) ) (field_expression "fixp->fx_frag->fr_fix" (field_expression "fixp->fx_frag" identifier -> field_identifier) -> field_identifier)) < identifier) )))) ;) (expression_statement "iVar3 = iVar9 - iVar11;" (assignment_expression "iVar3 = iVar9 - iVar11" identifier = (binary_expression "iVar9 - iVar11" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0) {\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->fx_line,format);\n        }" if (parenthesized_expression "((SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0)" ( (binary_expression "(SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)) != (int)(iVar3 - uVar5) < 0" (parenthesized_expression "(SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5))" ( (binary_expression "SBORROW4(iVar9,iVar11) != SBORROW4(iVar3,uVar5)" (call_expression "SBORROW4(iVar9,iVar11)" identifier (argument_list "(iVar9,iVar11)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar3,uVar5)" identifier (argument_list "(iVar3,uVar5)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar3 - uVar5) < 0" (cast_expression "(int)(iVar3 - uVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar3 - uVar5)" ( (binary_expression "iVar3 - uVar5" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          format = (char *)dcgettext(0,"internal error: fixup not contained within frag",5);\n          as_bad_where(fixp->fx_file,fixp->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(fixp->fx_file,fixp->fx_line,format);" (call_expression "as_bad_where(fixp->fx_file,fixp->fx_line,format)" identifier (argument_list "(fixp->fx_file,fixp->fx_line,format)" ( (field_expression "fixp->fx_file" identifier -> field_identifier) , (field_expression "fixp->fx_line" identifier -> field_identifier) , identifier ))) ;) })) (expression_statement "paVar6 = tc_gen_reloc(sec,fixp);" (assignment_expression "paVar6 = tc_gen_reloc(sec,fixp)" identifier = (call_expression "tc_gen_reloc(sec,fixp)" identifier (argument_list "(sec,fixp)" ( identifier , identifier )))) ;) (if_statement "if (paVar6 == (arelent *)0x0) goto LAB_0003e818;" if (parenthesized_expression "(paVar6 == (arelent *)0x0)" ( (binary_expression "paVar6 == (arelent *)0x0" identifier == (cast_expression "(arelent *)0x0" ( (type_descriptor "arelent *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003e818;" goto statement_identifier ;)) (expression_statement "uVar5 = local_3c + 1;" (assignment_expression "uVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "ppaVar8 = ppaVar4 + local_3c;" (assignment_expression "ppaVar8 = ppaVar4 + local_3c" identifier = (binary_expression "ppaVar4 + local_3c" identifier + identifier)) ;) (if_statement "if ((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))\n        {\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }" if (parenthesized_expression "((r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)))" ( (binary_expression "(r != (fragS *)0x0) &&\n           (uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address))" (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)) )) && (parenthesized_expression "(uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address))" ( (comma_expression "uVar12 = *(uint *)((int)&r->fr_fix + 4), puVar1 = (uint *)((int)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)" (assignment_expression "uVar12 = *(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)&paVar6->address + 4),\n           uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)" (assignment_expression "puVar1 = (uint *)((int)&paVar6->address + 4)" identifier = (cast_expression "(uint *)((int)&paVar6->address + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar6->address + 4)" ( (binary_expression "(int)&paVar6->address + 4" (cast_expression "(int)&paVar6->address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar6->address" & (field_expression "paVar6->address" identifier -> field_identifier))) + number_literal) )))) , (binary_expression "uVar12 < *puVar1 || uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)" (binary_expression "uVar12 < *puVar1" identifier < (pointer_expression "*puVar1" * identifier)) || (binary_expression "uVar12 - *puVar1 < (uint)((uint)r->fr_fix < (uint)paVar6->address)" (binary_expression "uVar12 - *puVar1" identifier - (pointer_expression "*puVar1" * identifier)) < (call_expression "(uint)((uint)r->fr_fix < (uint)paVar6->address)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)r->fr_fix < (uint)paVar6->address)" ( (binary_expression "(uint)r->fr_fix < (uint)paVar6->address" (cast_expression "(uint)r->fr_fix" ( (type_descriptor "uint" type_identifier) ) (field_expression "r->fr_fix" identifier -> field_identifier)) < (cast_expression "(uint)paVar6->address" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar6->address" identifier -> field_identifier))) ))))))) ))) )) (compound_statement "{\n          while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }\n        }" { (while_statement "while( true ) {\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n            ppaVar8 = ppaVar4 + local_3c;\n            uVar12 = uVar5;\n            if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }\n            r = *(fragS **)&r->fr_address;\n            uVar5 = uVar12;\n            if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;\n            uVar5 = local_3c + 1;\n          }" { (expression_statement "pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);" (assignment_expression "pfVar7 = 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 = ppaVar4 + local_3c;" (assignment_expression "ppaVar8 = ppaVar4 + local_3c" identifier = (binary_expression "ppaVar4 + local_3c" identifier + identifier)) ;) (expression_statement "uVar12 = uVar5;" (assignment_expression "uVar12 = uVar5" identifier = identifier) ;) (if_statement "if (pfVar7 != (fragS *)0x0) {\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }" if (parenthesized_expression "(pfVar7 != (fragS *)0x0)" ( (binary_expression "pfVar7 != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              reloc = (arelent *)((int)&r->last_fr_address + 4);\n              *ppaVar8 = reloc;\n              install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n              uVar12 = local_3c + 2;\n              ppaVar8 = ppaVar4 + local_3c + 1;\n              local_3c = uVar5;\n              local_34 = pfVar7;\n            }" { (expression_statement "reloc = (arelent *)((int)&r->last_fr_address + 4);" (assignment_expression "reloc = (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 = reloc;" (assignment_expression "*ppaVar8 = reloc" (pointer_expression "*ppaVar8" * identifier) = identifier) ;) (expression_statement "install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);" (call_expression "install_reloc(sec,reloc,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol)" identifier (argument_list "(sec,reloc,pfVar7,*(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 "uVar12 = local_3c + 2;" (assignment_expression "uVar12 = local_3c + 2" identifier = (binary_expression "local_3c + 2" identifier + number_literal)) ;) (expression_statement "ppaVar8 = ppaVar4 + local_3c + 1;" (assignment_expression "ppaVar8 = ppaVar4 + local_3c + 1" identifier = (binary_expression "ppaVar4 + local_3c + 1" (binary_expression "ppaVar4 + local_3c" identifier + identifier) + number_literal)) ;) (expression_statement "local_3c = uVar5;" (assignment_expression "local_3c = uVar5" identifier = identifier) ;) (expression_statement "local_34 = pfVar7;" (assignment_expression "local_34 = pfVar7" 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 "uVar5 = uVar12;" (assignment_expression "uVar5 = uVar12" identifier = identifier) ;) (if_statement "if ((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)) break;" if (parenthesized_expression "((r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1))" ( (binary_expression "(r == (fragS *)0x0) ||\n               (uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)" (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)) )) || (parenthesized_expression "(uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1)" ( (comma_expression "uVar12 = *(uint *)((int)&r->fr_fix + 4),\n               puVar1 = (uint *)((int)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1" (assignment_expression "uVar12 = *(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)&paVar6->address + 4),\n               *puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1" (assignment_expression "puVar1 = (uint *)((int)&paVar6->address + 4)" identifier = (cast_expression "(uint *)((int)&paVar6->address + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&paVar6->address + 4)" ( (binary_expression "(int)&paVar6->address + 4" (cast_expression "(int)&paVar6->address" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&paVar6->address" & (field_expression "paVar6->address" identifier -> field_identifier))) + number_literal) )))) , (binary_expression "*puVar1 <= uVar12 &&\n               (uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1" (binary_expression "*puVar1 <= uVar12" (pointer_expression "*puVar1" * identifier) <= identifier) && (binary_expression "(uint)((uint)r->fr_fix < (uint)paVar6->address) <= uVar12 - *puVar1" (call_expression "(uint)((uint)r->fr_fix < (uint)paVar6->address)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)r->fr_fix < (uint)paVar6->address)" ( (binary_expression "(uint)r->fr_fix < (uint)paVar6->address" (cast_expression "(uint)r->fr_fix" ( (type_descriptor "uint" type_identifier) ) (field_expression "r->fr_fix" identifier -> field_identifier)) < (cast_expression "(uint)paVar6->address" ( (type_descriptor "uint" type_identifier) ) (field_expression "paVar6->address" identifier -> field_identifier))) ))) <= (binary_expression "uVar12 - *puVar1" identifier - (pointer_expression "*puVar1" * identifier)))))) ))) )) (break_statement "break;" break ;)) (expression_statement "uVar5 = local_3c + 1;" (assignment_expression "uVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) })) })) (expression_statement "local_3c = uVar5;" (assignment_expression "local_3c = uVar5" identifier = identifier) ;) (expression_statement "*ppaVar8 = paVar6;" (assignment_expression "*ppaVar8 = paVar6" (pointer_expression "*ppaVar8" * identifier) = identifier) ;) (expression_statement "install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line);" (call_expression "install_reloc(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line)" identifier (argument_list "(sec,paVar6,fixp->fx_frag,fixp->fx_file,fixp->fx_line)" ( identifier , identifier , (field_expression "fixp->fx_frag" identifier -> field_identifier) , (field_expression "fixp->fx_file" identifier -> field_identifier) , (field_expression "fixp->fx_line" identifier -> field_identifier) ))) ;) (expression_statement "fixp = fixp->fx_next;" (assignment_expression "fixp = fixp->fx_next" identifier = (field_expression "fixp->fx_next" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(fixp != (fix *)0x0)" ( (binary_expression "fixp != (fix *)0x0" identifier != (cast_expression "(fix *)0x0" ( (type_descriptor "fix *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "joined_r0x0003e95b:\n      for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }" statement_identifier : (for_statement "for (; r != (fragS *)0x0; r = *(fragS **)&r->fr_address) {\nLAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\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_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);\n        uVar5 = local_3c;\n        if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }\n        local_3c = uVar5;\n      }" { (labeled_statement "LAB_0003e960:\n        pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);" statement_identifier : (expression_statement "pfVar7 = get_frag_for_reloc(local_34,seginfo,(reloc_list *)r);" (assignment_expression "pfVar7 = 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 "uVar5 = local_3c;" (assignment_expression "uVar5 = local_3c" identifier = identifier) ;) (if_statement "if (pfVar7 != (fragS *)0x0) {\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }" if (parenthesized_expression "(pfVar7 != (fragS *)0x0)" ( (binary_expression "pfVar7 != (fragS *)0x0" identifier != (cast_expression "(fragS *)0x0" ( (type_descriptor "fragS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar5 = local_3c + 1;\n          paVar6 = (arelent *)((int)&r->last_fr_address + 4);\n          ppaVar4[local_3c] = paVar6;\n          install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);\n          local_34 = pfVar7;\n        }" { (expression_statement "uVar5 = local_3c + 1;" (assignment_expression "uVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "paVar6 = (arelent *)((int)&r->last_fr_address + 4);" (assignment_expression "paVar6 = (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 "ppaVar4[local_3c] = paVar6;" (assignment_expression "ppaVar4[local_3c] = paVar6" (subscript_expression "ppaVar4[local_3c]" identifier [ identifier ]) = identifier) ;) (expression_statement "install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol);" (call_expression "install_reloc(sec,paVar6,pfVar7,*(char **)((int)&r->fr_offset + 4),(uint)r->fr_symbol)" identifier (argument_list "(sec,paVar6,pfVar7,*(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 = pfVar7;" (assignment_expression "local_34 = pfVar7" identifier = identifier) ;) })) (expression_statement "local_3c = uVar5;" (assignment_expression "local_3c = uVar5" 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,ppaVar4,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,ppaVar4,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,ppaVar4,local_3c);" (call_expression "(*stdoutput->xvec->_bfd_set_reloc)(stdoutput,sec,ppaVar4,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,ppaVar4,local_3c)" ( identifier , identifier , identifier , identifier ))) ;) (return_statement "return;" return ;) })) }))) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003e760(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003e760(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003e760(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  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "undefined4 *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int local_3c;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar2 = *(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 (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (for_statement "for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }" for ( (assignment_expression "pbVar12 = *(byte **)(iVar2 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar2 + 0xc)" * (cast_expression "(byte **)(iVar2 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ; (binary_expression "pbVar12 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar12 + 0x28)" * (cast_expression "(byte **)(pbVar12 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar12 + 0x28)" ( (binary_expression "pbVar12 + 0x28" identifier + number_literal) ))))) ) (compound_statement "{\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }" { (expression_statement "iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);" (assignment_expression "iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0)" identifier = (binary_expression "iVar7 + (uint)((*pbVar12 & 0x20) == 0)" identifier + (call_expression "(uint)((*pbVar12 & 0x20) == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((*pbVar12 & 0x20) == 0)" ( (binary_expression "(*pbVar12 & 0x20) == 0" (parenthesized_expression "(*pbVar12 & 0x20)" ( (binary_expression "*pbVar12 & 0x20" (pointer_expression "*pbVar12" * identifier) & number_literal) )) == number_literal) ))))) ;) })) (expression_statement "puVar8 = &DAT_00089ae4;" (assignment_expression "puVar8 = &DAT_00089ae4" identifier = (pointer_expression "&DAT_00089ae4" & identifier)) ;) (expression_statement "puVar10 = DAT_00089ae4;" (assignment_expression "puVar10 = DAT_00089ae4" identifier = identifier) ;) (expression_statement "puVar13 = (undefined4 *)0x0;" (assignment_expression "puVar13 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (while_statement "while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }" while (parenthesized_expression "(puVar11 = puVar10, puVar10 != (undefined4 *)0x0)" ( (comma_expression "puVar11 = puVar10, puVar10 != (undefined4 *)0x0" (assignment_expression "puVar11 = puVar10" identifier = identifier) , (binary_expression "puVar10 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }" { (while_statement "while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }" while (parenthesized_expression "(puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2)" ( (comma_expression "puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2" (assignment_expression "puVar10 = (undefined4 *)*puVar11" identifier = (cast_expression "(undefined4 *)*puVar11" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar11" * identifier))) , (binary_expression "puVar11[1] != param_2" (subscript_expression "puVar11[1]" identifier [ number_literal ]) != identifier)) )) (compound_statement "{\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }" { (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" identifier = identifier) ;) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" identifier = identifier) ;) (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;" if (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" ( (binary_expression "puVar10 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003e7d4;" goto statement_identifier ;)) })) (expression_statement "*puVar8 = puVar10;" (assignment_expression "*puVar8 = puVar10" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = puVar13;" (assignment_expression "*puVar11 = puVar13" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "puVar13 = puVar11;" (assignment_expression "puVar13 = puVar11" identifier = identifier) ;) (expression_statement "puVar10 = (undefined4 *)*puVar8;" (assignment_expression "puVar10 = (undefined4 *)*puVar8" identifier = (cast_expression "(undefined4 *)*puVar8" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar8" * identifier))) ;) })) (labeled_statement "LAB_0003e7d4:\n    local_3c = 0;" statement_identifier : (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;)) (expression_statement "iVar7 = xcalloc(iVar7,4);" (assignment_expression "iVar7 = xcalloc(iVar7,4)" identifier = (call_expression "xcalloc(iVar7,4)" identifier (argument_list "(iVar7,4)" ( identifier , number_literal )))) ;) (expression_statement "pbVar12 = *(byte **)(iVar2 + 0xc);" (assignment_expression "pbVar12 = *(byte **)(iVar2 + 0xc)" identifier = (pointer_expression "*(byte **)(iVar2 + 0xc)" * (cast_expression "(byte **)(iVar2 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (if_statement "if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" if (parenthesized_expression "(pbVar12 == (byte *)0x0)" ( (binary_expression "pbVar12 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }" { (if_statement "if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;" if (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" ( (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0003e960;" goto statement_identifier ;)) }) (else_clause "else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" else (compound_statement "{\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" { (do_statement "do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);" do (compound_statement "{\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      }" { (while_statement "while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }" while (parenthesized_expression "((*pbVar12 & 0x20) != 0)" ( (binary_expression "(*pbVar12 & 0x20) != 0" (parenthesized_expression "(*pbVar12 & 0x20)" ( (binary_expression "*pbVar12 & 0x20" (pointer_expression "*pbVar12" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }" { (labeled_statement "LAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);" statement_identifier : (expression_statement "pbVar12 = *(byte **)(pbVar12 + 0x28);" (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar12 + 0x28)" * (cast_expression "(byte **)(pbVar12 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar12 + 0x28)" ( (binary_expression "pbVar12 + 0x28" identifier + number_literal) ))))) ;)) (if_statement "if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;" if (parenthesized_expression "(pbVar12 == (byte *)0x0)" ( (binary_expression "pbVar12 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x0003e95b;" goto statement_identifier ;)) })) (expression_statement "iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;" (assignment_expression "iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f" identifier = (binary_expression "(int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f" (cast_expression "(int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)pbVar12[2] + *(int *)(pbVar12 + 8))" ( (binary_expression "(uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (cast_expression "(uint)pbVar12[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(pbVar12 + 8)" * (cast_expression "(int *)(pbVar12 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 8)" ( (binary_expression "pbVar12 + 8" identifier + number_literal) ))))) ))) >> number_literal)) ;) (expression_statement "iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14)" identifier = (pointer_expression "*(int *)(*(int *)(pbVar12 + 4) + 0x14)" * (cast_expression "(int *)(*(int *)(pbVar12 + 4) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar12 + 4) + 0x14)" ( (binary_expression "*(int *)(pbVar12 + 4) + 0x14" (pointer_expression "*(int *)(pbVar12 + 4)" * (cast_expression "(int *)(pbVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 4)" ( (binary_expression "pbVar12 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));" (assignment_expression "uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" identifier = (call_expression "(uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" ( (binary_expression "*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (pointer_expression "*(uint *)(*(int *)(pbVar12 + 4) + 0x10)" * (cast_expression "(uint *)(*(int *)(pbVar12 + 4) + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pbVar12 + 4) + 0x10)" ( (binary_expression "*(int *)(pbVar12 + 4) + 0x10" (pointer_expression "*(int *)(pbVar12 + 4)" * (cast_expression "(int *)(pbVar12 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 4)" ( (binary_expression "pbVar12 + 4" identifier + number_literal) )))) + number_literal) )))) < (binary_expression "(uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (cast_expression "(uint)pbVar12[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ])) + (pointer_expression "*(int *)(pbVar12 + 8)" * (cast_expression "(int *)(pbVar12 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 8)" ( (binary_expression "pbVar12 + 8" identifier + number_literal) )))))) )))) ;) (expression_statement "iVar5 = iVar2 - iVar9;" (assignment_expression "iVar5 = iVar2 - iVar9" identifier = (binary_expression "iVar2 - iVar9" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }" if (parenthesized_expression "((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0)" ( (binary_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0" (parenthesized_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1))" ( (binary_expression "SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)" (call_expression "SBORROW4(iVar2,iVar9)" identifier (argument_list "(iVar2,iVar9)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar5,uVar1)" identifier (argument_list "(iVar5,uVar1)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar5 - uVar1) < 0" (cast_expression "(int)(iVar5 - uVar1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar5 - uVar1)" ( (binary_expression "iVar5 - uVar1" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }" { (expression_statement "uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "uVar6 = 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_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);" (call_expression "FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6)" identifier (argument_list "(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6)" ( (pointer_expression "*(undefined4 *)(pbVar12 + 0x3c)" * (cast_expression "(undefined4 *)(pbVar12 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x3c)" ( (binary_expression "pbVar12 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pbVar12 + 0x40)" * (cast_expression "(undefined4 *)(pbVar12 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x40)" ( (binary_expression "pbVar12 + 0x40" identifier + number_literal) )))) , identifier ))) ;) })) (expression_statement "iVar2 = FUN_00053700(param_2,pbVar12);" (assignment_expression "iVar2 = FUN_00053700(param_2,pbVar12)" identifier = (call_expression "FUN_00053700(param_2,pbVar12)" identifier (argument_list "(param_2,pbVar12)" ( identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_0003e818;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0003e818;" goto statement_identifier ;)) (expression_statement "iVar5 = local_3c + 1;" (assignment_expression "iVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)(iVar7 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + local_3c * 4)" identifier = (cast_expression "(int *)(iVar7 + local_3c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + local_3c * 4)" ( (binary_expression "iVar7 + local_3c * 4" identifier + (binary_expression "local_3c * 4" identifier * number_literal)) )))) ;) (if_statement "if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }" if (parenthesized_expression "((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))))" ( (binary_expression "(puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))" (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" ( (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))" ( (binary_expression "(uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (binary_expression "(uint)puVar13[5] < *(uint *)(iVar2 + 8)" (cast_expression "(uint)puVar13[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[5]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) || (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8)" (subscript_expression "puVar13[5]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) < (call_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)puVar13[4] < *(uint *)(iVar2 + 4))" ( (binary_expression "(uint)puVar13[4] < *(uint *)(iVar2 + 4)" (cast_expression "(uint)puVar13[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[4]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) ))))) ))) )) (compound_statement "{\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }" { (while_statement "while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }" { (expression_statement "iVar3 = FUN_0003e650();" (assignment_expression "iVar3 = FUN_0003e650()" identifier = (call_expression "FUN_0003e650()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar4 = (int *)(iVar7 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + local_3c * 4)" identifier = (cast_expression "(int *)(iVar7 + local_3c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + local_3c * 4)" ( (binary_expression "iVar7 + local_3c * 4" identifier + (binary_expression "local_3c * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar9 = iVar5;" (assignment_expression "iVar9 = iVar5" identifier = identifier) ;) (if_statement "if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }" { (expression_statement "*piVar4 = (int)(puVar13 + 3);" (assignment_expression "*piVar4 = (int)(puVar13 + 3)" (pointer_expression "*piVar4" * identifier) = (cast_expression "(int)(puVar13 + 3)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(puVar13 + 3)" ( (binary_expression "puVar13 + 3" identifier + number_literal) )))) ;) (expression_statement "FUN_0003db20(puVar13[9],puVar13[10]);" (call_expression "FUN_0003db20(puVar13[9],puVar13[10])" identifier (argument_list "(puVar13[9],puVar13[10])" ( (subscript_expression "puVar13[9]" identifier [ number_literal ]) , (subscript_expression "puVar13[10]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar9 = local_3c + 2;" (assignment_expression "iVar9 = local_3c + 2" identifier = (binary_expression "local_3c + 2" identifier + number_literal)) ;) (expression_statement "piVar4 = (int *)(iVar7 + 4 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + 4 + local_3c * 4)" identifier = (cast_expression "(int *)(iVar7 + 4 + local_3c * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 4 + local_3c * 4)" ( (binary_expression "iVar7 + 4 + local_3c * 4" (binary_expression "iVar7 + 4" identifier + number_literal) + (binary_expression "local_3c * 4" identifier * number_literal)) )))) ;) (expression_statement "local_3c = iVar5;" (assignment_expression "local_3c = iVar5" identifier = identifier) ;) })) (expression_statement "puVar13 = (undefined4 *)*puVar13;" (assignment_expression "puVar13 = (undefined4 *)*puVar13" identifier = (cast_expression "(undefined4 *)*puVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ;) (expression_statement "iVar5 = iVar9;" (assignment_expression "iVar5 = iVar9" identifier = identifier) ;) (if_statement "if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;" if (parenthesized_expression "((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               ))" ( (binary_expression "(puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )" (parenthesized_expression "(puVar13 == (undefined4 *)0x0)" ( (binary_expression "puVar13 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )" ( (binary_expression "*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)" (binary_expression "*(uint *)(iVar2 + 8) <= (uint)puVar13[5]" (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) <= (cast_expression "(uint)puVar13[5]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[5]" identifier [ number_literal ]))) && (binary_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)" (call_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((uint)puVar13[4] < *(uint *)(iVar2 + 4))" ( (binary_expression "(uint)puVar13[4] < *(uint *)(iVar2 + 4)" (cast_expression "(uint)puVar13[4]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar13[4]" identifier [ number_literal ])) < (pointer_expression "*(uint *)(iVar2 + 4)" * (cast_expression "(uint *)(iVar2 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4)" ( (binary_expression "iVar2 + 4" identifier + number_literal) ))))) ))) <= (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8)" (subscript_expression "puVar13[5]" identifier [ number_literal ]) - (pointer_expression "*(uint *)(iVar2 + 8)" * (cast_expression "(uint *)(iVar2 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))))) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = local_3c + 1;" (assignment_expression "iVar5 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) })) })) (expression_statement "local_3c = iVar5;" (assignment_expression "local_3c = iVar5" identifier = identifier) ;) (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));" (call_expression "FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40))" identifier (argument_list "(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40))" ( (pointer_expression "*(undefined4 *)(pbVar12 + 0x3c)" * (cast_expression "(undefined4 *)(pbVar12 + 0x3c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x3c)" ( (binary_expression "pbVar12 + 0x3c" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(pbVar12 + 0x40)" * (cast_expression "(undefined4 *)(pbVar12 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pbVar12 + 0x40)" ( (binary_expression "pbVar12 + 0x40" identifier + number_literal) )))) ))) ;) (expression_statement "pbVar12 = *(byte **)(pbVar12 + 0x28);" (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" identifier = (pointer_expression "*(byte **)(pbVar12 + 0x28)" * (cast_expression "(byte **)(pbVar12 + 0x28)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pbVar12 + 0x28)" ( (binary_expression "pbVar12 + 0x28" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(pbVar12 != (byte *)0x0)" ( (binary_expression "pbVar12 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "joined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" statement_identifier : (for_statement "for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" for ( ; (binary_expression "puVar13 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar13 = (undefined4 *)*puVar13" identifier = (cast_expression "(undefined4 *)*puVar13" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar13" * identifier))) ) (compound_statement "{\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" { (labeled_statement "LAB_0003e960:\n        iVar5 = FUN_0003e650();" statement_identifier : (expression_statement "iVar5 = FUN_0003e650();" (assignment_expression "iVar5 = FUN_0003e650()" identifier = (call_expression "FUN_0003e650()" identifier (argument_list "()" ( )))) ;)) (expression_statement "iVar2 = local_3c;" (assignment_expression "iVar2 = local_3c" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }" { (expression_statement "iVar2 = local_3c + 1;" (assignment_expression "iVar2 = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;" (assignment_expression "*(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3" (pointer_expression "*(undefined4 **)(iVar7 + local_3c * 4)" * (cast_expression "(undefined4 **)(iVar7 + local_3c * 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + local_3c * 4)" ( (binary_expression "iVar7 + local_3c * 4" identifier + (binary_expression "local_3c * 4" identifier * number_literal)) )))) = (binary_expression "puVar13 + 3" identifier + number_literal)) ;) (expression_statement "FUN_0003db20(puVar13[9],puVar13[10]);" (call_expression "FUN_0003db20(puVar13[9],puVar13[10])" identifier (argument_list "(puVar13[9],puVar13[10])" ( (subscript_expression "puVar13[9]" identifier [ number_literal ]) , (subscript_expression "puVar13[10]" identifier [ number_literal ]) ))) ;) })) (expression_statement "local_3c = iVar2;" (assignment_expression "local_3c = iVar2" identifier = identifier) ;) }))) (if_statement "if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,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(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\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_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);" (call_expression "(**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))" ( (pointer_expression "**(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" * (pointer_expression "*(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" * (cast_expression "(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(DAT_00089944 + 4) + 0x148)" ( (binary_expression "*(int *)(DAT_00089944 + 4) + 0x148" (pointer_expression "*(int *)(DAT_00089944 + 4)" * (cast_expression "(int *)(DAT_00089944 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00089944 + 4)" ( (binary_expression "DAT_00089944 + 4" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(DAT_00089944,param_2,iVar7,local_3c)" ( 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 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == 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 ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) )) (compound_statement { (while_statement while (parenthesized_expression ( (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) ;) (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 = LIT) ;)) (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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (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) ))))) ;)) (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 = (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 = (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 = (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 = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (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)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_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) ))))) ))))) ))) )) (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) && (binary_expression (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) ))))) ))) <= (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) 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 ( )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 (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_0003e760(undefined4 param_1,int param_2)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003e760(undefined4 param_1,int param_2)" (identifier "FUN_0003e760") (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  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int iVar7;\n  undefined4 *puVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  undefined4 *puVar11;\n  byte *pbVar12;\n  undefined4 *puVar13;\n  int local_3c;\n  \n  iVar2 = *(int *)(param_2 + 0x80);\n  if (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 *puVar8;" (type_identifier "undefined4") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "undefined4 *puVar13;" (type_identifier "undefined4") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (expression_statement "iVar2 = *(int *)(param_2 + 0x80);" (assignment_expression "iVar2 = *(int *)(param_2 + 0x80)" (identifier "iVar2") (= "=") (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 (iVar2 != 0) {\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar7 = 0;\n    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }\n    puVar8 = &DAT_00089ae4;\n    puVar10 = DAT_00089ae4;\n    puVar13 = (undefined4 *)0x0;\n    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }\nLAB_0003e7d4:\n    local_3c = 0;\n    iVar7 = xcalloc(iVar7,4);\n    pbVar12 = *(byte **)(iVar2 + 0xc);\n    if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (for_statement "for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;\n        pbVar12 = *(byte **)(pbVar12 + 0x28)) {\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }" (for "for") (( "(") (assignment_expression "pbVar12 = *(byte **)(iVar2 + 0xc)" (identifier "pbVar12") (= "=") (pointer_expression "*(byte **)(iVar2 + 0xc)" (* "*") (cast_expression "(byte **)(iVar2 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";") (binary_expression "pbVar12 != (byte *)0x0" (identifier "pbVar12") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" (identifier "pbVar12") (= "=") (pointer_expression "*(byte **)(pbVar12 + 0x28)" (* "*") (cast_expression "(byte **)(pbVar12 + 0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pbVar12 + 0x28)" (( "(") (binary_expression "pbVar12 + 0x28" (identifier "pbVar12") (+ "+") (number_literal "0x28")) () ")"))))) () ")") (compound_statement "{\n      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);\n    }" ({ "{") (expression_statement "iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);" (assignment_expression "iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0)" (identifier "iVar7") (= "=") (binary_expression "iVar7 + (uint)((*pbVar12 & 0x20) == 0)" (identifier "iVar7") (+ "+") (call_expression "(uint)((*pbVar12 & 0x20) == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((*pbVar12 & 0x20) == 0)" (( "(") (binary_expression "(*pbVar12 & 0x20) == 0" (parenthesized_expression "(*pbVar12 & 0x20)" (( "(") (binary_expression "*pbVar12 & 0x20" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar8 = &DAT_00089ae4;" (assignment_expression "puVar8 = &DAT_00089ae4" (identifier "puVar8") (= "=") (pointer_expression "&DAT_00089ae4" (& "&") (identifier "DAT_00089ae4"))) (; ";")) (expression_statement "puVar10 = DAT_00089ae4;" (assignment_expression "puVar10 = DAT_00089ae4" (identifier "puVar10") (= "=") (identifier "DAT_00089ae4")) (; ";")) (expression_statement "puVar13 = (undefined4 *)0x0;" (assignment_expression "puVar13 = (undefined4 *)0x0" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (while_statement "while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }" (while "while") (parenthesized_expression "(puVar11 = puVar10, puVar10 != (undefined4 *)0x0)" (( "(") (comma_expression "puVar11 = puVar10, puVar10 != (undefined4 *)0x0" (assignment_expression "puVar11 = puVar10" (identifier "puVar11") (= "=") (identifier "puVar10")) (, ",") (binary_expression "puVar10 != (undefined4 *)0x0" (identifier "puVar10") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")))) () ")")) (compound_statement "{\n      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }\n      *puVar8 = puVar10;\n      iVar7 = iVar7 + 1;\n      *puVar11 = puVar13;\n      puVar13 = puVar11;\n      puVar10 = (undefined4 *)*puVar8;\n    }" ({ "{") (while_statement "while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }" (while "while") (parenthesized_expression "(puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2)" (( "(") (comma_expression "puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2" (assignment_expression "puVar10 = (undefined4 *)*puVar11" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)*puVar11" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar11" (* "*") (identifier "puVar11")))) (, ",") (binary_expression "puVar11[1] != param_2" (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")) (!= "!=") (identifier "param_2"))) () ")")) (compound_statement "{\n        puVar8 = puVar11;\n        puVar11 = puVar10;\n        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;\n      }" ({ "{") (expression_statement "puVar8 = puVar11;" (assignment_expression "puVar8 = puVar11" (identifier "puVar8") (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar11 = puVar10;" (assignment_expression "puVar11 = puVar10" (identifier "puVar11") (= "=") (identifier "puVar10")) (; ";")) (if_statement "if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;" (if "if") (parenthesized_expression "(puVar10 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar10 == (undefined4 *)0x0" (identifier "puVar10") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0003e7d4;" (goto "goto") (statement_identifier "LAB_0003e7d4") (; ";"))) (} "}"))) (expression_statement "*puVar8 = puVar10;" (assignment_expression "*puVar8 = puVar10" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (identifier "puVar10")) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar11 = puVar13;" (assignment_expression "*puVar11 = puVar13" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "puVar13")) (; ";")) (expression_statement "puVar13 = puVar11;" (assignment_expression "puVar13 = puVar11" (identifier "puVar13") (= "=") (identifier "puVar11")) (; ";")) (expression_statement "puVar10 = (undefined4 *)*puVar8;" (assignment_expression "puVar10 = (undefined4 *)*puVar8" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)*puVar8" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (} "}"))) (labeled_statement "LAB_0003e7d4:\n    local_3c = 0;" (statement_identifier "LAB_0003e7d4") (: ":") (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar7 = xcalloc(iVar7,4);" (assignment_expression "iVar7 = xcalloc(iVar7,4)" (identifier "iVar7") (= "=") (call_expression "xcalloc(iVar7,4)" (identifier "xcalloc") (argument_list "(iVar7,4)" (( "(") (identifier "iVar7") (, ",") (number_literal "4") () ")")))) (; ";")) (expression_statement "pbVar12 = *(byte **)(iVar2 + 0xc);" (assignment_expression "pbVar12 = *(byte **)(iVar2 + 0xc)" (identifier "pbVar12") (= "=") (pointer_expression "*(byte **)(iVar2 + 0xc)" (* "*") (cast_expression "(byte **)(iVar2 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (if_statement "if (pbVar12 == (byte *)0x0) {\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }\n    else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" (if "if") (parenthesized_expression "(pbVar12 == (byte *)0x0)" (( "(") (binary_expression "pbVar12 == (byte *)0x0" (identifier "pbVar12") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;\n    }" ({ "{") (if_statement "if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;" (if "if") (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar13 != (undefined4 *)0x0" (identifier "puVar13") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0003e960;" (goto "goto") (statement_identifier "LAB_0003e960") (; ";"))) (} "}")) (else_clause "else {\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" (else "else") (compound_statement "{\n      do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);\njoined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }\n      if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }\n    }" ({ "{") (do_statement "do {\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      } while (pbVar12 != (byte *)0x0);" (do "do") (compound_statement "{\n        while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }\n        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;\n        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);\n        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));\n        iVar5 = iVar2 - iVar9;\n        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }\n        iVar2 = FUN_00053700(param_2,pbVar12);\n        if (iVar2 == 0) goto LAB_0003e818;\n        iVar5 = local_3c + 1;\n        piVar4 = (int *)(iVar7 + local_3c * 4);\n        if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }\n        local_3c = iVar5;\n        *piVar4 = iVar2;\n        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));\n        pbVar12 = *(byte **)(pbVar12 + 0x28);\n      }" ({ "{") (while_statement "while ((*pbVar12 & 0x20) != 0) {\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }" (while "while") (parenthesized_expression "((*pbVar12 & 0x20) != 0)" (( "(") (binary_expression "(*pbVar12 & 0x20) != 0" (parenthesized_expression "(*pbVar12 & 0x20)" (( "(") (binary_expression "*pbVar12 & 0x20" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);\n          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;\n        }" ({ "{") (labeled_statement "LAB_0003e818:\n          pbVar12 = *(byte **)(pbVar12 + 0x28);" (statement_identifier "LAB_0003e818") (: ":") (expression_statement "pbVar12 = *(byte **)(pbVar12 + 0x28);" (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" (identifier "pbVar12") (= "=") (pointer_expression "*(byte **)(pbVar12 + 0x28)" (* "*") (cast_expression "(byte **)(pbVar12 + 0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pbVar12 + 0x28)" (( "(") (binary_expression "pbVar12 + 0x28" (identifier "pbVar12") (+ "+") (number_literal "0x28")) () ")"))))) (; ";"))) (if_statement "if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;" (if "if") (parenthesized_expression "(pbVar12 == (byte *)0x0)" (( "(") (binary_expression "pbVar12 == (byte *)0x0" (identifier "pbVar12") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto joined_r0x0003e95b;" (goto "goto") (statement_identifier "joined_r0x0003e95b") (; ";"))) (} "}"))) (expression_statement "iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;" (assignment_expression "iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f" (identifier "iVar9") (= "=") (binary_expression "(int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f" (cast_expression "(int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (( "(") (binary_expression "(uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (cast_expression "(uint)pbVar12[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar12[2]" (identifier "pbVar12") ([ "[") (number_literal "2") (] "]"))) (+ "+") (pointer_expression "*(int *)(pbVar12 + 8)" (* "*") (cast_expression "(int *)(pbVar12 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 8)" (( "(") (binary_expression "pbVar12 + 8" (identifier "pbVar12") (+ "+") (number_literal "8")) () ")"))))) () ")"))) (>> ">>") (number_literal "0x1f"))) (; ";")) (expression_statement "iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);" (assignment_expression "iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(pbVar12 + 4) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(pbVar12 + 4) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pbVar12 + 4) + 0x14)" (( "(") (binary_expression "*(int *)(pbVar12 + 4) + 0x14" (pointer_expression "*(int *)(pbVar12 + 4)" (* "*") (cast_expression "(int *)(pbVar12 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 4)" (( "(") (binary_expression "pbVar12 + 4" (identifier "pbVar12") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));" (assignment_expression "uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (identifier "uVar1") (= "=") (call_expression "(uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8))" (( "(") (binary_expression "*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <\n                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (pointer_expression "*(uint *)(*(int *)(pbVar12 + 4) + 0x10)" (* "*") (cast_expression "(uint *)(*(int *)(pbVar12 + 4) + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(pbVar12 + 4) + 0x10)" (( "(") (binary_expression "*(int *)(pbVar12 + 4) + 0x10" (pointer_expression "*(int *)(pbVar12 + 4)" (* "*") (cast_expression "(int *)(pbVar12 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 4)" (( "(") (binary_expression "pbVar12 + 4" (identifier "pbVar12") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (< "<") (binary_expression "(uint)pbVar12[2] + *(int *)(pbVar12 + 8)" (cast_expression "(uint)pbVar12[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar12[2]" (identifier "pbVar12") ([ "[") (number_literal "2") (] "]"))) (+ "+") (pointer_expression "*(int *)(pbVar12 + 8)" (* "*") (cast_expression "(int *)(pbVar12 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 8)" (( "(") (binary_expression "pbVar12 + 8" (identifier "pbVar12") (+ "+") (number_literal "8")) () ")")))))) () ")")))) (; ";")) (expression_statement "iVar5 = iVar2 - iVar9;" (assignment_expression "iVar5 = iVar2 - iVar9" (identifier "iVar5") (= "=") (binary_expression "iVar2 - iVar9" (identifier "iVar2") (- "-") (identifier "iVar9"))) (; ";")) (if_statement "if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }" (if "if") (parenthesized_expression "((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0)" (( "(") (binary_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0" (parenthesized_expression "(SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1))" (( "(") (binary_expression "SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)" (call_expression "SBORROW4(iVar2,iVar9)" (identifier "SBORROW4") (argument_list "(iVar2,iVar9)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar9") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar5,uVar1)" (identifier "SBORROW4") (argument_list "(iVar5,uVar1)" (( "(") (identifier "iVar5") (, ",") (identifier "uVar1") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar5 - uVar1) < 0" (cast_expression "(int)(iVar5 - uVar1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar5 - uVar1)" (( "(") (binary_expression "iVar5 - uVar1" (identifier "iVar5") (- "-") (identifier "uVar1")) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);\n          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);\n        }" ({ "{") (expression_statement "uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);" (assignment_expression "uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5)" (identifier "uVar6") (= "=") (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_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);" (call_expression "FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6)" (identifier "FUN_0002bdb0") (argument_list "(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6)" (( "(") (pointer_expression "*(undefined4 *)(pbVar12 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(pbVar12 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 0x3c)" (( "(") (binary_expression "pbVar12 + 0x3c" (identifier "pbVar12") (+ "+") (number_literal "0x3c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(pbVar12 + 0x40)" (* "*") (cast_expression "(undefined4 *)(pbVar12 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 0x40)" (( "(") (binary_expression "pbVar12 + 0x40" (identifier "pbVar12") (+ "+") (number_literal "0x40")) () ")")))) (, ",") (identifier "uVar6") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar2 = FUN_00053700(param_2,pbVar12);" (assignment_expression "iVar2 = FUN_00053700(param_2,pbVar12)" (identifier "iVar2") (= "=") (call_expression "FUN_00053700(param_2,pbVar12)" (identifier "FUN_00053700") (argument_list "(param_2,pbVar12)" (( "(") (identifier "param_2") (, ",") (identifier "pbVar12") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) goto LAB_0003e818;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0003e818;" (goto "goto") (statement_identifier "LAB_0003e818") (; ";"))) (expression_statement "iVar5 = local_3c + 1;" (assignment_expression "iVar5 = local_3c + 1" (identifier "iVar5") (= "=") (binary_expression "local_3c + 1" (identifier "local_3c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar4 = (int *)(iVar7 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + local_3c * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar7 + local_3c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + local_3c * 4)" (( "(") (binary_expression "iVar7 + local_3c * 4" (identifier "iVar7") (+ "+") (binary_expression "local_3c * 4" (identifier "local_3c") (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if ((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }" (if "if") (parenthesized_expression "((puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))))" (( "(") (binary_expression "(puVar13 != (undefined4 *)0x0) &&\n           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))" (parenthesized_expression "(puVar13 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar13 != (undefined4 *)0x0" (identifier "puVar13") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))" (( "(") (binary_expression "(uint)puVar13[5] < *(uint *)(iVar2 + 8) ||\n            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (binary_expression "(uint)puVar13[5] < *(uint *)(iVar2 + 8)" (cast_expression "(uint)puVar13[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar13[5]" (identifier "puVar13") ([ "[") (number_literal "5") (] "]"))) (< "<") (pointer_expression "*(uint *)(iVar2 + 8)" (* "*") (cast_expression "(uint *)(iVar2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (|| "||") (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8)" (subscript_expression "puVar13[5]" (identifier "puVar13") ([ "[") (number_literal "5") (] "]")) (- "-") (pointer_expression "*(uint *)(iVar2 + 8)" (* "*") (cast_expression "(uint *)(iVar2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (< "<") (call_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (( "(") (binary_expression "(uint)puVar13[4] < *(uint *)(iVar2 + 4)" (cast_expression "(uint)puVar13[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar13[4]" (identifier "puVar13") ([ "[") (number_literal "4") (] "]"))) (< "<") (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")"))))) () ")"))))) () ")"))) () ")")) (compound_statement "{\n          while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }\n        }" ({ "{") (while_statement "while( true ) {\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            iVar3 = FUN_0003e650();\n            piVar4 = (int *)(iVar7 + local_3c * 4);\n            iVar9 = iVar5;\n            if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }\n            puVar13 = (undefined4 *)*puVar13;\n            iVar5 = iVar9;\n            if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;\n            iVar5 = local_3c + 1;\n          }" ({ "{") (expression_statement "iVar3 = FUN_0003e650();" (assignment_expression "iVar3 = FUN_0003e650()" (identifier "iVar3") (= "=") (call_expression "FUN_0003e650()" (identifier "FUN_0003e650") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar4 = (int *)(iVar7 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + local_3c * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar7 + local_3c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + local_3c * 4)" (( "(") (binary_expression "iVar7 + local_3c * 4" (identifier "iVar7") (+ "+") (binary_expression "local_3c * 4" (identifier "local_3c") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar9 = iVar5;" (assignment_expression "iVar9 = iVar5" (identifier "iVar9") (= "=") (identifier "iVar5")) (; ";")) (if_statement "if (iVar3 != 0) {\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              *piVar4 = (int)(puVar13 + 3);\n              FUN_0003db20(puVar13[9],puVar13[10]);\n              iVar9 = local_3c + 2;\n              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);\n              local_3c = iVar5;\n            }" ({ "{") (expression_statement "*piVar4 = (int)(puVar13 + 3);" (assignment_expression "*piVar4 = (int)(puVar13 + 3)" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (cast_expression "(int)(puVar13 + 3)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(puVar13 + 3)" (( "(") (binary_expression "puVar13 + 3" (identifier "puVar13") (+ "+") (number_literal "3")) () ")")))) (; ";")) (expression_statement "FUN_0003db20(puVar13[9],puVar13[10]);" (call_expression "FUN_0003db20(puVar13[9],puVar13[10])" (identifier "FUN_0003db20") (argument_list "(puVar13[9],puVar13[10])" (( "(") (subscript_expression "puVar13[9]" (identifier "puVar13") ([ "[") (number_literal "9") (] "]")) (, ",") (subscript_expression "puVar13[10]" (identifier "puVar13") ([ "[") (number_literal "10") (] "]")) () ")"))) (; ";")) (expression_statement "iVar9 = local_3c + 2;" (assignment_expression "iVar9 = local_3c + 2" (identifier "iVar9") (= "=") (binary_expression "local_3c + 2" (identifier "local_3c") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "piVar4 = (int *)(iVar7 + 4 + local_3c * 4);" (assignment_expression "piVar4 = (int *)(iVar7 + 4 + local_3c * 4)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar7 + 4 + local_3c * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 4 + local_3c * 4)" (( "(") (binary_expression "iVar7 + 4 + local_3c * 4" (binary_expression "iVar7 + 4" (identifier "iVar7") (+ "+") (number_literal "4")) (+ "+") (binary_expression "local_3c * 4" (identifier "local_3c") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "local_3c = iVar5;" (assignment_expression "local_3c = iVar5" (identifier "local_3c") (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "puVar13 = (undefined4 *)*puVar13;" (assignment_expression "puVar13 = (undefined4 *)*puVar13" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)*puVar13" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (; ";")) (expression_statement "iVar5 = iVar9;" (assignment_expression "iVar5 = iVar9" (identifier "iVar5") (= "=") (identifier "iVar9")) (; ";")) (if_statement "if ((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )) break;" (if "if") (parenthesized_expression "((puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               ))" (( "(") (binary_expression "(puVar13 == (undefined4 *)0x0) ||\n               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )" (parenthesized_expression "(puVar13 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar13 == (undefined4 *)0x0" (identifier "puVar13") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)\n               )" (( "(") (binary_expression "*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&\n                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)" (binary_expression "*(uint *)(iVar2 + 8) <= (uint)puVar13[5]" (pointer_expression "*(uint *)(iVar2 + 8)" (* "*") (cast_expression "(uint *)(iVar2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (<= "<=") (cast_expression "(uint)puVar13[5]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar13[5]" (identifier "puVar13") ([ "[") (number_literal "5") (] "]")))) (&& "&&") (binary_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)" (call_expression "(uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((uint)puVar13[4] < *(uint *)(iVar2 + 4))" (( "(") (binary_expression "(uint)puVar13[4] < *(uint *)(iVar2 + 4)" (cast_expression "(uint)puVar13[4]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar13[4]" (identifier "puVar13") ([ "[") (number_literal "4") (] "]"))) (< "<") (pointer_expression "*(uint *)(iVar2 + 4)" (* "*") (cast_expression "(uint *)(iVar2 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4)" (( "(") (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) () ")"))))) () ")"))) (<= "<=") (binary_expression "puVar13[5] - *(uint *)(iVar2 + 8)" (subscript_expression "puVar13[5]" (identifier "puVar13") ([ "[") (number_literal "5") (] "]")) (- "-") (pointer_expression "*(uint *)(iVar2 + 8)" (* "*") (cast_expression "(uint *)(iVar2 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = local_3c + 1;" (assignment_expression "iVar5 = local_3c + 1" (identifier "iVar5") (= "=") (binary_expression "local_3c + 1" (identifier "local_3c") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "local_3c = iVar5;" (assignment_expression "local_3c = iVar5" (identifier "local_3c") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*piVar4 = iVar2;" (assignment_expression "*piVar4 = iVar2" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));" (call_expression "FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40))" (identifier "FUN_0003db20") (argument_list "(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40))" (( "(") (pointer_expression "*(undefined4 *)(pbVar12 + 0x3c)" (* "*") (cast_expression "(undefined4 *)(pbVar12 + 0x3c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 0x3c)" (( "(") (binary_expression "pbVar12 + 0x3c" (identifier "pbVar12") (+ "+") (number_literal "0x3c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(pbVar12 + 0x40)" (* "*") (cast_expression "(undefined4 *)(pbVar12 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pbVar12 + 0x40)" (( "(") (binary_expression "pbVar12 + 0x40" (identifier "pbVar12") (+ "+") (number_literal "0x40")) () ")")))) () ")"))) (; ";")) (expression_statement "pbVar12 = *(byte **)(pbVar12 + 0x28);" (assignment_expression "pbVar12 = *(byte **)(pbVar12 + 0x28)" (identifier "pbVar12") (= "=") (pointer_expression "*(byte **)(pbVar12 + 0x28)" (* "*") (cast_expression "(byte **)(pbVar12 + 0x28)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pbVar12 + 0x28)" (( "(") (binary_expression "pbVar12 + 0x28" (identifier "pbVar12") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar12 != (byte *)0x0)" (( "(") (binary_expression "pbVar12 != (byte *)0x0" (identifier "pbVar12") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (labeled_statement "joined_r0x0003e95b:\n      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" (statement_identifier "joined_r0x0003e95b") (: ":") (for_statement "for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" (for "for") (( "(") (; ";") (binary_expression "puVar13 != (undefined4 *)0x0" (identifier "puVar13") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar13 = (undefined4 *)*puVar13" (identifier "puVar13") (= "=") (cast_expression "(undefined4 *)*puVar13" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) () ")") (compound_statement "{\nLAB_0003e960:\n        iVar5 = FUN_0003e650();\n        iVar2 = local_3c;\n        if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }\n        local_3c = iVar2;\n      }" ({ "{") (labeled_statement "LAB_0003e960:\n        iVar5 = FUN_0003e650();" (statement_identifier "LAB_0003e960") (: ":") (expression_statement "iVar5 = FUN_0003e650();" (assignment_expression "iVar5 = FUN_0003e650()" (identifier "iVar5") (= "=") (call_expression "FUN_0003e650()" (identifier "FUN_0003e650") (argument_list "()" (( "(") () ")")))) (; ";"))) (expression_statement "iVar2 = local_3c;" (assignment_expression "iVar2 = local_3c" (identifier "iVar2") (= "=") (identifier "local_3c")) (; ";")) (if_statement "if (iVar5 != 0) {\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar2 = local_3c + 1;\n          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;\n          FUN_0003db20(puVar13[9],puVar13[10]);\n        }" ({ "{") (expression_statement "iVar2 = local_3c + 1;" (assignment_expression "iVar2 = local_3c + 1" (identifier "iVar2") (= "=") (binary_expression "local_3c + 1" (identifier "local_3c") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;" (assignment_expression "*(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3" (pointer_expression "*(undefined4 **)(iVar7 + local_3c * 4)" (* "*") (cast_expression "(undefined4 **)(iVar7 + local_3c * 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + local_3c * 4)" (( "(") (binary_expression "iVar7 + local_3c * 4" (identifier "iVar7") (+ "+") (binary_expression "local_3c * 4" (identifier "local_3c") (* "*") (number_literal "4"))) () ")")))) (= "=") (binary_expression "puVar13 + 3" (identifier "puVar13") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "FUN_0003db20(puVar13[9],puVar13[10]);" (call_expression "FUN_0003db20(puVar13[9],puVar13[10])" (identifier "FUN_0003db20") (argument_list "(puVar13[9],puVar13[10])" (( "(") (subscript_expression "puVar13[9]" (identifier "puVar13") ([ "[") (number_literal "9") (] "]")) (, ",") (subscript_expression "puVar13[10]" (identifier "puVar13") ([ "[") (number_literal "10") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "local_3c = iVar2;" (assignment_expression "local_3c = iVar2" (identifier "local_3c") (= "=") (identifier "iVar2")) (; ";")) (} "}")))) (if_statement "if (local_3c != 0) {\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\n        return;\n      }" (if "if") (parenthesized_expression "(local_3c != 0)" (( "(") (binary_expression "local_3c != 0" (identifier "local_3c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);\n        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);\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_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);" (call_expression "(**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c)" (parenthesized_expression "(**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))" (( "(") (pointer_expression "**(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" (* "*") (pointer_expression "*(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" (* "*") (cast_expression "(code **)(*(int *)(DAT_00089944 + 4) + 0x148)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(DAT_00089944 + 4) + 0x148)" (( "(") (binary_expression "*(int *)(DAT_00089944 + 4) + 0x148" (pointer_expression "*(int *)(DAT_00089944 + 4)" (* "*") (cast_expression "(int *)(DAT_00089944 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00089944 + 4)" (( "(") (binary_expression "DAT_00089944 + 4" (identifier "DAT_00089944") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "0x148")) () ")"))))) () ")")) (argument_list "(DAT_00089944,param_2,iVar7,local_3c)" (( "(") (identifier "DAT_00089944") (, ",") (identifier "param_2") (, ",") (identifier "iVar7") (, ",") (identifier "local_3c") () ")"))) (; ";")) (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 *reloc;
  type_5 *var_1;
  type_6 *var_2;
  int var_12;
  type_4 **var_18;
  type_3 var_9;
  type_4 *var_16;
  type_7 *var_21;
  type_4 **ppaVar8;
  char *format;
  int var_3;
  type_8 **pprVar10;
  int var_10;
  type_3 var_19;
  type_9 *var_7;
  type_7 *var_8;
  type_3 var_17;
  type_7 *var_4;
  
  var_1 = (type_5 *)var_5->userdata;
  if (var_1 != (type_5 *)0x0) {
    var_3 = 0;
    for (var_2 = var_1->fix_root; var_2 != (type_6 *)0x0; var_2 = var_2->fx_next) {
      var_3 = var_3 + (type_3)((type_10  [68])((type_10  [68])*var_2 & (type_10  [68])0x20)
                            == (type_10  [68])0x0);
    }
    pprVar10 = &type_8;
    var_4 = (type_7 *)type_8;
    var_8 = (type_7 *)0x0;
    while (var_21 = var_4, var_4 != (type_7 *)0x0) {
      while (var_4 = *(type_7 **)&var_21->fr_address,
            (type_2 *)
            (((type_11 *)((int)&var_21->fr_address + 4))->a).offset_sym !=
            var_5) {
        pprVar10 = (type_8 **)var_21;
        var_21 = var_4;
        if (var_4 == (type_7 *)0x0) goto LAB_0003e7d4;
      }
      *(type_7 **)&((type_7 *)pprVar10)->fr_address = var_4;
      var_3 = var_3 + 1;
      *(type_7 **)&var_21->fr_address = var_8;
      var_8 = var_21;
      var_4 = *(type_7 **)&((type_7 *)pprVar10)->fr_address;
    }
LAB_0003e7d4:
    var_17 = 0;
    var_18 = (type_4 **)var_6(var_3,4);
    var_7 = var_1->fix_root;
    if (var_7 == (type_6 *)0x0) {
      if (var_8 != (type_7 *)0x0) goto LAB_0003e960;
    }
    else {
      do {
        while ((type_10  [68])((type_10  [68])*var_7 & (type_10  [68])0x20) !=
               (type_10  [68])0x0) {
LAB_0003e818:
          var_7 = var_7->fx_next;
          if (var_7 == (type_9 *)0x0) goto joined_r0x0003e95b;
        }
        var_9 = (type_3)var_7->fx_size + var_7->fx_where;
        var_10 = (int)var_9 >> 0x1f;
        var_3 = *(int *)((int)&var_7->fx_frag->fr_fix + 4);
        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_16 = var_15(var_5,var_7);
        if (var_16 == (type_4 *)0x0) goto LAB_0003e818;
        var_9 = var_17 + 1;
        ppaVar8 = var_18 + var_17;
        if ((var_8 != (type_7 *)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)))
        {
          while( true ) {
            var_21 = var_20(var_4,var_1,(type_8 *)var_8);
            ppaVar8 = var_18 + var_17;
            var_19 = var_9;
            if (var_21 != (type_7 *)0x0) {
              reloc = (type_4 *)((int)&var_8->last_fr_address + 4);
              *ppaVar8 = reloc;
              var_22(var_5,reloc,var_21,*(char **)((int)&var_8->fr_offset + 4),(type_3)var_8->fr_symbol);
              var_19 = var_17 + 2;
              ppaVar8 = var_18 + var_17 + 1;
              var_17 = var_9;
              var_4 = var_21;
            }
            var_8 = *(type_7 **)&var_8->fr_address;
            var_9 = var_19;
            if ((var_8 == (type_7 *)0x0) ||
               (var_19 = *(type_3 *)((int)&var_8->fr_fix + 4),
               puVar1 = (type_3 *)((int)&var_16->address + 4),
               *puVar1 <= var_19 &&
               (type_3)((type_3)var_8->fr_fix < (type_3)var_16->address) <= var_19 - *puVar1)) break;
            var_9 = var_17 + 1;
          }
        }
        var_17 = var_9;
        *ppaVar8 = var_16;
        var_22(var_5,var_16,var_7->fx_frag,var_7->fx_file,var_7->fx_line);
        var_7 = var_7->fx_next;
      } while (var_7 != (type_9 *)0x0);
joined_r0x0003e95b:
      for (; var_8 != (type_7 *)0x0; var_8 = *(type_7 **)&var_8->fr_address) {
LAB_0003e960:
        var_21 = var_20(var_4,var_1,(type_8 *)var_8);
        var_9 = var_17;
        if (var_21 != (type_7 *)0x0) {
          var_9 = var_17 + 1;
          var_16 = (type_4 *)((int)&var_8->last_fr_address + 4);
          var_18[var_17] = 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_17 = var_9;
      }
      if (var_17 != 0) {
        var_23(abfd,var_5,var_5->flags | 4);
        (*stdoutput->xvec->_bfd_set_reloc)(stdoutput,var_5,var_18,var_17);
        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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (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: (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: (number_literal))) (for_statement initializer: (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)))))) 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: (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)))))) body: (compound_statement (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: (pointer_expression argument: (identifier)) right: (number_literal))) 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 (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (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: (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))) (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: (number_literal)))) (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))))))) (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 (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)))))))) (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: (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: (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: (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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))))))))))))) consequence: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (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: (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 (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (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: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (binary_expression left: (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)))))))) right: (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))))))))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (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: (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)))))))) 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))))) (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 (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator 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 (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)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  undefined4 uVar6;
  int iVar7;
  undefined4 *puVar8;
  int iVar9;
  undefined4 *puVar10;
  undefined4 *puVar11;
  byte *pbVar12;
  undefined4 *puVar13;
  int local_3c;
  
  iVar2 = *(int *)(param_2 + 0x80);
  if (iVar2 != 0) {
    iVar7 = 0;
    for (pbVar12 = *(byte **)(iVar2 + 0xc); pbVar12 != (byte *)0x0;
        pbVar12 = *(byte **)(pbVar12 + 0x28)) {
      iVar7 = iVar7 + (uint)((*pbVar12 & 0x20) == 0);
    }
    puVar8 = &DAT_00089ae4;
    puVar10 = DAT_00089ae4;
    puVar13 = (undefined4 *)0x0;
    while (puVar11 = puVar10, puVar10 != (undefined4 *)0x0) {
      while (puVar10 = (undefined4 *)*puVar11, puVar11[1] != param_2) {
        puVar8 = puVar11;
        puVar11 = puVar10;
        if (puVar10 == (undefined4 *)0x0) goto LAB_0003e7d4;
      }
      *puVar8 = puVar10;
      iVar7 = iVar7 + 1;
      *puVar11 = puVar13;
      puVar13 = puVar11;
      puVar10 = (undefined4 *)*puVar8;
    }
LAB_0003e7d4:
    local_3c = 0;
    iVar7 = xcalloc(iVar7,4);
    pbVar12 = *(byte **)(iVar2 + 0xc);
    if (pbVar12 == (byte *)0x0) {
      if (puVar13 != (undefined4 *)0x0) goto LAB_0003e960;
    }
    else {
      do {
        while ((*pbVar12 & 0x20) != 0) {
LAB_0003e818:
          pbVar12 = *(byte **)(pbVar12 + 0x28);
          if (pbVar12 == (byte *)0x0) goto joined_r0x0003e95b;
        }
        iVar9 = (int)((uint)pbVar12[2] + *(int *)(pbVar12 + 8)) >> 0x1f;
        iVar2 = *(int *)(*(int *)(pbVar12 + 4) + 0x14);
        uVar1 = (uint)(*(uint *)(*(int *)(pbVar12 + 4) + 0x10) <
                      (uint)pbVar12[2] + *(int *)(pbVar12 + 8));
        iVar5 = iVar2 - iVar9;
        if ((SBORROW4(iVar2,iVar9) != SBORROW4(iVar5,uVar1)) != (int)(iVar5 - uVar1) < 0) {
          uVar6 = dcgettext(0,"internal error: fixup not contained within frag",5);
          FUN_0002bdb0(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40),uVar6);
        }
        iVar2 = FUN_00053700(param_2,pbVar12);
        if (iVar2 == 0) goto LAB_0003e818;
        iVar5 = local_3c + 1;
        piVar4 = (int *)(iVar7 + local_3c * 4);
        if ((puVar13 != (undefined4 *)0x0) &&
           ((uint)puVar13[5] < *(uint *)(iVar2 + 8) ||
            puVar13[5] - *(uint *)(iVar2 + 8) < (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)))) {
          while( true ) {
            iVar3 = FUN_0003e650();
            piVar4 = (int *)(iVar7 + local_3c * 4);
            iVar9 = iVar5;
            if (iVar3 != 0) {
              *piVar4 = (int)(puVar13 + 3);
              FUN_0003db20(puVar13[9],puVar13[10]);
              iVar9 = local_3c + 2;
              piVar4 = (int *)(iVar7 + 4 + local_3c * 4);
              local_3c = iVar5;
            }
            puVar13 = (undefined4 *)*puVar13;
            iVar5 = iVar9;
            if ((puVar13 == (undefined4 *)0x0) ||
               (*(uint *)(iVar2 + 8) <= (uint)puVar13[5] &&
                (uint)((uint)puVar13[4] < *(uint *)(iVar2 + 4)) <= puVar13[5] - *(uint *)(iVar2 + 8)
               )) break;
            iVar5 = local_3c + 1;
          }
        }
        local_3c = iVar5;
        *piVar4 = iVar2;
        FUN_0003db20(*(undefined4 *)(pbVar12 + 0x3c),*(undefined4 *)(pbVar12 + 0x40));
        pbVar12 = *(byte **)(pbVar12 + 0x28);
      } while (pbVar12 != (byte *)0x0);
joined_r0x0003e95b:
      for (; puVar13 != (undefined4 *)0x0; puVar13 = (undefined4 *)*puVar13) {
LAB_0003e960:
        iVar5 = FUN_0003e650();
        iVar2 = local_3c;
        if (iVar5 != 0) {
          iVar2 = local_3c + 1;
          *(undefined4 **)(iVar7 + local_3c * 4) = puVar13 + 3;
          FUN_0003db20(puVar13[9],puVar13[10]);
        }
        local_3c = iVar2;
      }
      if (local_3c != 0) {
        bfd_set_section_flags(param_1,param_2,*(uint *)(param_2 + 0x14) | 4);
        (**(code **)(*(int *)(DAT_00089944 + 4) + 0x148))(DAT_00089944,param_2,iVar7,local_3c);
        return;
      }
    }
  }
  return;
}

