
Fts5ExprPhrase *
sqlite3Fts5ParseTerm(Fts5Parse *pParse,Fts5ExprPhrase *pAppend,Fts5Token *pToken,int bPrefix)

{
  Fts5ExprPhrase *pFVar1;
  undefined4 uVar2;
  int iVar3;
  Fts5ExprPhrase **ppFVar4;
  int iVar5;
  Fts5ExprPhrase *pFVar6;
  Fts5ExprPhrase *pPhrase;
  Fts5Config *pFVar7;
  undefined *puVar8;
  int rc;
  TokenCtx sCtx;
  
  iVar5 = *(int *)PTR___stack_chk_guard_0018fecc;
  pFVar7 = pParse->pConfig;
  sCtx.rc = 0;
  rc = 0;
  pPhrase = (Fts5ExprPhrase *)pToken->n;
  pFVar6 = (Fts5ExprPhrase *)pToken->p;
  sCtx.pPhrase = pAppend;
  pFVar1 = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc);
  iVar3 = rc;
  if (rc == 0) {
    pFVar6 = (Fts5ExprPhrase *)0x3;
    if (bPrefix == 0) {
      pFVar6 = (Fts5ExprPhrase *)0x1;
    }
    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);
    uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);
    pPhrase = pFVar1;
    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))
                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);
    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);
    if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {
      pParse->rc = iVar3;
      goto LAB_000dd4bc;
    }
    if (pAppend == (Fts5ExprPhrase *)0x0) {
      if ((pParse->nPhrase & 7U) != 0) {
LAB_000dd574:
        pParse->nPhrase = pParse->nPhrase + 1;
        goto LAB_000dd51c;
      }
      pPhrase = (Fts5ExprPhrase *)0x0;
      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);
      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {
        pParse->apPhrase = ppFVar4;
        goto LAB_000dd574;
      }
      pParse->rc = 7;
      fts5ExprPhraseFree(sCtx.pPhrase);
      pFVar1 = (Fts5ExprPhrase *)0x0;
    }
    else {
LAB_000dd51c:
      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {
        pPhrase = (Fts5ExprPhrase *)0x0;
        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);
      }
      else if ((sCtx.pPhrase)->nTerm != 0) {
        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;
      }
      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;
      pFVar1 = sCtx.pPhrase;
    }
  }
  else {
    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);
    pParse->rc = iVar3;
LAB_000dd4bc:
    fts5ExprPhraseFree(sCtx.pPhrase);
    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;
    pFVar1 = sCtx.pPhrase;
  }
  if (iVar5 == *(int *)PTR___stack_chk_guard_0018fecc) {
    return pFVar1;
  }
  puVar8 = PTR___stack_chk_fail_0018fea0;
  (*(code *)PTR___stack_chk_fail_0018fea0)();
  if (*(int *)(iVar5 + 8) == 0) {
    if (pPhrase == (Fts5ExprPhrase *)0x0) {
      return pFVar6;
    }
    if (pFVar6 == (Fts5ExprPhrase *)0x0) {
      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);
      if (pFVar1 == (Fts5ExprPhrase *)0x0) {
        *(undefined4 *)(iVar5 + 8) = 7;
        goto LAB_000dd754;
      }
      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);
    }
    else {
      pFVar1 = pFVar6;
      if ((((pFVar6->poslist).n & 7U) == 0) &&
         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),
         pFVar1 == (Fts5ExprPhrase *)0x0)) {
        *(undefined4 *)(iVar5 + 8) = 7;
        goto LAB_000dd754;
      }
    }
    iVar3 = (pFVar1->poslist).n;
    if (0 < iVar3) {
      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);
      if (pPhrase->nTerm == 0) {
        fts5ExprPhraseFree(pPhrase);
        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;
        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;
        pPhrase = pFVar6;
      }
      else if (pFVar6->nTerm == 0) {
        fts5ExprPhraseFree(pFVar6);
        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =
             pPhrase;
        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;
        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;
      }
      iVar3 = (pFVar1->poslist).n;
    }
    (pFVar1->poslist).n = iVar3 + 1;
    *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;
    return pFVar1;
  }
LAB_000dd754:
  sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6);
  fts5ExprPhraseFree(pPhrase);
  return (Fts5ExprPhrase *)0x0;
}



int FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  undefined *puVar7;
  int local_30;
  int local_2c;
  int local_28;
  int local_24;
  
  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;
  uVar6 = *param_1;
  local_28 = 0;
  local_30 = 0;
  iVar5 = param_3[1];
  iVar4 = *param_3;
  local_2c = param_2;
  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);
  iVar3 = local_30;
  if (local_30 == 0) {
    iVar4 = 3;
    if (param_4 == 0) {
      iVar4 = 1;
    }
    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);
    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);
    iVar5 = iVar1;
    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))
                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);
    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);
    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {
      param_1[2] = iVar3;
      goto LAB_000dd4bc;
    }
    if (param_2 == 0) {
      if ((param_1[3] & 7) != 0) {
LAB_000dd574:
        param_1[3] = param_1[3] + 1;
        goto LAB_000dd51c;
      }
      iVar5 = 0;
      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);
      if (iVar3 != 0) {
        param_1[4] = iVar3;
        goto LAB_000dd574;
      }
      param_1[2] = 7;
      FUN_000dcafc(local_2c);
      iVar3 = 0;
    }
    else {
LAB_000dd51c:
      if (local_2c == 0) {
        iVar5 = 0;
        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);
      }
      else if (*(int *)(local_2c + 0x10) != 0) {
        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;
      }
      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;
      iVar3 = local_2c;
    }
  }
  else {
    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);
    param_1[2] = iVar3;
LAB_000dd4bc:
    FUN_000dcafc(local_2c);
    local_2c = 0;
    iVar3 = local_2c;
  }
  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {
    return iVar3;
  }
  iVar3 = local_24;
  puVar7 = PTR___stack_chk_fail_0018fea0;
  (*(code *)PTR___stack_chk_fail_0018fea0)();
  if (*(int *)(iVar3 + 8) == 0) {
    if (iVar5 == 0) {
      return iVar4;
    }
    if (iVar4 == 0) {
      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);
      if (iVar1 == 0) {
        *(undefined4 *)(iVar3 + 8) = 7;
        goto LAB_000dd754;
      }
      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);
    }
    else {
      iVar1 = iVar4;
      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&
         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {
        *(undefined4 *)(iVar3 + 8) = 7;
        goto LAB_000dd754;
      }
    }
    iVar4 = *(int *)(iVar1 + 8);
    if (0 < iVar4) {
      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);
      if (*(int *)(iVar5 + 0x10) == 0) {
        FUN_000dcafc(iVar5);
        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;
        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;
        iVar5 = iVar4;
      }
      else if (*(int *)(iVar4 + 0x10) == 0) {
        FUN_000dcafc(iVar4);
        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;
        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;
        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;
      }
      iVar4 = *(int *)(iVar1 + 8);
    }
    *(int *)(iVar1 + 8) = iVar4 + 1;
    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;
    return iVar1;
  }
LAB_000dd754:
  FUN_000dcc68(iVar4);
  FUN_000dcafc(iVar5);
  return 0;
}


