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

int memjrnlWrite(sqlite3_file *pJfd,void *zBuf,int iAmt,sqlite_int64 iOfst)

{
  sqlite3_io_methods *psVar1;
  sqlite3_io_methods *psVar2;
  sqlite3_io_methods *psVar3;
  sqlite3_io_methods *psVar4;
  sqlite3_io_methods *psVar5;
  sqlite3_io_methods *psVar6;
  sqlite3_io_methods *psVar7;
  sqlite3_io_methods *psVar8;
  sqlite3_io_methods *psVar9;
  sqlite3_io_methods *psVar10;
  sqlite3_io_methods *psVar11;
  int iVar12;
  sqlite3_io_methods *p;
  sqlite3_io_methods *psVar13;
  uint uVar14;
  int iVar15;
  int iVar16;
  sqlite3_io_methods *psVar17;
  uint uVar18;
  sqlite3_io_methods *psVar19;
  undefined4 *puVar20;
  sqlite3_io_methods *psVar21;
  bool bVar22;
  sqlite3_io_methods *local_74;
  void *local_64;
  
  psVar13 = pJfd[2].pMethods;
  local_64 = zBuf;
  if (((int)psVar13 < 1) ||
     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),
     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),
     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,
     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==
     (int)(iVar12 - uVar18) < 0)) {
    if (0 < iAmt) {
      psVar13 = pJfd[5].pMethods;
      psVar17 = pJfd[6].pMethods;
      uVar18 = iAmt;
      do {
        psVar1 = pJfd[1].pMethods;
        psVar2 = pJfd[7].pMethods;
        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);
        uVar14 = (int)psVar1 - iVar12;
        if ((int)uVar18 < (int)psVar1 - iVar12) {
          uVar14 = uVar18;
        }
        local_74 = psVar2;
        if (iVar12 == 0) {
          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);
          if (local_74 == (sqlite3_io_methods *)0x0) {
            return 0xc0a;
          }
          local_74->iVersion = 0;
          if (psVar2 == (sqlite3_io_methods *)0x0) {
            pJfd[4].pMethods = local_74;
          }
          else {
            psVar2->iVersion = (int)local_74;
          }
          pJfd[7].pMethods = local_74;
        }
        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);
        local_64 = (void *)((int)local_64 + uVar14);
        uVar18 = uVar18 - uVar14;
        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);
        psVar17 = (sqlite3_io_methods *)
                  ((int)&(pJfd[6].pMethods)->iVersion +
                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));
        pJfd[5].pMethods = psVar13;
        pJfd[6].pMethods = psVar17;
      } while (0 < (int)uVar18);
    }
    iVar12 = 0;
    pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);
  }
  else {
    psVar17 = pJfd[5].pMethods;
    psVar1 = pJfd->pMethods;
    psVar2 = pJfd[1].pMethods;
    psVar3 = pJfd[0xc].pMethods;
    psVar4 = pJfd[6].pMethods;
    psVar5 = pJfd[3].pMethods;
    psVar6 = pJfd[7].pMethods;
    p = pJfd[4].pMethods;
    psVar7 = pJfd[9].pMethods;
    psVar8 = pJfd[8].pMethods;
    psVar9 = pJfd[10].pMethods;
    psVar10 = pJfd[0xd].pMethods;
    psVar11 = pJfd[0xb].pMethods;
    pJfd->pMethods = (sqlite3_io_methods *)0x0;
    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;
    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);
    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;
        uVar18 != 0; uVar18 = uVar18 - 1) {
      *puVar20 = 0;
      puVar20 = puVar20 + 1;
    }
    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);
    if (iVar12 == 0) {
      if (p != (sqlite3_io_methods *)0x0) {
        uVar18 = 0;
        iVar16 = 0;
        psVar19 = p;
        psVar21 = psVar2;
        do {
          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);
          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));
          iVar12 = (int)psVar4 - iVar15;
          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=
              (int)(iVar12 - uVar14) < 0) {
            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);
          }
          iVar12 = (*pJfd->pMethods->xWrite)
                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));
          if (iVar12 != 0) goto LAB_0005c260;
          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;
          bVar22 = CARRY4(uVar18,(uint)psVar21);
          uVar18 = (int)&psVar21->iVersion + uVar18;
          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;
        } while (psVar19 != (sqlite3_io_methods *)0x0);
        do {
          psVar13 = (sqlite3_io_methods *)p->iVersion;
          sqlite3_free(p);
          p = psVar13;
        } while (psVar13 != (sqlite3_io_methods *)0x0);
      }
                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);
      return iVar12;
    }
LAB_0005c260:
    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {
      (*pJfd->pMethods->xClose)(pJfd);
    }
    pJfd[2].pMethods = psVar13;
    pJfd->pMethods = psVar1;
    pJfd[9].pMethods = psVar7;
    pJfd[1].pMethods = psVar2;
    pJfd[3].pMethods = psVar5;
    pJfd[4].pMethods = p;
    pJfd[5].pMethods = psVar17;
    pJfd[6].pMethods = psVar4;
    pJfd[7].pMethods = psVar6;
    pJfd[8].pMethods = psVar8;
    pJfd[10].pMethods = psVar9;
    pJfd[0xb].pMethods = psVar11;
    pJfd[0xc].pMethods = psVar3;
    pJfd[0xd].pMethods = psVar10;
  }
  return iVar12;
}



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

int FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  int *piVar13;
  uint uVar14;
  uint uVar15;
  uint uVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  uint uVar20;
  int *piVar21;
  undefined4 *puVar22;
  bool bVar23;
  undefined4 *local_74;
  void *local_64;
  
  uVar20 = param_1[2];
  local_64 = param_2;
  if (((int)uVar20 < 1) ||
     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),
     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,
     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0
     )) {
    if (0 < (int)param_3) {
      iVar12 = param_1[5];
      iVar18 = param_1[6];
      uVar20 = param_3;
      do {
        iVar1 = param_1[1];
        puVar22 = (undefined4 *)param_1[7];
        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);
        uVar14 = iVar1 - iVar12;
        if ((int)uVar20 < iVar1 - iVar12) {
          uVar14 = uVar20;
        }
        local_74 = puVar22;
        if (iVar12 == 0) {
          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);
          if (local_74 == (undefined4 *)0x0) {
            return 0xc0a;
          }
          *local_74 = 0;
          if (puVar22 == (undefined4 *)0x0) {
            param_1[4] = (int)local_74;
          }
          else {
            *puVar22 = local_74;
          }
          param_1[7] = (int)local_74;
        }
        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);
        local_64 = (void *)((int)local_64 + uVar14);
        uVar20 = uVar20 - uVar14;
        iVar12 = uVar14 + param_1[5];
        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);
        param_1[5] = iVar12;
        param_1[6] = iVar18;
      } while (0 < (int)uVar20);
    }
    iVar12 = 0;
    param_1[3] = param_3 + param_4;
  }
  else {
    uVar14 = param_1[5];
    iVar18 = *param_1;
    uVar2 = param_1[1];
    iVar1 = param_1[0xc];
    iVar3 = param_1[6];
    iVar4 = param_1[3];
    iVar5 = param_1[7];
    piVar13 = (int *)param_1[4];
    iVar6 = param_1[9];
    iVar7 = param_1[8];
    iVar8 = param_1[10];
    iVar9 = param_1[0xd];
    uVar10 = param_1[0xb];
    *param_1 = 0;
    param_1[0xd] = 0;
    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);
    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;
        uVar15 != 0; uVar15 = uVar15 - 1) {
      *puVar22 = 0;
      puVar22 = puVar22 + 1;
    }
    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);
    if (iVar12 == 0) {
      if (piVar13 != (int *)0x0) {
        uVar16 = 0;
        iVar19 = 0;
        piVar21 = piVar13;
        uVar15 = uVar2;
        do {
          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);
          uVar11 = (uint)(uVar14 < uVar15 + uVar16);
          iVar12 = iVar3 - iVar17;
          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {
            uVar15 = uVar14 - uVar16;
          }
          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);
          if (iVar12 != 0) goto LAB_0005c260;
          piVar21 = (int *)*piVar21;
          bVar23 = CARRY4(uVar16,uVar15);
          uVar16 = uVar16 + uVar15;
          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;
        } while (piVar21 != (int *)0x0);
        do {
          piVar21 = (int *)*piVar13;
          FUN_00042800(piVar13);
          piVar13 = piVar21;
        } while (piVar21 != (int *)0x0);
      }
                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      iVar12 = (**(code **)(*param_1 + 0xc))();
      return iVar12;
    }
LAB_0005c260:
    if (*param_1 != 0) {
      (**(code **)(*param_1 + 4))(param_1);
    }
    param_1[2] = uVar20;
    *param_1 = iVar18;
    param_1[9] = iVar6;
    param_1[1] = uVar2;
    param_1[3] = iVar4;
    param_1[4] = (int)piVar13;
    param_1[5] = uVar14;
    param_1[6] = iVar3;
    param_1[7] = iVar5;
    param_1[8] = iVar7;
    param_1[10] = iVar8;
    param_1[0xb] = uVar10;
    param_1[0xc] = iVar1;
    param_1[0xd] = iVar9;
  }
  return iVar12;
}


