
int clearCell(MemPage *pPage,uchar *pCell,CellInfo *pInfo)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  MemPage *pMVar6;
  MemPage *pMVar7;
  BtShared *pBt;
  code *pcVar8;
  code *pcVar9;
  Pgno iNext;
  MemPage *pOvfl;
  MemPage *pMStack_2c;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  pMStack_2c = *(MemPage **)PTR___stack_chk_guard_0015ba2c;
  pMVar6 = (MemPage *)pCell;
  (*pPage->xParseCell)(pPage,pCell,pInfo);
  puVar2 = PTR_LAB_0015b740;
  puVar1 = PTR_LAB_0015b65c;
  if ((uint)pInfo->nLocal != pInfo->nPayload) {
    pMVar6 = (MemPage *)(pCell + pInfo->nSize);
    if ((MemPage *)pPage->aDataEnd < pMVar6) {
      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);
      goto LAB_000a3bd0;
    }
    pBt = pPage->pBt;
    pMVar7 = (MemPage *)pMVar6[-1].xParseCell;
    uVar5 = pBt->usableSize - 4;
    if (uVar5 == 0) {
      trap(7);
    }
    uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;
    if (uVar5 != 0) {
      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {
        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);
        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);
        do {
          pOvfl = (MemPage *)0x0;
          iNext = 0;
          uVar5 = uVar5 - 1;
          if ((uVar5 != 0) &&
             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))
          goto LAB_000a3bd0;
          if ((pOvfl == (MemPage *)0x0) &&
             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))
          {
            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);
          }
          else {
            pMVar6 = pOvfl;
            if (pOvfl->pDbPage->nRef == 1) {
              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);
            }
            else {
              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);
            }
          }
          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {
            (*(code *)(puVar1 + -0x1cbc))();
          }
          if (iVar4 != 0) goto LAB_000a3bd0;
          if (uVar5 == 0) goto LAB_000a3c3c;
        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));
      }
      pOvfl = (MemPage *)0x0;
      iNext = 0;
      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);
      goto LAB_000a3bd0;
    }
  }
LAB_000a3c3c:
  iVar4 = 0;
LAB_000a3bd0:
  if (pMStack_2c != *(MemPage **)puVar3) {
    pMVar7 = pMStack_2c;
    (*(code *)PTR___stack_chk_fail_0015ba10)();
    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);
    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);
    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);
    pMVar6->intKey = (char)((uint)iVar4 >> 8);
    pMVar6->intKeyLeaf = (char)iVar4;
    return iVar4;
  }
  return iVar4;
}



int FUN_000a3a0c(int param_1,int *param_2,int param_3)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  int *piVar6;
  int *piVar7;
  int iVar8;
  code *pcVar9;
  code *pcVar10;
  int *local_34;
  int *local_30;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;
  piVar6 = param_2;
  (**(code **)(param_1 + 0x50))();
  puVar2 = PTR_LAB_0015b740;
  puVar1 = PTR_LAB_0015b65c;
  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {
    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));
    if (*(int **)(param_1 + 0x3c) < piVar6) {
      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);
      goto LAB_000a3bd0;
    }
    iVar8 = *(int *)(param_1 + 0x34);
    piVar7 = (int *)piVar6[-1];
    uVar5 = *(int *)(iVar8 + 0x24) - 4;
    if (uVar5 == 0) {
      trap(7);
    }
    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;
    if (uVar5 != 0) {
      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {
        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);
        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);
        do {
          local_30 = (int *)0x0;
          local_34 = (int *)0x0;
          uVar5 = uVar5 - 1;
          if ((uVar5 != 0) &&
             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))
          goto LAB_000a3bd0;
          if ((local_30 == (int *)0x0) &&
             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {
            iVar4 = FUN_000a3528(iVar8,0,piVar7);
          }
          else {
            piVar6 = local_30;
            if (*(short *)(local_30[0x12] + 0x1e) == 1) {
              iVar4 = FUN_000a3528(iVar8);
            }
            else {
              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);
            }
          }
          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {
            (*(code *)(puVar1 + -0x1cbc))();
          }
          if (iVar4 != 0) goto LAB_000a3bd0;
          if (uVar5 == 0) goto LAB_000a3c3c;
        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))
                );
      }
      local_30 = (int *)0x0;
      local_34 = (int *)0x0;
      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);
      goto LAB_000a3bd0;
    }
  }
LAB_000a3c3c:
  iVar4 = 0;
LAB_000a3bd0:
  if (local_2c != *(int *)puVar3) {
    iVar4 = local_2c;
    (*(code *)PTR___stack_chk_fail_0015ba10)();
    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));
    *piVar6 = iVar4;
    return iVar4;
  }
  return iVar4;
}