lui gp,0xc
addiu gp,gp,-0x5a74
addu gp,gp,t9
addiu sp,sp,-0x50
sw ra,0x4c(sp)
sw s5,0x48(sp)
sw s4,0x44(sp)
sw s3,0x40(sp)
sw s2,0x3c(sp)
sw s1,0x38(sp)
sw s0,0x34(sp)
sw gp,0x18(sp)
or s1,a0,zero
or s3,a1,zero
or v0,a2,zero
or s4,a3,zero
lw v1,-0x7a54(gp)
lw v1,0x0(v1)
sw v1,0x2c(sp)
lw s5,0x0(a0)
sw zero,0x28(sp)
sw a1,0x24(sp)
sw zero,0x20(sp)
lw a2,0x4(a2)
lw a1,0x0(v0)
addiu a0,sp,0x20
lw t9,-0x7cfc(gp)
addiu t9,t9,-0x6f88
jalr t9
_nop
lw gp,0x18(sp)
lw s0,0x20(sp)
bne s0,zero,0x000dd5fc
_or s2,v0,zero
li s0,0x3
li v0,0x1
movz s0,v0,s4
or a0,s2,zero
lw t9,-0x7d64(gp)
addiu t9,t9,0x2284
jalr t9
_nop
lw gp,0x18(sp)
or a0,s2,zero
lw t9,-0x7af8(gp)
jalr t9
_nop
lw gp,0x18(sp)
lw v1,-0x7c94(gp)
addiu v1,v1,0x1320
sw v1,0x14(sp)
addiu v1,sp,0x24
sw v1,0x10(sp)
or a3,v0,zero
or a2,s2,zero
or a1,s0,zero
or a0,s5,zero
lw t9,-0x7d64(gp)
addiu t9,t9,0x22ec
jalr t9
_nop
lw gp,0x18(sp)
or s0,v0,zero
or a0,s2,zero
lw t9,-0x7fa8(gp)
jalr t9
_nop
lw gp,0x18(sp)
bne s0,zero,0x000dd4b8
_nop
lw s0,0x28(sp)
beq s0,zero,0x000dd514
_nop
sw s0,0x8(s1)
lw a0,0x24(sp)
lw t9,-0x7d48(gp)
addiu t9,t9,-0x3504
bal 0x000dcafc
_nop
lw gp,0x18(sp)
sw zero,0x24(sp)
lw s0,0x24(sp)
or v0,s0,zero
lw a0,0x2c(sp)
lw v1,-0x7a54(gp)
lw v1,0x0(v1)
bne a0,v1,0x000dd618
_lw ra,0x4c(sp)
lw s5,0x48(sp)
lw s4,0x44(sp)
lw s3,0x40(sp)
lw s2,0x3c(sp)
lw s1,0x38(sp)
lw s0,0x34(sp)
jr ra
_addiu sp,sp,0x50
beq s3,zero,0x000dd564
_nop
lw v0,0x24(sp)
beq v0,zero,0x000dd5d8
_li a3,0x24
lw v1,0x10(v0)
beq v1,zero,0x000dd53c
_sll v1,v1,0x4
addu v0,v0,v1
sb s4,0x4(v0)
lw v0,0xc(s1)
lui v1,0x3fff
ori v1,v1,0xffff
addu v0,v0,v1
lw v1,0x10(s1)
sll v0,v0,0x2
addu v0,v1,v0
lw v1,0x24(sp)
b 0x000dd4d8
_sw v1,0x0(v0)
lw a3,0xc(s1)
andi v0,a3,0x7
beq v0,zero,0x000dd584
_addiu a3,a3,0x8
lw v0,0xc(s1)
addiu v0,v0,0x1
b 0x000dd51c
_sw v0,0xc(s1)
or a2,zero,zero
sll a3,a3,0x2
lw a0,0x10(s1)
lw t9,-0x7f34(gp)
jalr t9
_nop
lw gp,0x18(sp)
beq v0,zero,0x000dd5b0
_or s0,v0,zero
b 0x000dd574
_sw v0,0x10(s1)
li v0,0x7
sw v0,0x8(s1)
lw a0,0x24(sp)
lw t9,-0x7d48(gp)
addiu t9,t9,-0x3504
bal 0x000dcafc
_nop
lw gp,0x18(sp)
b 0x000dd4e0
_or v0,s0,zero
or a2,zero,zero
addiu a0,s1,0x8
lw t9,-0x7cfc(gp)
addiu t9,t9,-0x60c0
jalr t9
_nop
lw gp,0x18(sp)
b 0x000dd53c
_sw v0,0x24(sp)
or a0,v0,zero
lw t9,-0x7fa8(gp)
jalr t9
_nop
lw gp,0x18(sp)
b 0x000dd4bc
_sw s0,0x8(s1)
lw t9,-0x7a80(gp)
jalr t9
_nop
(translation_unit "int FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}\n\n" (function_definition "int FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}" primitive_type (function_declarator "FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int *param_3,int param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_0018fecc;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_0018fecc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" * (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = *param_1;" (assignment_expression "uVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = param_3[1];" (assignment_expression "iVar5 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *param_3;" (assignment_expression "iVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "local_2c = param_2;" (assignment_expression "local_2c = param_2" identifier = identifier) ;) (expression_statement "iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);" (assignment_expression "iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30)" identifier = (call_expression "(*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30)" (parenthesized_expression "(*(code *)(PTR_DAT_0018fc24 + -0x6f88))" ( (pointer_expression "*(code *)(PTR_DAT_0018fc24 + -0x6f88)" * (cast_expression "(code *)(PTR_DAT_0018fc24 + -0x6f88)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0018fc24 + -0x6f88)" ( (binary_expression "PTR_DAT_0018fc24 + -0x6f88" identifier + number_literal) )))) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) (if_statement "if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }" { (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (if_statement "if (param_4 == 0) {\n      iVar4 = 1;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = 1;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (expression_statement "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x2284)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x2284)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + 0x2284)" ( (binary_expression "PTR_LAB_0018fbbc + 0x2284" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1)" identifier = (call_expression "(*(code *)PTR_strlen_0018fe28)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_0018fe28)" ( (pointer_expression "*(code *)PTR_strlen_0018fe28" * (cast_expression "(code *)PTR_strlen_0018fe28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x22ec)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x22ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + 0x22ec)" ( (binary_expression "PTR_LAB_0018fbbc + 0x22ec" identifier + number_literal) )))) )) (argument_list "(uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" ( identifier , identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) , (binary_expression "PTR_LAB_0018fc8c + 0x1320" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(iVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (if_statement "if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }" if (parenthesized_expression "((iVar3 != 0) || (iVar3 = local_28, local_28 != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = local_28, local_28 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = local_28, local_28 != 0)" ( (comma_expression "iVar3 = local_28, local_28 != 0" (assignment_expression "iVar3 = local_28" identifier = identifier) , (binary_expression "local_28 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }" { (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_000dd4bc;" goto statement_identifier ;) })) (if_statement "if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }" { (if_statement "if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }" if (parenthesized_expression "((param_1[3] & 7) != 0)" ( (binary_expression "(param_1[3] & 7) != 0" (parenthesized_expression "(param_1[3] & 7)" ( (binary_expression "param_1[3] & 7" (subscript_expression "param_1[3]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }" { (labeled_statement "LAB_000dd574:\n        param_1[3] = param_1[3] + 1;" statement_identifier : (expression_statement "param_1[3] = param_1[3] + 1;" (assignment_expression "param_1[3] = param_1[3] + 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1[3] + 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal)) ;)) (goto_statement "goto LAB_000dd51c;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);" (assignment_expression "iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4])" identifier = (call_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4])" (parenthesized_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)" ( (pointer_expression "*(code *)PTR_sqlite3_realloc64_0018f9ec" * (cast_expression "(code *)PTR_sqlite3_realloc64_0018f9ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }" { (expression_statement "param_1[4] = iVar3;" (assignment_expression "param_1[4] = iVar3" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_000dd574;" goto statement_identifier ;) })) (expression_statement "param_1[2] = 7;" (assignment_expression "param_1[2] = 7" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_000dcafc(local_2c);" (call_expression "FUN_000dcafc(local_2c)" identifier (argument_list "(local_2c)" ( identifier ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" else (compound_statement "{\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" { (labeled_statement "LAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" statement_identifier : (if_statement "if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" if (parenthesized_expression "(local_2c == 0)" ( (binary_expression "local_2c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);" (assignment_expression "local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2)" identifier = (call_expression "(*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2)" (parenthesized_expression "(*(code *)(PTR_DAT_0018fc24 + -0x60c0))" ( (pointer_expression "*(code *)(PTR_DAT_0018fc24 + -0x60c0)" * (cast_expression "(code *)(PTR_DAT_0018fc24 + -0x60c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0018fc24 + -0x60c0)" ( (binary_expression "PTR_DAT_0018fc24 + -0x60c0" identifier + number_literal) )))) )) (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) }) (else_clause "else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" else (if_statement "if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" if (parenthesized_expression "(*(int *)(local_2c + 0x10) != 0)" ( (binary_expression "*(int *)(local_2c + 0x10) != 0" (pointer_expression "*(int *)(local_2c + 0x10)" * (cast_expression "(int *)(local_2c + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 0x10)" ( (binary_expression "local_2c + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" { (expression_statement "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;" (assignment_expression "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4" (pointer_expression "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" * (cast_expression "(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" ( (binary_expression "local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4" (binary_expression "local_2c + *(int *)(local_2c + 0x10) * 0x10" identifier + (binary_expression "*(int *)(local_2c + 0x10) * 0x10" (pointer_expression "*(int *)(local_2c + 0x10)" * (cast_expression "(int *)(local_2c + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 0x10)" ( (binary_expression "local_2c + 0x10" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) }))))) (expression_statement "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;" (assignment_expression "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c" (pointer_expression "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" * (cast_expression "(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" ( (binary_expression "param_1[4] + (param_1[3] + 0x3fffffff) * 4" (subscript_expression "param_1[4]" identifier [ number_literal ]) + (binary_expression "(param_1[3] + 0x3fffffff) * 4" (parenthesized_expression "(param_1[3] + 0x3fffffff)" ( (binary_expression "param_1[3] + 0x3fffffff" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal) )) * number_literal)) )))) = identifier) ;) (expression_statement "iVar3 = local_2c;" (assignment_expression "iVar3 = local_2c" identifier = identifier) ;) }))) }) (else_clause "else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" else (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(iVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_000dd4bc:\n    FUN_000dcafc(local_2c);" statement_identifier : (expression_statement "FUN_000dcafc(local_2c);" (call_expression "FUN_000dcafc(local_2c)" identifier (argument_list "(local_2c)" ( identifier ))) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar3 = local_2c;" (assignment_expression "iVar3 = local_2c" identifier = identifier) ;) }))) (if_statement "if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_24 == *(int *)PTR___stack_chk_guard_0018fecc)" ( (binary_expression "local_24 == *(int *)PTR___stack_chk_guard_0018fecc" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" * (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_0018fea0;" (assignment_expression "puVar7 = PTR___stack_chk_fail_0018fea0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0018fea0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0018fea0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0018fea0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0018fea0" * (cast_expression "(code *)PTR___stack_chk_fail_0018fea0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 8) == 0)" ( (binary_expression "*(int *)(iVar3 + 8) == 0" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }" { (if_statement "if (iVar5 == 0) {\n      return iVar4;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar4;\n    }" { (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }" { (expression_statement "iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30)" identifier = (call_expression "(**(code **)(puVar7 + 0xb23ac))(0,0x30)" (parenthesized_expression "(**(code **)(puVar7 + 0xb23ac))" ( (pointer_expression "**(code **)(puVar7 + 0xb23ac)" * (pointer_expression "*(code **)(puVar7 + 0xb23ac)" * (cast_expression "(code **)(puVar7 + 0xb23ac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb23ac)" ( (binary_expression "puVar7 + 0xb23ac" identifier + number_literal) ))))) )) (argument_list "(0,0x30)" ( number_literal , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" { (expression_statement "*(undefined4 *)(iVar3 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000dd754;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);" (call_expression "(**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30)" (parenthesized_expression "(**(code **)(puVar7 + 0xb27dc))" ( (pointer_expression "**(code **)(puVar7 + 0xb27dc)" * (pointer_expression "*(code **)(puVar7 + 0xb27dc)" * (cast_expression "(code **)(puVar7 + 0xb27dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb27dc)" ( (binary_expression "puVar7 + 0xb27dc" identifier + number_literal) ))))) )) (argument_list "(iVar1,0,0x30)" ( identifier , number_literal , number_literal ))) ;) }) (else_clause "else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" else (compound_statement "{\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" { (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" identifier = identifier) ;) (if_statement "if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" if (parenthesized_expression "(((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0))" ( (binary_expression "((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)" (parenthesized_expression "((*(uint *)(iVar4 + 8) & 7) == 0)" ( (binary_expression "(*(uint *)(iVar4 + 8) & 7) == 0" (parenthesized_expression "(*(uint *)(iVar4 + 8) & 7)" ( (binary_expression "*(uint *)(iVar4 + 8) & 7" (pointer_expression "*(uint *)(iVar4 + 8)" * (cast_expression "(uint *)(iVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)" ( (comma_expression "iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0xb23c8))(iVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0xb23c8))" ( (pointer_expression "**(code **)(puVar7 + 0xb23c8)" * (pointer_expression "*(code **)(puVar7 + 0xb23c8)" * (cast_expression "(code **)(puVar7 + 0xb23c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb23c8)" ( (binary_expression "puVar7 + 0xb23c8" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" { (expression_statement "*(undefined4 *)(iVar3 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000dd754;" goto statement_identifier ;) })) }))) (expression_statement "iVar4 = *(int *)(iVar1 + 8);" (assignment_expression "iVar4 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }" { (expression_statement "iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);" (assignment_expression "iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" * (cast_expression "(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (iVar4 + 1) * 4 + 4)" ( (binary_expression "iVar1 + (iVar4 + 1) * 4 + 4" (binary_expression "iVar1 + (iVar4 + 1) * 4" identifier + (binary_expression "(iVar4 + 1) * 4" (parenthesized_expression "(iVar4 + 1)" ( (binary_expression "iVar4 + 1" identifier + number_literal) )) * number_literal)) + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" if (parenthesized_expression "(*(int *)(iVar5 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar5 + 0x10) == 0" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }" { (expression_statement "FUN_000dcafc(iVar5);" (call_expression "FUN_000dcafc(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;" (assignment_expression "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) }) (else_clause "else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" else (if_statement "if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" if (parenthesized_expression "(*(int *)(iVar4 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x10) == 0" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" { (expression_statement "FUN_000dcafc(iVar4);" (call_expression "FUN_000dcafc(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" ( (binary_expression "*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + (binary_expression "(*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4" (parenthesized_expression "(*(int *)(iVar3 + 0xc) + 0x3ffffffe)" ( (binary_expression "*(int *)(iVar3 + 0xc) + 0x3ffffffe" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal) )) * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;" (assignment_expression "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal)) ;) })))) (expression_statement "iVar4 = *(int *)(iVar1 + 8);" (assignment_expression "iVar4 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar1 + 8) = iVar4 + 1;" (assignment_expression "*(int *)(iVar1 + 8) = iVar4 + 1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;" (assignment_expression "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5" (pointer_expression "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4)" * (cast_expression "(int *)(iVar1 + (iVar4 + 2) * 4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (iVar4 + 2) * 4 + 4)" ( (binary_expression "iVar1 + (iVar4 + 2) * 4 + 4" (binary_expression "iVar1 + (iVar4 + 2) * 4" identifier + (binary_expression "(iVar4 + 2) * 4" (parenthesized_expression "(iVar4 + 2)" ( (binary_expression "iVar4 + 2" identifier + number_literal) )) * number_literal)) + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })) (labeled_statement "LAB_000dd754:\n  FUN_000dcc68(iVar4);" statement_identifier : (expression_statement "FUN_000dcc68(iVar4);" (call_expression "FUN_000dcc68(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;)) (expression_statement "FUN_000dcafc(iVar5);" (call_expression "FUN_000dcafc(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "Fts5ExprPhrase *\nsqlite3Fts5ParseTerm(Fts5Parse *pParse,Fts5ExprPhrase *pAppend,Fts5Token *pToken,int bPrefix)\n\n{\n  Fts5ExprPhrase *pFVar1;\n  undefined4 uVar2;\n  int iVar3;\n  Fts5ExprPhrase **ppFVar4;\n  int iVar5;\n  Fts5ExprPhrase *pFVar6;\n  Fts5ExprPhrase *pPhrase;\n  Fts5Config *pFVar7;\n  undefined *puVar8;\n  int rc;\n  TokenCtx sCtx;\n  \n  iVar5 = *(int *)PTR___stack_chk_guard_0018fecc;\n  pFVar7 = pParse->pConfig;\n  sCtx.rc = 0;\n  rc = 0;\n  pPhrase = (Fts5ExprPhrase *)pToken->n;\n  pFVar6 = (Fts5ExprPhrase *)pToken->p;\n  sCtx.pPhrase = pAppend;\n  pFVar1 = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc);\n  iVar3 = rc;\n  if (rc == 0) {\n    pFVar6 = (Fts5ExprPhrase *)0x3;\n    if (bPrefix == 0) {\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);\n    pPhrase = pFVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (pAppend == (Fts5ExprPhrase *)0x0) {\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }\n    else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    pParse->rc = iVar3;\nLAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);\n    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;\n    pFVar1 = sCtx.pPhrase;\n  }\n  if (iVar5 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return pFVar1;\n  }\n  puVar8 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar5 + 8) == 0) {\n    if (pPhrase == (Fts5ExprPhrase *)0x0) {\n      return pFVar6;\n    }\n    if (pFVar6 == (Fts5ExprPhrase *)0x0) {\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }\n    else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar3 = (pFVar1->poslist).n;\n    if (0 < iVar3) {\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }\n    (pFVar1->poslist).n = iVar3 + 1;\n    *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;\n    return pFVar1;\n  }\nLAB_000dd754:\n  sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6);\n  fts5ExprPhraseFree(pPhrase);\n  return (Fts5ExprPhrase *)0x0;\n}\n\n" (function_definition "Fts5ExprPhrase *\nsqlite3Fts5ParseTerm(Fts5Parse *pParse,Fts5ExprPhrase *pAppend,Fts5Token *pToken,int bPrefix)\n\n{\n  Fts5ExprPhrase *pFVar1;\n  undefined4 uVar2;\n  int iVar3;\n  Fts5ExprPhrase **ppFVar4;\n  int iVar5;\n  Fts5ExprPhrase *pFVar6;\n  Fts5ExprPhrase *pPhrase;\n  Fts5Config *pFVar7;\n  undefined *puVar8;\n  int rc;\n  TokenCtx sCtx;\n  \n  iVar5 = *(int *)PTR___stack_chk_guard_0018fecc;\n  pFVar7 = pParse->pConfig;\n  sCtx.rc = 0;\n  rc = 0;\n  pPhrase = (Fts5ExprPhrase *)pToken->n;\n  pFVar6 = (Fts5ExprPhrase *)pToken->p;\n  sCtx.pPhrase = pAppend;\n  pFVar1 = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc);\n  iVar3 = rc;\n  if (rc == 0) {\n    pFVar6 = (Fts5ExprPhrase *)0x3;\n    if (bPrefix == 0) {\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);\n    pPhrase = pFVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (pAppend == (Fts5ExprPhrase *)0x0) {\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }\n    else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    pParse->rc = iVar3;\nLAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);\n    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;\n    pFVar1 = sCtx.pPhrase;\n  }\n  if (iVar5 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return pFVar1;\n  }\n  puVar8 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar5 + 8) == 0) {\n    if (pPhrase == (Fts5ExprPhrase *)0x0) {\n      return pFVar6;\n    }\n    if (pFVar6 == (Fts5ExprPhrase *)0x0) {\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }\n    else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar3 = (pFVar1->poslist).n;\n    if (0 < iVar3) {\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }\n    (pFVar1->poslist).n = iVar3 + 1;\n    *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;\n    return pFVar1;\n  }\nLAB_000dd754:\n  sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6);\n  fts5ExprPhraseFree(pPhrase);\n  return (Fts5ExprPhrase *)0x0;\n}" type_identifier (pointer_declarator "*\nsqlite3Fts5ParseTerm(Fts5Parse *pParse,Fts5ExprPhrase *pAppend,Fts5Token *pToken,int bPrefix)" * (function_declarator "sqlite3Fts5ParseTerm(Fts5Parse *pParse,Fts5ExprPhrase *pAppend,Fts5Token *pToken,int bPrefix)" identifier (parameter_list "(Fts5Parse *pParse,Fts5ExprPhrase *pAppend,Fts5Token *pToken,int bPrefix)" ( (parameter_declaration "Fts5Parse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "Fts5ExprPhrase *pAppend" type_identifier (pointer_declarator "*pAppend" * identifier)) , (parameter_declaration "Fts5Token *pToken" type_identifier (pointer_declarator "*pToken" * identifier)) , (parameter_declaration "int bPrefix" primitive_type identifier) )))) (compound_statement "{\n  Fts5ExprPhrase *pFVar1;\n  undefined4 uVar2;\n  int iVar3;\n  Fts5ExprPhrase **ppFVar4;\n  int iVar5;\n  Fts5ExprPhrase *pFVar6;\n  Fts5ExprPhrase *pPhrase;\n  Fts5Config *pFVar7;\n  undefined *puVar8;\n  int rc;\n  TokenCtx sCtx;\n  \n  iVar5 = *(int *)PTR___stack_chk_guard_0018fecc;\n  pFVar7 = pParse->pConfig;\n  sCtx.rc = 0;\n  rc = 0;\n  pPhrase = (Fts5ExprPhrase *)pToken->n;\n  pFVar6 = (Fts5ExprPhrase *)pToken->p;\n  sCtx.pPhrase = pAppend;\n  pFVar1 = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc);\n  iVar3 = rc;\n  if (rc == 0) {\n    pFVar6 = (Fts5ExprPhrase *)0x3;\n    if (bPrefix == 0) {\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);\n    pPhrase = pFVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (pAppend == (Fts5ExprPhrase *)0x0) {\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }\n    else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    pParse->rc = iVar3;\nLAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);\n    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;\n    pFVar1 = sCtx.pPhrase;\n  }\n  if (iVar5 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return pFVar1;\n  }\n  puVar8 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar5 + 8) == 0) {\n    if (pPhrase == (Fts5ExprPhrase *)0x0) {\n      return pFVar6;\n    }\n    if (pFVar6 == (Fts5ExprPhrase *)0x0) {\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }\n    else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar3 = (pFVar1->poslist).n;\n    if (0 < iVar3) {\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }\n    (pFVar1->poslist).n = iVar3 + 1;\n    *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;\n    return pFVar1;\n  }\nLAB_000dd754:\n  sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6);\n  fts5ExprPhraseFree(pPhrase);\n  return (Fts5ExprPhrase *)0x0;\n}" { (declaration "Fts5ExprPhrase *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Fts5ExprPhrase **ppFVar4;" type_identifier (pointer_declarator "**ppFVar4" * (pointer_declarator "*ppFVar4" * identifier)) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "Fts5ExprPhrase *pFVar6;" type_identifier (pointer_declarator "*pFVar6" * identifier) ;) (declaration "Fts5ExprPhrase *pPhrase;" type_identifier (pointer_declarator "*pPhrase" * identifier) ;) (declaration "Fts5Config *pFVar7;" type_identifier (pointer_declarator "*pFVar7" * identifier) ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int rc;" primitive_type identifier ;) (declaration "TokenCtx sCtx;" type_identifier identifier ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_0018fecc;" (assignment_expression "iVar5 = *(int *)PTR___stack_chk_guard_0018fecc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" * (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pFVar7 = pParse->pConfig;" (assignment_expression "pFVar7 = pParse->pConfig" identifier = (field_expression "pParse->pConfig" identifier -> field_identifier)) ;) (expression_statement "sCtx.rc = 0;" (assignment_expression "sCtx.rc = 0" (field_expression "sCtx.rc" identifier . field_identifier) = number_literal) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (expression_statement "pPhrase = (Fts5ExprPhrase *)pToken->n;" (assignment_expression "pPhrase = (Fts5ExprPhrase *)pToken->n" identifier = (cast_expression "(Fts5ExprPhrase *)pToken->n" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pToken->n" identifier -> field_identifier))) ;) (expression_statement "pFVar6 = (Fts5ExprPhrase *)pToken->p;" (assignment_expression "pFVar6 = (Fts5ExprPhrase *)pToken->p" identifier = (cast_expression "(Fts5ExprPhrase *)pToken->p" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pToken->p" identifier -> field_identifier))) ;) (expression_statement "sCtx.pPhrase = pAppend;" (assignment_expression "sCtx.pPhrase = pAppend" (field_expression "sCtx.pPhrase" identifier . field_identifier) = identifier) ;) (expression_statement "pFVar1 = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc);" (assignment_expression "pFVar1 = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc)" identifier = (cast_expression "(Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc)" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0018fc24 + -0x6f88))(&rc)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc24 + -0x6f88))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc24 + -0x6f88)" * (cast_expression "(code *)(PTR_LAB_0018fc24 + -0x6f88)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc24 + -0x6f88)" ( (binary_expression "PTR_LAB_0018fc24 + -0x6f88" identifier + number_literal) )))) )) (argument_list "(&rc)" ( (pointer_expression "&rc" & identifier) ))))) ;) (expression_statement "iVar3 = rc;" (assignment_expression "iVar3 = rc" identifier = identifier) ;) (if_statement "if (rc == 0) {\n    pFVar6 = (Fts5ExprPhrase *)0x3;\n    if (bPrefix == 0) {\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);\n    pPhrase = pFVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (pAppend == (Fts5ExprPhrase *)0x0) {\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }\n    else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    pParse->rc = iVar3;\nLAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);\n    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;\n    pFVar1 = sCtx.pPhrase;\n  }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n    pFVar6 = (Fts5ExprPhrase *)0x3;\n    if (bPrefix == 0) {\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);\n    pPhrase = pFVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (pAppend == (Fts5ExprPhrase *)0x0) {\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }\n    else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }\n  }" { (expression_statement "pFVar6 = (Fts5ExprPhrase *)0x3;" (assignment_expression "pFVar6 = (Fts5ExprPhrase *)0x3" identifier = (cast_expression "(Fts5ExprPhrase *)0x3" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (bPrefix == 0) {\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }" if (parenthesized_expression "(bPrefix == 0)" ( (binary_expression "bPrefix == 0" identifier == number_literal) )) (compound_statement "{\n      pFVar6 = (Fts5ExprPhrase *)0x1;\n    }" { (expression_statement "pFVar6 = (Fts5ExprPhrase *)0x1;" (assignment_expression "pFVar6 = (Fts5ExprPhrase *)0x1" identifier = (cast_expression "(Fts5ExprPhrase *)0x1" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1);" (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(pFVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x2284)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x2284)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + 0x2284)" ( (binary_expression "PTR_LAB_0018fbbc + 0x2284" identifier + number_literal) )))) )) (argument_list "(pFVar1)" ( identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0018fe28)(pFVar1)" identifier = (call_expression "(*(code *)PTR_strlen_0018fe28)(pFVar1)" (parenthesized_expression "(*(code *)PTR_strlen_0018fe28)" ( (pointer_expression "*(code *)PTR_strlen_0018fe28" * (cast_expression "(code *)PTR_strlen_0018fe28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar1)" ( identifier )))) ;) (expression_statement "pPhrase = pFVar1;" (assignment_expression "pPhrase = pFVar1" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x22ec)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x22ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + 0x22ec)" ( (binary_expression "PTR_LAB_0018fbbc + 0x22ec" identifier + number_literal) )))) )) (argument_list "(pFVar7,pFVar6,pFVar1,uVar2,&sCtx,PTR_LAB_0018fc8c + 0x1320)" ( identifier , identifier , identifier , identifier , (pointer_expression "&sCtx" & identifier) , (binary_expression "PTR_LAB_0018fc8c + 0x1320" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(pFVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(pFVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar1)" ( identifier ))) ;) (if_statement "if ((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)) {\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }" if (parenthesized_expression "((iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = sCtx.rc, sCtx.rc != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = sCtx.rc, sCtx.rc != 0)" ( (comma_expression "iVar3 = sCtx.rc, sCtx.rc != 0" (assignment_expression "iVar3 = sCtx.rc" identifier = (field_expression "sCtx.rc" identifier . field_identifier)) , (binary_expression "sCtx.rc != 0" (field_expression "sCtx.rc" identifier . field_identifier) != number_literal)) ))) )) (compound_statement "{\n      pParse->rc = iVar3;\n      goto LAB_000dd4bc;\n    }" { (expression_statement "pParse->rc = iVar3;" (assignment_expression "pParse->rc = iVar3" (field_expression "pParse->rc" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_000dd4bc;" goto statement_identifier ;) })) (if_statement "if (pAppend == (Fts5ExprPhrase *)0x0) {\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }\n    else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }" if (parenthesized_expression "(pAppend == (Fts5ExprPhrase *)0x0)" ( (binary_expression "pAppend == (Fts5ExprPhrase *)0x0" identifier == (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }\n      pPhrase = (Fts5ExprPhrase *)0x0;\n      ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);\n      if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }\n      pParse->rc = 7;\n      fts5ExprPhraseFree(sCtx.pPhrase);\n      pFVar1 = (Fts5ExprPhrase *)0x0;\n    }" { (if_statement "if ((pParse->nPhrase & 7U) != 0) {\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }" if (parenthesized_expression "((pParse->nPhrase & 7U) != 0)" ( (binary_expression "(pParse->nPhrase & 7U) != 0" (parenthesized_expression "(pParse->nPhrase & 7U)" ( (binary_expression "pParse->nPhrase & 7U" (field_expression "pParse->nPhrase" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;\n        goto LAB_000dd51c;\n      }" { (labeled_statement "LAB_000dd574:\n        pParse->nPhrase = pParse->nPhrase + 1;" statement_identifier : (expression_statement "pParse->nPhrase = pParse->nPhrase + 1;" (assignment_expression "pParse->nPhrase = pParse->nPhrase + 1" (field_expression "pParse->nPhrase" identifier -> field_identifier) = (binary_expression "pParse->nPhrase + 1" (field_expression "pParse->nPhrase" identifier -> field_identifier) + number_literal)) ;)) (goto_statement "goto LAB_000dd51c;" goto statement_identifier ;) })) (expression_statement "pPhrase = (Fts5ExprPhrase *)0x0;" (assignment_expression "pPhrase = (Fts5ExprPhrase *)0x0" identifier = (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase);" (assignment_expression "ppFVar4 = (Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase)" identifier = (cast_expression "(Fts5ExprPhrase **)(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase)" ( (type_descriptor "Fts5ExprPhrase **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)(pParse->apPhrase)" (parenthesized_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)" ( (pointer_expression "*(code *)PTR_sqlite3_realloc64_0018f9ec" * (cast_expression "(code *)PTR_sqlite3_realloc64_0018f9ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pParse->apPhrase)" ( (field_expression "pParse->apPhrase" identifier -> field_identifier) ))))) ;) (if_statement "if (ppFVar4 != (Fts5ExprPhrase **)0x0) {\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }" if (parenthesized_expression "(ppFVar4 != (Fts5ExprPhrase **)0x0)" ( (binary_expression "ppFVar4 != (Fts5ExprPhrase **)0x0" identifier != (cast_expression "(Fts5ExprPhrase **)0x0" ( (type_descriptor "Fts5ExprPhrase **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n        pParse->apPhrase = ppFVar4;\n        goto LAB_000dd574;\n      }" { (expression_statement "pParse->apPhrase = ppFVar4;" (assignment_expression "pParse->apPhrase = ppFVar4" (field_expression "pParse->apPhrase" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_000dd574;" goto statement_identifier ;) })) (expression_statement "pParse->rc = 7;" (assignment_expression "pParse->rc = 7" (field_expression "pParse->rc" identifier -> field_identifier) = number_literal) ;) (expression_statement "fts5ExprPhraseFree(sCtx.pPhrase);" (call_expression "fts5ExprPhraseFree(sCtx.pPhrase)" identifier (argument_list "(sCtx.pPhrase)" ( (field_expression "sCtx.pPhrase" identifier . field_identifier) ))) ;) (expression_statement "pFVar1 = (Fts5ExprPhrase *)0x0;" (assignment_expression "pFVar1 = (Fts5ExprPhrase *)0x0" identifier = (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }" else (compound_statement "{\nLAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }\n      pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;\n      pFVar1 = sCtx.pPhrase;\n    }" { (labeled_statement "LAB_000dd51c:\n      if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }" statement_identifier : (if_statement "if (sCtx.pPhrase == (Fts5ExprPhrase *)0x0) {\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }\n      else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }" if (parenthesized_expression "(sCtx.pPhrase == (Fts5ExprPhrase *)0x0)" ( (binary_expression "sCtx.pPhrase == (Fts5ExprPhrase *)0x0" (field_expression "sCtx.pPhrase" identifier . field_identifier) == (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pPhrase = (Fts5ExprPhrase *)0x0;\n        sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);\n      }" { (expression_statement "pPhrase = (Fts5ExprPhrase *)0x0;" (assignment_expression "pPhrase = (Fts5ExprPhrase *)0x0" identifier = (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc);" (assignment_expression "sCtx.pPhrase = (Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc)" (field_expression "sCtx.pPhrase" identifier . field_identifier) = (cast_expression "(Fts5ExprPhrase *)(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc)" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(PTR_LAB_0018fc24 + -0x60c0))(&pParse->rc)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fc24 + -0x60c0))" ( (pointer_expression "*(code *)(PTR_LAB_0018fc24 + -0x60c0)" * (cast_expression "(code *)(PTR_LAB_0018fc24 + -0x60c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fc24 + -0x60c0)" ( (binary_expression "PTR_LAB_0018fc24 + -0x60c0" identifier + number_literal) )))) )) (argument_list "(&pParse->rc)" ( (pointer_expression "&pParse->rc" & (field_expression "pParse->rc" identifier -> field_identifier)) ))))) ;) }) (else_clause "else if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }" else (if_statement "if ((sCtx.pPhrase)->nTerm != 0) {\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }" if (parenthesized_expression "((sCtx.pPhrase)->nTerm != 0)" ( (binary_expression "(sCtx.pPhrase)->nTerm != 0" (field_expression "(sCtx.pPhrase)->nTerm" (parenthesized_expression "(sCtx.pPhrase)" ( (field_expression "sCtx.pPhrase" identifier . field_identifier) )) -> field_identifier) != number_literal) )) (compound_statement "{\n        (sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;\n      }" { (expression_statement "(sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix;" (assignment_expression "(sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix = (u8)bPrefix" (field_expression "(sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1].bPrefix" (subscript_expression "(sCtx.pPhrase)->aTerm[(sCtx.pPhrase)->nTerm + -1]" (field_expression "(sCtx.pPhrase)->aTerm" (parenthesized_expression "(sCtx.pPhrase)" ( (field_expression "sCtx.pPhrase" identifier . field_identifier) )) -> field_identifier) [ (binary_expression "(sCtx.pPhrase)->nTerm + -1" (field_expression "(sCtx.pPhrase)->nTerm" (parenthesized_expression "(sCtx.pPhrase)" ( (field_expression "sCtx.pPhrase" identifier . field_identifier) )) -> field_identifier) + number_literal) ]) . field_identifier) = (cast_expression "(u8)bPrefix" ( (type_descriptor "u8" type_identifier) ) identifier)) ;) }))))) (expression_statement "pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase;" (assignment_expression "pParse->apPhrase[pParse->nPhrase + 0x3fffffff] = sCtx.pPhrase" (subscript_expression "pParse->apPhrase[pParse->nPhrase + 0x3fffffff]" (field_expression "pParse->apPhrase" identifier -> field_identifier) [ (binary_expression "pParse->nPhrase + 0x3fffffff" (field_expression "pParse->nPhrase" identifier -> field_identifier) + number_literal) ]) = (field_expression "sCtx.pPhrase" identifier . field_identifier)) ;) (expression_statement "pFVar1 = sCtx.pPhrase;" (assignment_expression "pFVar1 = sCtx.pPhrase" identifier = (field_expression "sCtx.pPhrase" identifier . field_identifier)) ;) }))) }) (else_clause "else {\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    pParse->rc = iVar3;\nLAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);\n    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;\n    pFVar1 = sCtx.pPhrase;\n  }" else (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0018f978)(pFVar1);\n    pParse->rc = iVar3;\nLAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);\n    sCtx.pPhrase = (Fts5ExprPhrase *)0x0;\n    pFVar1 = sCtx.pPhrase;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(pFVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(pFVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar1)" ( identifier ))) ;) (expression_statement "pParse->rc = iVar3;" (assignment_expression "pParse->rc = iVar3" (field_expression "pParse->rc" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_000dd4bc:\n    fts5ExprPhraseFree(sCtx.pPhrase);" statement_identifier : (expression_statement "fts5ExprPhraseFree(sCtx.pPhrase);" (call_expression "fts5ExprPhraseFree(sCtx.pPhrase)" identifier (argument_list "(sCtx.pPhrase)" ( (field_expression "sCtx.pPhrase" identifier . field_identifier) ))) ;)) (expression_statement "sCtx.pPhrase = (Fts5ExprPhrase *)0x0;" (assignment_expression "sCtx.pPhrase = (Fts5ExprPhrase *)0x0" (field_expression "sCtx.pPhrase" identifier . field_identifier) = (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pFVar1 = sCtx.pPhrase;" (assignment_expression "pFVar1 = sCtx.pPhrase" identifier = (field_expression "sCtx.pPhrase" identifier . field_identifier)) ;) }))) (if_statement "if (iVar5 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return pFVar1;\n  }" if (parenthesized_expression "(iVar5 == *(int *)PTR___stack_chk_guard_0018fecc)" ( (binary_expression "iVar5 == *(int *)PTR___stack_chk_guard_0018fecc" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" * (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return pFVar1;\n  }" { (return_statement "return pFVar1;" return identifier ;) })) (expression_statement "puVar8 = PTR___stack_chk_fail_0018fea0;" (assignment_expression "puVar8 = PTR___stack_chk_fail_0018fea0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0018fea0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0018fea0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0018fea0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0018fea0" * (cast_expression "(code *)PTR___stack_chk_fail_0018fea0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar5 + 8) == 0) {\n    if (pPhrase == (Fts5ExprPhrase *)0x0) {\n      return pFVar6;\n    }\n    if (pFVar6 == (Fts5ExprPhrase *)0x0) {\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }\n    else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar3 = (pFVar1->poslist).n;\n    if (0 < iVar3) {\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }\n    (pFVar1->poslist).n = iVar3 + 1;\n    *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;\n    return pFVar1;\n  }" if (parenthesized_expression "(*(int *)(iVar5 + 8) == 0)" ( (binary_expression "*(int *)(iVar5 + 8) == 0" (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (pPhrase == (Fts5ExprPhrase *)0x0) {\n      return pFVar6;\n    }\n    if (pFVar6 == (Fts5ExprPhrase *)0x0) {\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }\n    else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar3 = (pFVar1->poslist).n;\n    if (0 < iVar3) {\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }\n    (pFVar1->poslist).n = iVar3 + 1;\n    *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;\n    return pFVar1;\n  }" { (if_statement "if (pPhrase == (Fts5ExprPhrase *)0x0) {\n      return pFVar6;\n    }" if (parenthesized_expression "(pPhrase == (Fts5ExprPhrase *)0x0)" ( (binary_expression "pPhrase == (Fts5ExprPhrase *)0x0" identifier == (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return pFVar6;\n    }" { (return_statement "return pFVar6;" return identifier ;) })) (if_statement "if (pFVar6 == (Fts5ExprPhrase *)0x0) {\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }\n    else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" if (parenthesized_expression "(pFVar6 == (Fts5ExprPhrase *)0x0)" ( (binary_expression "pFVar6 == (Fts5ExprPhrase *)0x0" identifier == (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);\n      if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);\n    }" { (expression_statement "pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30);" (assignment_expression "pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30)" identifier = (cast_expression "(Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23ac))(0,0x30)" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0xb23ac))(0,0x30)" (parenthesized_expression "(**(code **)(puVar8 + 0xb23ac))" ( (pointer_expression "**(code **)(puVar8 + 0xb23ac)" * (pointer_expression "*(code **)(puVar8 + 0xb23ac)" * (cast_expression "(code **)(puVar8 + 0xb23ac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0xb23ac)" ( (binary_expression "puVar8 + 0xb23ac" identifier + number_literal) ))))) )) (argument_list "(0,0x30)" ( number_literal , number_literal ))))) ;) (if_statement "if (pFVar1 == (Fts5ExprPhrase *)0x0) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }" if (parenthesized_expression "(pFVar1 == (Fts5ExprPhrase *)0x0)" ( (binary_expression "pFVar1 == (Fts5ExprPhrase *)0x0" identifier == (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }" { (expression_statement "*(undefined4 *)(iVar5 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar5 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar5 + 8)" * (cast_expression "(undefined4 *)(iVar5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000dd754;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30);" (call_expression "(**(code **)(puVar8 + 0xb27dc))(pFVar1,0,0x30)" (parenthesized_expression "(**(code **)(puVar8 + 0xb27dc))" ( (pointer_expression "**(code **)(puVar8 + 0xb27dc)" * (pointer_expression "*(code **)(puVar8 + 0xb27dc)" * (cast_expression "(code **)(puVar8 + 0xb27dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0xb27dc)" ( (binary_expression "puVar8 + 0xb27dc" identifier + number_literal) ))))) )) (argument_list "(pFVar1,0,0x30)" ( identifier , number_literal , number_literal ))) ;) }) (else_clause "else {\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" else (compound_statement "{\n      pFVar1 = pFVar6;\n      if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" { (expression_statement "pFVar1 = pFVar6;" (assignment_expression "pFVar1 = pFVar6" identifier = identifier) ;) (if_statement "if ((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)) {\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }" if (parenthesized_expression "((((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0))" ( (binary_expression "(((pFVar6->poslist).n & 7U) == 0) &&\n         (pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)" (parenthesized_expression "(((pFVar6->poslist).n & 7U) == 0)" ( (binary_expression "((pFVar6->poslist).n & 7U) == 0" (parenthesized_expression "((pFVar6->poslist).n & 7U)" ( (binary_expression "(pFVar6->poslist).n & 7U" (field_expression "(pFVar6->poslist).n" (parenthesized_expression "(pFVar6->poslist)" ( (field_expression "pFVar6->poslist" identifier -> field_identifier) )) . field_identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "(pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0)" ( (comma_expression "pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6),\n         pFVar1 == (Fts5ExprPhrase *)0x0" (assignment_expression "pFVar1 = (Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6)" identifier = (cast_expression "(Fts5ExprPhrase *)(**(code **)(puVar8 + 0xb23c8))(pFVar6)" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0xb23c8))(pFVar6)" (parenthesized_expression "(**(code **)(puVar8 + 0xb23c8))" ( (pointer_expression "**(code **)(puVar8 + 0xb23c8)" * (pointer_expression "*(code **)(puVar8 + 0xb23c8)" * (cast_expression "(code **)(puVar8 + 0xb23c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0xb23c8)" ( (binary_expression "puVar8 + 0xb23c8" identifier + number_literal) ))))) )) (argument_list "(pFVar6)" ( identifier ))))) , (binary_expression "pFVar1 == (Fts5ExprPhrase *)0x0" identifier == (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        *(undefined4 *)(iVar5 + 8) = 7;\n        goto LAB_000dd754;\n      }" { (expression_statement "*(undefined4 *)(iVar5 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar5 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar5 + 8)" * (cast_expression "(undefined4 *)(iVar5 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000dd754;" goto statement_identifier ;) })) }))) (expression_statement "iVar3 = (pFVar1->poslist).n;" (assignment_expression "iVar3 = (pFVar1->poslist).n" identifier = (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (0 < iVar3) {\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }" if (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) (compound_statement "{\n      pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);\n      if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }\n      iVar3 = (pFVar1->poslist).n;\n    }" { (expression_statement "pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc);" (assignment_expression "pFVar6 = *(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc)" identifier = (pointer_expression "*(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc)" * (cast_expression "(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -0xc)" ( (type_descriptor "Fts5ExprPhrase **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pFVar1->aTerm + iVar3 * 4 + -0xc)" ( (binary_expression "(int)pFVar1->aTerm + iVar3 * 4 + -0xc" (binary_expression "(int)pFVar1->aTerm + iVar3 * 4" (cast_expression "(int)pFVar1->aTerm" ( (type_descriptor "int" primitive_type) ) (field_expression "pFVar1->aTerm" identifier -> field_identifier)) + (binary_expression "iVar3 * 4" identifier * number_literal)) + number_literal) ))))) ;) (if_statement "if (pPhrase->nTerm == 0) {\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }\n      else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }" if (parenthesized_expression "(pPhrase->nTerm == 0)" ( (binary_expression "pPhrase->nTerm == 0" (field_expression "pPhrase->nTerm" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        fts5ExprPhraseFree(pPhrase);\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        pPhrase = pFVar6;\n      }" { (expression_statement "fts5ExprPhraseFree(pPhrase);" (call_expression "fts5ExprPhraseFree(pPhrase)" identifier (argument_list "(pPhrase)" ( identifier ))) ;) (expression_statement "(pFVar1->poslist).n = (pFVar1->poslist).n + -1;" (assignment_expression "(pFVar1->poslist).n = (pFVar1->poslist).n + -1" (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pFVar1->poslist).n + -1" (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier) + number_literal)) ;) (expression_statement "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;" (assignment_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar5 + 0xc) + -1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pPhrase = pFVar6;" (assignment_expression "pPhrase = pFVar6" identifier = identifier) ;) }) (else_clause "else if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }" else (if_statement "if (pFVar6->nTerm == 0) {\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }" if (parenthesized_expression "(pFVar6->nTerm == 0)" ( (binary_expression "pFVar6->nTerm == 0" (field_expression "pFVar6->nTerm" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        fts5ExprPhraseFree(pFVar6);\n        *(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;\n        *(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;\n        (pFVar1->poslist).n = (pFVar1->poslist).n + -1;\n      }" { (expression_statement "fts5ExprPhraseFree(pFVar6);" (call_expression "fts5ExprPhraseFree(pFVar6)" identifier (argument_list "(pFVar6)" ( identifier ))) ;) (expression_statement "*(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase;" (assignment_expression "*(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4) =\n             pPhrase" (pointer_expression "*(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4)" * (cast_expression "(Fts5ExprPhrase **)(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4)" ( (type_descriptor "Fts5ExprPhrase **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4)" ( (binary_expression "*(int *)(iVar5 + 0x10) + (*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) + (binary_expression "(*(int *)(iVar5 + 0xc) + 0x3ffffffe) * 4" (parenthesized_expression "(*(int *)(iVar5 + 0xc) + 0x3ffffffe)" ( (binary_expression "*(int *)(iVar5 + 0xc) + 0x3ffffffe" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) + number_literal) )) * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1;" (assignment_expression "*(int *)(iVar5 + 0xc) = *(int *)(iVar5 + 0xc) + -1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar5 + 0xc) + -1" (pointer_expression "*(int *)(iVar5 + 0xc)" * (cast_expression "(int *)(iVar5 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0xc)" ( (binary_expression "iVar5 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "(pFVar1->poslist).n = (pFVar1->poslist).n + -1;" (assignment_expression "(pFVar1->poslist).n = (pFVar1->poslist).n + -1" (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(pFVar1->poslist).n + -1" (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier) + number_literal)) ;) })))) (expression_statement "iVar3 = (pFVar1->poslist).n;" (assignment_expression "iVar3 = (pFVar1->poslist).n" identifier = (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier)) ;) })) (expression_statement "(pFVar1->poslist).n = iVar3 + 1;" (assignment_expression "(pFVar1->poslist).n = iVar3 + 1" (field_expression "(pFVar1->poslist).n" (parenthesized_expression "(pFVar1->poslist)" ( (field_expression "pFVar1->poslist" identifier -> field_identifier) )) . field_identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "*(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase;" (assignment_expression "*(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8) = pPhrase" (pointer_expression "*(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8)" * (cast_expression "(Fts5ExprPhrase **)((int)pFVar1->aTerm + iVar3 * 4 + -8)" ( (type_descriptor "Fts5ExprPhrase **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pFVar1->aTerm + iVar3 * 4 + -8)" ( (binary_expression "(int)pFVar1->aTerm + iVar3 * 4 + -8" (binary_expression "(int)pFVar1->aTerm + iVar3 * 4" (cast_expression "(int)pFVar1->aTerm" ( (type_descriptor "int" primitive_type) ) (field_expression "pFVar1->aTerm" identifier -> field_identifier)) + (binary_expression "iVar3 * 4" identifier * number_literal)) + number_literal) )))) = identifier) ;) (return_statement "return pFVar1;" return identifier ;) })) (labeled_statement "LAB_000dd754:\n  sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6);" statement_identifier : (expression_statement "sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6);" (call_expression "sqlite3Fts5ParseNearsetFree((Fts5ExprNearset *)pFVar6)" identifier (argument_list "((Fts5ExprNearset *)pFVar6)" ( (cast_expression "(Fts5ExprNearset *)pFVar6" ( (type_descriptor "Fts5ExprNearset *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;)) (expression_statement "fts5ExprPhraseFree(pPhrase);" (call_expression "fts5ExprPhraseFree(pPhrase)" identifier (argument_list "(pPhrase)" ( identifier ))) ;) (return_statement "return (Fts5ExprPhrase *)0x0;" return (cast_expression "(Fts5ExprPhrase *)0x0" ( (type_descriptor "Fts5ExprPhrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "int FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}\n\n" (function_definition "int FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}" primitive_type (function_declarator "FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)" identifier (parameter_list "(undefined4 *param_1,int param_2,int *param_3,int param_4)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_0018fecc;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_0018fecc" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" * (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar6 = *param_1;" (assignment_expression "uVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = param_3[1];" (assignment_expression "iVar5 = param_3[1]" identifier = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *param_3;" (assignment_expression "iVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "local_2c = param_2;" (assignment_expression "local_2c = param_2" identifier = identifier) ;) (expression_statement "iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);" (assignment_expression "iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30)" identifier = (call_expression "(*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30)" (parenthesized_expression "(*(code *)(PTR_DAT_0018fc24 + -0x6f88))" ( (pointer_expression "*(code *)(PTR_DAT_0018fc24 + -0x6f88)" * (cast_expression "(code *)(PTR_DAT_0018fc24 + -0x6f88)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0018fc24 + -0x6f88)" ( (binary_expression "PTR_DAT_0018fc24 + -0x6f88" identifier + number_literal) )))) )) (argument_list "(&local_30)" ( (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" identifier = identifier) ;) (if_statement "if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }" { (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (if_statement "if (param_4 == 0) {\n      iVar4 = 1;\n    }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar4 = 1;\n    }" { (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) })) (expression_statement "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x2284)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x2284)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + 0x2284)" ( (binary_expression "PTR_LAB_0018fbbc + 0x2284" identifier + number_literal) )))) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1)" identifier = (call_expression "(*(code *)PTR_strlen_0018fe28)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_0018fe28)" ( (pointer_expression "*(code *)PTR_strlen_0018fe28" * (cast_expression "(code *)PTR_strlen_0018fe28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier )))) ;) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" identifier = identifier) ;) (expression_statement "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" identifier = (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))" ( (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x22ec)" * (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x22ec)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0018fbbc + 0x22ec)" ( (binary_expression "PTR_LAB_0018fbbc + 0x22ec" identifier + number_literal) )))) )) (argument_list "(uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" ( identifier , identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) , (binary_expression "PTR_LAB_0018fc8c + 0x1320" identifier + number_literal) )))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(iVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (if_statement "if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }" if (parenthesized_expression "((iVar3 != 0) || (iVar3 = local_28, local_28 != 0))" ( (binary_expression "(iVar3 != 0) || (iVar3 = local_28, local_28 != 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar3 = local_28, local_28 != 0)" ( (comma_expression "iVar3 = local_28, local_28 != 0" (assignment_expression "iVar3 = local_28" identifier = identifier) , (binary_expression "local_28 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }" { (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_000dd4bc;" goto statement_identifier ;) })) (if_statement "if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }" { (if_statement "if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }" if (parenthesized_expression "((param_1[3] & 7) != 0)" ( (binary_expression "(param_1[3] & 7) != 0" (parenthesized_expression "(param_1[3] & 7)" ( (binary_expression "param_1[3] & 7" (subscript_expression "param_1[3]" identifier [ number_literal ]) & number_literal) )) != number_literal) )) (compound_statement "{\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }" { (labeled_statement "LAB_000dd574:\n        param_1[3] = param_1[3] + 1;" statement_identifier : (expression_statement "param_1[3] = param_1[3] + 1;" (assignment_expression "param_1[3] = param_1[3] + 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (binary_expression "param_1[3] + 1" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal)) ;)) (goto_statement "goto LAB_000dd51c;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);" (assignment_expression "iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4])" identifier = (call_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4])" (parenthesized_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)" ( (pointer_expression "*(code *)PTR_sqlite3_realloc64_0018f9ec" * (cast_expression "(code *)PTR_sqlite3_realloc64_0018f9ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1[4])" ( (subscript_expression "param_1[4]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }" { (expression_statement "param_1[4] = iVar3;" (assignment_expression "param_1[4] = iVar3" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_000dd574;" goto statement_identifier ;) })) (expression_statement "param_1[2] = 7;" (assignment_expression "param_1[2] = 7" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_000dcafc(local_2c);" (call_expression "FUN_000dcafc(local_2c)" identifier (argument_list "(local_2c)" ( identifier ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" else (compound_statement "{\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" { (labeled_statement "LAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" statement_identifier : (if_statement "if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" if (parenthesized_expression "(local_2c == 0)" ( (binary_expression "local_2c == 0" identifier == number_literal) )) (compound_statement "{\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);" (assignment_expression "local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2)" identifier = (call_expression "(*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2)" (parenthesized_expression "(*(code *)(PTR_DAT_0018fc24 + -0x60c0))" ( (pointer_expression "*(code *)(PTR_DAT_0018fc24 + -0x60c0)" * (cast_expression "(code *)(PTR_DAT_0018fc24 + -0x60c0)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0018fc24 + -0x60c0)" ( (binary_expression "PTR_DAT_0018fc24 + -0x60c0" identifier + number_literal) )))) )) (argument_list "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) }) (else_clause "else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" else (if_statement "if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" if (parenthesized_expression "(*(int *)(local_2c + 0x10) != 0)" ( (binary_expression "*(int *)(local_2c + 0x10) != 0" (pointer_expression "*(int *)(local_2c + 0x10)" * (cast_expression "(int *)(local_2c + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 0x10)" ( (binary_expression "local_2c + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" { (expression_statement "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;" (assignment_expression "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4" (pointer_expression "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" * (cast_expression "(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" ( (binary_expression "local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4" (binary_expression "local_2c + *(int *)(local_2c + 0x10) * 0x10" identifier + (binary_expression "*(int *)(local_2c + 0x10) * 0x10" (pointer_expression "*(int *)(local_2c + 0x10)" * (cast_expression "(int *)(local_2c + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2c + 0x10)" ( (binary_expression "local_2c + 0x10" identifier + number_literal) )))) * number_literal)) + number_literal) )))) = (cast_expression "(char)param_4" ( (type_descriptor "char" primitive_type) ) identifier)) ;) }))))) (expression_statement "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;" (assignment_expression "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c" (pointer_expression "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" * (cast_expression "(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" ( (binary_expression "param_1[4] + (param_1[3] + 0x3fffffff) * 4" (subscript_expression "param_1[4]" identifier [ number_literal ]) + (binary_expression "(param_1[3] + 0x3fffffff) * 4" (parenthesized_expression "(param_1[3] + 0x3fffffff)" ( (binary_expression "param_1[3] + 0x3fffffff" (subscript_expression "param_1[3]" identifier [ number_literal ]) + number_literal) )) * number_literal)) )))) = identifier) ;) (expression_statement "iVar3 = local_2c;" (assignment_expression "iVar3 = local_2c" identifier = identifier) ;) }))) }) (else_clause "else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" else (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(iVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" * (cast_expression "(code *)PTR_sqlite3_free_0018f978" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (labeled_statement "LAB_000dd4bc:\n    FUN_000dcafc(local_2c);" statement_identifier : (expression_statement "FUN_000dcafc(local_2c);" (call_expression "FUN_000dcafc(local_2c)" identifier (argument_list "(local_2c)" ( identifier ))) ;)) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "iVar3 = local_2c;" (assignment_expression "iVar3 = local_2c" identifier = identifier) ;) }))) (if_statement "if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_24 == *(int *)PTR___stack_chk_guard_0018fecc)" ( (binary_expression "local_24 == *(int *)PTR___stack_chk_guard_0018fecc" identifier == (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" * (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) })) (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_0018fea0;" (assignment_expression "puVar7 = PTR___stack_chk_fail_0018fea0" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0018fea0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0018fea0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0018fea0)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0018fea0" * (cast_expression "(code *)PTR___stack_chk_fail_0018fea0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 8) == 0)" ( (binary_expression "*(int *)(iVar3 + 8) == 0" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }" { (if_statement "if (iVar5 == 0) {\n      return iVar4;\n    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n      return iVar4;\n    }" { (return_statement "return iVar4;" return identifier ;) })) (if_statement "if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }" { (expression_statement "iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30)" identifier = (call_expression "(**(code **)(puVar7 + 0xb23ac))(0,0x30)" (parenthesized_expression "(**(code **)(puVar7 + 0xb23ac))" ( (pointer_expression "**(code **)(puVar7 + 0xb23ac)" * (pointer_expression "*(code **)(puVar7 + 0xb23ac)" * (cast_expression "(code **)(puVar7 + 0xb23ac)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb23ac)" ( (binary_expression "puVar7 + 0xb23ac" identifier + number_literal) ))))) )) (argument_list "(0,0x30)" ( number_literal , number_literal )))) ;) (if_statement "if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" { (expression_statement "*(undefined4 *)(iVar3 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000dd754;" goto statement_identifier ;) })) (expression_statement "(**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);" (call_expression "(**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30)" (parenthesized_expression "(**(code **)(puVar7 + 0xb27dc))" ( (pointer_expression "**(code **)(puVar7 + 0xb27dc)" * (pointer_expression "*(code **)(puVar7 + 0xb27dc)" * (cast_expression "(code **)(puVar7 + 0xb27dc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb27dc)" ( (binary_expression "puVar7 + 0xb27dc" identifier + number_literal) ))))) )) (argument_list "(iVar1,0,0x30)" ( identifier , number_literal , number_literal ))) ;) }) (else_clause "else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" else (compound_statement "{\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" { (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" identifier = identifier) ;) (if_statement "if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" if (parenthesized_expression "(((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0))" ( (binary_expression "((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)" (parenthesized_expression "((*(uint *)(iVar4 + 8) & 7) == 0)" ( (binary_expression "(*(uint *)(iVar4 + 8) & 7) == 0" (parenthesized_expression "(*(uint *)(iVar4 + 8) & 7)" ( (binary_expression "*(uint *)(iVar4 + 8) & 7" (pointer_expression "*(uint *)(iVar4 + 8)" * (cast_expression "(uint *)(iVar4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "(iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)" ( (comma_expression "iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4)" identifier = (call_expression "(**(code **)(puVar7 + 0xb23c8))(iVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0xb23c8))" ( (pointer_expression "**(code **)(puVar7 + 0xb23c8)" * (pointer_expression "*(code **)(puVar7 + 0xb23c8)" * (cast_expression "(code **)(puVar7 + 0xb23c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0xb23c8)" ( (binary_expression "puVar7 + 0xb23c8" identifier + number_literal) ))))) )) (argument_list "(iVar4)" ( identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" { (expression_statement "*(undefined4 *)(iVar3 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_000dd754;" goto statement_identifier ;) })) }))) (expression_statement "iVar4 = *(int *)(iVar1 + 8);" (assignment_expression "iVar4 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }" { (expression_statement "iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);" (assignment_expression "iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" identifier = (pointer_expression "*(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" * (cast_expression "(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (iVar4 + 1) * 4 + 4)" ( (binary_expression "iVar1 + (iVar4 + 1) * 4 + 4" (binary_expression "iVar1 + (iVar4 + 1) * 4" identifier + (binary_expression "(iVar4 + 1) * 4" (parenthesized_expression "(iVar4 + 1)" ( (binary_expression "iVar4 + 1" identifier + number_literal) )) * number_literal)) + number_literal) ))))) ;) (if_statement "if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" if (parenthesized_expression "(*(int *)(iVar5 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar5 + 0x10) == 0" (pointer_expression "*(int *)(iVar5 + 0x10)" * (cast_expression "(int *)(iVar5 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x10)" ( (binary_expression "iVar5 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }" { (expression_statement "FUN_000dcafc(iVar5);" (call_expression "FUN_000dcafc(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;" (assignment_expression "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" identifier = identifier) ;) }) (else_clause "else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" else (if_statement "if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" if (parenthesized_expression "(*(int *)(iVar4 + 0x10) == 0)" ( (binary_expression "*(int *)(iVar4 + 0x10) == 0" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" { (expression_statement "FUN_000dcafc(iVar4);" (call_expression "FUN_000dcafc(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;) (expression_statement "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" ( (binary_expression "*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4" (pointer_expression "*(int *)(iVar3 + 0x10)" * (cast_expression "(int *)(iVar3 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x10)" ( (binary_expression "iVar3 + 0x10" identifier + number_literal) )))) + (binary_expression "(*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4" (parenthesized_expression "(*(int *)(iVar3 + 0xc) + 0x3ffffffe)" ( (binary_expression "*(int *)(iVar3 + 0xc) + 0x3ffffffe" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal) )) * number_literal)) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;" (assignment_expression "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) + number_literal)) ;) })))) (expression_statement "iVar4 = *(int *)(iVar1 + 8);" (assignment_expression "iVar4 = *(int *)(iVar1 + 8)" identifier = (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) ))))) ;) })) (expression_statement "*(int *)(iVar1 + 8) = iVar4 + 1;" (assignment_expression "*(int *)(iVar1 + 8) = iVar4 + 1" (pointer_expression "*(int *)(iVar1 + 8)" * (cast_expression "(int *)(iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;" (assignment_expression "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5" (pointer_expression "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4)" * (cast_expression "(int *)(iVar1 + (iVar4 + 2) * 4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + (iVar4 + 2) * 4 + 4)" ( (binary_expression "iVar1 + (iVar4 + 2) * 4 + 4" (binary_expression "iVar1 + (iVar4 + 2) * 4" identifier + (binary_expression "(iVar4 + 2) * 4" (parenthesized_expression "(iVar4 + 2)" ( (binary_expression "iVar4 + 2" identifier + number_literal) )) * number_literal)) + number_literal) )))) = identifier) ;) (return_statement "return iVar1;" return identifier ;) })) (labeled_statement "LAB_000dd754:\n  FUN_000dcc68(iVar4);" statement_identifier : (expression_statement "FUN_000dcc68(iVar4);" (call_expression "FUN_000dcc68(iVar4)" identifier (argument_list "(iVar4)" ( identifier ))) ;)) (expression_statement "FUN_000dcafc(iVar5);" (call_expression "FUN_000dcafc(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = 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 ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )) * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) (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 ( IDENT , LIT , LIT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (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) )) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )) * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "int FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_000dd394(undefined4 *param_1,int param_2,int *param_3,int param_4)" (identifier "FUN_000dd394") (parameter_list "(undefined4 *param_1,int param_2,int *param_3,int param_4)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  undefined *puVar7;\n  int local_30;\n  int local_2c;\n  int local_28;\n  int local_24;\n  \n  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;\n  uVar6 = *param_1;\n  local_28 = 0;\n  local_30 = 0;\n  iVar5 = param_3[1];\n  iVar4 = *param_3;\n  local_2c = param_2;\n  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);\n  iVar3 = local_30;\n  if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }\n  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }\n  iVar3 = local_24;\n  puVar7 = PTR___stack_chk_fail_0018fea0;\n  (*(code *)PTR___stack_chk_fail_0018fea0)();\n  if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }\nLAB_000dd754:\n  FUN_000dcc68(iVar4);\n  FUN_000dcafc(iVar5);\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_0018fecc;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_0018fecc" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0018fecc")))) (; ";")) (expression_statement "uVar6 = *param_1;" (assignment_expression "uVar6 = *param_1" (identifier "uVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = param_3[1];" (assignment_expression "iVar5 = param_3[1]" (identifier "iVar5") (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = *param_3;" (assignment_expression "iVar4 = *param_3" (identifier "iVar4") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "local_2c = param_2;" (assignment_expression "local_2c = param_2" (identifier "local_2c") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);" (assignment_expression "iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30)" (identifier "iVar1") (= "=") (call_expression "(*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30)" (parenthesized_expression "(*(code *)(PTR_DAT_0018fc24 + -0x6f88))" (( "(") (pointer_expression "*(code *)(PTR_DAT_0018fc24 + -0x6f88)" (* "*") (cast_expression "(code *)(PTR_DAT_0018fc24 + -0x6f88)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0018fc24 + -0x6f88)" (( "(") (binary_expression "PTR_DAT_0018fc24 + -0x6f88" (identifier "PTR_DAT_0018fc24") (+ "+") (number_literal "-0x6f88")) () ")")))) () ")")) (argument_list "(&local_30)" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "iVar3 = local_30;" (assignment_expression "iVar3 = local_30" (identifier "iVar3") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (local_30 == 0) {\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }\n  else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = 3;\n    if (param_4 == 0) {\n      iVar4 = 1;\n    }\n    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);\n    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);\n    iVar5 = iVar1;\n    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }\n    if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }\n  }" ({ "{") (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";")) (if_statement "if (param_4 == 0) {\n      iVar4 = 1;\n    }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar4 = 1;\n    }" ({ "{") (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);" (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x2284))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x2284)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x2284)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fbbc + 0x2284)" (( "(") (binary_expression "PTR_LAB_0018fbbc + 0x2284" (identifier "PTR_LAB_0018fbbc") (+ "+") (number_literal "0x2284")) () ")")))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_0018fe28)(iVar1)" (parenthesized_expression "(*(code *)PTR_strlen_0018fe28)" (( "(") (pointer_expression "*(code *)PTR_strlen_0018fe28" (* "*") (cast_expression "(code *)PTR_strlen_0018fe28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_0018fe28"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")")))) (; ";")) (expression_statement "iVar5 = iVar1;" (assignment_expression "iVar5 = iVar1" (identifier "iVar5") (= "=") (identifier "iVar1")) (; ";")) (expression_statement "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);" (assignment_expression "iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" (identifier "iVar3") (= "=") (call_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))\n                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" (parenthesized_expression "(*(code *)(PTR_LAB_0018fbbc + 0x22ec))" (( "(") (pointer_expression "*(code *)(PTR_LAB_0018fbbc + 0x22ec)" (* "*") (cast_expression "(code *)(PTR_LAB_0018fbbc + 0x22ec)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0018fbbc + 0x22ec)" (( "(") (binary_expression "PTR_LAB_0018fbbc + 0x22ec" (identifier "PTR_LAB_0018fbbc") (+ "+") (number_literal "0x22ec")) () ")")))) () ")")) (argument_list "(uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320)" (( "(") (identifier "uVar6") (, ",") (identifier "iVar4") (, ",") (identifier "iVar1") (, ",") (identifier "uVar2") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (binary_expression "PTR_LAB_0018fc8c + 0x1320" (identifier "PTR_LAB_0018fc8c") (+ "+") (number_literal "0x1320")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(iVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0018f978" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0018f978"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (if_statement "if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }" (if "if") (parenthesized_expression "((iVar3 != 0) || (iVar3 = local_28, local_28 != 0))" (( "(") (binary_expression "(iVar3 != 0) || (iVar3 = local_28, local_28 != 0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar3 = local_28, local_28 != 0)" (( "(") (comma_expression "iVar3 = local_28, local_28 != 0" (assignment_expression "iVar3 = local_28" (identifier "iVar3") (= "=") (identifier "local_28")) (, ",") (binary_expression "local_28 != 0" (identifier "local_28") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      param_1[2] = iVar3;\n      goto LAB_000dd4bc;\n    }" ({ "{") (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (goto_statement "goto LAB_000dd4bc;" (goto "goto") (statement_identifier "LAB_000dd4bc") (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }\n    else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }\n      iVar5 = 0;\n      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);\n      if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }\n      param_1[2] = 7;\n      FUN_000dcafc(local_2c);\n      iVar3 = 0;\n    }" ({ "{") (if_statement "if ((param_1[3] & 7) != 0) {\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }" (if "if") (parenthesized_expression "((param_1[3] & 7) != 0)" (( "(") (binary_expression "(param_1[3] & 7) != 0" (parenthesized_expression "(param_1[3] & 7)" (( "(") (binary_expression "param_1[3] & 7" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (& "&") (number_literal "7")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000dd574:\n        param_1[3] = param_1[3] + 1;\n        goto LAB_000dd51c;\n      }" ({ "{") (labeled_statement "LAB_000dd574:\n        param_1[3] = param_1[3] + 1;" (statement_identifier "LAB_000dd574") (: ":") (expression_statement "param_1[3] = param_1[3] + 1;" (assignment_expression "param_1[3] = param_1[3] + 1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "param_1[3] + 1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "1"))) (; ";"))) (goto_statement "goto LAB_000dd51c;" (goto "goto") (statement_identifier "LAB_000dd51c") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);" (assignment_expression "iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4])" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4])" (parenthesized_expression "(*(code *)PTR_sqlite3_realloc64_0018f9ec)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_realloc64_0018f9ec" (* "*") (cast_expression "(code *)PTR_sqlite3_realloc64_0018f9ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_realloc64_0018f9ec"))) () ")")) (argument_list "(param_1[4])" (( "(") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        param_1[4] = iVar3;\n        goto LAB_000dd574;\n      }" ({ "{") (expression_statement "param_1[4] = iVar3;" (assignment_expression "param_1[4] = iVar3" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (goto_statement "goto LAB_000dd574;" (goto "goto") (statement_identifier "LAB_000dd574") (; ";")) (} "}"))) (expression_statement "param_1[2] = 7;" (assignment_expression "param_1[2] = 7" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "7")) (; ";")) (expression_statement "FUN_000dcafc(local_2c);" (call_expression "FUN_000dcafc(local_2c)" (identifier "FUN_000dcafc") (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" (else "else") (compound_statement "{\nLAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }\n      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;\n      iVar3 = local_2c;\n    }" ({ "{") (labeled_statement "LAB_000dd51c:\n      if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" (statement_identifier "LAB_000dd51c") (: ":") (if_statement "if (local_2c == 0) {\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }\n      else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" (if "if") (parenthesized_expression "(local_2c == 0)" (( "(") (binary_expression "local_2c == 0" (identifier "local_2c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar5 = 0;\n        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);\n      }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);" (assignment_expression "local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2)" (identifier "local_2c") (= "=") (call_expression "(*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2)" (parenthesized_expression "(*(code *)(PTR_DAT_0018fc24 + -0x60c0))" (( "(") (pointer_expression "*(code *)(PTR_DAT_0018fc24 + -0x60c0)" (* "*") (cast_expression "(code *)(PTR_DAT_0018fc24 + -0x60c0)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0018fc24 + -0x60c0)" (( "(") (binary_expression "PTR_DAT_0018fc24 + -0x60c0" (identifier "PTR_DAT_0018fc24") (+ "+") (number_literal "-0x60c0")) () ")")))) () ")")) (argument_list "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (} "}")) (else_clause "else if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" (else "else") (if_statement "if (*(int *)(local_2c + 0x10) != 0) {\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" (if "if") (parenthesized_expression "(*(int *)(local_2c + 0x10) != 0)" (( "(") (binary_expression "*(int *)(local_2c + 0x10) != 0" (pointer_expression "*(int *)(local_2c + 0x10)" (* "*") (cast_expression "(int *)(local_2c + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + 0x10)" (( "(") (binary_expression "local_2c + 0x10" (identifier "local_2c") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;\n      }" ({ "{") (expression_statement "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;" (assignment_expression "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4" (pointer_expression "*(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" (* "*") (cast_expression "(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4)" (( "(") (binary_expression "local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4" (binary_expression "local_2c + *(int *)(local_2c + 0x10) * 0x10" (identifier "local_2c") (+ "+") (binary_expression "*(int *)(local_2c + 0x10) * 0x10" (pointer_expression "*(int *)(local_2c + 0x10)" (* "*") (cast_expression "(int *)(local_2c + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2c + 0x10)" (( "(") (binary_expression "local_2c + 0x10" (identifier "local_2c") (+ "+") (number_literal "0x10")) () ")")))) (* "*") (number_literal "0x10"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (cast_expression "(char)param_4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_4"))) (; ";")) (} "}")))))) (expression_statement "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;" (assignment_expression "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c" (pointer_expression "*(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" (* "*") (cast_expression "(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[4] + (param_1[3] + 0x3fffffff) * 4)" (( "(") (binary_expression "param_1[4] + (param_1[3] + 0x3fffffff) * 4" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "(param_1[3] + 0x3fffffff) * 4" (parenthesized_expression "(param_1[3] + 0x3fffffff)" (( "(") (binary_expression "param_1[3] + 0x3fffffff" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "0x3fffffff")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "iVar3 = local_2c;" (assignment_expression "iVar3 = local_2c" (identifier "iVar3") (= "=") (identifier "local_2c")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);\n    param_1[2] = iVar3;\nLAB_000dd4bc:\n    FUN_000dcafc(local_2c);\n    local_2c = 0;\n    iVar3 = local_2c;\n  }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_free_0018f978)(iVar1);" (call_expression "(*(code *)PTR_sqlite3_free_0018f978)(iVar1)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0018f978)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0018f978" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0018f978" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0018f978"))) () ")")) (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (labeled_statement "LAB_000dd4bc:\n    FUN_000dcafc(local_2c);" (statement_identifier "LAB_000dd4bc") (: ":") (expression_statement "FUN_000dcafc(local_2c);" (call_expression "FUN_000dcafc(local_2c)" (identifier "FUN_000dcafc") (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")"))) (; ";"))) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = local_2c;" (assignment_expression "iVar3 = local_2c" (identifier "iVar3") (= "=") (identifier "local_2c")) (; ";")) (} "}")))) (if_statement "if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)PTR___stack_chk_guard_0018fecc)" (( "(") (binary_expression "local_24 == *(int *)PTR___stack_chk_guard_0018fecc" (identifier "local_24") (== "==") (pointer_expression "*(int *)PTR___stack_chk_guard_0018fecc" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_0018fecc" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_0018fecc")))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" (identifier "iVar3") (= "=") (identifier "local_24")) (; ";")) (expression_statement "puVar7 = PTR___stack_chk_fail_0018fea0;" (assignment_expression "puVar7 = PTR___stack_chk_fail_0018fea0" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_fail_0018fea0")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0018fea0)();" (call_expression "(*(code *)PTR___stack_chk_fail_0018fea0)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0018fea0)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0018fea0" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0018fea0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0018fea0"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (*(int *)(iVar3 + 8) == 0) {\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 8) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 8) == 0" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if (iVar5 == 0) {\n      return iVar4;\n    }\n    if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }\n    iVar4 = *(int *)(iVar1 + 8);\n    if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }\n    *(int *)(iVar1 + 8) = iVar4 + 1;\n    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;\n    return iVar1;\n  }" ({ "{") (if_statement "if (iVar5 == 0) {\n      return iVar4;\n    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return iVar4;\n    }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (if_statement "if (iVar4 == 0) {\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }\n    else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);\n      if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);\n    }" ({ "{") (expression_statement "iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar7 + 0xb23ac))(0,0x30)" (parenthesized_expression "(**(code **)(puVar7 + 0xb23ac))" (( "(") (pointer_expression "**(code **)(puVar7 + 0xb23ac)" (* "*") (pointer_expression "*(code **)(puVar7 + 0xb23ac)" (* "*") (cast_expression "(code **)(puVar7 + 0xb23ac)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0xb23ac)" (( "(") (binary_expression "puVar7 + 0xb23ac" (identifier "puVar7") (+ "+") (number_literal "0xb23ac")) () ")"))))) () ")")) (argument_list "(0,0x30)" (( "(") (number_literal "0") (, ",") (number_literal "0x30") () ")")))) (; ";")) (if_statement "if (iVar1 == 0) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" ({ "{") (expression_statement "*(undefined4 *)(iVar3 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_000dd754;" (goto "goto") (statement_identifier "LAB_000dd754") (; ";")) (} "}"))) (expression_statement "(**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);" (call_expression "(**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30)" (parenthesized_expression "(**(code **)(puVar7 + 0xb27dc))" (( "(") (pointer_expression "**(code **)(puVar7 + 0xb27dc)" (* "*") (pointer_expression "*(code **)(puVar7 + 0xb27dc)" (* "*") (cast_expression "(code **)(puVar7 + 0xb27dc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0xb27dc)" (( "(") (binary_expression "puVar7 + 0xb27dc" (identifier "puVar7") (+ "+") (number_literal "0xb27dc")) () ")"))))) () ")")) (argument_list "(iVar1,0,0x30)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (number_literal "0x30") () ")"))) (; ";")) (} "}")) (else_clause "else {\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" (else "else") (compound_statement "{\n      iVar1 = iVar4;\n      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }\n    }" ({ "{") (expression_statement "iVar1 = iVar4;" (assignment_expression "iVar1 = iVar4" (identifier "iVar1") (= "=") (identifier "iVar4")) (; ";")) (if_statement "if (((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" (if "if") (parenthesized_expression "(((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0))" (( "(") (binary_expression "((*(uint *)(iVar4 + 8) & 7) == 0) &&\n         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)" (parenthesized_expression "((*(uint *)(iVar4 + 8) & 7) == 0)" (( "(") (binary_expression "(*(uint *)(iVar4 + 8) & 7) == 0" (parenthesized_expression "(*(uint *)(iVar4 + 8) & 7)" (( "(") (binary_expression "*(uint *)(iVar4 + 8) & 7" (pointer_expression "*(uint *)(iVar4 + 8)" (* "*") (cast_expression "(uint *)(iVar4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0" (assignment_expression "iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4)" (identifier "iVar1") (= "=") (call_expression "(**(code **)(puVar7 + 0xb23c8))(iVar4)" (parenthesized_expression "(**(code **)(puVar7 + 0xb23c8))" (( "(") (pointer_expression "**(code **)(puVar7 + 0xb23c8)" (* "*") (pointer_expression "*(code **)(puVar7 + 0xb23c8)" (* "*") (cast_expression "(code **)(puVar7 + 0xb23c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0xb23c8)" (( "(") (binary_expression "puVar7 + 0xb23c8" (identifier "puVar7") (+ "+") (number_literal "0xb23c8")) () ")"))))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        *(undefined4 *)(iVar3 + 8) = 7;\n        goto LAB_000dd754;\n      }" ({ "{") (expression_statement "*(undefined4 *)(iVar3 + 8) = 7;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 7" (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_000dd754;" (goto "goto") (statement_identifier "LAB_000dd754") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar4 = *(int *)(iVar1 + 8);" (assignment_expression "iVar4 = *(int *)(iVar1 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (0 < iVar4) {\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }" (if "if") (parenthesized_expression "(0 < iVar4)" (( "(") (binary_expression "0 < iVar4" (number_literal "0") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);\n      if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }\n      iVar4 = *(int *)(iVar1 + 8);\n    }" ({ "{") (expression_statement "iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);" (assignment_expression "iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" (* "*") (cast_expression "(int *)(iVar1 + (iVar4 + 1) * 4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + (iVar4 + 1) * 4 + 4)" (( "(") (binary_expression "iVar1 + (iVar4 + 1) * 4 + 4" (binary_expression "iVar1 + (iVar4 + 1) * 4" (identifier "iVar1") (+ "+") (binary_expression "(iVar4 + 1) * 4" (parenthesized_expression "(iVar4 + 1)" (( "(") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar5 + 0x10) == 0) {\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }\n      else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar5 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(iVar5 + 0x10) == 0" (pointer_expression "*(int *)(iVar5 + 0x10)" (* "*") (cast_expression "(int *)(iVar5 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x10)" (( "(") (binary_expression "iVar5 + 0x10" (identifier "iVar5") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_000dcafc(iVar5);\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        iVar5 = iVar4;\n      }" ({ "{") (expression_statement "FUN_000dcafc(iVar5);" (call_expression "FUN_000dcafc(iVar5)" (identifier "FUN_000dcafc") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;" (assignment_expression "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar5 = iVar4;" (assignment_expression "iVar5 = iVar4" (identifier "iVar5") (= "=") (identifier "iVar4")) (; ";")) (} "}")) (else_clause "else if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" (else "else") (if_statement "if (*(int *)(iVar4 + 0x10) == 0) {\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 0x10) == 0" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_000dcafc(iVar4);\n        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;\n        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;\n        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;\n      }" ({ "{") (expression_statement "FUN_000dcafc(iVar4);" (call_expression "FUN_000dcafc(iVar4)" (identifier "FUN_000dcafc") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;" (assignment_expression "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4)" (( "(") (binary_expression "*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4" (pointer_expression "*(int *)(iVar3 + 0x10)" (* "*") (cast_expression "(int *)(iVar3 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x10)" (( "(") (binary_expression "iVar3 + 0x10" (identifier "iVar3") (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (binary_expression "(*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4" (parenthesized_expression "(*(int *)(iVar3 + 0xc) + 0x3ffffffe)" (( "(") (binary_expression "*(int *)(iVar3 + 0xc) + 0x3ffffffe" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0x3ffffffe")) () ")")) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;" (assignment_expression "*(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 0xc) + -1" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;" (assignment_expression "*(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(iVar1 + 8) + -1" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (} "}"))))) (expression_statement "iVar4 = *(int *)(iVar1 + 8);" (assignment_expression "iVar4 = *(int *)(iVar1 + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar1 + 8) = iVar4 + 1;" (assignment_expression "*(int *)(iVar1 + 8) = iVar4 + 1" (pointer_expression "*(int *)(iVar1 + 8)" (* "*") (cast_expression "(int *)(iVar1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;" (assignment_expression "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5" (pointer_expression "*(int *)(iVar1 + (iVar4 + 2) * 4 + 4)" (* "*") (cast_expression "(int *)(iVar1 + (iVar4 + 2) * 4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + (iVar4 + 2) * 4 + 4)" (( "(") (binary_expression "iVar1 + (iVar4 + 2) * 4 + 4" (binary_expression "iVar1 + (iVar4 + 2) * 4" (identifier "iVar1") (+ "+") (binary_expression "(iVar4 + 2) * 4" (parenthesized_expression "(iVar4 + 2)" (( "(") (binary_expression "iVar4 + 2" (identifier "iVar4") (+ "+") (number_literal "2")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (return_statement "return iVar1;" (return "return") (identifier "iVar1") (; ";")) (} "}"))) (labeled_statement "LAB_000dd754:\n  FUN_000dcc68(iVar4);" (statement_identifier "LAB_000dd754") (: ":") (expression_statement "FUN_000dcc68(iVar4);" (call_expression "FUN_000dcc68(iVar4)" (identifier "FUN_000dcc68") (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";"))) (expression_statement "FUN_000dcafc(iVar5);" (call_expression "FUN_000dcafc(iVar5)" (identifier "FUN_000dcafc") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (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 (identifier)))) (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: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (identifier) (identifier) (identifier) (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)))))) (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 (identifier)))) (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: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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 (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_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))) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) alternative: (else_clause (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: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (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 (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (goto_statement label: (statement_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 (identifier) (number_literal) (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (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: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (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: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (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: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal))))) right: (identifier))) (return_statement (identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))

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

{
  int iVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  undefined *puVar7;
  int local_30;
  int local_2c;
  int local_28;
  int local_24;
  
  local_24 = *(int *)PTR___stack_chk_guard_0018fecc;
  uVar6 = *param_1;
  local_28 = 0;
  local_30 = 0;
  iVar5 = param_3[1];
  iVar4 = *param_3;
  local_2c = param_2;
  iVar1 = (*(code *)(PTR_DAT_0018fc24 + -0x6f88))(&local_30);
  iVar3 = local_30;
  if (local_30 == 0) {
    iVar4 = 3;
    if (param_4 == 0) {
      iVar4 = 1;
    }
    (*(code *)(PTR_LAB_0018fbbc + 0x2284))(iVar1);
    uVar2 = (*(code *)PTR_strlen_0018fe28)(iVar1);
    iVar5 = iVar1;
    iVar3 = (*(code *)(PTR_LAB_0018fbbc + 0x22ec))
                      (uVar6,iVar4,iVar1,uVar2,&local_2c,PTR_LAB_0018fc8c + 0x1320);
    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);
    if ((iVar3 != 0) || (iVar3 = local_28, local_28 != 0)) {
      param_1[2] = iVar3;
      goto LAB_000dd4bc;
    }
    if (param_2 == 0) {
      if ((param_1[3] & 7) != 0) {
LAB_000dd574:
        param_1[3] = param_1[3] + 1;
        goto LAB_000dd51c;
      }
      iVar5 = 0;
      iVar3 = (*(code *)PTR_sqlite3_realloc64_0018f9ec)(param_1[4]);
      if (iVar3 != 0) {
        param_1[4] = iVar3;
        goto LAB_000dd574;
      }
      param_1[2] = 7;
      FUN_000dcafc(local_2c);
      iVar3 = 0;
    }
    else {
LAB_000dd51c:
      if (local_2c == 0) {
        iVar5 = 0;
        local_2c = (*(code *)(PTR_DAT_0018fc24 + -0x60c0))(param_1 + 2);
      }
      else if (*(int *)(local_2c + 0x10) != 0) {
        *(char *)(local_2c + *(int *)(local_2c + 0x10) * 0x10 + 4) = (char)param_4;
      }
      *(int *)(param_1[4] + (param_1[3] + 0x3fffffff) * 4) = local_2c;
      iVar3 = local_2c;
    }
  }
  else {
    (*(code *)PTR_sqlite3_free_0018f978)(iVar1);
    param_1[2] = iVar3;
LAB_000dd4bc:
    FUN_000dcafc(local_2c);
    local_2c = 0;
    iVar3 = local_2c;
  }
  if (local_24 == *(int *)PTR___stack_chk_guard_0018fecc) {
    return iVar3;
  }
  iVar3 = local_24;
  puVar7 = PTR___stack_chk_fail_0018fea0;
  (*(code *)PTR___stack_chk_fail_0018fea0)();
  if (*(int *)(iVar3 + 8) == 0) {
    if (iVar5 == 0) {
      return iVar4;
    }
    if (iVar4 == 0) {
      iVar1 = (**(code **)(puVar7 + 0xb23ac))(0,0x30);
      if (iVar1 == 0) {
        *(undefined4 *)(iVar3 + 8) = 7;
        goto LAB_000dd754;
      }
      (**(code **)(puVar7 + 0xb27dc))(iVar1,0,0x30);
    }
    else {
      iVar1 = iVar4;
      if (((*(uint *)(iVar4 + 8) & 7) == 0) &&
         (iVar1 = (**(code **)(puVar7 + 0xb23c8))(iVar4), iVar1 == 0)) {
        *(undefined4 *)(iVar3 + 8) = 7;
        goto LAB_000dd754;
      }
    }
    iVar4 = *(int *)(iVar1 + 8);
    if (0 < iVar4) {
      iVar4 = *(int *)(iVar1 + (iVar4 + 1) * 4 + 4);
      if (*(int *)(iVar5 + 0x10) == 0) {
        FUN_000dcafc(iVar5);
        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;
        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;
        iVar5 = iVar4;
      }
      else if (*(int *)(iVar4 + 0x10) == 0) {
        FUN_000dcafc(iVar4);
        *(int *)(*(int *)(iVar3 + 0x10) + (*(int *)(iVar3 + 0xc) + 0x3ffffffe) * 4) = iVar5;
        *(int *)(iVar3 + 0xc) = *(int *)(iVar3 + 0xc) + -1;
        *(int *)(iVar1 + 8) = *(int *)(iVar1 + 8) + -1;
      }
      iVar4 = *(int *)(iVar1 + 8);
    }
    *(int *)(iVar1 + 8) = iVar4 + 1;
    *(int *)(iVar1 + (iVar4 + 2) * 4 + 4) = iVar5;
    return iVar1;
  }
LAB_000dd754:
  FUN_000dcc68(iVar4);
  FUN_000dcafc(iVar5);
  return 0;
}