CALL 0x00036abd
ADD EAX,0x11fe53
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x6c
MOV dword ptr [ESP + 0x14],EAX
MOV ESI,dword ptr [ESP + 0x80]
MOV EAX,dword ptr [ESP + 0x84]
MOV EDI,dword ptr [ESP + 0x88]
MOV EDX,dword ptr [ESP + 0x90]
MOV EBP,dword ptr [ESI + 0x8]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x8c]
MOV dword ptr [ESP + 0x28],EDI
MOV dword ptr [ESP + 0x20],EAX
MOV dword ptr [ESP + 0x24],EDX
TEST EBP,EBP
JLE 0x0005c039
MOV ECX,EDI
MOV EBX,EDI
SAR EBX,0x1f
ADD ECX,EAX
MOV EAX,EBP
ADC EBX,EDX
CDQ
CMP EBP,ECX
MOV EAX,EDX
SBB EAX,EBX
JL 0x0005c140
MOV EAX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JLE 0x0005c110
MOV ECX,dword ptr [ESI + 0x14]
MOV EBX,dword ptr [ESI + 0x18]
MOV EBP,dword ptr [ESP + 0x28]
JMP 0x0005c0a6
MOV dword ptr [EDX],EAX
MOV dword ptr [ESI + 0x1c],EAX
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x8]
SUB ESP,0x4
PUSH ECX
MOV EDI,dword ptr [ESP + 0x20]
LEA EAX,[EAX + EBX*0x1 + 0x4]
MOV dword ptr [ESP + 0x10],ECX
PUSH EDI
PUSH EAX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x00015130
MOV ECX,dword ptr [ESP + 0x18]
MOV EAX,EDI
MOV EBX,ECX
ADD EAX,ECX
SUB EBP,ECX
SAR EBX,0x1f
ADD ECX,dword ptr [ESI + 0x14]
ADC EBX,dword ptr [ESI + 0x18]
MOV dword ptr [ESP + 0x28],EAX
MOV dword ptr [ESI + 0x14],ECX
ADD ESP,0x10
MOV dword ptr [ESI + 0x18],EBX
TEST EBP,EBP
JLE 0x0005c110
MOV EDI,dword ptr [ESI + 0x4]
MOV EDX,dword ptr [ESI + 0x1c]
MOV EAX,EDI
MOV dword ptr [ESP + 0x8],EDX
CDQ
PUSH EDX
PUSH EDI
PUSH EBX
PUSH ECX
MOV EBX,dword ptr [ESP + 0x24]
CALL 0x00115860
MOV ECX,EDI
ADD ESP,0x10
SUB ECX,EAX
MOV EBX,EAX
CMP ECX,EBP
CMOVG ECX,EBP
TEST EAX,EAX
JNZ 0x0005c061
MOV dword ptr [ESP + 0x1c],ECX
ADD EDI,0x4
SUB ESP,0xc
PUSH EDI
CALL 0x0005bfa0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0005c130
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX],0x0
TEST EDX,EDX
JNZ 0x0005c058
MOV dword ptr [ESI + 0x10],EAX
JMP 0x0005c05a
MOV EAX,dword ptr [ESP + 0x28]
ADD EAX,dword ptr [ESP + 0x20]
XOR EDI,EDI
MOV dword ptr [ESI + 0xc],EAX
ADD ESP,0x6c
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x6c
MOV EDI,0xc0a
POP EBX
MOV EAX,EDI
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESI + 0x14]
MOV EAX,dword ptr [ESI]
MOV ECX,ESI
SUB ESP,0xc
MOV EDI,dword ptr [ESI + 0x4]
MOV EBX,dword ptr [ESI + 0x30]
MOV dword ptr [ESP + 0x20],EDX
MOV EDX,dword ptr [ESI + 0x18]
MOV dword ptr [ESP + 0x48],EAX
MOV EAX,dword ptr [ESI + 0xc]
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,dword ptr [ESI + 0x1c]
MOV dword ptr [ESP + 0x4c],EAX
MOV EAX,dword ptr [ESI + 0x10]
MOV dword ptr [ESP + 0x50],EDX
MOV EDX,dword ptr [ESI + 0x24]
MOV dword ptr [ESP + 0x44],EDI
LEA EDI,[ESI + 0x4]
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [ESI + 0x20]
AND EDI,0xfffffffc
MOV dword ptr [ESP + 0x58],EDX
MOV EDX,dword ptr [ESI + 0x28]
SUB ECX,EDI
MOV dword ptr [ESP + 0x54],EAX
MOV EAX,dword ptr [ESI + 0x34]
ADD ECX,0x38
MOV dword ptr [ESP + 0x5c],EDX
MOV EDX,dword ptr [ESI + 0x2c]
SHR ECX,0x2
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
MOV dword ptr [ESP + 0x60],EDX
MOV dword ptr [ESP + 0x64],EBX
MOV dword ptr [ESI],0x0
MOV dword ptr [ESI + 0x34],0x0
STOSD.REP ES:EDI
MOV EAX,EDX
PUSH 0x0
AND EAX,0x87f7f
PUSH EAX
PUSH ESI
PUSH dword ptr [ESP + 0x48]
PUSH EBX
CALL dword ptr [EBX + 0x18]
MOV EDI,EAX
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x0005c260
MOV EAX,dword ptr [ESP + 0x34]
TEST EAX,EAX
JZ 0x0005c2f4
MOV dword ptr [ESP + 0x5c],EBP
MOV EDI,dword ptr [ESP + 0x38]
XOR ECX,ECX
XOR EBX,EBX
MOV EBP,EAX
MOV dword ptr [ESP + 0x2c],ESI
JMP 0x0005c21a
MOV ECX,dword ptr [ESP + 0x8]
MOV EAX,EDI
MOV EBX,dword ptr [ESP + 0xc]
MOV EBP,dword ptr [EBP]
CDQ
ADD ECX,EDI
ADC EBX,EDX
TEST EBP,EBP
JZ 0x0005c2d2
MOV EAX,EDI
MOV ESI,dword ptr [ESP + 0x1c]
CDQ
ADD EAX,ECX
ADC EDX,EBX
CMP dword ptr [ESP + 0x14],EAX
SBB ESI,EDX
JGE 0x0005c233
MOV EDI,dword ptr [ESP + 0x14]
SUB EDI,ECX
SUB ESP,0xc
LEA EDX,[EBP + 0x4]
MOV ESI,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [ESI]
PUSH EBX
PUSH ECX
MOV dword ptr [ESP + 0x1c],ECX
MOV dword ptr [ESP + 0x20],EBX
PUSH EDI
PUSH EDX
PUSH ESI
CALL dword ptr [EAX + 0xc]
ADD ESP,0x20
TEST EAX,EAX
JZ 0x0005c200
MOV EBP,dword ptr [ESP + 0x5c]
MOV ESI,dword ptr [ESP + 0x2c]
MOV EDI,EAX
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x0005c270
SUB ESP,0xc
PUSH ESI
CALL dword ptr [EAX + 0x4]
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [ESP + 0x4c]
MOV dword ptr [ESI + 0x8],EBP
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x38]
MOV dword ptr [ESI + 0x24],EDX
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x34]
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESI + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x44]
MOV dword ptr [ESI + 0x1c],EAX
MOV EAX,dword ptr [ESP + 0x48]
MOV dword ptr [ESI + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x50]
MOV dword ptr [ESI + 0x28],EAX
MOV EAX,dword ptr [ESP + 0x54]
MOV dword ptr [ESI + 0x2c],EAX
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESI + 0x30],EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESI + 0x34],EAX
JMP 0x0005c11d
MOV EAX,dword ptr [ESP + 0x34]
MOV ESI,dword ptr [ESP + 0x2c]
LEA ESI,[ESI]
SUB ESP,0xc
MOV EBX,dword ptr [EAX]
PUSH EAX
CALL 0x00042800
MOV EAX,EBX
ADD ESP,0x10
TEST EBX,EBX
JNZ 0x0005c2e0
MOV EDX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ESI]
MOV dword ptr [ESP + 0x80],ESI
MOV ECX,dword ptr [ESP + 0x24]
MOV dword ptr [ESP + 0x8c],EDX
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x90],ECX
MOV dword ptr [ESP + 0x88],EDX
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x84],EDX
MOV EAX,dword ptr [EAX + 0xc]
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}\n\n" comment (function_definition "int FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}" primitive_type (function_declarator "FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)" identifier (parameter_list "(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "undefined4 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "bool bVar23;" primitive_type identifier ;) (declaration "undefined4 *local_74;" type_identifier (pointer_declarator "*local_74" * identifier) ;) (declaration "void *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (expression_statement "uVar20 = param_1[2];" (assignment_expression "uVar20 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "local_64 = param_2;" (assignment_expression "local_64 = param_2" identifier = identifier) ;) (if_statement "if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" if (parenthesized_expression "(((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     ))" ( (binary_expression "((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )" (parenthesized_expression "((int)uVar20 < 1)" ( (binary_expression "(int)uVar20 < 1" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )" ( (comma_expression "iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4)" identifier = (binary_expression "((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4)" (binary_expression "((int)param_3 >> 0x1f) + param_5" (parenthesized_expression "((int)param_3 >> 0x1f)" ( (binary_expression "(int)param_3 >> 0x1f" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + identifier) + (cast_expression "(uint)CARRY4(param_3,param_4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_3,param_4)" identifier (argument_list "(param_3,param_4)" ( identifier , identifier )))))) , (comma_expression "uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "uVar14 = (uint)(uVar20 < param_3 + param_4)" identifier = (call_expression "(uint)(uVar20 < param_3 + param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar20 < param_3 + param_4)" ( (binary_expression "uVar20 < param_3 + param_4" identifier < (binary_expression "param_3 + param_4" identifier + identifier)) )))) , (comma_expression "iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "iVar12 = ((int)uVar20 >> 0x1f) - iVar18" identifier = (binary_expression "((int)uVar20 >> 0x1f) - iVar18" (parenthesized_expression "((int)uVar20 >> 0x1f)" ( (binary_expression "(int)uVar20 >> 0x1f" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) - identifier)) , (binary_expression "(SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (parenthesized_expression "(SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14))" ( (binary_expression "SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)" (call_expression "SBORROW4((int)uVar20 >> 0x1f,iVar18)" identifier (argument_list "((int)uVar20 >> 0x1f,iVar18)" ( (binary_expression "(int)uVar20 >> 0x1f" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , identifier ))) != (call_expression "SBORROW4(iVar12,uVar14)" identifier (argument_list "(iVar12,uVar14)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar12 - uVar14) < 0" (cast_expression "(int)(iVar12 - uVar14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar12 - uVar14)" ( (binary_expression "iVar12 - uVar14" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }" { (if_statement "if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }" { (expression_statement "iVar12 = param_1[5];" (assignment_expression "iVar12 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[6];" (assignment_expression "iVar18 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "uVar20 = param_3;" (assignment_expression "uVar20 = param_3" identifier = identifier) ;) (do_statement "do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);" do (compound_statement "{\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      }" { (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar22 = (undefined4 *)param_1[7];" (assignment_expression "puVar22 = (undefined4 *)param_1[7]" identifier = (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (expression_statement "iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);" (assignment_expression "iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" identifier = (call_expression "FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" identifier (argument_list "(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" ( identifier , identifier , identifier , (binary_expression "iVar1 >> 0x1f" identifier >> number_literal) )))) ;) (expression_statement "uVar14 = iVar1 - iVar12;" (assignment_expression "uVar14 = iVar1 - iVar12" identifier = (binary_expression "iVar1 - iVar12" identifier - identifier)) ;) (if_statement "if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }" if (parenthesized_expression "((int)uVar20 < iVar1 - iVar12)" ( (binary_expression "(int)uVar20 < iVar1 - iVar12" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "iVar1 - iVar12" identifier - identifier)) )) (compound_statement "{\n          uVar14 = uVar20;\n        }" { (expression_statement "uVar14 = uVar20;" (assignment_expression "uVar14 = uVar20" identifier = identifier) ;) })) (expression_statement "local_74 = puVar22;" (assignment_expression "local_74 = puVar22" identifier = identifier) ;) (if_statement "if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }" { (expression_statement "local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);" (assignment_expression "local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4)" identifier = (cast_expression "(undefined4 *)FUN_0005bfa0(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005bfa0(iVar1 + 4)" identifier (argument_list "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }" if (parenthesized_expression "(local_74 == (undefined4 *)0x0)" ( (binary_expression "local_74 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return 0xc0a;\n          }" { (return_statement "return 0xc0a;" return number_literal ;) })) (expression_statement "*local_74 = 0;" (assignment_expression "*local_74 = 0" (pointer_expression "*local_74" * identifier) = number_literal) ;) (if_statement "if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }" if (parenthesized_expression "(puVar22 == (undefined4 *)0x0)" ( (binary_expression "puVar22 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            param_1[4] = (int)local_74;\n          }" { (expression_statement "param_1[4] = (int)local_74;" (assignment_expression "param_1[4] = (int)local_74" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n            *puVar22 = local_74;\n          }" else (compound_statement "{\n            *puVar22 = local_74;\n          }" { (expression_statement "*puVar22 = local_74;" (assignment_expression "*puVar22 = local_74" (pointer_expression "*puVar22" * identifier) = identifier) ;) }))) (expression_statement "param_1[7] = (int)local_74;" (assignment_expression "param_1[7] = (int)local_74" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);" (call_expression "memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14)" identifier (argument_list "((void *)((int)local_74 + iVar12 + 4),local_64,uVar14)" ( (cast_expression "(void *)((int)local_74 + iVar12 + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_74 + iVar12 + 4)" ( (binary_expression "(int)local_74 + iVar12 + 4" (binary_expression "(int)local_74 + iVar12" (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "local_64 = (void *)((int)local_64 + uVar14);" (assignment_expression "local_64 = (void *)((int)local_64 + uVar14)" identifier = (cast_expression "(void *)((int)local_64 + uVar14)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_64 + uVar14)" ( (binary_expression "(int)local_64 + uVar14" (cast_expression "(int)local_64" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar20 = uVar20 - uVar14;" (assignment_expression "uVar20 = uVar20 - uVar14" identifier = (binary_expression "uVar20 - uVar14" identifier - identifier)) ;) (expression_statement "iVar12 = uVar14 + param_1[5];" (assignment_expression "iVar12 = uVar14 + param_1[5]" identifier = (binary_expression "uVar14 + param_1[5]" identifier + (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);" (assignment_expression "iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5])" identifier = (binary_expression "((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5])" (binary_expression "((int)uVar14 >> 0x1f) + param_1[6]" (parenthesized_expression "((int)uVar14 >> 0x1f)" ( (binary_expression "(int)uVar14 >> 0x1f" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (subscript_expression "param_1[6]" identifier [ number_literal ])) + (cast_expression "(uint)CARRY4(uVar14,param_1[5])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar14,param_1[5])" identifier (argument_list "(uVar14,param_1[5])" ( identifier , (subscript_expression "param_1[5]" identifier [ number_literal ]) )))))) ;) (expression_statement "param_1[5] = iVar12;" (assignment_expression "param_1[5] = iVar12" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = iVar18;" (assignment_expression "param_1[6] = iVar18" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(0 < (int)uVar20)" ( (binary_expression "0 < (int)uVar20" number_literal < (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "param_1[3] = param_3 + param_4;" (assignment_expression "param_1[3] = param_3 + param_4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_3 + param_4" identifier + identifier)) ;) }) (else_clause "else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" else (compound_statement "{\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" { (expression_statement "uVar14 = param_1[5];" (assignment_expression "uVar14 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = *param_1;" (assignment_expression "iVar18 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = param_1[0xc];" (assignment_expression "iVar1 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_1[7];" (assignment_expression "iVar5 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[4];" (assignment_expression "piVar13 = (int *)param_1[4]" identifier = (cast_expression "(int *)param_1[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = param_1[9];" (assignment_expression "iVar6 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[8];" (assignment_expression "iVar7 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = param_1[10];" (assignment_expression "iVar8 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = param_1[0xd];" (assignment_expression "iVar9 = param_1[0xd]" identifier = (subscript_expression "param_1[0xd]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = param_1[0xb];" (assignment_expression "uVar10 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);" (assignment_expression "puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }" for ( (assignment_expression "uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" ( (binary_expression "(int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))" ( (binary_expression "0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar15 != 0" identifier != number_literal) ; (assignment_expression "uVar15 = uVar15 - 1" identifier = (binary_expression "uVar15 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }" { (expression_statement "*puVar22 = 0;" (assignment_expression "*puVar22 = 0" (pointer_expression "*puVar22" * identifier) = number_literal) ;) (expression_statement "puVar22 = puVar22 + 1;" (assignment_expression "puVar22 = puVar22 + 1" identifier = (binary_expression "puVar22 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);" (assignment_expression "iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" identifier = (call_expression "(**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" (parenthesized_expression "(**(code **)(iVar1 + 0x18))" ( (pointer_expression "**(code **)(iVar1 + 0x18)" * (pointer_expression "*(code **)(iVar1 + 0x18)" * (cast_expression "(code **)(iVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" ( identifier , identifier , identifier , (binary_expression "uVar10 & 0x87f7f" identifier & number_literal) , number_literal )))) ;) (if_statement "if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }" { (if_statement "if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }" if (parenthesized_expression "(piVar13 != (int *)0x0)" ( (binary_expression "piVar13 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }" { (expression_statement "uVar16 = 0;" (assignment_expression "uVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (expression_statement "piVar21 = piVar13;" (assignment_expression "piVar21 = piVar13" identifier = identifier) ;) (expression_statement "uVar15 = uVar2;" (assignment_expression "uVar15 = uVar2" identifier = identifier) ;) (do_statement "do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);" do (compound_statement "{\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        }" { (expression_statement "iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);" (assignment_expression "iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16)" identifier = (binary_expression "((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16)" (binary_expression "((int)uVar15 >> 0x1f) + iVar19" (parenthesized_expression "((int)uVar15 >> 0x1f)" ( (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + identifier) + (cast_expression "(uint)CARRY4(uVar15,uVar16)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar15,uVar16)" identifier (argument_list "(uVar15,uVar16)" ( identifier , identifier )))))) ;) (expression_statement "uVar11 = (uint)(uVar14 < uVar15 + uVar16);" (assignment_expression "uVar11 = (uint)(uVar14 < uVar15 + uVar16)" identifier = (call_expression "(uint)(uVar14 < uVar15 + uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar14 < uVar15 + uVar16)" ( (binary_expression "uVar14 < uVar15 + uVar16" identifier < (binary_expression "uVar15 + uVar16" identifier + identifier)) )))) ;) (expression_statement "iVar12 = iVar3 - iVar17;" (assignment_expression "iVar12 = iVar3 - iVar17" identifier = (binary_expression "iVar3 - iVar17" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }" if (parenthesized_expression "((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0)" ( (binary_expression "(SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11))" ( (binary_expression "SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)" (call_expression "SBORROW4(iVar3,iVar17)" identifier (argument_list "(iVar3,iVar17)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar12,uVar11)" identifier (argument_list "(iVar12,uVar11)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar12 - uVar11) < 0" (cast_expression "(int)(iVar12 - uVar11)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar12 - uVar11)" ( (binary_expression "iVar12 - uVar11" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n            uVar15 = uVar14 - uVar16;\n          }" { (expression_statement "uVar15 = uVar14 - uVar16;" (assignment_expression "uVar15 = uVar14 - uVar16" identifier = (binary_expression "uVar14 - uVar16" identifier - identifier)) ;) })) (expression_statement "iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);" (assignment_expression "iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" identifier = (call_expression "(**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" ( identifier , (binary_expression "piVar21 + 1" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar12 != 0) goto LAB_0005c260;" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005c260;" goto statement_identifier ;)) (expression_statement "piVar21 = (int *)*piVar21;" (assignment_expression "piVar21 = (int *)*piVar21" identifier = (cast_expression "(int *)*piVar21" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar21" * identifier))) ;) (expression_statement "bVar23 = CARRY4(uVar16,uVar15);" (assignment_expression "bVar23 = CARRY4(uVar16,uVar15)" identifier = (call_expression "CARRY4(uVar16,uVar15)" identifier (argument_list "(uVar16,uVar15)" ( identifier , identifier )))) ;) (expression_statement "uVar16 = uVar16 + uVar15;" (assignment_expression "uVar16 = uVar16 + uVar15" identifier = (binary_expression "uVar16 + uVar15" identifier + identifier)) ;) (expression_statement "iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;" (assignment_expression "iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23" identifier = (binary_expression "iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23" (binary_expression "iVar19 + ((int)uVar15 >> 0x1f)" identifier + (parenthesized_expression "((int)uVar15 >> 0x1f)" ( (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)bVar23" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(piVar21 != (int *)0x0)" ( (binary_expression "piVar21 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (do_statement "do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);" do (compound_statement "{\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        }" { (expression_statement "piVar21 = (int *)*piVar13;" (assignment_expression "piVar21 = (int *)*piVar13" identifier = (cast_expression "(int *)*piVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "FUN_00042800(piVar13);" (call_expression "FUN_00042800(piVar13)" identifier (argument_list "(piVar13)" ( identifier ))) ;) (expression_statement "piVar13 = piVar21;" (assignment_expression "piVar13 = piVar21" identifier = identifier) ;) }) while (parenthesized_expression "(piVar21 != (int *)0x0)" ( (binary_expression "piVar21 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) comment comment (expression_statement "iVar12 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "iVar12 = (**(code **)(*param_1 + 0xc))()" identifier = (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar12;" return identifier ;) })) (labeled_statement "LAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }" statement_identifier : (if_statement "if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      (**(code **)(*param_1 + 4))(param_1);\n    }" { (expression_statement "(**(code **)(*param_1 + 4))(param_1);" (call_expression "(**(code **)(*param_1 + 4))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 4))" ( (pointer_expression "**(code **)(*param_1 + 4)" * (pointer_expression "*(code **)(*param_1 + 4)" * (cast_expression "(code **)(*param_1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier ))) ;) }))) (expression_statement "param_1[2] = uVar20;" (assignment_expression "param_1[2] = uVar20" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar18;" (assignment_expression "*param_1 = iVar18" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[9] = iVar6;" (assignment_expression "param_1[9] = iVar6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = uVar2;" (assignment_expression "param_1[1] = uVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = (int)piVar13;" (assignment_expression "param_1[4] = (int)piVar13" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[5] = uVar14;" (assignment_expression "param_1[5] = uVar14" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = iVar3;" (assignment_expression "param_1[6] = iVar3" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[7] = iVar5;" (assignment_expression "param_1[7] = iVar5" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = iVar7;" (assignment_expression "param_1[8] = iVar7" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[10] = iVar8;" (assignment_expression "param_1[10] = iVar8" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xb] = uVar10;" (assignment_expression "param_1[0xb] = uVar10" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xc] = iVar1;" (assignment_expression "param_1[0xc] = iVar1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xd] = iVar9;" (assignment_expression "param_1[0xd] = iVar9" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint memjrnlWrite(sqlite3_file *pJfd,void *zBuf,int iAmt,sqlite_int64 iOfst)\n\n{\n  sqlite3_io_methods *psVar1;\n  sqlite3_io_methods *psVar2;\n  sqlite3_io_methods *psVar3;\n  sqlite3_io_methods *psVar4;\n  sqlite3_io_methods *psVar5;\n  sqlite3_io_methods *psVar6;\n  sqlite3_io_methods *psVar7;\n  sqlite3_io_methods *psVar8;\n  sqlite3_io_methods *psVar9;\n  sqlite3_io_methods *psVar10;\n  sqlite3_io_methods *psVar11;\n  int iVar12;\n  sqlite3_io_methods *p;\n  sqlite3_io_methods *psVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  sqlite3_io_methods *psVar17;\n  uint uVar18;\n  sqlite3_io_methods *psVar19;\n  undefined4 *puVar20;\n  sqlite3_io_methods *psVar21;\n  bool bVar22;\n  sqlite3_io_methods *local_74;\n  void *local_64;\n  \n  psVar13 = pJfd[2].pMethods;\n  local_64 = zBuf;\n  if (((int)psVar13 < 1) ||\n     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0)) {\n    if (0 < iAmt) {\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }\n    iVar12 = 0;\n    pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);\n  }\n  else {\n    psVar17 = pJfd[5].pMethods;\n    psVar1 = pJfd->pMethods;\n    psVar2 = pJfd[1].pMethods;\n    psVar3 = pJfd[0xc].pMethods;\n    psVar4 = pJfd[6].pMethods;\n    psVar5 = pJfd[3].pMethods;\n    psVar6 = pJfd[7].pMethods;\n    p = pJfd[4].pMethods;\n    psVar7 = pJfd[9].pMethods;\n    psVar8 = pJfd[8].pMethods;\n    psVar9 = pJfd[10].pMethods;\n    psVar10 = pJfd[0xd].pMethods;\n    psVar11 = pJfd[0xb].pMethods;\n    pJfd->pMethods = (sqlite3_io_methods *)0x0;\n    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;\n    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);\n    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }\n    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);\n    if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }\nLAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }\n    pJfd[2].pMethods = psVar13;\n    pJfd->pMethods = psVar1;\n    pJfd[9].pMethods = psVar7;\n    pJfd[1].pMethods = psVar2;\n    pJfd[3].pMethods = psVar5;\n    pJfd[4].pMethods = p;\n    pJfd[5].pMethods = psVar17;\n    pJfd[6].pMethods = psVar4;\n    pJfd[7].pMethods = psVar6;\n    pJfd[8].pMethods = psVar8;\n    pJfd[10].pMethods = psVar9;\n    pJfd[0xb].pMethods = psVar11;\n    pJfd[0xc].pMethods = psVar3;\n    pJfd[0xd].pMethods = psVar10;\n  }\n  return iVar12;\n}\n\n" comment (function_definition "int memjrnlWrite(sqlite3_file *pJfd,void *zBuf,int iAmt,sqlite_int64 iOfst)\n\n{\n  sqlite3_io_methods *psVar1;\n  sqlite3_io_methods *psVar2;\n  sqlite3_io_methods *psVar3;\n  sqlite3_io_methods *psVar4;\n  sqlite3_io_methods *psVar5;\n  sqlite3_io_methods *psVar6;\n  sqlite3_io_methods *psVar7;\n  sqlite3_io_methods *psVar8;\n  sqlite3_io_methods *psVar9;\n  sqlite3_io_methods *psVar10;\n  sqlite3_io_methods *psVar11;\n  int iVar12;\n  sqlite3_io_methods *p;\n  sqlite3_io_methods *psVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  sqlite3_io_methods *psVar17;\n  uint uVar18;\n  sqlite3_io_methods *psVar19;\n  undefined4 *puVar20;\n  sqlite3_io_methods *psVar21;\n  bool bVar22;\n  sqlite3_io_methods *local_74;\n  void *local_64;\n  \n  psVar13 = pJfd[2].pMethods;\n  local_64 = zBuf;\n  if (((int)psVar13 < 1) ||\n     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0)) {\n    if (0 < iAmt) {\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }\n    iVar12 = 0;\n    pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);\n  }\n  else {\n    psVar17 = pJfd[5].pMethods;\n    psVar1 = pJfd->pMethods;\n    psVar2 = pJfd[1].pMethods;\n    psVar3 = pJfd[0xc].pMethods;\n    psVar4 = pJfd[6].pMethods;\n    psVar5 = pJfd[3].pMethods;\n    psVar6 = pJfd[7].pMethods;\n    p = pJfd[4].pMethods;\n    psVar7 = pJfd[9].pMethods;\n    psVar8 = pJfd[8].pMethods;\n    psVar9 = pJfd[10].pMethods;\n    psVar10 = pJfd[0xd].pMethods;\n    psVar11 = pJfd[0xb].pMethods;\n    pJfd->pMethods = (sqlite3_io_methods *)0x0;\n    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;\n    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);\n    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }\n    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);\n    if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }\nLAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }\n    pJfd[2].pMethods = psVar13;\n    pJfd->pMethods = psVar1;\n    pJfd[9].pMethods = psVar7;\n    pJfd[1].pMethods = psVar2;\n    pJfd[3].pMethods = psVar5;\n    pJfd[4].pMethods = p;\n    pJfd[5].pMethods = psVar17;\n    pJfd[6].pMethods = psVar4;\n    pJfd[7].pMethods = psVar6;\n    pJfd[8].pMethods = psVar8;\n    pJfd[10].pMethods = psVar9;\n    pJfd[0xb].pMethods = psVar11;\n    pJfd[0xc].pMethods = psVar3;\n    pJfd[0xd].pMethods = psVar10;\n  }\n  return iVar12;\n}" primitive_type (function_declarator "memjrnlWrite(sqlite3_file *pJfd,void *zBuf,int iAmt,sqlite_int64 iOfst)" identifier (parameter_list "(sqlite3_file *pJfd,void *zBuf,int iAmt,sqlite_int64 iOfst)" ( (parameter_declaration "sqlite3_file *pJfd" type_identifier (pointer_declarator "*pJfd" * identifier)) , (parameter_declaration "void *zBuf" primitive_type (pointer_declarator "*zBuf" * identifier)) , (parameter_declaration "int iAmt" primitive_type identifier) , (parameter_declaration "sqlite_int64 iOfst" type_identifier identifier) ))) (compound_statement "{\n  sqlite3_io_methods *psVar1;\n  sqlite3_io_methods *psVar2;\n  sqlite3_io_methods *psVar3;\n  sqlite3_io_methods *psVar4;\n  sqlite3_io_methods *psVar5;\n  sqlite3_io_methods *psVar6;\n  sqlite3_io_methods *psVar7;\n  sqlite3_io_methods *psVar8;\n  sqlite3_io_methods *psVar9;\n  sqlite3_io_methods *psVar10;\n  sqlite3_io_methods *psVar11;\n  int iVar12;\n  sqlite3_io_methods *p;\n  sqlite3_io_methods *psVar13;\n  uint uVar14;\n  int iVar15;\n  int iVar16;\n  sqlite3_io_methods *psVar17;\n  uint uVar18;\n  sqlite3_io_methods *psVar19;\n  undefined4 *puVar20;\n  sqlite3_io_methods *psVar21;\n  bool bVar22;\n  sqlite3_io_methods *local_74;\n  void *local_64;\n  \n  psVar13 = pJfd[2].pMethods;\n  local_64 = zBuf;\n  if (((int)psVar13 < 1) ||\n     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0)) {\n    if (0 < iAmt) {\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }\n    iVar12 = 0;\n    pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);\n  }\n  else {\n    psVar17 = pJfd[5].pMethods;\n    psVar1 = pJfd->pMethods;\n    psVar2 = pJfd[1].pMethods;\n    psVar3 = pJfd[0xc].pMethods;\n    psVar4 = pJfd[6].pMethods;\n    psVar5 = pJfd[3].pMethods;\n    psVar6 = pJfd[7].pMethods;\n    p = pJfd[4].pMethods;\n    psVar7 = pJfd[9].pMethods;\n    psVar8 = pJfd[8].pMethods;\n    psVar9 = pJfd[10].pMethods;\n    psVar10 = pJfd[0xd].pMethods;\n    psVar11 = pJfd[0xb].pMethods;\n    pJfd->pMethods = (sqlite3_io_methods *)0x0;\n    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;\n    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);\n    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }\n    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);\n    if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }\nLAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }\n    pJfd[2].pMethods = psVar13;\n    pJfd->pMethods = psVar1;\n    pJfd[9].pMethods = psVar7;\n    pJfd[1].pMethods = psVar2;\n    pJfd[3].pMethods = psVar5;\n    pJfd[4].pMethods = p;\n    pJfd[5].pMethods = psVar17;\n    pJfd[6].pMethods = psVar4;\n    pJfd[7].pMethods = psVar6;\n    pJfd[8].pMethods = psVar8;\n    pJfd[10].pMethods = psVar9;\n    pJfd[0xb].pMethods = psVar11;\n    pJfd[0xc].pMethods = psVar3;\n    pJfd[0xd].pMethods = psVar10;\n  }\n  return iVar12;\n}" { (declaration "sqlite3_io_methods *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "sqlite3_io_methods *psVar2;" type_identifier (pointer_declarator "*psVar2" * identifier) ;) (declaration "sqlite3_io_methods *psVar3;" type_identifier (pointer_declarator "*psVar3" * identifier) ;) (declaration "sqlite3_io_methods *psVar4;" type_identifier (pointer_declarator "*psVar4" * identifier) ;) (declaration "sqlite3_io_methods *psVar5;" type_identifier (pointer_declarator "*psVar5" * identifier) ;) (declaration "sqlite3_io_methods *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "sqlite3_io_methods *psVar7;" type_identifier (pointer_declarator "*psVar7" * identifier) ;) (declaration "sqlite3_io_methods *psVar8;" type_identifier (pointer_declarator "*psVar8" * identifier) ;) (declaration "sqlite3_io_methods *psVar9;" type_identifier (pointer_declarator "*psVar9" * identifier) ;) (declaration "sqlite3_io_methods *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "sqlite3_io_methods *psVar11;" type_identifier (pointer_declarator "*psVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "sqlite3_io_methods *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "sqlite3_io_methods *psVar13;" type_identifier (pointer_declarator "*psVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "sqlite3_io_methods *psVar17;" type_identifier (pointer_declarator "*psVar17" * identifier) ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "sqlite3_io_methods *psVar19;" type_identifier (pointer_declarator "*psVar19" * identifier) ;) (declaration "undefined4 *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "sqlite3_io_methods *psVar21;" type_identifier (pointer_declarator "*psVar21" * identifier) ;) (declaration "bool bVar22;" primitive_type identifier ;) (declaration "sqlite3_io_methods *local_74;" type_identifier (pointer_declarator "*local_74" * identifier) ;) (declaration "void *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (expression_statement "psVar13 = pJfd[2].pMethods;" (assignment_expression "psVar13 = pJfd[2].pMethods" identifier = (field_expression "pJfd[2].pMethods" (subscript_expression "pJfd[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "local_64 = zBuf;" (assignment_expression "local_64 = zBuf" identifier = identifier) ;) (if_statement "if (((int)psVar13 < 1) ||\n     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0)) {\n    if (0 < iAmt) {\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }\n    iVar12 = 0;\n    pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);\n  }\n  else {\n    psVar17 = pJfd[5].pMethods;\n    psVar1 = pJfd->pMethods;\n    psVar2 = pJfd[1].pMethods;\n    psVar3 = pJfd[0xc].pMethods;\n    psVar4 = pJfd[6].pMethods;\n    psVar5 = pJfd[3].pMethods;\n    psVar6 = pJfd[7].pMethods;\n    p = pJfd[4].pMethods;\n    psVar7 = pJfd[9].pMethods;\n    psVar8 = pJfd[8].pMethods;\n    psVar9 = pJfd[10].pMethods;\n    psVar10 = pJfd[0xd].pMethods;\n    psVar11 = pJfd[0xb].pMethods;\n    pJfd->pMethods = (sqlite3_io_methods *)0x0;\n    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;\n    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);\n    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }\n    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);\n    if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }\nLAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }\n    pJfd[2].pMethods = psVar13;\n    pJfd->pMethods = psVar1;\n    pJfd[9].pMethods = psVar7;\n    pJfd[1].pMethods = psVar2;\n    pJfd[3].pMethods = psVar5;\n    pJfd[4].pMethods = p;\n    pJfd[5].pMethods = psVar17;\n    pJfd[6].pMethods = psVar4;\n    pJfd[7].pMethods = psVar6;\n    pJfd[8].pMethods = psVar8;\n    pJfd[10].pMethods = psVar9;\n    pJfd[0xb].pMethods = psVar11;\n    pJfd[0xc].pMethods = psVar3;\n    pJfd[0xd].pMethods = psVar10;\n  }" if (parenthesized_expression "(((int)psVar13 < 1) ||\n     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0))" ( (binary_expression "((int)psVar13 < 1) ||\n     (iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0)" (parenthesized_expression "((int)psVar13 < 1)" ( (binary_expression "(int)psVar13 < 1" (cast_expression "(int)psVar13" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0)" ( (comma_expression "iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst),\n     uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0" (assignment_expression "iVar16 = (iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst)" identifier = (binary_expression "(iAmt >> 0x1f) + iOfst._4_4_ + (uint)CARRY4(iAmt,(uint)iOfst)" (binary_expression "(iAmt >> 0x1f) + iOfst._4_4_" (parenthesized_expression "(iAmt >> 0x1f)" ( (binary_expression "iAmt >> 0x1f" identifier >> number_literal) )) + (field_expression "iOfst._4_4_" identifier . field_identifier)) + (cast_expression "(uint)CARRY4(iAmt,(uint)iOfst)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(iAmt,(uint)iOfst)" identifier (argument_list "(iAmt,(uint)iOfst)" ( identifier , (cast_expression "(uint)iOfst" ( (type_descriptor "uint" type_identifier) ) identifier) )))))) , (comma_expression "uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)),\n     iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0" (assignment_expression "uVar18 = (uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst))" identifier = (call_expression "(uint)(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst))" ( (binary_expression "psVar13 < (sqlite3_io_methods *)(iAmt + (uint)iOfst)" identifier < (cast_expression "(sqlite3_io_methods *)(iAmt + (uint)iOfst)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iAmt + (uint)iOfst)" ( (binary_expression "iAmt + (uint)iOfst" identifier + (cast_expression "(uint)iOfst" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) )))) , (comma_expression "iVar12 = ((int)psVar13 >> 0x1f) - iVar16,\n     (SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0" (assignment_expression "iVar12 = ((int)psVar13 >> 0x1f) - iVar16" identifier = (binary_expression "((int)psVar13 >> 0x1f) - iVar16" (parenthesized_expression "((int)psVar13 >> 0x1f)" ( (binary_expression "(int)psVar13 >> 0x1f" (cast_expression "(int)psVar13" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) - identifier)) , (binary_expression "(SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)) ==\n     (int)(iVar12 - uVar18) < 0" (parenthesized_expression "(SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18))" ( (binary_expression "SBORROW4((int)psVar13 >> 0x1f,iVar16) != SBORROW4(iVar12,uVar18)" (call_expression "SBORROW4((int)psVar13 >> 0x1f,iVar16)" identifier (argument_list "((int)psVar13 >> 0x1f,iVar16)" ( (binary_expression "(int)psVar13 >> 0x1f" (cast_expression "(int)psVar13" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , identifier ))) != (call_expression "SBORROW4(iVar12,uVar18)" identifier (argument_list "(iVar12,uVar18)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar12 - uVar18) < 0" (cast_expression "(int)(iVar12 - uVar18)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar12 - uVar18)" ( (binary_expression "iVar12 - uVar18" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    if (0 < iAmt) {\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }\n    iVar12 = 0;\n    pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);\n  }" { (if_statement "if (0 < iAmt) {\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }" if (parenthesized_expression "(0 < iAmt)" ( (binary_expression "0 < iAmt" number_literal < identifier) )) (compound_statement "{\n      psVar13 = pJfd[5].pMethods;\n      psVar17 = pJfd[6].pMethods;\n      uVar18 = iAmt;\n      do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);\n    }" { (expression_statement "psVar13 = pJfd[5].pMethods;" (assignment_expression "psVar13 = pJfd[5].pMethods" identifier = (field_expression "pJfd[5].pMethods" (subscript_expression "pJfd[5]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar17 = pJfd[6].pMethods;" (assignment_expression "psVar17 = pJfd[6].pMethods" identifier = (field_expression "pJfd[6].pMethods" (subscript_expression "pJfd[6]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "uVar18 = iAmt;" (assignment_expression "uVar18 = iAmt" identifier = identifier) ;) (do_statement "do {\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      } while (0 < (int)uVar18);" do (compound_statement "{\n        psVar1 = pJfd[1].pMethods;\n        psVar2 = pJfd[7].pMethods;\n        iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);\n        uVar14 = (int)psVar1 - iVar12;\n        if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }\n        local_74 = psVar2;\n        if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }\n        memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar18 = uVar18 - uVar14;\n        psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);\n        psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));\n        pJfd[5].pMethods = psVar13;\n        pJfd[6].pMethods = psVar17;\n      }" { (expression_statement "psVar1 = pJfd[1].pMethods;" (assignment_expression "psVar1 = pJfd[1].pMethods" identifier = (field_expression "pJfd[1].pMethods" (subscript_expression "pJfd[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar2 = pJfd[7].pMethods;" (assignment_expression "psVar2 = pJfd[7].pMethods" identifier = (field_expression "pJfd[7].pMethods" (subscript_expression "pJfd[7]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f);" (assignment_expression "iVar12 = __moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f)" identifier = (call_expression "__moddi3(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f)" identifier (argument_list "(psVar13,psVar17,psVar1,(int)psVar1 >> 0x1f)" ( identifier , identifier , identifier , (binary_expression "(int)psVar1 >> 0x1f" (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar14 = (int)psVar1 - iVar12;" (assignment_expression "uVar14 = (int)psVar1 - iVar12" identifier = (binary_expression "(int)psVar1 - iVar12" (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) ;) (if_statement "if ((int)uVar18 < (int)psVar1 - iVar12) {\n          uVar14 = uVar18;\n        }" if (parenthesized_expression "((int)uVar18 < (int)psVar1 - iVar12)" ( (binary_expression "(int)uVar18 < (int)psVar1 - iVar12" (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)psVar1 - iVar12" (cast_expression "(int)psVar1" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) )) (compound_statement "{\n          uVar14 = uVar18;\n        }" { (expression_statement "uVar14 = uVar18;" (assignment_expression "uVar14 = uVar18" identifier = identifier) ;) })) (expression_statement "local_74 = psVar2;" (assignment_expression "local_74 = psVar2" identifier = identifier) ;) (if_statement "if (iVar12 == 0) {\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);\n          if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }\n          local_74->iVersion = 0;\n          if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }\n          pJfd[7].pMethods = local_74;\n        }" { (expression_statement "local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose);" (assignment_expression "local_74 = (sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose)" identifier = (cast_expression "(sqlite3_io_methods *)sqlite3_malloc((int)&psVar1->xClose)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_malloc((int)&psVar1->xClose)" identifier (argument_list "((int)&psVar1->xClose)" ( (cast_expression "(int)&psVar1->xClose" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar1->xClose" & (field_expression "psVar1->xClose" identifier -> field_identifier))) ))))) ;) (if_statement "if (local_74 == (sqlite3_io_methods *)0x0) {\n            return 0xc0a;\n          }" if (parenthesized_expression "(local_74 == (sqlite3_io_methods *)0x0)" ( (binary_expression "local_74 == (sqlite3_io_methods *)0x0" identifier == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return 0xc0a;\n          }" { (return_statement "return 0xc0a;" return number_literal ;) })) (expression_statement "local_74->iVersion = 0;" (assignment_expression "local_74->iVersion = 0" (field_expression "local_74->iVersion" identifier -> field_identifier) = number_literal) ;) (if_statement "if (psVar2 == (sqlite3_io_methods *)0x0) {\n            pJfd[4].pMethods = local_74;\n          }\n          else {\n            psVar2->iVersion = (int)local_74;\n          }" if (parenthesized_expression "(psVar2 == (sqlite3_io_methods *)0x0)" ( (binary_expression "psVar2 == (sqlite3_io_methods *)0x0" identifier == (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pJfd[4].pMethods = local_74;\n          }" { (expression_statement "pJfd[4].pMethods = local_74;" (assignment_expression "pJfd[4].pMethods = local_74" (field_expression "pJfd[4].pMethods" (subscript_expression "pJfd[4]" identifier [ number_literal ]) . field_identifier) = identifier) ;) }) (else_clause "else {\n            psVar2->iVersion = (int)local_74;\n          }" else (compound_statement "{\n            psVar2->iVersion = (int)local_74;\n          }" { (expression_statement "psVar2->iVersion = (int)local_74;" (assignment_expression "psVar2->iVersion = (int)local_74" (field_expression "psVar2->iVersion" identifier -> field_identifier) = (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (expression_statement "pJfd[7].pMethods = local_74;" (assignment_expression "pJfd[7].pMethods = local_74" (field_expression "pJfd[7].pMethods" (subscript_expression "pJfd[7]" identifier [ number_literal ]) . field_identifier) = identifier) ;) })) (expression_statement "memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14);" (call_expression "memcpy((void *)((int)&local_74->xClose + iVar12),local_64,uVar14)" identifier (argument_list "((void *)((int)&local_74->xClose + iVar12),local_64,uVar14)" ( (cast_expression "(void *)((int)&local_74->xClose + iVar12)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&local_74->xClose + iVar12)" ( (binary_expression "(int)&local_74->xClose + iVar12" (cast_expression "(int)&local_74->xClose" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&local_74->xClose" & (field_expression "local_74->xClose" identifier -> field_identifier))) + identifier) ))) , identifier , identifier ))) ;) (expression_statement "local_64 = (void *)((int)local_64 + uVar14);" (assignment_expression "local_64 = (void *)((int)local_64 + uVar14)" identifier = (cast_expression "(void *)((int)local_64 + uVar14)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_64 + uVar14)" ( (binary_expression "(int)local_64 + uVar14" (cast_expression "(int)local_64" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar18 = uVar18 - uVar14;" (assignment_expression "uVar18 = uVar18 - uVar14" identifier = (binary_expression "uVar18 - uVar14" identifier - identifier)) ;) (expression_statement "psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14);" (assignment_expression "psVar13 = (sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14)" identifier = (cast_expression "(sqlite3_io_methods *)((int)&(pJfd[5].pMethods)->iVersion + uVar14)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(pJfd[5].pMethods)->iVersion + uVar14)" ( (binary_expression "(int)&(pJfd[5].pMethods)->iVersion + uVar14" (cast_expression "(int)&(pJfd[5].pMethods)->iVersion" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pJfd[5].pMethods)->iVersion" & (field_expression "(pJfd[5].pMethods)->iVersion" (parenthesized_expression "(pJfd[5].pMethods)" ( (field_expression "pJfd[5].pMethods" (subscript_expression "pJfd[5]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier))) + identifier) )))) ;) (expression_statement "psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f));" (assignment_expression "psVar17 = (sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f))" identifier = (cast_expression "(sqlite3_io_methods *)\n                  ((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f))" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f))" ( (binary_expression "(int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods) + ((int)uVar14 >> 0x1f)" (binary_expression "(int)&(pJfd[6].pMethods)->iVersion +\n                  (uint)CARRY4(uVar14,(uint)pJfd[5].pMethods)" (cast_expression "(int)&(pJfd[6].pMethods)->iVersion" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(pJfd[6].pMethods)->iVersion" & (field_expression "(pJfd[6].pMethods)->iVersion" (parenthesized_expression "(pJfd[6].pMethods)" ( (field_expression "pJfd[6].pMethods" (subscript_expression "pJfd[6]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier))) + (cast_expression "(uint)CARRY4(uVar14,(uint)pJfd[5].pMethods)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar14,(uint)pJfd[5].pMethods)" identifier (argument_list "(uVar14,(uint)pJfd[5].pMethods)" ( identifier , (cast_expression "(uint)pJfd[5].pMethods" ( (type_descriptor "uint" type_identifier) ) (field_expression "pJfd[5].pMethods" (subscript_expression "pJfd[5]" identifier [ number_literal ]) . field_identifier)) ))))) + (parenthesized_expression "((int)uVar14 >> 0x1f)" ( (binary_expression "(int)uVar14 >> 0x1f" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) )))) ;) (expression_statement "pJfd[5].pMethods = psVar13;" (assignment_expression "pJfd[5].pMethods = psVar13" (field_expression "pJfd[5].pMethods" (subscript_expression "pJfd[5]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[6].pMethods = psVar17;" (assignment_expression "pJfd[6].pMethods = psVar17" (field_expression "pJfd[6].pMethods" (subscript_expression "pJfd[6]" identifier [ number_literal ]) . field_identifier) = identifier) ;) }) while (parenthesized_expression "(0 < (int)uVar18)" ( (binary_expression "0 < (int)uVar18" number_literal < (cast_expression "(int)uVar18" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst);" (assignment_expression "pJfd[3].pMethods = (sqlite3_io_methods *)(iAmt + (uint)iOfst)" (field_expression "pJfd[3].pMethods" (subscript_expression "pJfd[3]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)(iAmt + (uint)iOfst)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iAmt + (uint)iOfst)" ( (binary_expression "iAmt + (uint)iOfst" identifier + (cast_expression "(uint)iOfst" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) ;) }) (else_clause "else {\n    psVar17 = pJfd[5].pMethods;\n    psVar1 = pJfd->pMethods;\n    psVar2 = pJfd[1].pMethods;\n    psVar3 = pJfd[0xc].pMethods;\n    psVar4 = pJfd[6].pMethods;\n    psVar5 = pJfd[3].pMethods;\n    psVar6 = pJfd[7].pMethods;\n    p = pJfd[4].pMethods;\n    psVar7 = pJfd[9].pMethods;\n    psVar8 = pJfd[8].pMethods;\n    psVar9 = pJfd[10].pMethods;\n    psVar10 = pJfd[0xd].pMethods;\n    psVar11 = pJfd[0xb].pMethods;\n    pJfd->pMethods = (sqlite3_io_methods *)0x0;\n    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;\n    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);\n    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }\n    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);\n    if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }\nLAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }\n    pJfd[2].pMethods = psVar13;\n    pJfd->pMethods = psVar1;\n    pJfd[9].pMethods = psVar7;\n    pJfd[1].pMethods = psVar2;\n    pJfd[3].pMethods = psVar5;\n    pJfd[4].pMethods = p;\n    pJfd[5].pMethods = psVar17;\n    pJfd[6].pMethods = psVar4;\n    pJfd[7].pMethods = psVar6;\n    pJfd[8].pMethods = psVar8;\n    pJfd[10].pMethods = psVar9;\n    pJfd[0xb].pMethods = psVar11;\n    pJfd[0xc].pMethods = psVar3;\n    pJfd[0xd].pMethods = psVar10;\n  }" else (compound_statement "{\n    psVar17 = pJfd[5].pMethods;\n    psVar1 = pJfd->pMethods;\n    psVar2 = pJfd[1].pMethods;\n    psVar3 = pJfd[0xc].pMethods;\n    psVar4 = pJfd[6].pMethods;\n    psVar5 = pJfd[3].pMethods;\n    psVar6 = pJfd[7].pMethods;\n    p = pJfd[4].pMethods;\n    psVar7 = pJfd[9].pMethods;\n    psVar8 = pJfd[8].pMethods;\n    psVar9 = pJfd[10].pMethods;\n    psVar10 = pJfd[0xd].pMethods;\n    psVar11 = pJfd[0xb].pMethods;\n    pJfd->pMethods = (sqlite3_io_methods *)0x0;\n    pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;\n    puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);\n    for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }\n    iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);\n    if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }\nLAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }\n    pJfd[2].pMethods = psVar13;\n    pJfd->pMethods = psVar1;\n    pJfd[9].pMethods = psVar7;\n    pJfd[1].pMethods = psVar2;\n    pJfd[3].pMethods = psVar5;\n    pJfd[4].pMethods = p;\n    pJfd[5].pMethods = psVar17;\n    pJfd[6].pMethods = psVar4;\n    pJfd[7].pMethods = psVar6;\n    pJfd[8].pMethods = psVar8;\n    pJfd[10].pMethods = psVar9;\n    pJfd[0xb].pMethods = psVar11;\n    pJfd[0xc].pMethods = psVar3;\n    pJfd[0xd].pMethods = psVar10;\n  }" { (expression_statement "psVar17 = pJfd[5].pMethods;" (assignment_expression "psVar17 = pJfd[5].pMethods" identifier = (field_expression "pJfd[5].pMethods" (subscript_expression "pJfd[5]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar1 = pJfd->pMethods;" (assignment_expression "psVar1 = pJfd->pMethods" identifier = (field_expression "pJfd->pMethods" identifier -> field_identifier)) ;) (expression_statement "psVar2 = pJfd[1].pMethods;" (assignment_expression "psVar2 = pJfd[1].pMethods" identifier = (field_expression "pJfd[1].pMethods" (subscript_expression "pJfd[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar3 = pJfd[0xc].pMethods;" (assignment_expression "psVar3 = pJfd[0xc].pMethods" identifier = (field_expression "pJfd[0xc].pMethods" (subscript_expression "pJfd[0xc]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar4 = pJfd[6].pMethods;" (assignment_expression "psVar4 = pJfd[6].pMethods" identifier = (field_expression "pJfd[6].pMethods" (subscript_expression "pJfd[6]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar5 = pJfd[3].pMethods;" (assignment_expression "psVar5 = pJfd[3].pMethods" identifier = (field_expression "pJfd[3].pMethods" (subscript_expression "pJfd[3]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar6 = pJfd[7].pMethods;" (assignment_expression "psVar6 = pJfd[7].pMethods" identifier = (field_expression "pJfd[7].pMethods" (subscript_expression "pJfd[7]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p = pJfd[4].pMethods;" (assignment_expression "p = pJfd[4].pMethods" identifier = (field_expression "pJfd[4].pMethods" (subscript_expression "pJfd[4]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar7 = pJfd[9].pMethods;" (assignment_expression "psVar7 = pJfd[9].pMethods" identifier = (field_expression "pJfd[9].pMethods" (subscript_expression "pJfd[9]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar8 = pJfd[8].pMethods;" (assignment_expression "psVar8 = pJfd[8].pMethods" identifier = (field_expression "pJfd[8].pMethods" (subscript_expression "pJfd[8]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar9 = pJfd[10].pMethods;" (assignment_expression "psVar9 = pJfd[10].pMethods" identifier = (field_expression "pJfd[10].pMethods" (subscript_expression "pJfd[10]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar10 = pJfd[0xd].pMethods;" (assignment_expression "psVar10 = pJfd[0xd].pMethods" identifier = (field_expression "pJfd[0xd].pMethods" (subscript_expression "pJfd[0xd]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar11 = pJfd[0xb].pMethods;" (assignment_expression "psVar11 = pJfd[0xb].pMethods" identifier = (field_expression "pJfd[0xb].pMethods" (subscript_expression "pJfd[0xb]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "pJfd->pMethods = (sqlite3_io_methods *)0x0;" (assignment_expression "pJfd->pMethods = (sqlite3_io_methods *)0x0" (field_expression "pJfd->pMethods" identifier -> field_identifier) = (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0;" (assignment_expression "pJfd[0xd].pMethods = (sqlite3_io_methods *)0x0" (field_expression "pJfd[0xd].pMethods" (subscript_expression "pJfd[0xd]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc);" (assignment_expression "puVar20 = (undefined4 *)((uint)(pJfd + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(pJfd + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(pJfd + 1) & 0xfffffffc)" ( (binary_expression "(uint)(pJfd + 1) & 0xfffffffc" (call_expression "(uint)(pJfd + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pJfd + 1)" ( (binary_expression "pJfd + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2;\n        uVar18 != 0; uVar18 = uVar18 - 1) {\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }" for ( (assignment_expression "uVar18 = (uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc)))" ( (binary_expression "(int)pJfd + (0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))" (cast_expression "(int)pJfd" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc))" ( (binary_expression "0x38 - (int)((uint)(pJfd + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(pJfd + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(pJfd + 1) & 0xfffffffc)" ( (binary_expression "(uint)(pJfd + 1) & 0xfffffffc" (call_expression "(uint)(pJfd + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pJfd + 1)" ( (binary_expression "pJfd + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar18 != 0" identifier != number_literal) ; (assignment_expression "uVar18 = uVar18 - 1" identifier = (binary_expression "uVar18 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar20 = 0;\n      puVar20 = puVar20 + 1;\n    }" { (expression_statement "*puVar20 = 0;" (assignment_expression "*puVar20 = 0" (pointer_expression "*puVar20" * identifier) = number_literal) ;) (expression_statement "puVar20 = puVar20 + 1;" (assignment_expression "puVar20 = puVar20 + 1" identifier = (binary_expression "puVar20 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10);" (assignment_expression "iVar12 = (*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10)" identifier = (call_expression "(*psVar3->xFileSize)((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10)" (parenthesized_expression "(*psVar3->xFileSize)" ( (pointer_expression "*psVar3->xFileSize" * (field_expression "psVar3->xFileSize" identifier -> field_identifier)) )) (argument_list "((sqlite3_file *)psVar3,(sqlite3_int64 *)psVar10)" ( (cast_expression "(sqlite3_file *)psVar3" ( (type_descriptor "sqlite3_file *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(sqlite3_int64 *)psVar10" ( (type_descriptor "sqlite3_int64 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (iVar12 == 0) {\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }\n                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);\n      return iVar12;\n    }" { (if_statement "if (p != (sqlite3_io_methods *)0x0) {\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }" if (parenthesized_expression "(p != (sqlite3_io_methods *)0x0)" ( (binary_expression "p != (sqlite3_io_methods *)0x0" identifier != (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar18 = 0;\n        iVar16 = 0;\n        psVar19 = p;\n        psVar21 = psVar2;\n        do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);\n        do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);\n      }" { (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" identifier = number_literal) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "psVar19 = p;" (assignment_expression "psVar19 = p" identifier = identifier) ;) (expression_statement "psVar21 = psVar2;" (assignment_expression "psVar21 = psVar2" identifier = identifier) ;) (do_statement "do {\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        } while (psVar19 != (sqlite3_io_methods *)0x0);" do (compound_statement "{\n          iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);\n          uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));\n          iVar12 = (int)psVar4 - iVar15;\n          if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }\n          iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));\n          if (iVar12 != 0) goto LAB_0005c260;\n          psVar19 = (sqlite3_io_methods *)psVar19->iVersion;\n          bVar22 = CARRY4(uVar18,(uint)psVar21);\n          uVar18 = (int)&psVar21->iVersion + uVar18;\n          iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;\n        }" { (expression_statement "iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18);" (assignment_expression "iVar15 = ((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18)" identifier = (binary_expression "((int)psVar21 >> 0x1f) + iVar16 + (uint)CARRY4((uint)psVar21,uVar18)" (binary_expression "((int)psVar21 >> 0x1f) + iVar16" (parenthesized_expression "((int)psVar21 >> 0x1f)" ( (binary_expression "(int)psVar21 >> 0x1f" (cast_expression "(int)psVar21" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + identifier) + (cast_expression "(uint)CARRY4((uint)psVar21,uVar18)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4((uint)psVar21,uVar18)" identifier (argument_list "((uint)psVar21,uVar18)" ( (cast_expression "(uint)psVar21" ( (type_descriptor "uint" type_identifier) ) identifier) , identifier )))))) ;) (expression_statement "uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18));" (assignment_expression "uVar14 = (uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18))" identifier = (call_expression "(uint)(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18))" ( (binary_expression "psVar17 < (sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18)" identifier < (cast_expression "(sqlite3_io_methods *)((int)&psVar21->iVersion + uVar18)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar21->iVersion + uVar18)" ( (binary_expression "(int)&psVar21->iVersion + uVar18" (cast_expression "(int)&psVar21->iVersion" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar21->iVersion" & (field_expression "psVar21->iVersion" identifier -> field_identifier))) + identifier) )))) )))) ;) (expression_statement "iVar12 = (int)psVar4 - iVar15;" (assignment_expression "iVar12 = (int)psVar4 - iVar15" identifier = (binary_expression "(int)psVar4 - iVar15" (cast_expression "(int)psVar4" ( (type_descriptor "int" primitive_type) ) identifier) - identifier)) ;) (if_statement "if ((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0) {\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }" if (parenthesized_expression "((SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0)" ( (binary_expression "(SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)) !=\n              (int)(iVar12 - uVar14) < 0" (parenthesized_expression "(SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14))" ( (binary_expression "SBORROW4((int)psVar4,iVar15) != SBORROW4(iVar12,uVar14)" (call_expression "SBORROW4((int)psVar4,iVar15)" identifier (argument_list "((int)psVar4,iVar15)" ( (cast_expression "(int)psVar4" ( (type_descriptor "int" primitive_type) ) identifier) , identifier ))) != (call_expression "SBORROW4(iVar12,uVar14)" identifier (argument_list "(iVar12,uVar14)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar12 - uVar14) < 0" (cast_expression "(int)(iVar12 - uVar14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar12 - uVar14)" ( (binary_expression "iVar12 - uVar14" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n            psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);\n          }" { (expression_statement "psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18);" (assignment_expression "psVar21 = (sqlite3_io_methods *)((int)psVar17 - uVar18)" identifier = (cast_expression "(sqlite3_io_methods *)((int)psVar17 - uVar18)" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)psVar17 - uVar18)" ( (binary_expression "(int)psVar17 - uVar18" (cast_expression "(int)psVar17" ( (type_descriptor "int" primitive_type) ) identifier) - identifier) )))) ;) })) (expression_statement "iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18));" (assignment_expression "iVar12 = (*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18))" identifier = (call_expression "(*pJfd->pMethods->xWrite)\n                             (pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18))" (parenthesized_expression "(*pJfd->pMethods->xWrite)" ( (pointer_expression "*pJfd->pMethods->xWrite" * (field_expression "pJfd->pMethods->xWrite" (field_expression "pJfd->pMethods" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(pJfd,&psVar19->xClose,(int)psVar21,CONCAT44(iVar16,uVar18))" ( identifier , (pointer_expression "&psVar19->xClose" & (field_expression "psVar19->xClose" identifier -> field_identifier)) , (cast_expression "(int)psVar21" ( (type_descriptor "int" primitive_type) ) identifier) , (call_expression "CONCAT44(iVar16,uVar18)" identifier (argument_list "(iVar16,uVar18)" ( identifier , identifier ))) )))) ;) (if_statement "if (iVar12 != 0) goto LAB_0005c260;" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005c260;" goto statement_identifier ;)) (expression_statement "psVar19 = (sqlite3_io_methods *)psVar19->iVersion;" (assignment_expression "psVar19 = (sqlite3_io_methods *)psVar19->iVersion" identifier = (cast_expression "(sqlite3_io_methods *)psVar19->iVersion" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar19->iVersion" identifier -> field_identifier))) ;) (expression_statement "bVar22 = CARRY4(uVar18,(uint)psVar21);" (assignment_expression "bVar22 = CARRY4(uVar18,(uint)psVar21)" identifier = (call_expression "CARRY4(uVar18,(uint)psVar21)" identifier (argument_list "(uVar18,(uint)psVar21)" ( identifier , (cast_expression "(uint)psVar21" ( (type_descriptor "uint" type_identifier) ) identifier) )))) ;) (expression_statement "uVar18 = (int)&psVar21->iVersion + uVar18;" (assignment_expression "uVar18 = (int)&psVar21->iVersion + uVar18" identifier = (binary_expression "(int)&psVar21->iVersion + uVar18" (cast_expression "(int)&psVar21->iVersion" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar21->iVersion" & (field_expression "psVar21->iVersion" identifier -> field_identifier))) + identifier)) ;) (expression_statement "iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22;" (assignment_expression "iVar16 = iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22" identifier = (binary_expression "iVar16 + ((int)psVar21 >> 0x1f) + (uint)bVar22" (binary_expression "iVar16 + ((int)psVar21 >> 0x1f)" identifier + (parenthesized_expression "((int)psVar21 >> 0x1f)" ( (binary_expression "(int)psVar21 >> 0x1f" (cast_expression "(int)psVar21" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)bVar22" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(psVar19 != (sqlite3_io_methods *)0x0)" ( (binary_expression "psVar19 != (sqlite3_io_methods *)0x0" identifier != (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (do_statement "do {\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        } while (psVar13 != (sqlite3_io_methods *)0x0);" do (compound_statement "{\n          psVar13 = (sqlite3_io_methods *)p->iVersion;\n          sqlite3_free(p);\n          p = psVar13;\n        }" { (expression_statement "psVar13 = (sqlite3_io_methods *)p->iVersion;" (assignment_expression "psVar13 = (sqlite3_io_methods *)p->iVersion" identifier = (cast_expression "(sqlite3_io_methods *)p->iVersion" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->iVersion" identifier -> field_identifier))) ;) (expression_statement "sqlite3_free(p);" (call_expression "sqlite3_free(p)" identifier (argument_list "(p)" ( identifier ))) ;) (expression_statement "p = psVar13;" (assignment_expression "p = psVar13" identifier = identifier) ;) }) while (parenthesized_expression "(psVar13 != (sqlite3_io_methods *)0x0)" ( (binary_expression "psVar13 != (sqlite3_io_methods *)0x0" identifier != (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) comment comment (expression_statement "iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst);" (assignment_expression "iVar12 = (*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst)" identifier = (call_expression "(*pJfd->pMethods->xWrite)(pJfd,zBuf,iAmt,iOfst)" (parenthesized_expression "(*pJfd->pMethods->xWrite)" ( (pointer_expression "*pJfd->pMethods->xWrite" * (field_expression "pJfd->pMethods->xWrite" (field_expression "pJfd->pMethods" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(pJfd,zBuf,iAmt,iOfst)" ( identifier , identifier , identifier , identifier )))) ;) (return_statement "return iVar12;" return identifier ;) })) (labeled_statement "LAB_0005c260:\n    if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }" statement_identifier : (if_statement "if (pJfd->pMethods != (sqlite3_io_methods *)0x0) {\n      (*pJfd->pMethods->xClose)(pJfd);\n    }" if (parenthesized_expression "(pJfd->pMethods != (sqlite3_io_methods *)0x0)" ( (binary_expression "pJfd->pMethods != (sqlite3_io_methods *)0x0" (field_expression "pJfd->pMethods" identifier -> field_identifier) != (cast_expression "(sqlite3_io_methods *)0x0" ( (type_descriptor "sqlite3_io_methods *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*pJfd->pMethods->xClose)(pJfd);\n    }" { (expression_statement "(*pJfd->pMethods->xClose)(pJfd);" (call_expression "(*pJfd->pMethods->xClose)(pJfd)" (parenthesized_expression "(*pJfd->pMethods->xClose)" ( (pointer_expression "*pJfd->pMethods->xClose" * (field_expression "pJfd->pMethods->xClose" (field_expression "pJfd->pMethods" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(pJfd)" ( identifier ))) ;) }))) (expression_statement "pJfd[2].pMethods = psVar13;" (assignment_expression "pJfd[2].pMethods = psVar13" (field_expression "pJfd[2].pMethods" (subscript_expression "pJfd[2]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd->pMethods = psVar1;" (assignment_expression "pJfd->pMethods = psVar1" (field_expression "pJfd->pMethods" identifier -> field_identifier) = identifier) ;) (expression_statement "pJfd[9].pMethods = psVar7;" (assignment_expression "pJfd[9].pMethods = psVar7" (field_expression "pJfd[9].pMethods" (subscript_expression "pJfd[9]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[1].pMethods = psVar2;" (assignment_expression "pJfd[1].pMethods = psVar2" (field_expression "pJfd[1].pMethods" (subscript_expression "pJfd[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[3].pMethods = psVar5;" (assignment_expression "pJfd[3].pMethods = psVar5" (field_expression "pJfd[3].pMethods" (subscript_expression "pJfd[3]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[4].pMethods = p;" (assignment_expression "pJfd[4].pMethods = p" (field_expression "pJfd[4].pMethods" (subscript_expression "pJfd[4]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[5].pMethods = psVar17;" (assignment_expression "pJfd[5].pMethods = psVar17" (field_expression "pJfd[5].pMethods" (subscript_expression "pJfd[5]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[6].pMethods = psVar4;" (assignment_expression "pJfd[6].pMethods = psVar4" (field_expression "pJfd[6].pMethods" (subscript_expression "pJfd[6]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[7].pMethods = psVar6;" (assignment_expression "pJfd[7].pMethods = psVar6" (field_expression "pJfd[7].pMethods" (subscript_expression "pJfd[7]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[8].pMethods = psVar8;" (assignment_expression "pJfd[8].pMethods = psVar8" (field_expression "pJfd[8].pMethods" (subscript_expression "pJfd[8]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[10].pMethods = psVar9;" (assignment_expression "pJfd[10].pMethods = psVar9" (field_expression "pJfd[10].pMethods" (subscript_expression "pJfd[10]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[0xb].pMethods = psVar11;" (assignment_expression "pJfd[0xb].pMethods = psVar11" (field_expression "pJfd[0xb].pMethods" (subscript_expression "pJfd[0xb]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[0xc].pMethods = psVar3;" (assignment_expression "pJfd[0xc].pMethods = psVar3" (field_expression "pJfd[0xc].pMethods" (subscript_expression "pJfd[0xc]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "pJfd[0xd].pMethods = psVar10;" (assignment_expression "pJfd[0xd].pMethods = psVar10" (field_expression "pJfd[0xd].pMethods" (subscript_expression "pJfd[0xd]" identifier [ number_literal ]) . field_identifier) = identifier) ;) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit "int FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}\n\n" (function_definition "int FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}" primitive_type (function_declarator "FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)" identifier (parameter_list "(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "uint param_4" type_identifier identifier) , (parameter_declaration "int param_5" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "undefined4 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "bool bVar23;" primitive_type identifier ;) (declaration "undefined4 *local_74;" type_identifier (pointer_declarator "*local_74" * identifier) ;) (declaration "void *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (expression_statement "uVar20 = param_1[2];" (assignment_expression "uVar20 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "local_64 = param_2;" (assignment_expression "local_64 = param_2" identifier = identifier) ;) (if_statement "if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" if (parenthesized_expression "(((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     ))" ( (binary_expression "((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )" (parenthesized_expression "((int)uVar20 < 1)" ( (binary_expression "(int)uVar20 < 1" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) || (parenthesized_expression "(iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )" ( (comma_expression "iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4)" identifier = (binary_expression "((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4)" (binary_expression "((int)param_3 >> 0x1f) + param_5" (parenthesized_expression "((int)param_3 >> 0x1f)" ( (binary_expression "(int)param_3 >> 0x1f" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + identifier) + (cast_expression "(uint)CARRY4(param_3,param_4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(param_3,param_4)" identifier (argument_list "(param_3,param_4)" ( identifier , identifier )))))) , (comma_expression "uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "uVar14 = (uint)(uVar20 < param_3 + param_4)" identifier = (call_expression "(uint)(uVar20 < param_3 + param_4)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar20 < param_3 + param_4)" ( (binary_expression "uVar20 < param_3 + param_4" identifier < (binary_expression "param_3 + param_4" identifier + identifier)) )))) , (comma_expression "iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "iVar12 = ((int)uVar20 >> 0x1f) - iVar18" identifier = (binary_expression "((int)uVar20 >> 0x1f) - iVar18" (parenthesized_expression "((int)uVar20 >> 0x1f)" ( (binary_expression "(int)uVar20 >> 0x1f" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) - identifier)) , (binary_expression "(SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (parenthesized_expression "(SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14))" ( (binary_expression "SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)" (call_expression "SBORROW4((int)uVar20 >> 0x1f,iVar18)" identifier (argument_list "((int)uVar20 >> 0x1f,iVar18)" ( (binary_expression "(int)uVar20 >> 0x1f" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) , identifier ))) != (call_expression "SBORROW4(iVar12,uVar14)" identifier (argument_list "(iVar12,uVar14)" ( identifier , identifier )))) )) == (binary_expression "(int)(iVar12 - uVar14) < 0" (cast_expression "(int)(iVar12 - uVar14)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar12 - uVar14)" ( (binary_expression "iVar12 - uVar14" identifier - identifier) ))) < number_literal))))) ))) )) (compound_statement "{\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }" { (if_statement "if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }" if (parenthesized_expression "(0 < (int)param_3)" ( (binary_expression "0 < (int)param_3" number_literal < (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }" { (expression_statement "iVar12 = param_1[5];" (assignment_expression "iVar12 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[6];" (assignment_expression "iVar18 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "uVar20 = param_3;" (assignment_expression "uVar20 = param_3" identifier = identifier) ;) (do_statement "do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);" do (compound_statement "{\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      }" { (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar22 = (undefined4 *)param_1[7];" (assignment_expression "puVar22 = (undefined4 *)param_1[7]" identifier = (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (expression_statement "iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);" (assignment_expression "iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" identifier = (call_expression "FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" identifier (argument_list "(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" ( identifier , identifier , identifier , (binary_expression "iVar1 >> 0x1f" identifier >> number_literal) )))) ;) (expression_statement "uVar14 = iVar1 - iVar12;" (assignment_expression "uVar14 = iVar1 - iVar12" identifier = (binary_expression "iVar1 - iVar12" identifier - identifier)) ;) (if_statement "if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }" if (parenthesized_expression "((int)uVar20 < iVar1 - iVar12)" ( (binary_expression "(int)uVar20 < iVar1 - iVar12" (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "iVar1 - iVar12" identifier - identifier)) )) (compound_statement "{\n          uVar14 = uVar20;\n        }" { (expression_statement "uVar14 = uVar20;" (assignment_expression "uVar14 = uVar20" identifier = identifier) ;) })) (expression_statement "local_74 = puVar22;" (assignment_expression "local_74 = puVar22" identifier = identifier) ;) (if_statement "if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }" { (expression_statement "local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);" (assignment_expression "local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4)" identifier = (cast_expression "(undefined4 *)FUN_0005bfa0(iVar1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005bfa0(iVar1 + 4)" identifier (argument_list "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) ))))) ;) (if_statement "if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }" if (parenthesized_expression "(local_74 == (undefined4 *)0x0)" ( (binary_expression "local_74 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            return 0xc0a;\n          }" { (return_statement "return 0xc0a;" return number_literal ;) })) (expression_statement "*local_74 = 0;" (assignment_expression "*local_74 = 0" (pointer_expression "*local_74" * identifier) = number_literal) ;) (if_statement "if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }" if (parenthesized_expression "(puVar22 == (undefined4 *)0x0)" ( (binary_expression "puVar22 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            param_1[4] = (int)local_74;\n          }" { (expression_statement "param_1[4] = (int)local_74;" (assignment_expression "param_1[4] = (int)local_74" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n            *puVar22 = local_74;\n          }" else (compound_statement "{\n            *puVar22 = local_74;\n          }" { (expression_statement "*puVar22 = local_74;" (assignment_expression "*puVar22 = local_74" (pointer_expression "*puVar22" * identifier) = identifier) ;) }))) (expression_statement "param_1[7] = (int)local_74;" (assignment_expression "param_1[7] = (int)local_74" (subscript_expression "param_1[7]" identifier [ number_literal ]) = (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) (expression_statement "memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);" (call_expression "memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14)" identifier (argument_list "((void *)((int)local_74 + iVar12 + 4),local_64,uVar14)" ( (cast_expression "(void *)((int)local_74 + iVar12 + 4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_74 + iVar12 + 4)" ( (binary_expression "(int)local_74 + iVar12 + 4" (binary_expression "(int)local_74 + iVar12" (cast_expression "(int)local_74" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))) , identifier , identifier ))) ;) (expression_statement "local_64 = (void *)((int)local_64 + uVar14);" (assignment_expression "local_64 = (void *)((int)local_64 + uVar14)" identifier = (cast_expression "(void *)((int)local_64 + uVar14)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_64 + uVar14)" ( (binary_expression "(int)local_64 + uVar14" (cast_expression "(int)local_64" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) ;) (expression_statement "uVar20 = uVar20 - uVar14;" (assignment_expression "uVar20 = uVar20 - uVar14" identifier = (binary_expression "uVar20 - uVar14" identifier - identifier)) ;) (expression_statement "iVar12 = uVar14 + param_1[5];" (assignment_expression "iVar12 = uVar14 + param_1[5]" identifier = (binary_expression "uVar14 + param_1[5]" identifier + (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);" (assignment_expression "iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5])" identifier = (binary_expression "((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5])" (binary_expression "((int)uVar14 >> 0x1f) + param_1[6]" (parenthesized_expression "((int)uVar14 >> 0x1f)" ( (binary_expression "(int)uVar14 >> 0x1f" (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + (subscript_expression "param_1[6]" identifier [ number_literal ])) + (cast_expression "(uint)CARRY4(uVar14,param_1[5])" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar14,param_1[5])" identifier (argument_list "(uVar14,param_1[5])" ( identifier , (subscript_expression "param_1[5]" identifier [ number_literal ]) )))))) ;) (expression_statement "param_1[5] = iVar12;" (assignment_expression "param_1[5] = iVar12" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = iVar18;" (assignment_expression "param_1[6] = iVar18" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) }) while (parenthesized_expression "(0 < (int)uVar20)" ( (binary_expression "0 < (int)uVar20" number_literal < (cast_expression "(int)uVar20" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "param_1[3] = param_3 + param_4;" (assignment_expression "param_1[3] = param_3 + param_4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_3 + param_4" identifier + identifier)) ;) }) (else_clause "else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" else (compound_statement "{\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" { (expression_statement "uVar14 = param_1[5];" (assignment_expression "uVar14 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = *param_1;" (assignment_expression "iVar18 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = param_1[0xc];" (assignment_expression "iVar1 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = param_1[7];" (assignment_expression "iVar5 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "piVar13 = (int *)param_1[4];" (assignment_expression "piVar13 = (int *)param_1[4]" identifier = (cast_expression "(int *)param_1[4]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[4]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = param_1[9];" (assignment_expression "iVar6 = param_1[9]" identifier = (subscript_expression "param_1[9]" identifier [ number_literal ])) ;) (expression_statement "iVar7 = param_1[8];" (assignment_expression "iVar7 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = param_1[10];" (assignment_expression "iVar8 = param_1[10]" identifier = (subscript_expression "param_1[10]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = param_1[0xd];" (assignment_expression "iVar9 = param_1[0xd]" identifier = (subscript_expression "param_1[0xd]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = param_1[0xb];" (assignment_expression "uVar10 = param_1[0xb]" identifier = (subscript_expression "param_1[0xb]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);" (assignment_expression "puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }" for ( (assignment_expression "uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" ( (binary_expression "(int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))" ( (binary_expression "0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar15 != 0" identifier != number_literal) ; (assignment_expression "uVar15 = uVar15 - 1" identifier = (binary_expression "uVar15 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }" { (expression_statement "*puVar22 = 0;" (assignment_expression "*puVar22 = 0" (pointer_expression "*puVar22" * identifier) = number_literal) ;) (expression_statement "puVar22 = puVar22 + 1;" (assignment_expression "puVar22 = puVar22 + 1" identifier = (binary_expression "puVar22 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);" (assignment_expression "iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" identifier = (call_expression "(**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" (parenthesized_expression "(**(code **)(iVar1 + 0x18))" ( (pointer_expression "**(code **)(iVar1 + 0x18)" * (pointer_expression "*(code **)(iVar1 + 0x18)" * (cast_expression "(code **)(iVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) )) (argument_list "(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" ( identifier , identifier , identifier , (binary_expression "uVar10 & 0x87f7f" identifier & number_literal) , number_literal )))) ;) (if_statement "if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }" { (if_statement "if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }" if (parenthesized_expression "(piVar13 != (int *)0x0)" ( (binary_expression "piVar13 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }" { (expression_statement "uVar16 = 0;" (assignment_expression "uVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) (expression_statement "piVar21 = piVar13;" (assignment_expression "piVar21 = piVar13" identifier = identifier) ;) (expression_statement "uVar15 = uVar2;" (assignment_expression "uVar15 = uVar2" identifier = identifier) ;) (do_statement "do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);" do (compound_statement "{\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        }" { (expression_statement "iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);" (assignment_expression "iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16)" identifier = (binary_expression "((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16)" (binary_expression "((int)uVar15 >> 0x1f) + iVar19" (parenthesized_expression "((int)uVar15 >> 0x1f)" ( (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) + identifier) + (cast_expression "(uint)CARRY4(uVar15,uVar16)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar15,uVar16)" identifier (argument_list "(uVar15,uVar16)" ( identifier , identifier )))))) ;) (expression_statement "uVar11 = (uint)(uVar14 < uVar15 + uVar16);" (assignment_expression "uVar11 = (uint)(uVar14 < uVar15 + uVar16)" identifier = (call_expression "(uint)(uVar14 < uVar15 + uVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar14 < uVar15 + uVar16)" ( (binary_expression "uVar14 < uVar15 + uVar16" identifier < (binary_expression "uVar15 + uVar16" identifier + identifier)) )))) ;) (expression_statement "iVar12 = iVar3 - iVar17;" (assignment_expression "iVar12 = iVar3 - iVar17" identifier = (binary_expression "iVar3 - iVar17" identifier - identifier)) ;) (if_statement "if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }" if (parenthesized_expression "((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0)" ( (binary_expression "(SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11))" ( (binary_expression "SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)" (call_expression "SBORROW4(iVar3,iVar17)" identifier (argument_list "(iVar3,iVar17)" ( identifier , identifier ))) != (call_expression "SBORROW4(iVar12,uVar11)" identifier (argument_list "(iVar12,uVar11)" ( identifier , identifier )))) )) != (binary_expression "(int)(iVar12 - uVar11) < 0" (cast_expression "(int)(iVar12 - uVar11)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(iVar12 - uVar11)" ( (binary_expression "iVar12 - uVar11" identifier - identifier) ))) < number_literal)) )) (compound_statement "{\n            uVar15 = uVar14 - uVar16;\n          }" { (expression_statement "uVar15 = uVar14 - uVar16;" (assignment_expression "uVar15 = uVar14 - uVar16" identifier = (binary_expression "uVar14 - uVar16" identifier - identifier)) ;) })) (expression_statement "iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);" (assignment_expression "iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" identifier = (call_expression "(**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" ( identifier , (binary_expression "piVar21 + 1" identifier + number_literal) , identifier , identifier , identifier )))) ;) (if_statement "if (iVar12 != 0) goto LAB_0005c260;" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0005c260;" goto statement_identifier ;)) (expression_statement "piVar21 = (int *)*piVar21;" (assignment_expression "piVar21 = (int *)*piVar21" identifier = (cast_expression "(int *)*piVar21" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar21" * identifier))) ;) (expression_statement "bVar23 = CARRY4(uVar16,uVar15);" (assignment_expression "bVar23 = CARRY4(uVar16,uVar15)" identifier = (call_expression "CARRY4(uVar16,uVar15)" identifier (argument_list "(uVar16,uVar15)" ( identifier , identifier )))) ;) (expression_statement "uVar16 = uVar16 + uVar15;" (assignment_expression "uVar16 = uVar16 + uVar15" identifier = (binary_expression "uVar16 + uVar15" identifier + identifier)) ;) (expression_statement "iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;" (assignment_expression "iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23" identifier = (binary_expression "iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23" (binary_expression "iVar19 + ((int)uVar15 >> 0x1f)" identifier + (parenthesized_expression "((int)uVar15 >> 0x1f)" ( (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) + (cast_expression "(uint)bVar23" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) }) while (parenthesized_expression "(piVar21 != (int *)0x0)" ( (binary_expression "piVar21 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (do_statement "do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);" do (compound_statement "{\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        }" { (expression_statement "piVar21 = (int *)*piVar13;" (assignment_expression "piVar21 = (int *)*piVar13" identifier = (cast_expression "(int *)*piVar13" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar13" * identifier))) ;) (expression_statement "FUN_00042800(piVar13);" (call_expression "FUN_00042800(piVar13)" identifier (argument_list "(piVar13)" ( identifier ))) ;) (expression_statement "piVar13 = piVar21;" (assignment_expression "piVar13 = piVar21" identifier = identifier) ;) }) while (parenthesized_expression "(piVar21 != (int *)0x0)" ( (binary_expression "piVar21 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "iVar12 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "iVar12 = (**(code **)(*param_1 + 0xc))()" identifier = (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" ( (pointer_expression "**(code **)(*param_1 + 0xc)" * (pointer_expression "*(code **)(*param_1 + 0xc)" * (cast_expression "(code **)(*param_1 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (return_statement "return iVar12;" return identifier ;) })) (labeled_statement "LAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }" statement_identifier : (if_statement "if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      (**(code **)(*param_1 + 4))(param_1);\n    }" { (expression_statement "(**(code **)(*param_1 + 4))(param_1);" (call_expression "(**(code **)(*param_1 + 4))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 4))" ( (pointer_expression "**(code **)(*param_1 + 4)" * (pointer_expression "*(code **)(*param_1 + 4)" * (cast_expression "(code **)(*param_1 + 4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1)" ( identifier ))) ;) }))) (expression_statement "param_1[2] = uVar20;" (assignment_expression "param_1[2] = uVar20" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*param_1 = iVar18;" (assignment_expression "*param_1 = iVar18" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[9] = iVar6;" (assignment_expression "param_1[9] = iVar6" (subscript_expression "param_1[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[1] = uVar2;" (assignment_expression "param_1[1] = uVar2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[4] = (int)piVar13;" (assignment_expression "param_1[4] = (int)piVar13" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[5] = uVar14;" (assignment_expression "param_1[5] = uVar14" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = iVar3;" (assignment_expression "param_1[6] = iVar3" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[7] = iVar5;" (assignment_expression "param_1[7] = iVar5" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = iVar7;" (assignment_expression "param_1[8] = iVar7" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[10] = iVar8;" (assignment_expression "param_1[10] = iVar8" (subscript_expression "param_1[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xb] = uVar10;" (assignment_expression "param_1[0xb] = uVar10" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xc] = iVar1;" (assignment_expression "param_1[0xc] = iVar1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[0xd] = iVar9;" (assignment_expression "param_1[0xd] = iVar9" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) = identifier) ;) }))) (return_statement "return iVar12;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) )))) , (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) - IDENT)) , (binary_expression (parenthesized_expression ( (binary_expression (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) , IDENT ))) != (call_expression IDENT (argument_list ( IDENT , IDENT )))) )) == (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) < LIT))))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (binary_expression IDENT - IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + (subscript_expression IDENT [ LIT ])) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT & LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) + IDENT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < (binary_expression IDENT + IDENT)) )))) ;) (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 = (binary_expression IDENT - IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (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 * IDENT) + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (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 * IDENT) + LIT) ))))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (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 * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}" (primitive_type "int") (function_declarator "FUN_0005bfd0(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)" (identifier "FUN_0005bfd0") (parameter_list "(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "void *param_2" (primitive_type "void") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "uint param_4" (type_identifier "uint") (identifier "param_4")) (, ",") (parameter_declaration "int param_5" (primitive_type "int") (identifier "param_5")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  uint uVar10;\n  uint uVar11;\n  int iVar12;\n  int *piVar13;\n  uint uVar14;\n  uint uVar15;\n  uint uVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  undefined4 *puVar22;\n  bool bVar23;\n  undefined4 *local_74;\n  void *local_64;\n  \n  uVar20 = param_1[2];\n  local_64 = param_2;\n  if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }\n  return iVar12;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "uint uVar20;" (type_identifier "uint") (identifier "uVar20") (; ";")) (declaration "int *piVar21;" (primitive_type "int") (pointer_declarator "*piVar21" (* "*") (identifier "piVar21")) (; ";")) (declaration "undefined4 *puVar22;" (type_identifier "undefined4") (pointer_declarator "*puVar22" (* "*") (identifier "puVar22")) (; ";")) (declaration "bool bVar23;" (primitive_type "bool") (identifier "bVar23") (; ";")) (declaration "undefined4 *local_74;" (type_identifier "undefined4") (pointer_declarator "*local_74" (* "*") (identifier "local_74")) (; ";")) (declaration "void *local_64;" (primitive_type "void") (pointer_declarator "*local_64" (* "*") (identifier "local_64")) (; ";")) (expression_statement "uVar20 = param_1[2];" (assignment_expression "uVar20 = param_1[2]" (identifier "uVar20") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_64 = param_2;" (assignment_expression "local_64 = param_2" (identifier "local_64") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )) {\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }\n  else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" (if "if") (parenthesized_expression "(((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     ))" (( "(") (binary_expression "((int)uVar20 < 1) ||\n     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )" (parenthesized_expression "((int)uVar20 < 1)" (( "(") (binary_expression "(int)uVar20 < 1" (cast_expression "(int)uVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar20")) (< "<") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "(iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0\n     )" (( "(") (comma_expression "iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),\n     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4)" (identifier "iVar18") (= "=") (binary_expression "((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4)" (binary_expression "((int)param_3 >> 0x1f) + param_5" (parenthesized_expression "((int)param_3 >> 0x1f)" (( "(") (binary_expression "(int)param_3 >> 0x1f" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (>> ">>") (number_literal "0x1f")) () ")")) (+ "+") (identifier "param_5")) (+ "+") (cast_expression "(uint)CARRY4(param_3,param_4)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(param_3,param_4)" (identifier "CARRY4") (argument_list "(param_3,param_4)" (( "(") (identifier "param_3") (, ",") (identifier "param_4") () ")")))))) (, ",") (comma_expression "uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "uVar14 = (uint)(uVar20 < param_3 + param_4)" (identifier "uVar14") (= "=") (call_expression "(uint)(uVar20 < param_3 + param_4)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar20 < param_3 + param_4)" (( "(") (binary_expression "uVar20 < param_3 + param_4" (identifier "uVar20") (< "<") (binary_expression "param_3 + param_4" (identifier "param_3") (+ "+") (identifier "param_4"))) () ")")))) (, ",") (comma_expression "iVar12 = ((int)uVar20 >> 0x1f) - iVar18,\n     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (assignment_expression "iVar12 = ((int)uVar20 >> 0x1f) - iVar18" (identifier "iVar12") (= "=") (binary_expression "((int)uVar20 >> 0x1f) - iVar18" (parenthesized_expression "((int)uVar20 >> 0x1f)" (( "(") (binary_expression "(int)uVar20 >> 0x1f" (cast_expression "(int)uVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar20")) (>> ">>") (number_literal "0x1f")) () ")")) (- "-") (identifier "iVar18"))) (, ",") (binary_expression "(SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0" (parenthesized_expression "(SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14))" (( "(") (binary_expression "SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)" (call_expression "SBORROW4((int)uVar20 >> 0x1f,iVar18)" (identifier "SBORROW4") (argument_list "((int)uVar20 >> 0x1f,iVar18)" (( "(") (binary_expression "(int)uVar20 >> 0x1f" (cast_expression "(int)uVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar20")) (>> ">>") (number_literal "0x1f")) (, ",") (identifier "iVar18") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar12,uVar14)" (identifier "SBORROW4") (argument_list "(iVar12,uVar14)" (( "(") (identifier "iVar12") (, ",") (identifier "uVar14") () ")")))) () ")")) (== "==") (binary_expression "(int)(iVar12 - uVar14) < 0" (cast_expression "(int)(iVar12 - uVar14)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar12 - uVar14)" (( "(") (binary_expression "iVar12 - uVar14" (identifier "iVar12") (- "-") (identifier "uVar14")) () ")"))) (< "<") (number_literal "0")))))) () ")"))) () ")")) (compound_statement "{\n    if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }\n    iVar12 = 0;\n    param_1[3] = param_3 + param_4;\n  }" ({ "{") (if_statement "if (0 < (int)param_3) {\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }" (if "if") (parenthesized_expression "(0 < (int)param_3)" (( "(") (binary_expression "0 < (int)param_3" (number_literal "0") (< "<") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3"))) () ")")) (compound_statement "{\n      iVar12 = param_1[5];\n      iVar18 = param_1[6];\n      uVar20 = param_3;\n      do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);\n    }" ({ "{") (expression_statement "iVar12 = param_1[5];" (assignment_expression "iVar12 = param_1[5]" (identifier "iVar12") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar18 = param_1[6];" (assignment_expression "iVar18 = param_1[6]" (identifier "iVar18") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "uVar20 = param_3;" (assignment_expression "uVar20 = param_3" (identifier "uVar20") (= "=") (identifier "param_3")) (; ";")) (do_statement "do {\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      } while (0 < (int)uVar20);" (do "do") (compound_statement "{\n        iVar1 = param_1[1];\n        puVar22 = (undefined4 *)param_1[7];\n        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);\n        uVar14 = iVar1 - iVar12;\n        if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }\n        local_74 = puVar22;\n        if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }\n        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);\n        local_64 = (void *)((int)local_64 + uVar14);\n        uVar20 = uVar20 - uVar14;\n        iVar12 = uVar14 + param_1[5];\n        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);\n        param_1[5] = iVar12;\n        param_1[6] = iVar18;\n      }" ({ "{") (expression_statement "iVar1 = param_1[1];" (assignment_expression "iVar1 = param_1[1]" (identifier "iVar1") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar22 = (undefined4 *)param_1[7];" (assignment_expression "puVar22 = (undefined4 *)param_1[7]" (identifier "puVar22") (= "=") (cast_expression "(undefined4 *)param_1[7]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) (; ";")) (expression_statement "iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);" (assignment_expression "iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" (identifier "iVar12") (= "=") (call_expression "FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" (identifier "FUN_00115860") (argument_list "(iVar12,iVar18,iVar1,iVar1 >> 0x1f)" (( "(") (identifier "iVar12") (, ",") (identifier "iVar18") (, ",") (identifier "iVar1") (, ",") (binary_expression "iVar1 >> 0x1f" (identifier "iVar1") (>> ">>") (number_literal "0x1f")) () ")")))) (; ";")) (expression_statement "uVar14 = iVar1 - iVar12;" (assignment_expression "uVar14 = iVar1 - iVar12" (identifier "uVar14") (= "=") (binary_expression "iVar1 - iVar12" (identifier "iVar1") (- "-") (identifier "iVar12"))) (; ";")) (if_statement "if ((int)uVar20 < iVar1 - iVar12) {\n          uVar14 = uVar20;\n        }" (if "if") (parenthesized_expression "((int)uVar20 < iVar1 - iVar12)" (( "(") (binary_expression "(int)uVar20 < iVar1 - iVar12" (cast_expression "(int)uVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar20")) (< "<") (binary_expression "iVar1 - iVar12" (identifier "iVar1") (- "-") (identifier "iVar12"))) () ")")) (compound_statement "{\n          uVar14 = uVar20;\n        }" ({ "{") (expression_statement "uVar14 = uVar20;" (assignment_expression "uVar14 = uVar20" (identifier "uVar14") (= "=") (identifier "uVar20")) (; ";")) (} "}"))) (expression_statement "local_74 = puVar22;" (assignment_expression "local_74 = puVar22" (identifier "local_74") (= "=") (identifier "puVar22")) (; ";")) (if_statement "if (iVar12 == 0) {\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);\n          if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }\n          *local_74 = 0;\n          if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }\n          param_1[7] = (int)local_74;\n        }" ({ "{") (expression_statement "local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);" (assignment_expression "local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4)" (identifier "local_74") (= "=") (cast_expression "(undefined4 *)FUN_0005bfa0(iVar1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005bfa0(iVar1 + 4)" (identifier "FUN_0005bfa0") (argument_list "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (local_74 == (undefined4 *)0x0) {\n            return 0xc0a;\n          }" (if "if") (parenthesized_expression "(local_74 == (undefined4 *)0x0)" (( "(") (binary_expression "local_74 == (undefined4 *)0x0" (identifier "local_74") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            return 0xc0a;\n          }" ({ "{") (return_statement "return 0xc0a;" (return "return") (number_literal "0xc0a") (; ";")) (} "}"))) (expression_statement "*local_74 = 0;" (assignment_expression "*local_74 = 0" (pointer_expression "*local_74" (* "*") (identifier "local_74")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (puVar22 == (undefined4 *)0x0) {\n            param_1[4] = (int)local_74;\n          }\n          else {\n            *puVar22 = local_74;\n          }" (if "if") (parenthesized_expression "(puVar22 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar22 == (undefined4 *)0x0" (identifier "puVar22") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            param_1[4] = (int)local_74;\n          }" ({ "{") (expression_statement "param_1[4] = (int)local_74;" (assignment_expression "param_1[4] = (int)local_74" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(int)local_74" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_74"))) (; ";")) (} "}")) (else_clause "else {\n            *puVar22 = local_74;\n          }" (else "else") (compound_statement "{\n            *puVar22 = local_74;\n          }" ({ "{") (expression_statement "*puVar22 = local_74;" (assignment_expression "*puVar22 = local_74" (pointer_expression "*puVar22" (* "*") (identifier "puVar22")) (= "=") (identifier "local_74")) (; ";")) (} "}")))) (expression_statement "param_1[7] = (int)local_74;" (assignment_expression "param_1[7] = (int)local_74" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (cast_expression "(int)local_74" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_74"))) (; ";")) (} "}"))) (expression_statement "memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);" (call_expression "memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14)" (identifier "memcpy") (argument_list "((void *)((int)local_74 + iVar12 + 4),local_64,uVar14)" (( "(") (cast_expression "(void *)((int)local_74 + iVar12 + 4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_74 + iVar12 + 4)" (( "(") (binary_expression "(int)local_74 + iVar12 + 4" (binary_expression "(int)local_74 + iVar12" (cast_expression "(int)local_74" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_74")) (+ "+") (identifier "iVar12")) (+ "+") (number_literal "4")) () ")"))) (, ",") (identifier "local_64") (, ",") (identifier "uVar14") () ")"))) (; ";")) (expression_statement "local_64 = (void *)((int)local_64 + uVar14);" (assignment_expression "local_64 = (void *)((int)local_64 + uVar14)" (identifier "local_64") (= "=") (cast_expression "(void *)((int)local_64 + uVar14)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)local_64 + uVar14)" (( "(") (binary_expression "(int)local_64 + uVar14" (cast_expression "(int)local_64" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_64")) (+ "+") (identifier "uVar14")) () ")")))) (; ";")) (expression_statement "uVar20 = uVar20 - uVar14;" (assignment_expression "uVar20 = uVar20 - uVar14" (identifier "uVar20") (= "=") (binary_expression "uVar20 - uVar14" (identifier "uVar20") (- "-") (identifier "uVar14"))) (; ";")) (expression_statement "iVar12 = uVar14 + param_1[5];" (assignment_expression "iVar12 = uVar14 + param_1[5]" (identifier "iVar12") (= "=") (binary_expression "uVar14 + param_1[5]" (identifier "uVar14") (+ "+") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);" (assignment_expression "iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5])" (identifier "iVar18") (= "=") (binary_expression "((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5])" (binary_expression "((int)uVar14 >> 0x1f) + param_1[6]" (parenthesized_expression "((int)uVar14 >> 0x1f)" (( "(") (binary_expression "(int)uVar14 >> 0x1f" (cast_expression "(int)uVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar14")) (>> ">>") (number_literal "0x1f")) () ")")) (+ "+") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (+ "+") (cast_expression "(uint)CARRY4(uVar14,param_1[5])" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar14,param_1[5])" (identifier "CARRY4") (argument_list "(uVar14,param_1[5])" (( "(") (identifier "uVar14") (, ",") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) () ")")))))) (; ";")) (expression_statement "param_1[5] = iVar12;" (assignment_expression "param_1[5] = iVar12" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar12")) (; ";")) (expression_statement "param_1[6] = iVar18;" (assignment_expression "param_1[6] = iVar18" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar18")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < (int)uVar20)" (( "(") (binary_expression "0 < (int)uVar20" (number_literal "0") (< "<") (cast_expression "(int)uVar20" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar20"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = param_3 + param_4;" (assignment_expression "param_1[3] = param_3 + param_4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "param_3 + param_4" (identifier "param_3") (+ "+") (identifier "param_4"))) (; ";")) (} "}")) (else_clause "else {\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" (else "else") (compound_statement "{\n    uVar14 = param_1[5];\n    iVar18 = *param_1;\n    uVar2 = param_1[1];\n    iVar1 = param_1[0xc];\n    iVar3 = param_1[6];\n    iVar4 = param_1[3];\n    iVar5 = param_1[7];\n    piVar13 = (int *)param_1[4];\n    iVar6 = param_1[9];\n    iVar7 = param_1[8];\n    iVar8 = param_1[10];\n    iVar9 = param_1[0xd];\n    uVar10 = param_1[0xb];\n    *param_1 = 0;\n    param_1[0xd] = 0;\n    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }\n    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);\n    if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }\nLAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }\n    param_1[2] = uVar20;\n    *param_1 = iVar18;\n    param_1[9] = iVar6;\n    param_1[1] = uVar2;\n    param_1[3] = iVar4;\n    param_1[4] = (int)piVar13;\n    param_1[5] = uVar14;\n    param_1[6] = iVar3;\n    param_1[7] = iVar5;\n    param_1[8] = iVar7;\n    param_1[10] = iVar8;\n    param_1[0xb] = uVar10;\n    param_1[0xc] = iVar1;\n    param_1[0xd] = iVar9;\n  }" ({ "{") (expression_statement "uVar14 = param_1[5];" (assignment_expression "uVar14 = param_1[5]" (identifier "uVar14") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar18 = *param_1;" (assignment_expression "iVar18 = *param_1" (identifier "iVar18") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar2 = param_1[1];" (assignment_expression "uVar2 = param_1[1]" (identifier "uVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar1 = param_1[0xc];" (assignment_expression "iVar1 = param_1[0xc]" (identifier "iVar1") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" (identifier "iVar3") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" (identifier "iVar4") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar5 = param_1[7];" (assignment_expression "iVar5 = param_1[7]" (identifier "iVar5") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "piVar13 = (int *)param_1[4];" (assignment_expression "piVar13 = (int *)param_1[4]" (identifier "piVar13") (= "=") (cast_expression "(int *)param_1[4]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")))) (; ";")) (expression_statement "iVar6 = param_1[9];" (assignment_expression "iVar6 = param_1[9]" (identifier "iVar6") (= "=") (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "iVar7 = param_1[8];" (assignment_expression "iVar7 = param_1[8]" (identifier "iVar7") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "iVar8 = param_1[10];" (assignment_expression "iVar8 = param_1[10]" (identifier "iVar8") (= "=") (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "iVar9 = param_1[0xd];" (assignment_expression "iVar9 = param_1[0xd]" (identifier "iVar9") (= "=") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]"))) (; ";")) (expression_statement "uVar10 = param_1[0xb];" (assignment_expression "uVar10 = param_1[0xb]" (identifier "uVar10") (= "=") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0xd] = 0;" (assignment_expression "param_1[0xd] = 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);" (assignment_expression "puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" (identifier "puVar22") (= "=") (cast_expression "(undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n        uVar15 != 0; uVar15 = uVar15 - 1) {\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }" (for "for") (( "(") (assignment_expression "uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (identifier "uVar15") (= "=") (binary_expression "(uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (( "(") (binary_expression "(int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (( "(") (binary_expression "0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc)" (number_literal "0x38") (- "-") (cast_expression "(int)((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar15 != 0" (identifier "uVar15") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar15 = uVar15 - 1" (identifier "uVar15") (= "=") (binary_expression "uVar15 - 1" (identifier "uVar15") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      *puVar22 = 0;\n      puVar22 = puVar22 + 1;\n    }" ({ "{") (expression_statement "*puVar22 = 0;" (assignment_expression "*puVar22 = 0" (pointer_expression "*puVar22" (* "*") (identifier "puVar22")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar22 = puVar22 + 1;" (assignment_expression "puVar22 = puVar22 + 1" (identifier "puVar22") (= "=") (binary_expression "puVar22 + 1" (identifier "puVar22") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);" (assignment_expression "iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" (identifier "iVar12") (= "=") (call_expression "(**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" (parenthesized_expression "(**(code **)(iVar1 + 0x18))" (( "(") (pointer_expression "**(code **)(iVar1 + 0x18)" (* "*") (pointer_expression "*(code **)(iVar1 + 0x18)" (* "*") (cast_expression "(code **)(iVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0)" (( "(") (identifier "iVar1") (, ",") (identifier "iVar9") (, ",") (identifier "param_1") (, ",") (binary_expression "uVar10 & 0x87f7f" (identifier "uVar10") (& "&") (number_literal "0x87f7f")) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar12 == 0) {\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }\n                    \n                    \n      iVar12 = (**(code **)(*param_1 + 0xc))();\n      return iVar12;\n    }" ({ "{") (if_statement "if (piVar13 != (int *)0x0) {\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }" (if "if") (parenthesized_expression "(piVar13 != (int *)0x0)" (( "(") (binary_expression "piVar13 != (int *)0x0" (identifier "piVar13") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        uVar16 = 0;\n        iVar19 = 0;\n        piVar21 = piVar13;\n        uVar15 = uVar2;\n        do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);\n        do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);\n      }" ({ "{") (expression_statement "uVar16 = 0;" (assignment_expression "uVar16 = 0" (identifier "uVar16") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" (identifier "iVar19") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar21 = piVar13;" (assignment_expression "piVar21 = piVar13" (identifier "piVar21") (= "=") (identifier "piVar13")) (; ";")) (expression_statement "uVar15 = uVar2;" (assignment_expression "uVar15 = uVar2" (identifier "uVar15") (= "=") (identifier "uVar2")) (; ";")) (do_statement "do {\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        } while (piVar21 != (int *)0x0);" (do "do") (compound_statement "{\n          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);\n          uVar11 = (uint)(uVar14 < uVar15 + uVar16);\n          iVar12 = iVar3 - iVar17;\n          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }\n          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);\n          if (iVar12 != 0) goto LAB_0005c260;\n          piVar21 = (int *)*piVar21;\n          bVar23 = CARRY4(uVar16,uVar15);\n          uVar16 = uVar16 + uVar15;\n          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;\n        }" ({ "{") (expression_statement "iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);" (assignment_expression "iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16)" (identifier "iVar17") (= "=") (binary_expression "((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16)" (binary_expression "((int)uVar15 >> 0x1f) + iVar19" (parenthesized_expression "((int)uVar15 >> 0x1f)" (( "(") (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x1f")) () ")")) (+ "+") (identifier "iVar19")) (+ "+") (cast_expression "(uint)CARRY4(uVar15,uVar16)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar15,uVar16)" (identifier "CARRY4") (argument_list "(uVar15,uVar16)" (( "(") (identifier "uVar15") (, ",") (identifier "uVar16") () ")")))))) (; ";")) (expression_statement "uVar11 = (uint)(uVar14 < uVar15 + uVar16);" (assignment_expression "uVar11 = (uint)(uVar14 < uVar15 + uVar16)" (identifier "uVar11") (= "=") (call_expression "(uint)(uVar14 < uVar15 + uVar16)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar14 < uVar15 + uVar16)" (( "(") (binary_expression "uVar14 < uVar15 + uVar16" (identifier "uVar14") (< "<") (binary_expression "uVar15 + uVar16" (identifier "uVar15") (+ "+") (identifier "uVar16"))) () ")")))) (; ";")) (expression_statement "iVar12 = iVar3 - iVar17;" (assignment_expression "iVar12 = iVar3 - iVar17" (identifier "iVar12") (= "=") (binary_expression "iVar3 - iVar17" (identifier "iVar3") (- "-") (identifier "iVar17"))) (; ";")) (if_statement "if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {\n            uVar15 = uVar14 - uVar16;\n          }" (if "if") (parenthesized_expression "((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0)" (( "(") (binary_expression "(SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0" (parenthesized_expression "(SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11))" (( "(") (binary_expression "SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)" (call_expression "SBORROW4(iVar3,iVar17)" (identifier "SBORROW4") (argument_list "(iVar3,iVar17)" (( "(") (identifier "iVar3") (, ",") (identifier "iVar17") () ")"))) (!= "!=") (call_expression "SBORROW4(iVar12,uVar11)" (identifier "SBORROW4") (argument_list "(iVar12,uVar11)" (( "(") (identifier "iVar12") (, ",") (identifier "uVar11") () ")")))) () ")")) (!= "!=") (binary_expression "(int)(iVar12 - uVar11) < 0" (cast_expression "(int)(iVar12 - uVar11)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(iVar12 - uVar11)" (( "(") (binary_expression "iVar12 - uVar11" (identifier "iVar12") (- "-") (identifier "uVar11")) () ")"))) (< "<") (number_literal "0"))) () ")")) (compound_statement "{\n            uVar15 = uVar14 - uVar16;\n          }" ({ "{") (expression_statement "uVar15 = uVar14 - uVar16;" (assignment_expression "uVar15 = uVar14 - uVar16" (identifier "uVar15") (= "=") (binary_expression "uVar14 - uVar16" (identifier "uVar14") (- "-") (identifier "uVar16"))) (; ";")) (} "}"))) (expression_statement "iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);" (assignment_expression "iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" (identifier "iVar12") (= "=") (call_expression "(**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xc)" (* "*") (cast_expression "(code **)(*param_1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(param_1,piVar21 + 1,uVar15,uVar16,iVar19)" (( "(") (identifier "param_1") (, ",") (binary_expression "piVar21 + 1" (identifier "piVar21") (+ "+") (number_literal "1")) (, ",") (identifier "uVar15") (, ",") (identifier "uVar16") (, ",") (identifier "iVar19") () ")")))) (; ";")) (if_statement "if (iVar12 != 0) goto LAB_0005c260;" (if "if") (parenthesized_expression "(iVar12 != 0)" (( "(") (binary_expression "iVar12 != 0" (identifier "iVar12") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0005c260;" (goto "goto") (statement_identifier "LAB_0005c260") (; ";"))) (expression_statement "piVar21 = (int *)*piVar21;" (assignment_expression "piVar21 = (int *)*piVar21" (identifier "piVar21") (= "=") (cast_expression "(int *)*piVar21" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar21" (* "*") (identifier "piVar21")))) (; ";")) (expression_statement "bVar23 = CARRY4(uVar16,uVar15);" (assignment_expression "bVar23 = CARRY4(uVar16,uVar15)" (identifier "bVar23") (= "=") (call_expression "CARRY4(uVar16,uVar15)" (identifier "CARRY4") (argument_list "(uVar16,uVar15)" (( "(") (identifier "uVar16") (, ",") (identifier "uVar15") () ")")))) (; ";")) (expression_statement "uVar16 = uVar16 + uVar15;" (assignment_expression "uVar16 = uVar16 + uVar15" (identifier "uVar16") (= "=") (binary_expression "uVar16 + uVar15" (identifier "uVar16") (+ "+") (identifier "uVar15"))) (; ";")) (expression_statement "iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;" (assignment_expression "iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23" (identifier "iVar19") (= "=") (binary_expression "iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23" (binary_expression "iVar19 + ((int)uVar15 >> 0x1f)" (identifier "iVar19") (+ "+") (parenthesized_expression "((int)uVar15 >> 0x1f)" (( "(") (binary_expression "(int)uVar15 >> 0x1f" (cast_expression "(int)uVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar15")) (>> ">>") (number_literal "0x1f")) () ")"))) (+ "+") (cast_expression "(uint)bVar23" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar23")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar21 != (int *)0x0)" (( "(") (binary_expression "piVar21 != (int *)0x0" (identifier "piVar21") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (do_statement "do {\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        } while (piVar21 != (int *)0x0);" (do "do") (compound_statement "{\n          piVar21 = (int *)*piVar13;\n          FUN_00042800(piVar13);\n          piVar13 = piVar21;\n        }" ({ "{") (expression_statement "piVar21 = (int *)*piVar13;" (assignment_expression "piVar21 = (int *)*piVar13" (identifier "piVar21") (= "=") (cast_expression "(int *)*piVar13" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar13" (* "*") (identifier "piVar13")))) (; ";")) (expression_statement "FUN_00042800(piVar13);" (call_expression "FUN_00042800(piVar13)" (identifier "FUN_00042800") (argument_list "(piVar13)" (( "(") (identifier "piVar13") () ")"))) (; ";")) (expression_statement "piVar13 = piVar21;" (assignment_expression "piVar13 = piVar21" (identifier "piVar13") (= "=") (identifier "piVar21")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar21 != (int *)0x0)" (( "(") (binary_expression "piVar21 != (int *)0x0" (identifier "piVar21") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar12 = (**(code **)(*param_1 + 0xc))();" (assignment_expression "iVar12 = (**(code **)(*param_1 + 0xc))()" (identifier "iVar12") (= "=") (call_expression "(**(code **)(*param_1 + 0xc))()" (parenthesized_expression "(**(code **)(*param_1 + 0xc))" (( "(") (pointer_expression "**(code **)(*param_1 + 0xc)" (* "*") (pointer_expression "*(code **)(*param_1 + 0xc)" (* "*") (cast_expression "(code **)(*param_1 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return iVar12;" (return "return") (identifier "iVar12") (; ";")) (} "}"))) (labeled_statement "LAB_0005c260:\n    if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }" (statement_identifier "LAB_0005c260") (: ":") (if_statement "if (*param_1 != 0) {\n      (**(code **)(*param_1 + 4))(param_1);\n    }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (**(code **)(*param_1 + 4))(param_1);\n    }" ({ "{") (expression_statement "(**(code **)(*param_1 + 4))(param_1);" (call_expression "(**(code **)(*param_1 + 4))(param_1)" (parenthesized_expression "(**(code **)(*param_1 + 4))" (( "(") (pointer_expression "**(code **)(*param_1 + 4)" (* "*") (pointer_expression "*(code **)(*param_1 + 4)" (* "*") (cast_expression "(code **)(*param_1 + 4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 4)" (( "(") (binary_expression "*param_1 + 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4")) () ")"))))) () ")")) (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (} "}")))) (expression_statement "param_1[2] = uVar20;" (assignment_expression "param_1[2] = uVar20" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar20")) (; ";")) (expression_statement "*param_1 = iVar18;" (assignment_expression "*param_1 = iVar18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "param_1[9] = iVar6;" (assignment_expression "param_1[9] = iVar6" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "param_1[1] = uVar2;" (assignment_expression "param_1[1] = uVar2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "param_1[4] = (int)piVar13;" (assignment_expression "param_1[4] = (int)piVar13" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(int)piVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar13"))) (; ";")) (expression_statement "param_1[5] = uVar14;" (assignment_expression "param_1[5] = uVar14" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar14")) (; ";")) (expression_statement "param_1[6] = iVar3;" (assignment_expression "param_1[6] = iVar3" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "param_1[7] = iVar5;" (assignment_expression "param_1[7] = iVar5" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "param_1[8] = iVar7;" (assignment_expression "param_1[8] = iVar7" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "param_1[10] = iVar8;" (assignment_expression "param_1[10] = iVar8" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (expression_statement "param_1[0xb] = uVar10;" (assignment_expression "param_1[0xb] = uVar10" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "uVar10")) (; ";")) (expression_statement "param_1[0xc] = iVar1;" (assignment_expression "param_1[0xc] = iVar1" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "param_1[0xd] = iVar9;" (assignment_expression "param_1[0xd] = iVar9" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (} "}")))) (return_statement "return iVar12;" (return "return") (identifier "iVar12") (; ";")) (} "}")))

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

int function_1(type_1 *var_14,void *zBuf,int var_1,type_2 iOfst)

{
  type_3 *psVar1;
  type_3 *var_11;
  type_3 *psVar3;
  type_3 *psVar4;
  type_3 *psVar5;
  type_3 *psVar6;
  type_3 *psVar7;
  type_3 *psVar8;
  type_3 *psVar9;
  type_3 *psVar10;
  type_3 *psVar11;
  int var_6;
  type_3 *var_16;
  type_3 *var_3;
  type_4 var_13;
  int var_18;
  int var_4;
  type_3 *var_17;
  type_4 var_7;
  type_3 *var_20;
  type_5 *var_15;
  type_3 *psVar21;
  bool bVar22;
  type_3 *var_10;
  void *local_64;
  
  var_3 = var_14[2].pMethods;
  local_64 = zBuf;
  if (((int)var_3 < 1) ||
     (var_4 = (var_1 >> 0x1f) + iOfst._4_4_ + (type_4)var_2(var_1,(type_4)iOfst),
     var_7 = (type_4)(var_3 < (type_3 *)(var_1 + (type_4)iOfst)),
     var_6 = ((int)var_3 >> 0x1f) - var_4,
     (var_5((int)var_3 >> 0x1f,var_4) != var_5(var_6,var_7)) ==
     (int)(var_6 - var_7) < 0)) {
    if (0 < var_1) {
      var_3 = var_14[5].pMethods;
      var_17 = var_14[6].pMethods;
      var_7 = var_1;
      do {
        psVar1 = var_14[1].pMethods;
        var_11 = var_14[7].pMethods;
        var_6 = var_8(var_3,var_17,psVar1,(int)psVar1 >> 0x1f);
        var_13 = (int)psVar1 - var_6;
        if ((int)var_7 < (int)psVar1 - var_6) {
          var_13 = var_7;
        }
        var_10 = var_11;
        if (var_6 == 0) {
          var_10 = (type_3 *)var_9((int)&psVar1->xClose);
          if (var_10 == (type_3 *)0x0) {
            return 0xc0a;
          }
          var_10->iVersion = 0;
          if (var_11 == (type_3 *)0x0) {
            var_14[4].pMethods = var_10;
          }
          else {
            var_11->iVersion = (int)var_10;
          }
          var_14[7].pMethods = var_10;
        }
        var_12((void *)((int)&var_10->xClose + var_6),local_64,var_13);
        local_64 = (void *)((int)local_64 + var_13);
        var_7 = var_7 - var_13;
        var_3 = (type_3 *)((int)&(var_14[5].pMethods)->iVersion + var_13);
        var_17 = (type_3 *)
                  ((int)&(var_14[6].pMethods)->iVersion +
                  (type_4)var_2(var_13,(type_4)var_14[5].pMethods) + ((int)var_13 >> 0x1f));
        var_14[5].pMethods = var_3;
        var_14[6].pMethods = var_17;
      } while (0 < (int)var_7);
    }
    var_6 = 0;
    var_14[3].pMethods = (type_3 *)(var_1 + (type_4)iOfst);
  }
  else {
    var_17 = var_14[5].pMethods;
    psVar1 = var_14->pMethods;
    var_11 = var_14[1].pMethods;
    psVar3 = var_14[0xc].pMethods;
    psVar4 = var_14[6].pMethods;
    psVar5 = var_14[3].pMethods;
    psVar6 = var_14[7].pMethods;
    var_16 = var_14[4].pMethods;
    psVar7 = var_14[9].pMethods;
    psVar8 = var_14[8].pMethods;
    psVar9 = var_14[10].pMethods;
    psVar10 = var_14[0xd].pMethods;
    psVar11 = var_14[0xb].pMethods;
    var_14->pMethods = (type_3 *)0x0;
    var_14[0xd].pMethods = (type_3 *)0x0;
    var_15 = (type_5 *)((type_4)(var_14 + 1) & 0xfffffffc);
    for (var_7 = (type_4)((int)var_14 + (0x38 - (int)((type_4)(var_14 + 1) & 0xfffffffc))) >> 2;
        var_7 != 0; var_7 = var_7 - 1) {
      *var_15 = 0;
      var_15 = var_15 + 1;
    }
    var_6 = (*psVar3->xFileSize)((type_1 *)psVar3,(type_6 *)psVar10);
    if (var_6 == 0) {
      if (var_16 != (type_3 *)0x0) {
        var_7 = 0;
        var_4 = 0;
        var_20 = var_16;
        psVar21 = var_11;
        do {
          var_18 = ((int)psVar21 >> 0x1f) + var_4 + (type_4)var_2((type_4)psVar21,var_7);
          var_13 = (type_4)(var_17 < (type_3 *)((int)&psVar21->iVersion + var_7));
          var_6 = (int)psVar4 - var_18;
          if ((var_5((int)psVar4,var_18) != var_5(var_6,var_13)) !=
              (int)(var_6 - var_13) < 0) {
            psVar21 = (type_3 *)((int)var_17 - var_7);
          }
          var_6 = (*var_14->pMethods->xWrite)
                             (var_14,&var_20->xClose,(int)psVar21,var_19(var_4,var_7));
          if (var_6 != 0) goto LAB_0005c260;
          var_20 = (type_3 *)var_20->iVersion;
          bVar22 = var_2(var_7,(type_4)psVar21);
          var_7 = (int)&psVar21->iVersion + var_7;
          var_4 = var_4 + ((int)psVar21 >> 0x1f) + (type_4)bVar22;
        } while (var_20 != (type_3 *)0x0);
        do {
          var_3 = (type_3 *)var_16->iVersion;
          var_21(var_16);
          var_16 = var_3;
        } while (var_3 != (type_3 *)0x0);
      }
                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      var_6 = (*var_14->pMethods->xWrite)(var_14,zBuf,var_1,iOfst);
      return var_6;
    }
LAB_0005c260:
    if (var_14->pMethods != (type_3 *)0x0) {
      (*var_14->pMethods->xClose)(var_14);
    }
    var_14[2].pMethods = var_3;
    var_14->pMethods = psVar1;
    var_14[9].pMethods = psVar7;
    var_14[1].pMethods = var_11;
    var_14[3].pMethods = psVar5;
    var_14[4].pMethods = var_16;
    var_14[5].pMethods = var_17;
    var_14[6].pMethods = psVar4;
    var_14[7].pMethods = psVar6;
    var_14[8].pMethods = psVar8;
    var_14[10].pMethods = psVar9;
    var_14[0xb].pMethods = psVar11;
    var_14[0xc].pMethods = psVar3;
    var_14[0xd].pMethods = psVar10;
  }
  return var_6;
}


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

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

int MASKED(int *param_1,void *param_2,uint param_3,uint param_4,int param_5)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  uint uVar10;
  uint uVar11;
  int iVar12;
  int *piVar13;
  uint uVar14;
  uint uVar15;
  uint uVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  uint uVar20;
  int *piVar21;
  undefined4 *puVar22;
  bool bVar23;
  undefined4 *local_74;
  void *local_64;
  
  uVar20 = param_1[2];
  local_64 = param_2;
  if (((int)uVar20 < 1) ||
     (iVar18 = ((int)param_3 >> 0x1f) + param_5 + (uint)CARRY4(param_3,param_4),
     uVar14 = (uint)(uVar20 < param_3 + param_4), iVar12 = ((int)uVar20 >> 0x1f) - iVar18,
     (SBORROW4((int)uVar20 >> 0x1f,iVar18) != SBORROW4(iVar12,uVar14)) == (int)(iVar12 - uVar14) < 0
     )) {
    if (0 < (int)param_3) {
      iVar12 = param_1[5];
      iVar18 = param_1[6];
      uVar20 = param_3;
      do {
        iVar1 = param_1[1];
        puVar22 = (undefined4 *)param_1[7];
        iVar12 = FUN_00115860(iVar12,iVar18,iVar1,iVar1 >> 0x1f);
        uVar14 = iVar1 - iVar12;
        if ((int)uVar20 < iVar1 - iVar12) {
          uVar14 = uVar20;
        }
        local_74 = puVar22;
        if (iVar12 == 0) {
          local_74 = (undefined4 *)FUN_0005bfa0(iVar1 + 4);
          if (local_74 == (undefined4 *)0x0) {
            return 0xc0a;
          }
          *local_74 = 0;
          if (puVar22 == (undefined4 *)0x0) {
            param_1[4] = (int)local_74;
          }
          else {
            *puVar22 = local_74;
          }
          param_1[7] = (int)local_74;
        }
        memcpy((void *)((int)local_74 + iVar12 + 4),local_64,uVar14);
        local_64 = (void *)((int)local_64 + uVar14);
        uVar20 = uVar20 - uVar14;
        iVar12 = uVar14 + param_1[5];
        iVar18 = ((int)uVar14 >> 0x1f) + param_1[6] + (uint)CARRY4(uVar14,param_1[5]);
        param_1[5] = iVar12;
        param_1[6] = iVar18;
      } while (0 < (int)uVar20);
    }
    iVar12 = 0;
    param_1[3] = param_3 + param_4;
  }
  else {
    uVar14 = param_1[5];
    iVar18 = *param_1;
    uVar2 = param_1[1];
    iVar1 = param_1[0xc];
    iVar3 = param_1[6];
    iVar4 = param_1[3];
    iVar5 = param_1[7];
    piVar13 = (int *)param_1[4];
    iVar6 = param_1[9];
    iVar7 = param_1[8];
    iVar8 = param_1[10];
    iVar9 = param_1[0xd];
    uVar10 = param_1[0xb];
    *param_1 = 0;
    param_1[0xd] = 0;
    puVar22 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);
    for (uVar15 = (uint)((int)param_1 + (0x38 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;
        uVar15 != 0; uVar15 = uVar15 - 1) {
      *puVar22 = 0;
      puVar22 = puVar22 + 1;
    }
    iVar12 = (**(code **)(iVar1 + 0x18))(iVar1,iVar9,param_1,uVar10 & 0x87f7f,0);
    if (iVar12 == 0) {
      if (piVar13 != (int *)0x0) {
        uVar16 = 0;
        iVar19 = 0;
        piVar21 = piVar13;
        uVar15 = uVar2;
        do {
          iVar17 = ((int)uVar15 >> 0x1f) + iVar19 + (uint)CARRY4(uVar15,uVar16);
          uVar11 = (uint)(uVar14 < uVar15 + uVar16);
          iVar12 = iVar3 - iVar17;
          if ((SBORROW4(iVar3,iVar17) != SBORROW4(iVar12,uVar11)) != (int)(iVar12 - uVar11) < 0) {
            uVar15 = uVar14 - uVar16;
          }
          iVar12 = (**(code **)(*param_1 + 0xc))(param_1,piVar21 + 1,uVar15,uVar16,iVar19);
          if (iVar12 != 0) goto LAB_0005c260;
          piVar21 = (int *)*piVar21;
          bVar23 = CARRY4(uVar16,uVar15);
          uVar16 = uVar16 + uVar15;
          iVar19 = iVar19 + ((int)uVar15 >> 0x1f) + (uint)bVar23;
        } while (piVar21 != (int *)0x0);
        do {
          piVar21 = (int *)*piVar13;
          FUN_00042800(piVar13);
          piVar13 = piVar21;
        } while (piVar21 != (int *)0x0);
      }
                    /* WARNING: Could not recover jumptable at 0x0005c333. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      iVar12 = (**(code **)(*param_1 + 0xc))();
      return iVar12;
    }
LAB_0005c260:
    if (*param_1 != 0) {
      (**(code **)(*param_1 + 4))(param_1);
    }
    param_1[2] = uVar20;
    *param_1 = iVar18;
    param_1[9] = iVar6;
    param_1[1] = uVar2;
    param_1[3] = iVar4;
    param_1[4] = (int)piVar13;
    param_1[5] = uVar14;
    param_1[6] = iVar3;
    param_1[7] = iVar5;
    param_1[8] = iVar7;
    param_1[10] = iVar8;
    param_1[0xb] = uVar10;
    param_1[0xc] = iVar1;
    param_1[0xd] = iVar9;
  }
  return iVar12;
}