lui gp,0xc
addiu gp,gp,-0x45c
addu gp,gp,t9
addiu sp,sp,-0x58
sw s6,0x48(sp)
sw gp,0x10(sp)
sw s2,0x38(sp)
or s2,a0,zero
sw s1,0x34(sp)
or s1,a2,zero
sw s0,0x30(sp)
or s0,a1,zero
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s7,0x4c(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
sw s3,0x3c(sp)
lw s6,-0x7b84(gp)
lw t9,0x50(a0)
lw v0,0x0(s6)
sw v0,0x2c(sp)
jalr t9
_nop
lhu a0,0x10(s1)
lw v0,0xc(s1)
beq a0,v0,0x000a3c3c
_lw gp,0x10(sp)
lhu a1,0x12(s1)
lw v1,0x3c(s2)
addu a1,s0,a1
sltu v1,v1,a1
bne v1,zero,0x000a3c60
_lw t9,-0x7e70(gp)
lw s2,0x34(s2)
addiu v0,v0,-0x1
lwl s0,-0x4(a1)
subu v0,v0,a0
lw v1,0x24(s2)
lwr s0,-0x1(a1)
addiu v1,v1,-0x4
addu v0,v0,v1
teq v1,zero
divu v0,v1
mflo v0
beq v0,zero,0x000a3c3c
_addiu s1,v0,-0x1
sltiu v0,s0,0x2
sw zero,0x24(sp)
bne v0,zero,0x000a3c48
_sw zero,0x28(sp)
lw v0,0x2c(s2)
sltu v0,v0,s0
bne v0,zero,0x000a3c4c
_lui a0,0x1
lw s4,-0x7e70(gp)
lw s3,-0x7eac(gp)
lw s8,-0x7ed8(gp)
addiu s4,s4,-0x6d98
lw s5,-0x7e70(gp)
addiu s3,s3,0x3528
lw s7,-0x7f54(gp)
b 0x000a3b78
_addiu s8,s8,0x2e54
lui a0,0x1
addiu t9,s5,-0x75c0
jalr t9
_addiu a0,a0,0xf15
lw gp,0x10(sp)
lw v1,0x28(sp)
beq v1,zero,0x000a3b48
_nop
lw a0,0x48(v1)
beq a0,zero,0x000a3b48
_addiu t9,s7,-0x1cbc
jalr t9
_sw v0,0x1c(sp)
lw gp,0x10(sp)
lw v0,0x1c(sp)
bne v0,zero,0x000a3bd0
_nop
beq s1,zero,0x000a3c3c
_lw s0,0x24(sp)
sltiu v0,s0,0x2
sw zero,0x24(sp)
bne v0,zero,0x000a3c44
_sw zero,0x28(sp)
lw v0,0x2c(s2)
sltu v0,v0,s0
bne v0,zero,0x000a3c44
_addiu s1,s1,-0x1
bne s1,zero,0x000a3bb4
_addiu a3,sp,0x24
lw a1,0x28(sp)
beq a1,zero,0x000a3c0c
_or t9,s8,zero
lw v1,0x48(a1)
li v0,0x1
lh v1,0x1e(v1)
bne v1,v0,0x000a3b0c
_or a2,s0,zero
or t9,s3,zero
bal 0x000a3528
_or a0,s2,zero
b 0x000a3b20
_lw gp,0x10(sp)
addiu a2,sp,0x28
or a1,s0,zero
or t9,s4,zero
jalr t9
_or a0,s2,zero
beq v0,zero,0x000a3b80
_lw gp,0x10(sp)
lw a0,0x2c(sp)
lw v1,0x0(s6)
bne a0,v1,0x000a3c78
_lw ra,0x54(sp)
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
or a1,s0,zero
jalr t9
_or a0,s2,zero
or a1,v0,zero
bne v0,zero,0x000a3b8c
_sw v0,0x28(sp)
or a2,s0,zero
or t9,s3,zero
bal 0x000a3528
_or a0,s2,zero
b 0x000a3b20
_lw gp,0x10(sp)
b 0x000a3bd0
_or v0,zero,zero
lw t9,-0x7e70(gp)
lui a0,0x1
addiu t9,t9,-0x75c0
jalr t9
_addiu a0,a0,0xf01
b 0x000a3bd0
_lw gp,0x10(sp)
lui a0,0x1
addiu t9,t9,-0x75c0
jalr t9
_addiu a0,a0,0xef0
b 0x000a3bd0
_lw gp,0x10(sp)
lw t9,-0x7ba0(gp)
jalr t9
_nop
(translation_unit "int FUN_000a3a0c(int param_1,int *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_000a3a0c(int param_1,int *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_000a3a0c(int param_1,int *param_2,int param_3)" identifier (parameter_list "(int param_1,int *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar6 = param_2;" (assignment_expression "piVar6 = param_2" identifier = identifier) ;) (expression_statement "(**(code **)(param_1 + 0x50))();" (call_expression "(**(code **)(param_1 + 0x50))()" (parenthesized_expression "(**(code **)(param_1 + 0x50))" ( (pointer_expression "**(code **)(param_1 + 0x50)" * (pointer_expression "*(code **)(param_1 + 0x50)" * (cast_expression "(code **)(param_1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar2 = PTR_LAB_0015b740;" (assignment_expression "puVar2 = PTR_LAB_0015b740" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_0015b65c;" (assignment_expression "puVar1 = PTR_LAB_0015b65c" identifier = identifier) ;) (if_statement "if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" if (parenthesized_expression "((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc))" ( (binary_expression "(uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)" (binary_expression "(uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x10)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) != (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" { (expression_statement "piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));" (assignment_expression "piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" identifier = (cast_expression "(int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" ( (binary_expression "(int)param_2 + (uint)*(ushort *)(param_3 + 0x12)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)*(ushort *)(param_3 + 0x12)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) ))))) )))) ;) (if_statement "if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" if (parenthesized_expression "(*(int **)(param_1 + 0x3c) < piVar6)" ( (binary_expression "*(int **)(param_1 + 0x3c) < piVar6" (pointer_expression "*(int **)(param_1 + 0x3c)" * (cast_expression "(int **)(param_1 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" { (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" * (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" ( (binary_expression "PTR_LAB_0015b740 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10ef0)" ( number_literal )))) ;) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;) })) (expression_statement "iVar8 = *(int *)(param_1 + 0x34);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x34)" identifier = (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "piVar7 = (int *)piVar6[-1];" (assignment_expression "piVar7 = (int *)piVar6[-1]" identifier = (cast_expression "(int *)piVar6[-1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[-1]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = *(int *)(iVar8 + 0x24) - 4;" (assignment_expression "uVar5 = *(int *)(iVar8 + 0x24) - 4" identifier = (binary_expression "*(int *)(iVar8 + 0x24) - 4" (pointer_expression "*(int *)(iVar8 + 0x24)" * (cast_expression "(int *)(iVar8 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x24)" ( (binary_expression "iVar8 + 0x24" identifier + number_literal) )))) - number_literal)) ;) (if_statement "if (uVar5 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;" (assignment_expression "uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5" identifier = (binary_expression "(((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5" (parenthesized_expression "(((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5)" ( (binary_expression "((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5" (parenthesized_expression "((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10))" ( (binary_expression "(*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(*(uint *)(param_3 + 0xc) - 1)" ( (binary_expression "*(uint *)(param_3 + 0xc) - 1" (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) - number_literal) )) - (binary_expression "(uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x10)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) ))))) )) + identifier) )) / identifier)) ;) (if_statement "if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" { (if_statement "if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }" if (parenthesized_expression "((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c)))" ( (binary_expression "(&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))" (parenthesized_expression "(&SUB_00000002 <= piVar7)" ( (binary_expression "&SUB_00000002 <= piVar7" (pointer_expression "&SUB_00000002" & identifier) <= identifier) )) && (parenthesized_expression "(piVar7 <= *(int **)(iVar8 + 0x2c))" ( (binary_expression "piVar7 <= *(int **)(iVar8 + 0x2c)" identifier <= (pointer_expression "*(int **)(iVar8 + 0x2c)" * (cast_expression "(int **)(iVar8 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x2c)" ( (binary_expression "iVar8 + 0x2c" identifier + number_literal) ))))) ))) )) (compound_statement "{\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }" { (expression_statement "pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98)" identifier = (cast_expression "(code *)(PTR_LAB_0015b740 + -0x6d98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x6d98)" ( (binary_expression "PTR_LAB_0015b740 + -0x6d98" identifier + number_literal) )))) ;) (expression_statement "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x2e54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x2e54)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x2e54" identifier + number_literal) )))) ;) (do_statement "do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );" do (compound_statement "{\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        }" { (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;" if (parenthesized_expression "((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))" ( (binary_expression "(uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0)" (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0)" ( (comma_expression "piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0" (assignment_expression "piVar6 = piVar7" identifier = identifier) , (comma_expression "iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0" (assignment_expression "iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34)" identifier = (call_expression "(*pcVar9)(iVar8,piVar7,&local_30,&local_34)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(iVar8,piVar7,&local_30,&local_34)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_34" & identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal))) ))) )) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;)) (if_statement "if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" if (parenthesized_expression "((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0))" ( (binary_expression "(local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)" (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)" ( (comma_expression "piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0" (assignment_expression "piVar6 = (int *)(*pcVar10)(iVar8,piVar7)" identifier = (cast_expression "(int *)(*pcVar10)(iVar8,piVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar10)(iVar8,piVar7)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(iVar8,piVar7)" ( identifier , identifier ))))) , (comma_expression "local_30 = piVar6, piVar6 == (int *)0x0" (assignment_expression "local_30 = piVar6" identifier = identifier) , (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }" { (expression_statement "iVar4 = FUN_000a3528(iVar8,0,piVar7);" (assignment_expression "iVar4 = FUN_000a3528(iVar8,0,piVar7)" identifier = (call_expression "FUN_000a3528(iVar8,0,piVar7)" identifier (argument_list "(iVar8,0,piVar7)" ( identifier , number_literal , identifier )))) ;) }) (else_clause "else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" else (compound_statement "{\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" { (expression_statement "piVar6 = local_30;" (assignment_expression "piVar6 = local_30" identifier = identifier) ;) (if_statement "if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" if (parenthesized_expression "(*(short *)(local_30[0x12] + 0x1e) == 1)" ( (binary_expression "*(short *)(local_30[0x12] + 0x1e) == 1" (pointer_expression "*(short *)(local_30[0x12] + 0x1e)" * (cast_expression "(short *)(local_30[0x12] + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30[0x12] + 0x1e)" ( (binary_expression "local_30[0x12] + 0x1e" (subscript_expression "local_30[0x12]" identifier [ number_literal ]) + number_literal) )))) == number_literal) )) (compound_statement "{\n              iVar4 = FUN_000a3528(iVar8);\n            }" { (expression_statement "iVar4 = FUN_000a3528(iVar8);" (assignment_expression "iVar4 = FUN_000a3528(iVar8)" identifier = (call_expression "FUN_000a3528(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) }) (else_clause "else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" else (compound_statement "{\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" { (expression_statement "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);" (assignment_expression "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7)" identifier = (call_expression "(*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7)" (parenthesized_expression "(*(code *)(puVar2 + -0x75c0))" ( (pointer_expression "*(code *)(puVar2 + -0x75c0)" * (cast_expression "(code *)(puVar2 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x75c0)" ( (binary_expression "puVar2 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10f15,local_30,piVar7)" ( number_literal , identifier , identifier )))) ;) }))) }))) (if_statement "if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" if (parenthesized_expression "((local_30 != (int *)0x0) && (local_30[0x12] != 0))" ( (binary_expression "(local_30 != (int *)0x0) && (local_30[0x12] != 0)" (parenthesized_expression "(local_30 != (int *)0x0)" ( (binary_expression "local_30 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_30[0x12] != 0)" ( (binary_expression "local_30[0x12] != 0" (subscript_expression "local_30[0x12]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" { (expression_statement "(*(code *)(puVar1 + -0x1cbc))();" (call_expression "(*(code *)(puVar1 + -0x1cbc))()" (parenthesized_expression "(*(code *)(puVar1 + -0x1cbc))" ( (pointer_expression "*(code *)(puVar1 + -0x1cbc)" * (cast_expression "(code *)(puVar1 + -0x1cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1cbc)" ( (binary_expression "puVar1 + -0x1cbc" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (iVar4 != 0) goto LAB_000a3bd0;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;)) (if_statement "if (uVar5 == 0) goto LAB_000a3c3c;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000a3c3c;" goto statement_identifier ;)) }) while (parenthesized_expression "(((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                )" ( (binary_expression "((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))" (parenthesized_expression "((int *)0x1 < local_34)" ( (binary_expression "(int *)0x1 < local_34" (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) && (parenthesized_expression "(piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))" ( (comma_expression "piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c)" (assignment_expression "piVar7 = local_34" identifier = identifier) , (binary_expression "local_34 <= *(int **)(iVar8 + 0x2c)" identifier <= (pointer_expression "*(int **)(iVar8 + 0x2c)" * (cast_expression "(int **)(iVar8 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x2c)" ( (binary_expression "iVar8 + 0x2c" identifier + number_literal) )))))) ))) )) ;) })) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" * (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" ( (binary_expression "PTR_LAB_0015b740 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10f01)" ( number_literal )))) ;) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_000a3c3c:\n  iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar3)" ( (binary_expression "local_2c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" { (expression_statement "iVar4 = local_2c;" (assignment_expression "iVar4 = local_2c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));" (assignment_expression "iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" identifier = (call_expression "FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" identifier (argument_list "(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" ( (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" * (cast_expression "(undefined4 *)(iVar4 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "*piVar6 = iVar4;" (assignment_expression "*piVar6 = iVar4" (pointer_expression "*piVar6" * identifier) = identifier) ;) (return_statement "return iVar4;" return identifier ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int clearCell(MemPage *pPage,uchar *pCell,CellInfo *pInfo)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  MemPage *pMVar6;\n  MemPage *pMVar7;\n  BtShared *pBt;\n  code *pcVar8;\n  code *pcVar9;\n  Pgno iNext;\n  MemPage *pOvfl;\n  MemPage *pMStack_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  pMStack_2c = *(MemPage **)PTR___stack_chk_guard_0015ba2c;\n  pMVar6 = (MemPage *)pCell;\n  (*pPage->xParseCell)(pPage,pCell,pInfo);\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)pInfo->nLocal != pInfo->nPayload) {\n    pMVar6 = (MemPage *)(pCell + pInfo->nSize);\n    if ((MemPage *)pPage->aDataEnd < pMVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    pBt = pPage->pBt;\n    pMVar7 = (MemPage *)pMVar6[-1].xParseCell;\n    uVar5 = pBt->usableSize - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (pMStack_2c != *(MemPage **)puVar3) {\n    pMVar7 = pMStack_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);\n    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);\n    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);\n    pMVar6->intKey = (char)((uint)iVar4 >> 8);\n    pMVar6->intKeyLeaf = (char)iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}\n\n" (function_definition "int clearCell(MemPage *pPage,uchar *pCell,CellInfo *pInfo)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  MemPage *pMVar6;\n  MemPage *pMVar7;\n  BtShared *pBt;\n  code *pcVar8;\n  code *pcVar9;\n  Pgno iNext;\n  MemPage *pOvfl;\n  MemPage *pMStack_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  pMStack_2c = *(MemPage **)PTR___stack_chk_guard_0015ba2c;\n  pMVar6 = (MemPage *)pCell;\n  (*pPage->xParseCell)(pPage,pCell,pInfo);\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)pInfo->nLocal != pInfo->nPayload) {\n    pMVar6 = (MemPage *)(pCell + pInfo->nSize);\n    if ((MemPage *)pPage->aDataEnd < pMVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    pBt = pPage->pBt;\n    pMVar7 = (MemPage *)pMVar6[-1].xParseCell;\n    uVar5 = pBt->usableSize - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (pMStack_2c != *(MemPage **)puVar3) {\n    pMVar7 = pMStack_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);\n    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);\n    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);\n    pMVar6->intKey = (char)((uint)iVar4 >> 8);\n    pMVar6->intKeyLeaf = (char)iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "clearCell(MemPage *pPage,uchar *pCell,CellInfo *pInfo)" identifier (parameter_list "(MemPage *pPage,uchar *pCell,CellInfo *pInfo)" ( (parameter_declaration "MemPage *pPage" type_identifier (pointer_declarator "*pPage" * identifier)) , (parameter_declaration "uchar *pCell" type_identifier (pointer_declarator "*pCell" * identifier)) , (parameter_declaration "CellInfo *pInfo" type_identifier (pointer_declarator "*pInfo" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  MemPage *pMVar6;\n  MemPage *pMVar7;\n  BtShared *pBt;\n  code *pcVar8;\n  code *pcVar9;\n  Pgno iNext;\n  MemPage *pOvfl;\n  MemPage *pMStack_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  pMStack_2c = *(MemPage **)PTR___stack_chk_guard_0015ba2c;\n  pMVar6 = (MemPage *)pCell;\n  (*pPage->xParseCell)(pPage,pCell,pInfo);\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)pInfo->nLocal != pInfo->nPayload) {\n    pMVar6 = (MemPage *)(pCell + pInfo->nSize);\n    if ((MemPage *)pPage->aDataEnd < pMVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    pBt = pPage->pBt;\n    pMVar7 = (MemPage *)pMVar6[-1].xParseCell;\n    uVar5 = pBt->usableSize - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (pMStack_2c != *(MemPage **)puVar3) {\n    pMVar7 = pMStack_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);\n    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);\n    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);\n    pMVar6->intKey = (char)((uint)iVar4 >> 8);\n    pMVar6->intKeyLeaf = (char)iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "MemPage *pMVar6;" type_identifier (pointer_declarator "*pMVar6" * identifier) ;) (declaration "MemPage *pMVar7;" type_identifier (pointer_declarator "*pMVar7" * identifier) ;) (declaration "BtShared *pBt;" type_identifier (pointer_declarator "*pBt" * identifier) ;) (declaration "code *pcVar8;" type_identifier (pointer_declarator "*pcVar8" * identifier) ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "Pgno iNext;" type_identifier identifier ;) (declaration "MemPage *pOvfl;" type_identifier (pointer_declarator "*pOvfl" * identifier) ;) (declaration "MemPage *pMStack_2c;" type_identifier (pointer_declarator "*pMStack_2c" * identifier) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "pMStack_2c = *(MemPage **)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "pMStack_2c = *(MemPage **)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(MemPage **)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(MemPage **)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "MemPage **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "pMVar6 = (MemPage *)pCell;" (assignment_expression "pMVar6 = (MemPage *)pCell" identifier = (cast_expression "(MemPage *)pCell" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*pPage->xParseCell)(pPage,pCell,pInfo);" (call_expression "(*pPage->xParseCell)(pPage,pCell,pInfo)" (parenthesized_expression "(*pPage->xParseCell)" ( (pointer_expression "*pPage->xParseCell" * (field_expression "pPage->xParseCell" identifier -> field_identifier)) )) (argument_list "(pPage,pCell,pInfo)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar2 = PTR_LAB_0015b740;" (assignment_expression "puVar2 = PTR_LAB_0015b740" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_0015b65c;" (assignment_expression "puVar1 = PTR_LAB_0015b65c" identifier = identifier) ;) (if_statement "if ((uint)pInfo->nLocal != pInfo->nPayload) {\n    pMVar6 = (MemPage *)(pCell + pInfo->nSize);\n    if ((MemPage *)pPage->aDataEnd < pMVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    pBt = pPage->pBt;\n    pMVar7 = (MemPage *)pMVar6[-1].xParseCell;\n    uVar5 = pBt->usableSize - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" if (parenthesized_expression "((uint)pInfo->nLocal != pInfo->nPayload)" ( (binary_expression "(uint)pInfo->nLocal != pInfo->nPayload" (cast_expression "(uint)pInfo->nLocal" ( (type_descriptor "uint" type_identifier) ) (field_expression "pInfo->nLocal" identifier -> field_identifier)) != (field_expression "pInfo->nPayload" identifier -> field_identifier)) )) (compound_statement "{\n    pMVar6 = (MemPage *)(pCell + pInfo->nSize);\n    if ((MemPage *)pPage->aDataEnd < pMVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    pBt = pPage->pBt;\n    pMVar7 = (MemPage *)pMVar6[-1].xParseCell;\n    uVar5 = pBt->usableSize - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" { (expression_statement "pMVar6 = (MemPage *)(pCell + pInfo->nSize);" (assignment_expression "pMVar6 = (MemPage *)(pCell + pInfo->nSize)" identifier = (cast_expression "(MemPage *)(pCell + pInfo->nSize)" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCell + pInfo->nSize)" ( (binary_expression "pCell + pInfo->nSize" identifier + (field_expression "pInfo->nSize" identifier -> field_identifier)) )))) ;) (if_statement "if ((MemPage *)pPage->aDataEnd < pMVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" if (parenthesized_expression "((MemPage *)pPage->aDataEnd < pMVar6)" ( (binary_expression "(MemPage *)pPage->aDataEnd < pMVar6" (cast_expression "(MemPage *)pPage->aDataEnd" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pPage->aDataEnd" identifier -> field_identifier)) < identifier) )) (compound_statement "{\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" { (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" * (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" ( (binary_expression "PTR_LAB_0015b740 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10ef0)" ( number_literal )))) ;) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;) })) (expression_statement "pBt = pPage->pBt;" (assignment_expression "pBt = pPage->pBt" identifier = (field_expression "pPage->pBt" identifier -> field_identifier)) ;) (expression_statement "pMVar7 = (MemPage *)pMVar6[-1].xParseCell;" (assignment_expression "pMVar7 = (MemPage *)pMVar6[-1].xParseCell" identifier = (cast_expression "(MemPage *)pMVar6[-1].xParseCell" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pMVar6[-1].xParseCell" (subscript_expression "pMVar6[-1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "uVar5 = pBt->usableSize - 4;" (assignment_expression "uVar5 = pBt->usableSize - 4" identifier = (binary_expression "pBt->usableSize - 4" (field_expression "pBt->usableSize" identifier -> field_identifier) - number_literal)) ;) (if_statement "if (uVar5 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5;" (assignment_expression "uVar5 = (((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5" identifier = (binary_expression "(((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5) / uVar5" (parenthesized_expression "(((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5)" ( (binary_expression "((pInfo->nPayload - 1) - (uint)pInfo->nLocal) + uVar5" (parenthesized_expression "((pInfo->nPayload - 1) - (uint)pInfo->nLocal)" ( (binary_expression "(pInfo->nPayload - 1) - (uint)pInfo->nLocal" (parenthesized_expression "(pInfo->nPayload - 1)" ( (binary_expression "pInfo->nPayload - 1" (field_expression "pInfo->nPayload" identifier -> field_identifier) - number_literal) )) - (cast_expression "(uint)pInfo->nLocal" ( (type_descriptor "uint" type_identifier) ) (field_expression "pInfo->nLocal" identifier -> field_identifier))) )) + identifier) )) / identifier)) ;) (if_statement "if (uVar5 != 0) {\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }\n      pOvfl = (MemPage *)0x0;\n      iNext = 0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" { (if_statement "if (((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)) {\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }" if (parenthesized_expression "(((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage))" ( (binary_expression "((MemPage *)0x1 < pMVar7) && (pMVar7 <= (MemPage *)pBt->nPage)" (parenthesized_expression "((MemPage *)0x1 < pMVar7)" ( (binary_expression "(MemPage *)0x1 < pMVar7" (cast_expression "(MemPage *)0x1" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) && (parenthesized_expression "(pMVar7 <= (MemPage *)pBt->nPage)" ( (binary_expression "pMVar7 <= (MemPage *)pBt->nPage" identifier <= (cast_expression "(MemPage *)pBt->nPage" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pBt->nPage" identifier -> field_identifier))) ))) )) (compound_statement "{\n        pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));\n      }" { (expression_statement "pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98);" (assignment_expression "pcVar8 = (code *)(PTR_LAB_0015b740 + -0x6d98)" identifier = (cast_expression "(code *)(PTR_LAB_0015b740 + -0x6d98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x6d98)" ( (binary_expression "PTR_LAB_0015b740 + -0x6d98" identifier + number_literal) )))) ;) (expression_statement "pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0015b6d8 + 0x2e54)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x2e54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x2e54)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x2e54" identifier + number_literal) )))) ;) (do_statement "do {\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while ((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage));" do (compound_statement "{\n          pOvfl = (MemPage *)0x0;\n          iNext = 0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }\n          if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        }" { (expression_statement "pOvfl = (MemPage *)0x0;" (assignment_expression "pOvfl = (MemPage *)0x0" identifier = (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iNext = 0;" (assignment_expression "iNext = 0" identifier = number_literal) ;) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))\n          goto LAB_000a3bd0;" if (parenthesized_expression "((uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0))" ( (binary_expression "(uVar5 != 0) &&\n             (pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0)" (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0)" ( (comma_expression "pMVar6 = pMVar7, iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0" (assignment_expression "pMVar6 = pMVar7" identifier = identifier) , (comma_expression "iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext), iVar4 != 0" (assignment_expression "iVar4 = (*pcVar8)(pBt,pMVar7,&pOvfl,&iNext)" identifier = (call_expression "(*pcVar8)(pBt,pMVar7,&pOvfl,&iNext)" (parenthesized_expression "(*pcVar8)" ( (pointer_expression "*pcVar8" * identifier) )) (argument_list "(pBt,pMVar7,&pOvfl,&iNext)" ( identifier , identifier , (pointer_expression "&pOvfl" & identifier) , (pointer_expression "&iNext" & identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal))) ))) )) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;)) (if_statement "if ((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))\n          {\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }\n          else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }" if (parenthesized_expression "((pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0))" ( (binary_expression "(pOvfl == (MemPage *)0x0) &&\n             (pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0)" (parenthesized_expression "(pOvfl == (MemPage *)0x0)" ( (binary_expression "pOvfl == (MemPage *)0x0" identifier == (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0)" ( (comma_expression "pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7), pOvfl = pMVar6, pMVar6 == (MemPage *)0x0" (assignment_expression "pMVar6 = (MemPage *)(*pcVar9)(pBt,pMVar7)" identifier = (cast_expression "(MemPage *)(*pcVar9)(pBt,pMVar7)" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar9)(pBt,pMVar7)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(pBt,pMVar7)" ( identifier , identifier ))))) , (comma_expression "pOvfl = pMVar6, pMVar6 == (MemPage *)0x0" (assignment_expression "pOvfl = pMVar6" identifier = identifier) , (binary_expression "pMVar6 == (MemPage *)0x0" identifier == (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n            iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);\n          }" { (expression_statement "iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7);" (assignment_expression "iVar4 = freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7)" identifier = (call_expression "freePage2(pBt,(MemPage *)0x0,(Pgno)pMVar7)" identifier (argument_list "(pBt,(MemPage *)0x0,(Pgno)pMVar7)" ( identifier , (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(Pgno)pMVar7" ( (type_descriptor "Pgno" type_identifier) ) identifier) )))) ;) }) (else_clause "else {\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }" else (compound_statement "{\n            pMVar6 = pOvfl;\n            if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }\n          }" { (expression_statement "pMVar6 = pOvfl;" (assignment_expression "pMVar6 = pOvfl" identifier = identifier) ;) (if_statement "if (pOvfl->pDbPage->nRef == 1) {\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }" if (parenthesized_expression "(pOvfl->pDbPage->nRef == 1)" ( (binary_expression "pOvfl->pDbPage->nRef == 1" (field_expression "pOvfl->pDbPage->nRef" (field_expression "pOvfl->pDbPage" identifier -> field_identifier) -> field_identifier) == number_literal) )) (compound_statement "{\n              iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);\n            }" { (expression_statement "iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7);" (assignment_expression "iVar4 = freePage2(pBt,pOvfl,(Pgno)pMVar7)" identifier = (call_expression "freePage2(pBt,pOvfl,(Pgno)pMVar7)" identifier (argument_list "(pBt,pOvfl,(Pgno)pMVar7)" ( identifier , identifier , (cast_expression "(Pgno)pMVar7" ( (type_descriptor "Pgno" type_identifier) ) identifier) )))) ;) }) (else_clause "else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }" else (compound_statement "{\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);\n            }" { (expression_statement "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15);" (assignment_expression "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15)" identifier = (call_expression "(*(code *)(puVar2 + -0x75c0))(0x10f15)" (parenthesized_expression "(*(code *)(puVar2 + -0x75c0))" ( (pointer_expression "*(code *)(puVar2 + -0x75c0)" * (cast_expression "(code *)(puVar2 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x75c0)" ( (binary_expression "puVar2 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10f15)" ( number_literal )))) ;) }))) }))) (if_statement "if ((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" if (parenthesized_expression "((pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0))" ( (binary_expression "(pOvfl != (MemPage *)0x0) && (pOvfl->pDbPage != (DbPage *)0x0)" (parenthesized_expression "(pOvfl != (MemPage *)0x0)" ( (binary_expression "pOvfl != (MemPage *)0x0" identifier != (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pOvfl->pDbPage != (DbPage *)0x0)" ( (binary_expression "pOvfl->pDbPage != (DbPage *)0x0" (field_expression "pOvfl->pDbPage" identifier -> field_identifier) != (cast_expression "(DbPage *)0x0" ( (type_descriptor "DbPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" { (expression_statement "(*(code *)(puVar1 + -0x1cbc))();" (call_expression "(*(code *)(puVar1 + -0x1cbc))()" (parenthesized_expression "(*(code *)(puVar1 + -0x1cbc))" ( (pointer_expression "*(code *)(puVar1 + -0x1cbc)" * (cast_expression "(code *)(puVar1 + -0x1cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1cbc)" ( (binary_expression "puVar1 + -0x1cbc" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (iVar4 != 0) goto LAB_000a3bd0;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;)) (if_statement "if (uVar5 == 0) goto LAB_000a3c3c;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000a3c3c;" goto statement_identifier ;)) }) while (parenthesized_expression "((1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage))" ( (binary_expression "(1 < iNext) && (pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage)" (parenthesized_expression "(1 < iNext)" ( (binary_expression "1 < iNext" number_literal < identifier) )) && (parenthesized_expression "(pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage)" ( (comma_expression "pMVar7 = (MemPage *)iNext, iNext <= pBt->nPage" (assignment_expression "pMVar7 = (MemPage *)iNext" identifier = (cast_expression "(MemPage *)iNext" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , (binary_expression "iNext <= pBt->nPage" identifier <= (field_expression "pBt->nPage" identifier -> field_identifier))) ))) )) ;) })) (expression_statement "pOvfl = (MemPage *)0x0;" (assignment_expression "pOvfl = (MemPage *)0x0" identifier = (cast_expression "(MemPage *)0x0" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iNext = 0;" (assignment_expression "iNext = 0" identifier = number_literal) ;) (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" * (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" ( (binary_expression "PTR_LAB_0015b740 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10f01)" ( number_literal )))) ;) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_000a3c3c:\n  iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_000a3bd0:\n  if (pMStack_2c != *(MemPage **)puVar3) {\n    pMVar7 = pMStack_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);\n    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);\n    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);\n    pMVar6->intKey = (char)((uint)iVar4 >> 8);\n    pMVar6->intKeyLeaf = (char)iVar4;\n    return iVar4;\n  }" statement_identifier : (if_statement "if (pMStack_2c != *(MemPage **)puVar3) {\n    pMVar7 = pMStack_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);\n    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);\n    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);\n    pMVar6->intKey = (char)((uint)iVar4 >> 8);\n    pMVar6->intKeyLeaf = (char)iVar4;\n    return iVar4;\n  }" if (parenthesized_expression "(pMStack_2c != *(MemPage **)puVar3)" ( (binary_expression "pMStack_2c != *(MemPage **)puVar3" identifier != (pointer_expression "*(MemPage **)puVar3" * (cast_expression "(MemPage **)puVar3" ( (type_descriptor "MemPage **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    pMVar7 = pMStack_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);\n    pMVar6->isInit = (char)((uint)iVar4 >> 0x18);\n    pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);\n    pMVar6->intKey = (char)((uint)iVar4 >> 8);\n    pMVar6->intKeyLeaf = (char)iVar4;\n    return iVar4;\n  }" { (expression_statement "pMVar7 = pMStack_2c;" (assignment_expression "pMVar7 = pMStack_2c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno);" (assignment_expression "iVar4 = freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno)" identifier = (call_expression "freePage2(pMVar7->pBt,pMVar7,pMVar7->pgno)" identifier (argument_list "(pMVar7->pBt,pMVar7,pMVar7->pgno)" ( (field_expression "pMVar7->pBt" identifier -> field_identifier) , identifier , (field_expression "pMVar7->pgno" identifier -> field_identifier) )))) ;) (expression_statement "pMVar6->isInit = (char)((uint)iVar4 >> 0x18);" (assignment_expression "pMVar6->isInit = (char)((uint)iVar4 >> 0x18)" (field_expression "pMVar6->isInit" identifier -> field_identifier) = (cast_expression "(char)((uint)iVar4 >> 0x18)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar4 >> 0x18)" ( (binary_expression "(uint)iVar4 >> 0x18" (cast_expression "(uint)iVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pMVar6->bBusy = (char)((uint)iVar4 >> 0x10);" (assignment_expression "pMVar6->bBusy = (char)((uint)iVar4 >> 0x10)" (field_expression "pMVar6->bBusy" identifier -> field_identifier) = (cast_expression "(char)((uint)iVar4 >> 0x10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar4 >> 0x10)" ( (binary_expression "(uint)iVar4 >> 0x10" (cast_expression "(uint)iVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pMVar6->intKey = (char)((uint)iVar4 >> 8);" (assignment_expression "pMVar6->intKey = (char)((uint)iVar4 >> 8)" (field_expression "pMVar6->intKey" identifier -> field_identifier) = (cast_expression "(char)((uint)iVar4 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uint)iVar4 >> 8)" ( (binary_expression "(uint)iVar4 >> 8" (cast_expression "(uint)iVar4" ( (type_descriptor "uint" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "pMVar6->intKeyLeaf = (char)iVar4;" (assignment_expression "pMVar6->intKeyLeaf = (char)iVar4" (field_expression "pMVar6->intKeyLeaf" identifier -> field_identifier) = (cast_expression "(char)iVar4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (return_statement "return iVar4;" return identifier ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int FUN_000a3a0c(int param_1,int *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_000a3a0c(int param_1,int *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_000a3a0c(int param_1,int *param_2,int param_3)" identifier (parameter_list "(int param_1,int *param_2,int param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "code *pcVar10;" type_identifier (pointer_declarator "*pcVar10" * identifier) ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int *local_30;" primitive_type (pointer_declarator "*local_30" * identifier) ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" * (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "piVar6 = param_2;" (assignment_expression "piVar6 = param_2" identifier = identifier) ;) (expression_statement "(**(code **)(param_1 + 0x50))();" (call_expression "(**(code **)(param_1 + 0x50))()" (parenthesized_expression "(**(code **)(param_1 + 0x50))" ( (pointer_expression "**(code **)(param_1 + 0x50)" * (pointer_expression "*(code **)(param_1 + 0x50)" * (cast_expression "(code **)(param_1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "puVar2 = PTR_LAB_0015b740;" (assignment_expression "puVar2 = PTR_LAB_0015b740" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_0015b65c;" (assignment_expression "puVar1 = PTR_LAB_0015b65c" identifier = identifier) ;) (if_statement "if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" if (parenthesized_expression "((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc))" ( (binary_expression "(uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)" (binary_expression "(uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x10)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) )))) != (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) ))))) )) (compound_statement "{\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" { (expression_statement "piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));" (assignment_expression "piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" identifier = (cast_expression "(int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" ( (binary_expression "(int)param_2 + (uint)*(ushort *)(param_3 + 0x12)" (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)*(ushort *)(param_3 + 0x12)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x12)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x12)" ( (binary_expression "param_3 + 0x12" identifier + number_literal) ))))) )))) ;) (if_statement "if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" if (parenthesized_expression "(*(int **)(param_1 + 0x3c) < piVar6)" ( (binary_expression "*(int **)(param_1 + 0x3c) < piVar6" (pointer_expression "*(int **)(param_1 + 0x3c)" * (cast_expression "(int **)(param_1 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) < identifier) )) (compound_statement "{\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" { (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" * (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" ( (binary_expression "PTR_LAB_0015b740 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10ef0)" ( number_literal )))) ;) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;) })) (expression_statement "iVar8 = *(int *)(param_1 + 0x34);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x34)" identifier = (pointer_expression "*(int *)(param_1 + 0x34)" * (cast_expression "(int *)(param_1 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "piVar7 = (int *)piVar6[-1];" (assignment_expression "piVar7 = (int *)piVar6[-1]" identifier = (cast_expression "(int *)piVar6[-1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[-1]" identifier [ number_literal ]))) ;) (expression_statement "uVar5 = *(int *)(iVar8 + 0x24) - 4;" (assignment_expression "uVar5 = *(int *)(iVar8 + 0x24) - 4" identifier = (binary_expression "*(int *)(iVar8 + 0x24) - 4" (pointer_expression "*(int *)(iVar8 + 0x24)" * (cast_expression "(int *)(iVar8 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + 0x24)" ( (binary_expression "iVar8 + 0x24" identifier + number_literal) )))) - number_literal)) ;) (if_statement "if (uVar5 == 0) {\n      trap(7);\n    }" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      trap(7);\n    }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;" (assignment_expression "uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5" identifier = (binary_expression "(((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5" (parenthesized_expression "(((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5)" ( (binary_expression "((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5" (parenthesized_expression "((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10))" ( (binary_expression "(*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(*(uint *)(param_3 + 0xc) - 1)" ( (binary_expression "*(uint *)(param_3 + 0xc) - 1" (pointer_expression "*(uint *)(param_3 + 0xc)" * (cast_expression "(uint *)(param_3 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) - number_literal) )) - (binary_expression "(uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(ushort *)(param_3 + 0x10)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0x10)" ( (binary_expression "param_3 + 0x10" identifier + number_literal) ))))) )) + identifier) )) / identifier)) ;) (if_statement "if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" if (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" { (if_statement "if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }" if (parenthesized_expression "((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c)))" ( (binary_expression "(&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))" (parenthesized_expression "(&SUB_00000002 <= piVar7)" ( (binary_expression "&SUB_00000002 <= piVar7" (pointer_expression "&SUB_00000002" & identifier) <= identifier) )) && (parenthesized_expression "(piVar7 <= *(int **)(iVar8 + 0x2c))" ( (binary_expression "piVar7 <= *(int **)(iVar8 + 0x2c)" identifier <= (pointer_expression "*(int **)(iVar8 + 0x2c)" * (cast_expression "(int **)(iVar8 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x2c)" ( (binary_expression "iVar8 + 0x2c" identifier + number_literal) ))))) ))) )) (compound_statement "{\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }" { (expression_statement "pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98)" identifier = (cast_expression "(code *)(PTR_LAB_0015b740 + -0x6d98)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x6d98)" ( (binary_expression "PTR_LAB_0015b740 + -0x6d98" identifier + number_literal) )))) ;) (expression_statement "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54)" identifier = (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x2e54)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x2e54)" ( (binary_expression "PTR_LAB_0015b6d8 + 0x2e54" identifier + number_literal) )))) ;) (do_statement "do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );" do (compound_statement "{\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        }" { (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" identifier = (binary_expression "uVar5 - 1" identifier - number_literal)) ;) (if_statement "if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;" if (parenthesized_expression "((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))" ( (binary_expression "(uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0)" (parenthesized_expression "(uVar5 != 0)" ( (binary_expression "uVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0)" ( (comma_expression "piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0" (assignment_expression "piVar6 = piVar7" identifier = identifier) , (comma_expression "iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0" (assignment_expression "iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34)" identifier = (call_expression "(*pcVar9)(iVar8,piVar7,&local_30,&local_34)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(iVar8,piVar7,&local_30,&local_34)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) , (pointer_expression "&local_34" & identifier) )))) , (binary_expression "iVar4 != 0" identifier != number_literal))) ))) )) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;)) (if_statement "if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" if (parenthesized_expression "((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0))" ( (binary_expression "(local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)" (parenthesized_expression "(local_30 == (int *)0x0)" ( (binary_expression "local_30 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)" ( (comma_expression "piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0" (assignment_expression "piVar6 = (int *)(*pcVar10)(iVar8,piVar7)" identifier = (cast_expression "(int *)(*pcVar10)(iVar8,piVar7)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*pcVar10)(iVar8,piVar7)" (parenthesized_expression "(*pcVar10)" ( (pointer_expression "*pcVar10" * identifier) )) (argument_list "(iVar8,piVar7)" ( identifier , identifier ))))) , (comma_expression "local_30 = piVar6, piVar6 == (int *)0x0" (assignment_expression "local_30 = piVar6" identifier = identifier) , (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)))) ))) )) (compound_statement "{\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }" { (expression_statement "iVar4 = FUN_000a3528(iVar8,0,piVar7);" (assignment_expression "iVar4 = FUN_000a3528(iVar8,0,piVar7)" identifier = (call_expression "FUN_000a3528(iVar8,0,piVar7)" identifier (argument_list "(iVar8,0,piVar7)" ( identifier , number_literal , identifier )))) ;) }) (else_clause "else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" else (compound_statement "{\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" { (expression_statement "piVar6 = local_30;" (assignment_expression "piVar6 = local_30" identifier = identifier) ;) (if_statement "if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" if (parenthesized_expression "(*(short *)(local_30[0x12] + 0x1e) == 1)" ( (binary_expression "*(short *)(local_30[0x12] + 0x1e) == 1" (pointer_expression "*(short *)(local_30[0x12] + 0x1e)" * (cast_expression "(short *)(local_30[0x12] + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30[0x12] + 0x1e)" ( (binary_expression "local_30[0x12] + 0x1e" (subscript_expression "local_30[0x12]" identifier [ number_literal ]) + number_literal) )))) == number_literal) )) (compound_statement "{\n              iVar4 = FUN_000a3528(iVar8);\n            }" { (expression_statement "iVar4 = FUN_000a3528(iVar8);" (assignment_expression "iVar4 = FUN_000a3528(iVar8)" identifier = (call_expression "FUN_000a3528(iVar8)" identifier (argument_list "(iVar8)" ( identifier )))) ;) }) (else_clause "else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" else (compound_statement "{\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" { (expression_statement "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);" (assignment_expression "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7)" identifier = (call_expression "(*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7)" (parenthesized_expression "(*(code *)(puVar2 + -0x75c0))" ( (pointer_expression "*(code *)(puVar2 + -0x75c0)" * (cast_expression "(code *)(puVar2 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + -0x75c0)" ( (binary_expression "puVar2 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10f15,local_30,piVar7)" ( number_literal , identifier , identifier )))) ;) }))) }))) (if_statement "if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" if (parenthesized_expression "((local_30 != (int *)0x0) && (local_30[0x12] != 0))" ( (binary_expression "(local_30 != (int *)0x0) && (local_30[0x12] != 0)" (parenthesized_expression "(local_30 != (int *)0x0)" ( (binary_expression "local_30 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_30[0x12] != 0)" ( (binary_expression "local_30[0x12] != 0" (subscript_expression "local_30[0x12]" identifier [ number_literal ]) != number_literal) ))) )) (compound_statement "{\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" { (expression_statement "(*(code *)(puVar1 + -0x1cbc))();" (call_expression "(*(code *)(puVar1 + -0x1cbc))()" (parenthesized_expression "(*(code *)(puVar1 + -0x1cbc))" ( (pointer_expression "*(code *)(puVar1 + -0x1cbc)" * (cast_expression "(code *)(puVar1 + -0x1cbc)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1cbc)" ( (binary_expression "puVar1 + -0x1cbc" identifier + number_literal) )))) )) (argument_list "()" ( ))) ;) })) (if_statement "if (iVar4 != 0) goto LAB_000a3bd0;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;)) (if_statement "if (uVar5 == 0) goto LAB_000a3c3c;" if (parenthesized_expression "(uVar5 == 0)" ( (binary_expression "uVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000a3c3c;" goto statement_identifier ;)) }) while (parenthesized_expression "(((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                )" ( (binary_expression "((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))" (parenthesized_expression "((int *)0x1 < local_34)" ( (binary_expression "(int *)0x1 < local_34" (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) && (parenthesized_expression "(piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))" ( (comma_expression "piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c)" (assignment_expression "piVar7 = local_34" identifier = identifier) , (binary_expression "local_34 <= *(int **)(iVar8 + 0x2c)" identifier <= (pointer_expression "*(int **)(iVar8 + 0x2c)" * (cast_expression "(int **)(iVar8 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar8 + 0x2c)" ( (binary_expression "iVar8 + 0x2c" identifier + number_literal) )))))) ))) )) ;) })) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" identifier = (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" ( (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" * (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" ( (binary_expression "PTR_LAB_0015b740 + -0x75c0" identifier + number_literal) )))) )) (argument_list "(0x10f01)" ( number_literal )))) ;) (goto_statement "goto LAB_000a3bd0;" goto statement_identifier ;) })) })) (labeled_statement "LAB_000a3c3c:\n  iVar4 = 0;" statement_identifier : (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;)) (labeled_statement "LAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" statement_identifier : (if_statement "if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" if (parenthesized_expression "(local_2c != *(int *)puVar3)" ( (binary_expression "local_2c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" { (expression_statement "iVar4 = local_2c;" (assignment_expression "iVar4 = local_2c" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" * (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));" (assignment_expression "iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" identifier = (call_expression "FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" identifier (argument_list "(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" ( (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" * (cast_expression "(undefined4 *)(iVar4 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x34)" ( (binary_expression "iVar4 + 0x34" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 4)" * (cast_expression "(undefined4 *)(iVar4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) )))) ;) (expression_statement "*piVar6 = iVar4;" (assignment_expression "*piVar6 = iVar4" (pointer_expression "*piVar6" * identifier) = identifier) ;) (return_statement "return iVar4;" return identifier ;) }))) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * 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) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( LIT )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT) )) - (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) + IDENT) )) / IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) , (binary_expression IDENT != LIT))) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT ))))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( LIT , IDENT , IDENT )))) ;) }))) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( LIT )))) ;) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_000a3a0c(int param_1,int *param_2,int param_3)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_000a3a0c(int param_1,int *param_2,int param_3)" (identifier "FUN_000a3a0c") (parameter_list "(int param_1,int *param_2,int param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  uint uVar5;\n  int *piVar6;\n  int *piVar7;\n  int iVar8;\n  code *pcVar9;\n  code *pcVar10;\n  int *local_34;\n  int *local_30;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_0015ba2c;\n  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;\n  piVar6 = param_2;\n  (**(code **)(param_1 + 0x50))();\n  puVar2 = PTR_LAB_0015b740;\n  puVar1 = PTR_LAB_0015b65c;\n  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }\nLAB_000a3c3c:\n  iVar4 = 0;\nLAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }\n  return iVar4;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "code *pcVar10;" (type_identifier "code") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "int *local_34;" (primitive_type "int") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int *local_30;" (primitive_type "int") (pointer_declarator "*local_30" (* "*") (identifier "local_30")) (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_0015ba2c;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0015ba2c" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_0015ba2c")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_0015ba2c" (identifier "local_2c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0015ba2c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0015ba2c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0015ba2c")))) (; ";")) (expression_statement "piVar6 = param_2;" (assignment_expression "piVar6 = param_2" (identifier "piVar6") (= "=") (identifier "param_2")) (; ";")) (expression_statement "(**(code **)(param_1 + 0x50))();" (call_expression "(**(code **)(param_1 + 0x50))()" (parenthesized_expression "(**(code **)(param_1 + 0x50))" (( "(") (pointer_expression "**(code **)(param_1 + 0x50)" (* "*") (pointer_expression "*(code **)(param_1 + 0x50)" (* "*") (cast_expression "(code **)(param_1 + 0x50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar2 = PTR_LAB_0015b740;" (assignment_expression "puVar2 = PTR_LAB_0015b740" (identifier "puVar2") (= "=") (identifier "PTR_LAB_0015b740")) (; ";")) (expression_statement "puVar1 = PTR_LAB_0015b65c;" (assignment_expression "puVar1 = PTR_LAB_0015b65c" (identifier "puVar1") (= "=") (identifier "PTR_LAB_0015b65c")) (; ";")) (if_statement "if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" (if "if") (parenthesized_expression "((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc))" (( "(") (binary_expression "(uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)" (binary_expression "(uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_3 + 0x10)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x10)" (( "(") (binary_expression "param_3 + 0x10" (identifier "param_3") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (pointer_expression "*(uint *)(param_3 + 0xc)" (* "*") (cast_expression "(uint *)(param_3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (compound_statement "{\n    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));\n    if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }\n    iVar8 = *(int *)(param_1 + 0x34);\n    piVar7 = (int *)piVar6[-1];\n    uVar5 = *(int *)(iVar8 + 0x24) - 4;\n    if (uVar5 == 0) {\n      trap(7);\n    }\n    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;\n    if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }\n  }" ({ "{") (expression_statement "piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));" (assignment_expression "piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" (identifier "piVar6") (= "=") (cast_expression "(int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_2 + (uint)*(ushort *)(param_3 + 0x12))" (( "(") (binary_expression "(int)param_2 + (uint)*(ushort *)(param_3 + 0x12)" (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")) (+ "+") (binary_expression "(uint)*(ushort *)(param_3 + 0x12)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_3 + 0x12)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x12)" (( "(") (binary_expression "param_3 + 0x12" (identifier "param_3") (+ "+") (number_literal "0x12")) () ")"))))) () ")")))) (; ";")) (if_statement "if (*(int **)(param_1 + 0x3c) < piVar6) {\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" (if "if") (parenthesized_expression "(*(int **)(param_1 + 0x3c) < piVar6)" (( "(") (binary_expression "*(int **)(param_1 + 0x3c) < piVar6" (pointer_expression "*(int **)(param_1 + 0x3c)" (* "*") (cast_expression "(int **)(param_1 + 0x3c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (< "<") (identifier "piVar6")) () ")")) (compound_statement "{\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);\n      goto LAB_000a3bd0;\n    }" ({ "{") (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" (identifier "iVar4") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" (( "(") (binary_expression "PTR_LAB_0015b740 + -0x75c0" (identifier "PTR_LAB_0015b740") (+ "+") (number_literal "-0x75c0")) () ")")))) () ")")) (argument_list "(0x10ef0)" (( "(") (number_literal "0x10ef0") () ")")))) (; ";")) (goto_statement "goto LAB_000a3bd0;" (goto "goto") (statement_identifier "LAB_000a3bd0") (; ";")) (} "}"))) (expression_statement "iVar8 = *(int *)(param_1 + 0x34);" (assignment_expression "iVar8 = *(int *)(param_1 + 0x34)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(param_1 + 0x34)" (* "*") (cast_expression "(int *)(param_1 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "piVar7 = (int *)piVar6[-1];" (assignment_expression "piVar7 = (int *)piVar6[-1]" (identifier "piVar7") (= "=") (cast_expression "(int *)piVar6[-1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[-1]" (identifier "piVar6") ([ "[") (number_literal "-1") (] "]")))) (; ";")) (expression_statement "uVar5 = *(int *)(iVar8 + 0x24) - 4;" (assignment_expression "uVar5 = *(int *)(iVar8 + 0x24) - 4" (identifier "uVar5") (= "=") (binary_expression "*(int *)(iVar8 + 0x24) - 4" (pointer_expression "*(int *)(iVar8 + 0x24)" (* "*") (cast_expression "(int *)(iVar8 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + 0x24)" (( "(") (binary_expression "iVar8 + 0x24" (identifier "iVar8") (+ "+") (number_literal "0x24")) () ")")))) (- "-") (number_literal "4"))) (; ";")) (if_statement "if (uVar5 == 0) {\n      trap(7);\n    }" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      trap(7);\n    }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;" (assignment_expression "uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5" (identifier "uVar5") (= "=") (binary_expression "(((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5" (parenthesized_expression "(((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5)" (( "(") (binary_expression "((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5" (parenthesized_expression "((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10))" (( "(") (binary_expression "(*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(*(uint *)(param_3 + 0xc) - 1)" (( "(") (binary_expression "*(uint *)(param_3 + 0xc) - 1" (pointer_expression "*(uint *)(param_3 + 0xc)" (* "*") (cast_expression "(uint *)(param_3 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (- "-") (number_literal "1")) () ")")) (- "-") (binary_expression "(uint)*(ushort *)(param_3 + 0x10)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(ushort *)(param_3 + 0x10)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0x10)" (( "(") (binary_expression "param_3 + 0x10" (identifier "param_3") (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (+ "+") (identifier "uVar5")) () ")")) (/ "/") (identifier "uVar5"))) (; ";")) (if_statement "if (uVar5 != 0) {\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" (if "if") (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }\n      local_30 = (int *)0x0;\n      local_34 = (int *)0x0;\n      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);\n      goto LAB_000a3bd0;\n    }" ({ "{") (if_statement "if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }" (if "if") (parenthesized_expression "((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c)))" (( "(") (binary_expression "(&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))" (parenthesized_expression "(&SUB_00000002 <= piVar7)" (( "(") (binary_expression "&SUB_00000002 <= piVar7" (pointer_expression "&SUB_00000002" (& "&") (identifier "SUB_00000002")) (<= "<=") (identifier "piVar7")) () ")")) (&& "&&") (parenthesized_expression "(piVar7 <= *(int **)(iVar8 + 0x2c))" (( "(") (binary_expression "piVar7 <= *(int **)(iVar8 + 0x2c)" (identifier "piVar7") (<= "<=") (pointer_expression "*(int **)(iVar8 + 0x2c)" (* "*") (cast_expression "(int **)(iVar8 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar8 + 0x2c)" (( "(") (binary_expression "iVar8 + 0x2c" (identifier "iVar8") (+ "+") (number_literal "0x2c")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);\n        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);\n        do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );\n      }" ({ "{") (expression_statement "pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);" (assignment_expression "pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98)" (identifier "pcVar9") (= "=") (cast_expression "(code *)(PTR_LAB_0015b740 + -0x6d98)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b740 + -0x6d98)" (( "(") (binary_expression "PTR_LAB_0015b740 + -0x6d98" (identifier "PTR_LAB_0015b740") (+ "+") (number_literal "-0x6d98")) () ")")))) (; ";")) (expression_statement "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);" (assignment_expression "pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54)" (identifier "pcVar10") (= "=") (cast_expression "(code *)(PTR_LAB_0015b6d8 + 0x2e54)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b6d8 + 0x2e54)" (( "(") (binary_expression "PTR_LAB_0015b6d8 + 0x2e54" (identifier "PTR_LAB_0015b6d8") (+ "+") (number_literal "0x2e54")) () ")")))) (; ";")) (do_statement "do {\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                );" (do "do") (compound_statement "{\n          local_30 = (int *)0x0;\n          local_34 = (int *)0x0;\n          uVar5 = uVar5 - 1;\n          if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;\n          if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }\n          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }\n          if (iVar4 != 0) goto LAB_000a3bd0;\n          if (uVar5 == 0) goto LAB_000a3c3c;\n        }" ({ "{") (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" (identifier "local_30") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" (identifier "local_34") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar5 = uVar5 - 1;" (assignment_expression "uVar5 = uVar5 - 1" (identifier "uVar5") (= "=") (binary_expression "uVar5 - 1" (identifier "uVar5") (- "-") (number_literal "1"))) (; ";")) (if_statement "if ((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))\n          goto LAB_000a3bd0;" (if "if") (parenthesized_expression "((uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))" (( "(") (binary_expression "(uVar5 != 0) &&\n             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0)" (parenthesized_expression "(uVar5 != 0)" (( "(") (binary_expression "uVar5 != 0" (identifier "uVar5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0)" (( "(") (comma_expression "piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0" (assignment_expression "piVar6 = piVar7" (identifier "piVar6") (= "=") (identifier "piVar7")) (, ",") (comma_expression "iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0" (assignment_expression "iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34)" (identifier "iVar4") (= "=") (call_expression "(*pcVar9)(iVar8,piVar7,&local_30,&local_34)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(iVar8,piVar7,&local_30,&local_34)" (( "(") (identifier "iVar8") (, ",") (identifier "piVar7") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (pointer_expression "&local_34" (& "&") (identifier "local_34")) () ")")))) (, ",") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")))) () ")"))) () ")")) (goto_statement "goto LAB_000a3bd0;" (goto "goto") (statement_identifier "LAB_000a3bd0") (; ";"))) (if_statement "if ((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }\n          else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" (if "if") (parenthesized_expression "((local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0))" (( "(") (binary_expression "(local_30 == (int *)0x0) &&\n             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)" (parenthesized_expression "(local_30 == (int *)0x0)" (( "(") (binary_expression "local_30 == (int *)0x0" (identifier "local_30") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)" (( "(") (comma_expression "piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0" (assignment_expression "piVar6 = (int *)(*pcVar10)(iVar8,piVar7)" (identifier "piVar6") (= "=") (cast_expression "(int *)(*pcVar10)(iVar8,piVar7)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*pcVar10)(iVar8,piVar7)" (parenthesized_expression "(*pcVar10)" (( "(") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) () ")")) (argument_list "(iVar8,piVar7)" (( "(") (identifier "iVar8") (, ",") (identifier "piVar7") () ")"))))) (, ",") (comma_expression "local_30 = piVar6, piVar6 == (int *)0x0" (assignment_expression "local_30 = piVar6" (identifier "local_30") (= "=") (identifier "piVar6")) (, ",") (binary_expression "piVar6 == (int *)0x0" (identifier "piVar6") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))))) () ")"))) () ")")) (compound_statement "{\n            iVar4 = FUN_000a3528(iVar8,0,piVar7);\n          }" ({ "{") (expression_statement "iVar4 = FUN_000a3528(iVar8,0,piVar7);" (assignment_expression "iVar4 = FUN_000a3528(iVar8,0,piVar7)" (identifier "iVar4") (= "=") (call_expression "FUN_000a3528(iVar8,0,piVar7)" (identifier "FUN_000a3528") (argument_list "(iVar8,0,piVar7)" (( "(") (identifier "iVar8") (, ",") (number_literal "0") (, ",") (identifier "piVar7") () ")")))) (; ";")) (} "}")) (else_clause "else {\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" (else "else") (compound_statement "{\n            piVar6 = local_30;\n            if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }\n          }" ({ "{") (expression_statement "piVar6 = local_30;" (assignment_expression "piVar6 = local_30" (identifier "piVar6") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (*(short *)(local_30[0x12] + 0x1e) == 1) {\n              iVar4 = FUN_000a3528(iVar8);\n            }\n            else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" (if "if") (parenthesized_expression "(*(short *)(local_30[0x12] + 0x1e) == 1)" (( "(") (binary_expression "*(short *)(local_30[0x12] + 0x1e) == 1" (pointer_expression "*(short *)(local_30[0x12] + 0x1e)" (* "*") (cast_expression "(short *)(local_30[0x12] + 0x1e)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30[0x12] + 0x1e)" (( "(") (binary_expression "local_30[0x12] + 0x1e" (subscript_expression "local_30[0x12]" (identifier "local_30") ([ "[") (number_literal "0x12") (] "]")) (+ "+") (number_literal "0x1e")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n              iVar4 = FUN_000a3528(iVar8);\n            }" ({ "{") (expression_statement "iVar4 = FUN_000a3528(iVar8);" (assignment_expression "iVar4 = FUN_000a3528(iVar8)" (identifier "iVar4") (= "=") (call_expression "FUN_000a3528(iVar8)" (identifier "FUN_000a3528") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")")))) (; ";")) (} "}")) (else_clause "else {\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" (else "else") (compound_statement "{\n              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);\n            }" ({ "{") (expression_statement "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);" (assignment_expression "iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7)" (identifier "iVar4") (= "=") (call_expression "(*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7)" (parenthesized_expression "(*(code *)(puVar2 + -0x75c0))" (( "(") (pointer_expression "*(code *)(puVar2 + -0x75c0)" (* "*") (cast_expression "(code *)(puVar2 + -0x75c0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar2 + -0x75c0)" (( "(") (binary_expression "puVar2 + -0x75c0" (identifier "puVar2") (+ "+") (number_literal "-0x75c0")) () ")")))) () ")")) (argument_list "(0x10f15,local_30,piVar7)" (( "(") (number_literal "0x10f15") (, ",") (identifier "local_30") (, ",") (identifier "piVar7") () ")")))) (; ";")) (} "}")))) (} "}")))) (if_statement "if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" (if "if") (parenthesized_expression "((local_30 != (int *)0x0) && (local_30[0x12] != 0))" (( "(") (binary_expression "(local_30 != (int *)0x0) && (local_30[0x12] != 0)" (parenthesized_expression "(local_30 != (int *)0x0)" (( "(") (binary_expression "local_30 != (int *)0x0" (identifier "local_30") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(local_30[0x12] != 0)" (( "(") (binary_expression "local_30[0x12] != 0" (subscript_expression "local_30[0x12]" (identifier "local_30") ([ "[") (number_literal "0x12") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n            (*(code *)(puVar1 + -0x1cbc))();\n          }" ({ "{") (expression_statement "(*(code *)(puVar1 + -0x1cbc))();" (call_expression "(*(code *)(puVar1 + -0x1cbc))()" (parenthesized_expression "(*(code *)(puVar1 + -0x1cbc))" (( "(") (pointer_expression "*(code *)(puVar1 + -0x1cbc)" (* "*") (cast_expression "(code *)(puVar1 + -0x1cbc)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1cbc)" (( "(") (binary_expression "puVar1 + -0x1cbc" (identifier "puVar1") (+ "+") (number_literal "-0x1cbc")) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (iVar4 != 0) goto LAB_000a3bd0;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000a3bd0;" (goto "goto") (statement_identifier "LAB_000a3bd0") (; ";"))) (if_statement "if (uVar5 == 0) goto LAB_000a3c3c;" (if "if") (parenthesized_expression "(uVar5 == 0)" (( "(") (binary_expression "uVar5 == 0" (identifier "uVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000a3c3c;" (goto "goto") (statement_identifier "LAB_000a3c3c") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))\n                )" (( "(") (binary_expression "((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))" (parenthesized_expression "((int *)0x1 < local_34)" (( "(") (binary_expression "(int *)0x1 < local_34" (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (< "<") (identifier "local_34")) () ")")) (&& "&&") (parenthesized_expression "(piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))" (( "(") (comma_expression "piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c)" (assignment_expression "piVar7 = local_34" (identifier "piVar7") (= "=") (identifier "local_34")) (, ",") (binary_expression "local_34 <= *(int **)(iVar8 + 0x2c)" (identifier "local_34") (<= "<=") (pointer_expression "*(int **)(iVar8 + 0x2c)" (* "*") (cast_expression "(int **)(iVar8 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar8 + 0x2c)" (( "(") (binary_expression "iVar8 + 0x2c" (identifier "iVar8") (+ "+") (number_literal "0x2c")) () ")")))))) () ")"))) () ")")) (; ";")) (} "}"))) (expression_statement "local_30 = (int *)0x0;" (assignment_expression "local_30 = (int *)0x0" (identifier "local_30") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_34 = (int *)0x0;" (assignment_expression "local_34 = (int *)0x0" (identifier "local_34") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);" (assignment_expression "iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" (identifier "iVar4") (= "=") (call_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01)" (parenthesized_expression "(*(code *)(PTR_LAB_0015b740 + -0x75c0))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0015b740 + -0x75c0)" (* "*") (cast_expression "(code *)(PTR_LAB_0015b740 + -0x75c0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0015b740 + -0x75c0)" (( "(") (binary_expression "PTR_LAB_0015b740 + -0x75c0" (identifier "PTR_LAB_0015b740") (+ "+") (number_literal "-0x75c0")) () ")")))) () ")")) (argument_list "(0x10f01)" (( "(") (number_literal "0x10f01") () ")")))) (; ";")) (goto_statement "goto LAB_000a3bd0;" (goto "goto") (statement_identifier "LAB_000a3bd0") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_000a3c3c:\n  iVar4 = 0;" (statement_identifier "LAB_000a3c3c") (: ":") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_000a3bd0:\n  if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" (statement_identifier "LAB_000a3bd0") (: ":") (if_statement "if (local_2c != *(int *)puVar3) {\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" (if "if") (parenthesized_expression "(local_2c != *(int *)puVar3)" (( "(") (binary_expression "local_2c != *(int *)puVar3" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    iVar4 = local_2c;\n    (*(code *)PTR___stack_chk_fail_0015ba10)();\n    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));\n    *piVar6 = iVar4;\n    return iVar4;\n  }" ({ "{") (expression_statement "iVar4 = local_2c;" (assignment_expression "iVar4 = local_2c" (identifier "iVar4") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0015ba10)();" (call_expression "(*(code *)PTR___stack_chk_fail_0015ba10)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0015ba10)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0015ba10" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0015ba10" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0015ba10"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));" (assignment_expression "iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" (identifier "iVar4") (= "=") (call_expression "FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" (identifier "FUN_000a3528") (argument_list "(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4))" (( "(") (pointer_expression "*(undefined4 *)(iVar4 + 0x34)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x34)" (( "(") (binary_expression "iVar4 + 0x34" (identifier "iVar4") (+ "+") (number_literal "0x34")) () ")")))) (, ",") (identifier "iVar4") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "*piVar6 = iVar4;" (assignment_expression "*piVar6 = iVar4" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))

int function_1(type_1 *pPage,type_2 *var_1,type_3 *pInfo)

{
  type_4 *var_12;
  type_4 *var_11;
  type_4 *puVar3;
  int var_8;
  type_5 var_4;
  type_1 *var_2;
  type_1 *var_6;
  type_6 *pBt;
  type_7 *pcVar8;
  type_7 *pcVar9;
  type_8 var_13;
  type_1 *var_9;
  type_1 *var_14;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  var_14 = *(type_1 **)PTR___stack_chk_guard_0015ba2c;
  var_2 = (type_1 *)var_1;
  (*pPage->xParseCell)(pPage,var_1,pInfo);
  var_11 = var_3;
  var_12 = PTR_LAB_0015b65c;
  if ((type_5)pInfo->nLocal != pInfo->nPayload) {
    var_2 = (type_1 *)(var_1 + pInfo->nSize);
    if ((type_1 *)pPage->aDataEnd < var_2) {
      var_8 = (*(type_7 *)(var_3 + -0x75c0))(0x10ef0);
      goto LAB_000a3bd0;
    }
    pBt = pPage->pBt;
    var_6 = (type_1 *)var_2[-1].xParseCell;
    var_4 = pBt->usableSize - 4;
    if (var_4 == 0) {
      var_5(7);
    }
    var_4 = (((pInfo->nPayload - 1) - (type_5)pInfo->nLocal) + var_4) / var_4;
    if (var_4 != 0) {
      if (((type_1 *)0x1 < var_6) && (var_6 <= (type_1 *)pBt->nPage)) {
        pcVar8 = (type_7 *)(var_3 + -0x6d98);
        pcVar9 = (type_7 *)(var_7 + 0x2e54);
        do {
          var_9 = (type_1 *)0x0;
          var_13 = 0;
          var_4 = var_4 - 1;
          if ((var_4 != 0) &&
             (var_2 = var_6, var_8 = (*pcVar8)(pBt,var_6,&var_9,&var_13), var_8 != 0))
          goto LAB_000a3bd0;
          if ((var_9 == (type_1 *)0x0) &&
             (var_2 = (type_1 *)(*pcVar9)(pBt,var_6), var_9 = var_2, var_2 == (type_1 *)0x0))
          {
            var_8 = var_10(pBt,(type_1 *)0x0,(type_8)var_6);
          }
          else {
            var_2 = var_9;
            if (var_9->pDbPage->nRef == 1) {
              var_8 = var_10(pBt,var_9,(type_8)var_6);
            }
            else {
              var_8 = (*(type_7 *)(var_11 + -0x75c0))(0x10f15);
            }
          }
          if ((var_9 != (type_1 *)0x0) && (var_9->pDbPage != (type_9 *)0x0)) {
            (*(type_7 *)(var_12 + -0x1cbc))();
          }
          if (var_8 != 0) goto LAB_000a3bd0;
          if (var_4 == 0) goto LAB_000a3c3c;
        } while ((1 < var_13) && (var_6 = (type_1 *)var_13, var_13 <= pBt->nPage));
      }
      var_9 = (type_1 *)0x0;
      var_13 = 0;
      var_8 = (*(type_7 *)(var_3 + -0x75c0))(0x10f01);
      goto LAB_000a3bd0;
    }
  }
LAB_000a3c3c:
  var_8 = 0;
LAB_000a3bd0:
  if (var_14 != *(type_1 **)puVar3) {
    var_6 = var_14;
    (*(type_7 *)PTR___stack_chk_fail_0015ba10)();
    var_8 = var_10(var_6->pBt,var_6,var_6->pgno);
    var_2->isInit = (char)((type_5)var_8 >> 0x18);
    var_2->bBusy = (char)((type_5)var_8 >> 0x10);
    var_2->intKey = (char)((type_5)var_8 >> 8);
    var_2->intKeyLeaf = (char)var_8;
    return var_8;
  }
  return var_8;
}


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

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

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  uint uVar5;
  int *piVar6;
  int *piVar7;
  int iVar8;
  code *pcVar9;
  code *pcVar10;
  int *local_34;
  int *local_30;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_0015ba2c;
  local_2c = *(int *)PTR___stack_chk_guard_0015ba2c;
  piVar6 = param_2;
  (**(code **)(param_1 + 0x50))();
  puVar2 = PTR_LAB_0015b740;
  puVar1 = PTR_LAB_0015b65c;
  if ((uint)*(ushort *)(param_3 + 0x10) != *(uint *)(param_3 + 0xc)) {
    piVar6 = (int *)((int)param_2 + (uint)*(ushort *)(param_3 + 0x12));
    if (*(int **)(param_1 + 0x3c) < piVar6) {
      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10ef0);
      goto LAB_000a3bd0;
    }
    iVar8 = *(int *)(param_1 + 0x34);
    piVar7 = (int *)piVar6[-1];
    uVar5 = *(int *)(iVar8 + 0x24) - 4;
    if (uVar5 == 0) {
      trap(7);
    }
    uVar5 = (((*(uint *)(param_3 + 0xc) - 1) - (uint)*(ushort *)(param_3 + 0x10)) + uVar5) / uVar5;
    if (uVar5 != 0) {
      if ((&SUB_00000002 <= piVar7) && (piVar7 <= *(int **)(iVar8 + 0x2c))) {
        pcVar9 = (code *)(PTR_LAB_0015b740 + -0x6d98);
        pcVar10 = (code *)(PTR_LAB_0015b6d8 + 0x2e54);
        do {
          local_30 = (int *)0x0;
          local_34 = (int *)0x0;
          uVar5 = uVar5 - 1;
          if ((uVar5 != 0) &&
             (piVar6 = piVar7, iVar4 = (*pcVar9)(iVar8,piVar7,&local_30,&local_34), iVar4 != 0))
          goto LAB_000a3bd0;
          if ((local_30 == (int *)0x0) &&
             (piVar6 = (int *)(*pcVar10)(iVar8,piVar7), local_30 = piVar6, piVar6 == (int *)0x0)) {
            iVar4 = FUN_000a3528(iVar8,0,piVar7);
          }
          else {
            piVar6 = local_30;
            if (*(short *)(local_30[0x12] + 0x1e) == 1) {
              iVar4 = FUN_000a3528(iVar8);
            }
            else {
              iVar4 = (*(code *)(puVar2 + -0x75c0))(0x10f15,local_30,piVar7);
            }
          }
          if ((local_30 != (int *)0x0) && (local_30[0x12] != 0)) {
            (*(code *)(puVar1 + -0x1cbc))();
          }
          if (iVar4 != 0) goto LAB_000a3bd0;
          if (uVar5 == 0) goto LAB_000a3c3c;
        } while (((int *)0x1 < local_34) && (piVar7 = local_34, local_34 <= *(int **)(iVar8 + 0x2c))
                );
      }
      local_30 = (int *)0x0;
      local_34 = (int *)0x0;
      iVar4 = (*(code *)(PTR_LAB_0015b740 + -0x75c0))(0x10f01);
      goto LAB_000a3bd0;
    }
  }
LAB_000a3c3c:
  iVar4 = 0;
LAB_000a3bd0:
  if (local_2c != *(int *)puVar3) {
    iVar4 = local_2c;
    (*(code *)PTR___stack_chk_fail_0015ba10)();
    iVar4 = FUN_000a3528(*(undefined4 *)(iVar4 + 0x34),iVar4,*(undefined4 *)(iVar4 + 4));
    *piVar6 = iVar4;
    return iVar4;
  }
  return iVar4;
}

