
void sqlite3Fts3ExprFree(Fts3Expr *pDel)

{
  Fts3Expr *pFVar1;
  Fts3Expr *p;
  Fts3MultiSegReader **ppFVar2;
  Fts3Expr *pFVar3;
  int iVar4;
  Fts3MultiSegReader *pCsr;
  Fts3Expr *pFVar5;
  Fts3Phrase *pFVar6;
  
  if (pDel == (Fts3Expr *)0x0) {
    return;
  }
  do {
    while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {
      pFVar5 = pFVar3;
      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {
        pFVar5 = pFVar3;
      }
      pDel = pFVar5->pRight;
      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;
    }
    pDel = pFVar5->pRight;
  } while (pFVar5->pRight != (Fts3Expr *)0x0);
LAB_000b3fa0:
  pFVar6 = pFVar5->pPhrase;
  pFVar3 = pFVar5;
LAB_000b3fa4:
  pFVar5 = pFVar3->pParent;
  if (pFVar6 != (Fts3Phrase *)0x0) {
    (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);
    if ((pFVar6->doclist).bFreeList != 0) {
      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);
    }
    (*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);
    if (0 < pFVar6->nToken) {
      iVar4 = 0;
      ppFVar2 = &pFVar6->aToken[0].pSegcsr;
      do {
        pCsr = *ppFVar2;
        iVar4 = iVar4 + 1;
        sqlite3Fts3SegReaderFinish(pCsr);
        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);
        *ppFVar2 = (Fts3MultiSegReader *)0x0;
        ppFVar2 = ppFVar2 + 6;
      } while (iVar4 < pFVar6->nToken);
    }
  }
  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3->aMI);
  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3);
  if (pFVar5 == (Fts3Expr *)0x0) {
    return;
  }
  if ((pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)) {
    pFVar5 = pFVar3->pLeft;
    do {
      if (pFVar5 == (Fts3Expr *)0x0) {
        pFVar1 = pFVar3->pRight;
        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;
      }
      else {
        pFVar3 = pFVar5->pLeft;
        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {
          pFVar5 = pFVar1;
          pFVar3 = pFVar1->pLeft;
        }
        pFVar1 = pFVar5->pRight;
        if (pFVar1 == (Fts3Expr *)0x0) break;
      }
      pFVar5 = pFVar1->pLeft;
      pFVar3 = pFVar1;
    } while( true );
  }
  goto LAB_000b3fa0;
code_r0x000b40d8:
  pFVar6 = pFVar3->pPhrase;
  goto LAB_000b3fa4;
}



void FUN_000b3f2c(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  undefined4 *puVar6;
  
  if (param_1 == 0) {
    return;
  }
  do {
    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {
      iVar5 = iVar2;
      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {
        iVar5 = iVar2;
      }
      param_1 = *(int *)(iVar5 + 0x10);
      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;
    }
    param_1 = *(int *)(iVar5 + 0x10);
  } while (*(int *)(iVar5 + 0x10) != 0);
LAB_000b3fa0:
  puVar6 = *(undefined4 **)(iVar5 + 0x14);
  iVar2 = iVar5;
LAB_000b3fa4:
  iVar5 = *(int *)(iVar2 + 8);
  if (puVar6 != (undefined4 *)0x0) {
    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);
    if (puVar6[6] != 0) {
      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);
    }
    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);
    if (0 < (int)puVar6[0x10]) {
      iVar3 = 0;
      puVar1 = puVar6 + 0x17;
      do {
        uVar4 = *puVar1;
        iVar3 = iVar3 + 1;
        FUN_000b3e74(uVar4);
        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);
        *puVar1 = 0;
        puVar1 = puVar1 + 6;
      } while (iVar3 < (int)puVar6[0x10]);
    }
  }
  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));
  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);
  if (iVar5 == 0) {
    return;
  }
  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {
    iVar5 = *(int *)(iVar2 + 0xc);
    do {
      if (iVar5 == 0) {
        iVar3 = *(int *)(iVar2 + 0x10);
        if (iVar3 == 0) goto code_r0x000b40d8;
      }
      else {
        iVar2 = *(int *)(iVar5 + 0xc);
        while (iVar3 = iVar2, iVar3 != 0) {
          iVar5 = iVar3;
          iVar2 = *(int *)(iVar3 + 0xc);
        }
        iVar3 = *(int *)(iVar5 + 0x10);
        if (iVar3 == 0) break;
      }
      iVar5 = *(int *)(iVar3 + 0xc);
      iVar2 = iVar3;
    } while( true );
  }
  goto LAB_000b3fa0;
code_r0x000b40d8:
  puVar6 = *(undefined4 **)(iVar2 + 0x14);
  goto LAB_000b3fa4;
}


lui gp,0xb
addiu gp,gp,-0x97c
addu gp,gp,t9
beq a0,zero,0x000b411c
_nop
addiu sp,sp,-0x38
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw s1,0xc(a0)
beq s1,zero,0x000b4064
_nop
lw v0,0xc(s1)
beq v0,zero,0x000b3f90
_nop
or s1,v0,zero
lw v0,0xc(s1)
bne v0,zero,0x000b3f80
_nop
lw a0,0x10(s1)
bne a0,zero,0x000b3f68
_lw s6,-0x7eb8(gp)
addiu s6,s6,0x3e74
lw s5,0x14(s1)
beq s5,zero,0x000b402c
_lw s4,0x8(s1)
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x0(s5)
lw v0,0x18(s5)
bne v0,zero,0x000b40e0
_lw gp,0x10(sp)
lw t9,-0x7bfc(gp)
li a2,0x28
or a1,zero,zero
jalr t9
_or a0,s5,zero
lw v0,0x40(s5)
blez v0,0x000b402c
_lw gp,0x10(sp)
addiu s0,s5,0x5c
or s2,zero,zero
lw s3,0x0(s0)
or t9,s6,zero
addiu s0,s0,0x18
addiu s2,s2,0x1
bal 0x000b3e74
_or a0,s3,zero
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_or a0,s3,zero
lw gp,0x10(sp)
sw zero,-0x18(s0)
lw v0,0x40(s5)
slt v0,s2,v0
bne v0,zero,0x000b3fec
_nop
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x28(s1)
lw gp,0x10(sp)
lw t9,-0x7f90(gp)
jalr t9
_or a0,s1,zero
beq s4,zero,0x000b40f4
_lw gp,0x10(sp)
lw v0,0xc(s4)
beq v0,s1,0x000b407c
_or s1,s4,zero
b 0x000b3fa0
_nop
or s1,a0,zero
lw a0,0x10(s1)
bne a0,zero,0x000b3f68
_lw s6,-0x7eb8(gp)
b 0x000b3fa0
_addiu s6,s6,0x3e74
lw v0,0x10(s4)
beq v0,zero,0x000b3fa0
_nop
lw s4,0xc(v0)
beq s4,zero,0x000b40c8
_nop
lw v0,0xc(s4)
beq v0,zero,0x000b40b0
_nop
or s4,v0,zero
lw v0,0xc(s4)
bne v0,zero,0x000b40a0
_nop
lw v0,0x10(s4)
beq v0,zero,0x000b3fa0
_or s1,s4,zero
lw s4,0xc(v0)
bne s4,zero,0x000b4094
_nop
or s4,v0,zero
lw v0,0x10(s4)
bne v0,zero,0x000b40bc
_or s1,s4,zero
b 0x000b3fa4
_lw s5,0x14(s1)
lw t9,-0x7f90(gp)
jalr t9
_lw a0,0x1c(s5)
b 0x000b3fc4
_lw gp,0x10(sp)
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
jr ra
_nop
(translation_unit "void FUN_000b3f2c(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}\n\n" (function_definition "void FUN_000b3f2c(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}" primitive_type (function_declarator "FUN_000b3f2c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);" do (compound_statement "{\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  }" { (while_statement "while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }" while (parenthesized_expression "(iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0)" ( (comma_expression "iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0" (assignment_expression "iVar5 = param_1" identifier = identifier) , (comma_expression "iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar5 + 0xc)" identifier = (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 "iVar2 != 0" identifier != number_literal))) )) (compound_statement "{\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) (for_statement "for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }" for ( (assignment_expression "iVar2 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ) (compound_statement "{\n        iVar5 = iVar2;\n      }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) })) (expression_statement "param_1 = *(int *)(iVar5 + 0x10);" (assignment_expression "param_1 = *(int *)(iVar5 + 0x10)" identifier = (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) ))))) ;) (if_statement "if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;" 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) )) (goto_statement "goto LAB_000b3fa0;" goto statement_identifier ;)) })) (expression_statement "param_1 = *(int *)(iVar5 + 0x10);" (assignment_expression "param_1 = *(int *)(iVar5 + 0x10)" identifier = (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) ))))) ;) }) while (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) )) ;) (labeled_statement "LAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);" statement_identifier : (expression_statement "puVar6 = *(undefined4 **)(iVar5 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(iVar5 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x14)" * (cast_expression "(undefined4 **)(iVar5 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;)) (expression_statement "iVar2 = iVar5;" (assignment_expression "iVar2 = iVar5" identifier = identifier) ;) (labeled_statement "LAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);" statement_identifier : (expression_statement "iVar5 = *(int *)(iVar2 + 8);" (assignment_expression "iVar5 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }" if (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" ( (binary_expression "puVar6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(*puVar6);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(*puVar6)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) ))) ;) (if_statement "if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }" if (parenthesized_expression "(puVar6[6] != 0)" ( (binary_expression "puVar6[6] != 0" (subscript_expression "puVar6[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(puVar6[7])" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6[7])" ( (subscript_expression "puVar6[7]" identifier [ number_literal ]) ))) ;) })) (expression_statement "(*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);" (call_expression "(*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" ( (pointer_expression "*(code *)PTR_memset_0015b9b4" * (cast_expression "(code *)PTR_memset_0015b9b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,0,0x28)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }" if (parenthesized_expression "(0 < (int)puVar6[0x10])" ( (binary_expression "0 < (int)puVar6[0x10]" number_literal < (cast_expression "(int)puVar6[0x10]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar6[0x10]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = puVar6 + 0x17;" (assignment_expression "puVar1 = puVar6 + 0x17" identifier = (binary_expression "puVar6 + 0x17" identifier + number_literal)) ;) (do_statement "do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);" do (compound_statement "{\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      }" { (expression_statement "uVar4 = *puVar1;" (assignment_expression "uVar4 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000b3e74(uVar4);" (call_expression "FUN_000b3e74(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(uVar4);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1 = puVar1 + 6;" (assignment_expression "puVar1 = puVar1 + 6" identifier = (binary_expression "puVar1 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)puVar6[0x10])" ( (binary_expression "iVar3 < (int)puVar6[0x10]" identifier < (cast_expression "(int)puVar6[0x10]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar6[0x10]" identifier [ number_literal ]))) )) ;) })) })) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0x28))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x28)" * (cast_expression "(undefined4 *)(iVar2 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(iVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(iVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (iVar5 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }" if (parenthesized_expression "((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0))" ( (binary_expression "(*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)" (parenthesized_expression "(*(int *)(iVar5 + 0xc) == iVar2)" ( (binary_expression "*(int *)(iVar5 + 0xc) == iVar2" (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) )))) == identifier) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" identifier = (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 "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }" { (expression_statement "iVar5 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (do_statement "do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );" do (compound_statement "{\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    }" { (if_statement "if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }" { (expression_statement "iVar3 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x10)" identifier = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto code_r0x000b40d8;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x000b40d8;" goto statement_identifier ;)) }) (else_clause "else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" else (compound_statement "{\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" { (expression_statement "iVar2 = *(int *)(iVar5 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0xc)" identifier = (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) ))))) ;) (while_statement "while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }" while (parenthesized_expression "(iVar3 = iVar2, iVar3 != 0)" ( (comma_expression "iVar3 = iVar2, iVar3 != 0" (assignment_expression "iVar3 = iVar2" identifier = identifier) , (binary_expression "iVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }" { (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xc)" identifier = (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) ))))) ;) })) (expression_statement "iVar3 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar5 + 0x10)" identifier = (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) ))))) ;) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "iVar5 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xc)" identifier = (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) ))))) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (goto_statement "goto LAB_000b3fa0;" goto statement_identifier ;) (labeled_statement "code_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);" statement_identifier : (expression_statement "puVar6 = *(undefined4 **)(iVar2 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(iVar2 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(iVar2 + 0x14)" * (cast_expression "(undefined4 **)(iVar2 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;)) (goto_statement "goto LAB_000b3fa4;" goto statement_identifier ;) })))
(translation_unit "void sqlite3Fts3ExprFree(Fts3Expr *pDel)\n\n{\n  Fts3Expr *pFVar1;\n  Fts3Expr *p;\n  Fts3MultiSegReader **ppFVar2;\n  Fts3Expr *pFVar3;\n  int iVar4;\n  Fts3MultiSegReader *pCsr;\n  Fts3Expr *pFVar5;\n  Fts3Phrase *pFVar6;\n  \n  if (pDel == (Fts3Expr *)0x0) {\n    return;\n  }\n  do {\n    while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }\n    pDel = pFVar5->pRight;\n  } while (pFVar5->pRight != (Fts3Expr *)0x0);\nLAB_000b3fa0:\n  pFVar6 = pFVar5->pPhrase;\n  pFVar3 = pFVar5;\nLAB_000b3fa4:\n  pFVar5 = pFVar3->pParent;\n  if (pFVar6 != (Fts3Phrase *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);\n    if ((pFVar6->doclist).bFreeList != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }\n    (*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);\n    if (0 < pFVar6->nToken) {\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3->aMI);\n  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3);\n  if (pFVar5 == (Fts3Expr *)0x0) {\n    return;\n  }\n  if ((pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)) {\n    pFVar5 = pFVar3->pLeft;\n    do {\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  pFVar6 = pFVar3->pPhrase;\n  goto LAB_000b3fa4;\n}\n\n" (function_definition "void sqlite3Fts3ExprFree(Fts3Expr *pDel)\n\n{\n  Fts3Expr *pFVar1;\n  Fts3Expr *p;\n  Fts3MultiSegReader **ppFVar2;\n  Fts3Expr *pFVar3;\n  int iVar4;\n  Fts3MultiSegReader *pCsr;\n  Fts3Expr *pFVar5;\n  Fts3Phrase *pFVar6;\n  \n  if (pDel == (Fts3Expr *)0x0) {\n    return;\n  }\n  do {\n    while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }\n    pDel = pFVar5->pRight;\n  } while (pFVar5->pRight != (Fts3Expr *)0x0);\nLAB_000b3fa0:\n  pFVar6 = pFVar5->pPhrase;\n  pFVar3 = pFVar5;\nLAB_000b3fa4:\n  pFVar5 = pFVar3->pParent;\n  if (pFVar6 != (Fts3Phrase *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);\n    if ((pFVar6->doclist).bFreeList != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }\n    (*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);\n    if (0 < pFVar6->nToken) {\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3->aMI);\n  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3);\n  if (pFVar5 == (Fts3Expr *)0x0) {\n    return;\n  }\n  if ((pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)) {\n    pFVar5 = pFVar3->pLeft;\n    do {\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  pFVar6 = pFVar3->pPhrase;\n  goto LAB_000b3fa4;\n}" primitive_type (function_declarator "sqlite3Fts3ExprFree(Fts3Expr *pDel)" identifier (parameter_list "(Fts3Expr *pDel)" ( (parameter_declaration "Fts3Expr *pDel" type_identifier (pointer_declarator "*pDel" * identifier)) ))) (compound_statement "{\n  Fts3Expr *pFVar1;\n  Fts3Expr *p;\n  Fts3MultiSegReader **ppFVar2;\n  Fts3Expr *pFVar3;\n  int iVar4;\n  Fts3MultiSegReader *pCsr;\n  Fts3Expr *pFVar5;\n  Fts3Phrase *pFVar6;\n  \n  if (pDel == (Fts3Expr *)0x0) {\n    return;\n  }\n  do {\n    while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }\n    pDel = pFVar5->pRight;\n  } while (pFVar5->pRight != (Fts3Expr *)0x0);\nLAB_000b3fa0:\n  pFVar6 = pFVar5->pPhrase;\n  pFVar3 = pFVar5;\nLAB_000b3fa4:\n  pFVar5 = pFVar3->pParent;\n  if (pFVar6 != (Fts3Phrase *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);\n    if ((pFVar6->doclist).bFreeList != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }\n    (*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);\n    if (0 < pFVar6->nToken) {\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3->aMI);\n  (*(code *)PTR_sqlite3_free_0015b620)(pFVar3);\n  if (pFVar5 == (Fts3Expr *)0x0) {\n    return;\n  }\n  if ((pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)) {\n    pFVar5 = pFVar3->pLeft;\n    do {\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  pFVar6 = pFVar3->pPhrase;\n  goto LAB_000b3fa4;\n}" { (declaration "Fts3Expr *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "Fts3Expr *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "Fts3MultiSegReader **ppFVar2;" type_identifier (pointer_declarator "**ppFVar2" * (pointer_declarator "*ppFVar2" * identifier)) ;) (declaration "Fts3Expr *pFVar3;" type_identifier (pointer_declarator "*pFVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Fts3MultiSegReader *pCsr;" type_identifier (pointer_declarator "*pCsr" * identifier) ;) (declaration "Fts3Expr *pFVar5;" type_identifier (pointer_declarator "*pFVar5" * identifier) ;) (declaration "Fts3Phrase *pFVar6;" type_identifier (pointer_declarator "*pFVar6" * identifier) ;) (if_statement "if (pDel == (Fts3Expr *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pDel == (Fts3Expr *)0x0)" ( (binary_expression "pDel == (Fts3Expr *)0x0" identifier == (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }\n    pDel = pFVar5->pRight;\n  } while (pFVar5->pRight != (Fts3Expr *)0x0);" do (compound_statement "{\n    while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }\n    pDel = pFVar5->pRight;\n  }" { (while_statement "while (pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0) {\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }" while (parenthesized_expression "(pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0)" ( (comma_expression "pFVar5 = pDel, pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0" (assignment_expression "pFVar5 = pDel" identifier = identifier) , (comma_expression "pFVar3 = pFVar5->pLeft, pFVar3 != (Fts3Expr *)0x0" (assignment_expression "pFVar3 = pFVar5->pLeft" identifier = (field_expression "pFVar5->pLeft" identifier -> field_identifier)) , (binary_expression "pFVar3 != (Fts3Expr *)0x0" identifier != (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)))) )) (compound_statement "{\n      pFVar5 = pFVar3;\n      for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }\n      pDel = pFVar5->pRight;\n      if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;\n    }" { (expression_statement "pFVar5 = pFVar3;" (assignment_expression "pFVar5 = pFVar3" identifier = identifier) ;) (for_statement "for (pFVar3 = pFVar3->pLeft; pFVar3 != (Fts3Expr *)0x0; pFVar3 = pFVar3->pLeft) {\n        pFVar5 = pFVar3;\n      }" for ( (assignment_expression "pFVar3 = pFVar3->pLeft" identifier = (field_expression "pFVar3->pLeft" identifier -> field_identifier)) ; (binary_expression "pFVar3 != (Fts3Expr *)0x0" identifier != (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pFVar3 = pFVar3->pLeft" identifier = (field_expression "pFVar3->pLeft" identifier -> field_identifier)) ) (compound_statement "{\n        pFVar5 = pFVar3;\n      }" { (expression_statement "pFVar5 = pFVar3;" (assignment_expression "pFVar5 = pFVar3" identifier = identifier) ;) })) (expression_statement "pDel = pFVar5->pRight;" (assignment_expression "pDel = pFVar5->pRight" identifier = (field_expression "pFVar5->pRight" identifier -> field_identifier)) ;) (if_statement "if (pFVar5->pRight == (Fts3Expr *)0x0) goto LAB_000b3fa0;" if (parenthesized_expression "(pFVar5->pRight == (Fts3Expr *)0x0)" ( (binary_expression "pFVar5->pRight == (Fts3Expr *)0x0" (field_expression "pFVar5->pRight" identifier -> field_identifier) == (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000b3fa0;" goto statement_identifier ;)) })) (expression_statement "pDel = pFVar5->pRight;" (assignment_expression "pDel = pFVar5->pRight" identifier = (field_expression "pFVar5->pRight" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pFVar5->pRight != (Fts3Expr *)0x0)" ( (binary_expression "pFVar5->pRight != (Fts3Expr *)0x0" (field_expression "pFVar5->pRight" identifier -> field_identifier) != (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (labeled_statement "LAB_000b3fa0:\n  pFVar6 = pFVar5->pPhrase;" statement_identifier : (expression_statement "pFVar6 = pFVar5->pPhrase;" (assignment_expression "pFVar6 = pFVar5->pPhrase" identifier = (field_expression "pFVar5->pPhrase" identifier -> field_identifier)) ;)) (expression_statement "pFVar3 = pFVar5;" (assignment_expression "pFVar3 = pFVar5" identifier = identifier) ;) (labeled_statement "LAB_000b3fa4:\n  pFVar5 = pFVar3->pParent;" statement_identifier : (expression_statement "pFVar5 = pFVar3->pParent;" (assignment_expression "pFVar5 = pFVar3->pParent" identifier = (field_expression "pFVar3->pParent" identifier -> field_identifier)) ;)) (if_statement "if (pFVar6 != (Fts3Phrase *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);\n    if ((pFVar6->doclist).bFreeList != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }\n    (*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);\n    if (0 < pFVar6->nToken) {\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }\n  }" if (parenthesized_expression "(pFVar6 != (Fts3Phrase *)0x0)" ( (binary_expression "pFVar6 != (Fts3Phrase *)0x0" identifier != (cast_expression "(Fts3Phrase *)0x0" ( (type_descriptor "Fts3Phrase *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);\n    if ((pFVar6->doclist).bFreeList != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }\n    (*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);\n    if (0 < pFVar6->nToken) {\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).aAll)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((pFVar6->doclist).aAll)" ( (field_expression "(pFVar6->doclist).aAll" (parenthesized_expression "(pFVar6->doclist)" ( (field_expression "pFVar6->doclist" identifier -> field_identifier) )) . field_identifier) ))) ;) (if_statement "if ((pFVar6->doclist).bFreeList != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }" if (parenthesized_expression "((pFVar6->doclist).bFreeList != 0)" ( (binary_expression "(pFVar6->doclist).bFreeList != 0" (field_expression "(pFVar6->doclist).bFreeList" (parenthesized_expression "(pFVar6->doclist)" ( (field_expression "pFVar6->doclist" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)((pFVar6->doclist).pList)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((pFVar6->doclist).pList)" ( (field_expression "(pFVar6->doclist).pList" (parenthesized_expression "(pFVar6->doclist)" ( (field_expression "pFVar6->doclist" identifier -> field_identifier) )) . field_identifier) ))) ;) })) (expression_statement "(*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28);" (call_expression "(*(code *)PTR_memset_0015b9b4)(pFVar6,0,0x28)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" ( (pointer_expression "*(code *)PTR_memset_0015b9b4" * (cast_expression "(code *)PTR_memset_0015b9b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar6,0,0x28)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if (0 < pFVar6->nToken) {\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }" if (parenthesized_expression "(0 < pFVar6->nToken)" ( (binary_expression "0 < pFVar6->nToken" number_literal < (field_expression "pFVar6->nToken" identifier -> field_identifier)) )) (compound_statement "{\n      iVar4 = 0;\n      ppFVar2 = &pFVar6->aToken[0].pSegcsr;\n      do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);\n    }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "ppFVar2 = &pFVar6->aToken[0].pSegcsr;" (assignment_expression "ppFVar2 = &pFVar6->aToken[0].pSegcsr" identifier = (pointer_expression "&pFVar6->aToken[0].pSegcsr" & (field_expression "pFVar6->aToken[0].pSegcsr" (subscript_expression "pFVar6->aToken[0]" (field_expression "pFVar6->aToken" identifier -> field_identifier) [ number_literal ]) . field_identifier))) ;) (do_statement "do {\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      } while (iVar4 < pFVar6->nToken);" do (compound_statement "{\n        pCsr = *ppFVar2;\n        iVar4 = iVar4 + 1;\n        sqlite3Fts3SegReaderFinish(pCsr);\n        (*(code *)PTR_sqlite3_free_0015b620)(pCsr);\n        *ppFVar2 = (Fts3MultiSegReader *)0x0;\n        ppFVar2 = ppFVar2 + 6;\n      }" { (expression_statement "pCsr = *ppFVar2;" (assignment_expression "pCsr = *ppFVar2" identifier = (pointer_expression "*ppFVar2" * identifier)) ;) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3Fts3SegReaderFinish(pCsr);" (call_expression "sqlite3Fts3SegReaderFinish(pCsr)" identifier (argument_list "(pCsr)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(pCsr);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(pCsr)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pCsr)" ( identifier ))) ;) (expression_statement "*ppFVar2 = (Fts3MultiSegReader *)0x0;" (assignment_expression "*ppFVar2 = (Fts3MultiSegReader *)0x0" (pointer_expression "*ppFVar2" * identifier) = (cast_expression "(Fts3MultiSegReader *)0x0" ( (type_descriptor "Fts3MultiSegReader *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppFVar2 = ppFVar2 + 6;" (assignment_expression "ppFVar2 = ppFVar2 + 6" identifier = (binary_expression "ppFVar2 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar4 < pFVar6->nToken)" ( (binary_expression "iVar4 < pFVar6->nToken" identifier < (field_expression "pFVar6->nToken" identifier -> field_identifier)) )) ;) })) })) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(pFVar3->aMI);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(pFVar3->aMI)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar3->aMI)" ( (field_expression "pFVar3->aMI" identifier -> field_identifier) ))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(pFVar3);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(pFVar3)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar3)" ( identifier ))) ;) (if_statement "if (pFVar5 == (Fts3Expr *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pFVar5 == (Fts3Expr *)0x0)" ( (binary_expression "pFVar5 == (Fts3Expr *)0x0" identifier == (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)) {\n    pFVar5 = pFVar3->pLeft;\n    do {\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    } while( true );\n  }" if (parenthesized_expression "((pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0))" ( (binary_expression "(pFVar5->pLeft == pFVar3) && (pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)" (parenthesized_expression "(pFVar5->pLeft == pFVar3)" ( (binary_expression "pFVar5->pLeft == pFVar3" (field_expression "pFVar5->pLeft" identifier -> field_identifier) == identifier) )) && (parenthesized_expression "(pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0)" ( (comma_expression "pFVar3 = pFVar5->pRight, pFVar3 != (Fts3Expr *)0x0" (assignment_expression "pFVar3 = pFVar5->pRight" identifier = (field_expression "pFVar5->pRight" identifier -> field_identifier)) , (binary_expression "pFVar3 != (Fts3Expr *)0x0" identifier != (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    pFVar5 = pFVar3->pLeft;\n    do {\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    } while( true );\n  }" { (expression_statement "pFVar5 = pFVar3->pLeft;" (assignment_expression "pFVar5 = pFVar3->pLeft" identifier = (field_expression "pFVar3->pLeft" identifier -> field_identifier)) ;) (do_statement "do {\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    } while( true );" do (compound_statement "{\n      if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }\n      pFVar5 = pFVar1->pLeft;\n      pFVar3 = pFVar1;\n    }" { (if_statement "if (pFVar5 == (Fts3Expr *)0x0) {\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }\n      else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }" if (parenthesized_expression "(pFVar5 == (Fts3Expr *)0x0)" ( (binary_expression "pFVar5 == (Fts3Expr *)0x0" identifier == (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pFVar1 = pFVar3->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;\n      }" { (expression_statement "pFVar1 = pFVar3->pRight;" (assignment_expression "pFVar1 = pFVar3->pRight" identifier = (field_expression "pFVar3->pRight" identifier -> field_identifier)) ;) (if_statement "if (pFVar1 == (Fts3Expr *)0x0) goto code_r0x000b40d8;" if (parenthesized_expression "(pFVar1 == (Fts3Expr *)0x0)" ( (binary_expression "pFVar1 == (Fts3Expr *)0x0" identifier == (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto code_r0x000b40d8;" goto statement_identifier ;)) }) (else_clause "else {\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }" else (compound_statement "{\n        pFVar3 = pFVar5->pLeft;\n        while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }\n        pFVar1 = pFVar5->pRight;\n        if (pFVar1 == (Fts3Expr *)0x0) break;\n      }" { (expression_statement "pFVar3 = pFVar5->pLeft;" (assignment_expression "pFVar3 = pFVar5->pLeft" identifier = (field_expression "pFVar5->pLeft" identifier -> field_identifier)) ;) (while_statement "while (pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0) {\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }" while (parenthesized_expression "(pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0)" ( (comma_expression "pFVar1 = pFVar3, pFVar1 != (Fts3Expr *)0x0" (assignment_expression "pFVar1 = pFVar3" identifier = identifier) , (binary_expression "pFVar1 != (Fts3Expr *)0x0" identifier != (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n          pFVar5 = pFVar1;\n          pFVar3 = pFVar1->pLeft;\n        }" { (expression_statement "pFVar5 = pFVar1;" (assignment_expression "pFVar5 = pFVar1" identifier = identifier) ;) (expression_statement "pFVar3 = pFVar1->pLeft;" (assignment_expression "pFVar3 = pFVar1->pLeft" identifier = (field_expression "pFVar1->pLeft" identifier -> field_identifier)) ;) })) (expression_statement "pFVar1 = pFVar5->pRight;" (assignment_expression "pFVar1 = pFVar5->pRight" identifier = (field_expression "pFVar5->pRight" identifier -> field_identifier)) ;) (if_statement "if (pFVar1 == (Fts3Expr *)0x0) break;" if (parenthesized_expression "(pFVar1 == (Fts3Expr *)0x0)" ( (binary_expression "pFVar1 == (Fts3Expr *)0x0" identifier == (cast_expression "(Fts3Expr *)0x0" ( (type_descriptor "Fts3Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) }))) (expression_statement "pFVar5 = pFVar1->pLeft;" (assignment_expression "pFVar5 = pFVar1->pLeft" identifier = (field_expression "pFVar1->pLeft" identifier -> field_identifier)) ;) (expression_statement "pFVar3 = pFVar1;" (assignment_expression "pFVar3 = pFVar1" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (goto_statement "goto LAB_000b3fa0;" goto statement_identifier ;) (labeled_statement "code_r0x000b40d8:\n  pFVar6 = pFVar3->pPhrase;" statement_identifier : (expression_statement "pFVar6 = pFVar3->pPhrase;" (assignment_expression "pFVar6 = pFVar3->pPhrase" identifier = (field_expression "pFVar3->pPhrase" identifier -> field_identifier)) ;)) (goto_statement "goto LAB_000b3fa4;" goto statement_identifier ;) })))
(translation_unit "void FUN_000b3f2c(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}\n\n" (function_definition "void FUN_000b3f2c(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}" primitive_type (function_declarator "FUN_000b3f2c(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);" do (compound_statement "{\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  }" { (while_statement "while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }" while (parenthesized_expression "(iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0)" ( (comma_expression "iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0" (assignment_expression "iVar5 = param_1" identifier = identifier) , (comma_expression "iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar5 + 0xc)" identifier = (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 "iVar2 != 0" identifier != number_literal))) )) (compound_statement "{\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) (for_statement "for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }" for ( (assignment_expression "iVar2 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ) (compound_statement "{\n        iVar5 = iVar2;\n      }" { (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" identifier = identifier) ;) })) (expression_statement "param_1 = *(int *)(iVar5 + 0x10);" (assignment_expression "param_1 = *(int *)(iVar5 + 0x10)" identifier = (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) ))))) ;) (if_statement "if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;" 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) )) (goto_statement "goto LAB_000b3fa0;" goto statement_identifier ;)) })) (expression_statement "param_1 = *(int *)(iVar5 + 0x10);" (assignment_expression "param_1 = *(int *)(iVar5 + 0x10)" identifier = (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) ))))) ;) }) while (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) )) ;) (labeled_statement "LAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);" statement_identifier : (expression_statement "puVar6 = *(undefined4 **)(iVar5 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(iVar5 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(iVar5 + 0x14)" * (cast_expression "(undefined4 **)(iVar5 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar5 + 0x14)" ( (binary_expression "iVar5 + 0x14" identifier + number_literal) ))))) ;)) (expression_statement "iVar2 = iVar5;" (assignment_expression "iVar2 = iVar5" identifier = identifier) ;) (labeled_statement "LAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);" statement_identifier : (expression_statement "iVar5 = *(int *)(iVar2 + 8);" (assignment_expression "iVar5 = *(int *)(iVar2 + 8)" identifier = (pointer_expression "*(int *)(iVar2 + 8)" * (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) ))))) ;)) (if_statement "if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }" if (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" ( (binary_expression "puVar6 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(*puVar6);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(*puVar6)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) ))) ;) (if_statement "if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }" if (parenthesized_expression "(puVar6[6] != 0)" ( (binary_expression "puVar6[6] != 0" (subscript_expression "puVar6[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }" { (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(puVar6[7])" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6[7])" ( (subscript_expression "puVar6[7]" identifier [ number_literal ]) ))) ;) })) (expression_statement "(*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);" (call_expression "(*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" ( (pointer_expression "*(code *)PTR_memset_0015b9b4" * (cast_expression "(code *)PTR_memset_0015b9b4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar6,0,0x28)" ( identifier , number_literal , number_literal ))) ;) (if_statement "if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }" if (parenthesized_expression "(0 < (int)puVar6[0x10])" ( (binary_expression "0 < (int)puVar6[0x10]" number_literal < (cast_expression "(int)puVar6[0x10]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar6[0x10]" identifier [ number_literal ]))) )) (compound_statement "{\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "puVar1 = puVar6 + 0x17;" (assignment_expression "puVar1 = puVar6 + 0x17" identifier = (binary_expression "puVar6 + 0x17" identifier + number_literal)) ;) (do_statement "do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);" do (compound_statement "{\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      }" { (expression_statement "uVar4 = *puVar1;" (assignment_expression "uVar4 = *puVar1" identifier = (pointer_expression "*puVar1" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000b3e74(uVar4);" (call_expression "FUN_000b3e74(uVar4)" identifier (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(uVar4);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4)" ( identifier ))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "puVar1 = puVar1 + 6;" (assignment_expression "puVar1 = puVar1 + 6" identifier = (binary_expression "puVar1 + 6" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < (int)puVar6[0x10])" ( (binary_expression "iVar3 < (int)puVar6[0x10]" identifier < (cast_expression "(int)puVar6[0x10]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar6[0x10]" identifier [ number_literal ]))) )) ;) })) })) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + 0x28))" ( (pointer_expression "*(undefined4 *)(iVar2 + 0x28)" * (cast_expression "(undefined4 *)(iVar2 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x28)" ( (binary_expression "iVar2 + 0x28" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(iVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(iVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" ( (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" * (cast_expression "(code *)PTR_sqlite3_free_0015b620" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2)" ( identifier ))) ;) (if_statement "if (iVar5 == 0) {\n    return;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (if_statement "if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }" if (parenthesized_expression "((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0))" ( (binary_expression "(*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)" (parenthesized_expression "(*(int *)(iVar5 + 0xc) == iVar2)" ( (binary_expression "*(int *)(iVar5 + 0xc) == iVar2" (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) )))) == identifier) )) && (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" identifier = (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 "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }" { (expression_statement "iVar5 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0xc)" identifier = (pointer_expression "*(int *)(iVar2 + 0xc)" * (cast_expression "(int *)(iVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0xc)" ( (binary_expression "iVar2 + 0xc" identifier + number_literal) ))))) ;) (do_statement "do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );" do (compound_statement "{\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    }" { (if_statement "if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }" { (expression_statement "iVar3 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x10)" identifier = (pointer_expression "*(int *)(iVar2 + 0x10)" * (cast_expression "(int *)(iVar2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x10)" ( (binary_expression "iVar2 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto code_r0x000b40d8;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto code_r0x000b40d8;" goto statement_identifier ;)) }) (else_clause "else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" else (compound_statement "{\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" { (expression_statement "iVar2 = *(int *)(iVar5 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0xc)" identifier = (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) ))))) ;) (while_statement "while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }" while (parenthesized_expression "(iVar3 = iVar2, iVar3 != 0)" ( (comma_expression "iVar3 = iVar2, iVar3 != 0" (assignment_expression "iVar3 = iVar2" identifier = identifier) , (binary_expression "iVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }" { (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (expression_statement "iVar2 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xc)" identifier = (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) ))))) ;) })) (expression_statement "iVar3 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar5 + 0x10)" identifier = (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) ))))) ;) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) }))) (expression_statement "iVar5 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xc)" identifier = (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) ))))) ;) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) (goto_statement "goto LAB_000b3fa0;" goto statement_identifier ;) (labeled_statement "code_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);" statement_identifier : (expression_statement "puVar6 = *(undefined4 **)(iVar2 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(iVar2 + 0x14)" identifier = (pointer_expression "*(undefined4 **)(iVar2 + 0x14)" * (cast_expression "(undefined4 **)(iVar2 + 0x14)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 0x14)" ( (binary_expression "iVar2 + 0x14" identifier + number_literal) ))))) ;)) (goto_statement "goto LAB_000b3fa4;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) ))))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement 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 IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) ;) })) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "void FUN_000b3f2c(int param_1)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}" (primitive_type "void") (function_declarator "FUN_000b3f2c(int param_1)" (identifier "FUN_000b3f2c") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);\nLAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);\n  iVar2 = iVar5;\nLAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);\n  if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }\n  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));\n  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);\n  if (iVar5 == 0) {\n    return;\n  }\n  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }\n  goto LAB_000b3fa0;\ncode_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);\n  goto LAB_000b3fa4;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (if_statement "if (param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  } while (*(int *)(iVar5 + 0x10) != 0);" (do "do") (compound_statement "{\n    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }\n    param_1 = *(int *)(iVar5 + 0x10);\n  }" ({ "{") (while_statement "while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }" (while "while") (parenthesized_expression "(iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0)" (( "(") (comma_expression "iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0" (assignment_expression "iVar5 = param_1" (identifier "iVar5") (= "=") (identifier "param_1")) (, ",") (comma_expression "iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar5 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")))) () ")")) (compound_statement "{\n      iVar5 = iVar2;\n      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }\n      param_1 = *(int *)(iVar5 + 0x10);\n      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;\n    }" ({ "{") (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" (identifier "iVar5") (= "=") (identifier "iVar2")) (; ";")) (for_statement "for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {\n        iVar5 = iVar2;\n      }" (for "for") (( "(") (assignment_expression "iVar2 = *(int *)(iVar2 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar2 = *(int *)(iVar2 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) () ")") (compound_statement "{\n        iVar5 = iVar2;\n      }" ({ "{") (expression_statement "iVar5 = iVar2;" (assignment_expression "iVar5 = iVar2" (identifier "iVar5") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "param_1 = *(int *)(iVar5 + 0x10);" (assignment_expression "param_1 = *(int *)(iVar5 + 0x10)" (identifier "param_1") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;" (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")) () ")")) (goto_statement "goto LAB_000b3fa0;" (goto "goto") (statement_identifier "LAB_000b3fa0") (; ";"))) (} "}"))) (expression_statement "param_1 = *(int *)(iVar5 + 0x10);" (assignment_expression "param_1 = *(int *)(iVar5 + 0x10)" (identifier "param_1") (= "=") (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")) () ")"))))) (; ";")) (} "}")) (while "while") (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")) () ")")) (; ";")) (labeled_statement "LAB_000b3fa0:\n  puVar6 = *(undefined4 **)(iVar5 + 0x14);" (statement_identifier "LAB_000b3fa0") (: ":") (expression_statement "puVar6 = *(undefined4 **)(iVar5 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(iVar5 + 0x14)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)(iVar5 + 0x14)" (* "*") (cast_expression "(undefined4 **)(iVar5 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar5 + 0x14)" (( "(") (binary_expression "iVar5 + 0x14" (identifier "iVar5") (+ "+") (number_literal "0x14")) () ")"))))) (; ";"))) (expression_statement "iVar2 = iVar5;" (assignment_expression "iVar2 = iVar5" (identifier "iVar2") (= "=") (identifier "iVar5")) (; ";")) (labeled_statement "LAB_000b3fa4:\n  iVar5 = *(int *)(iVar2 + 8);" (statement_identifier "LAB_000b3fa4") (: ":") (expression_statement "iVar5 = *(int *)(iVar2 + 8);" (assignment_expression "iVar5 = *(int *)(iVar2 + 8)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar2 + 8)" (* "*") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")"))))) (; ";"))) (if_statement "if (puVar6 != (undefined4 *)0x0) {\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }" (if "if") (parenthesized_expression "(puVar6 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar6 != (undefined4 *)0x0" (identifier "puVar6") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);\n    if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }\n    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);\n    if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }\n  }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(*puVar6);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(*puVar6)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015b620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015b620"))) () ")")) (argument_list "(*puVar6)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) () ")"))) (; ";")) (if_statement "if (puVar6[6] != 0) {\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }" (if "if") (parenthesized_expression "(puVar6[6] != 0)" (( "(") (binary_expression "puVar6[6] != 0" (subscript_expression "puVar6[6]" (identifier "puVar6") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);\n    }" ({ "{") (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(puVar6[7])" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015b620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015b620"))) () ")")) (argument_list "(puVar6[7])" (( "(") (subscript_expression "puVar6[7]" (identifier "puVar6") ([ "[") (number_literal "7") (] "]")) () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);" (call_expression "(*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28)" (parenthesized_expression "(*(code *)PTR_memset_0015b9b4)" (( "(") (pointer_expression "*(code *)PTR_memset_0015b9b4" (* "*") (cast_expression "(code *)PTR_memset_0015b9b4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_0015b9b4"))) () ")")) (argument_list "(puVar6,0,0x28)" (( "(") (identifier "puVar6") (, ",") (number_literal "0") (, ",") (number_literal "0x28") () ")"))) (; ";")) (if_statement "if (0 < (int)puVar6[0x10]) {\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }" (if "if") (parenthesized_expression "(0 < (int)puVar6[0x10])" (( "(") (binary_expression "0 < (int)puVar6[0x10]" (number_literal "0") (< "<") (cast_expression "(int)puVar6[0x10]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar6[0x10]" (identifier "puVar6") ([ "[") (number_literal "0x10") (] "]")))) () ")")) (compound_statement "{\n      iVar3 = 0;\n      puVar1 = puVar6 + 0x17;\n      do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);\n    }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = puVar6 + 0x17;" (assignment_expression "puVar1 = puVar6 + 0x17" (identifier "puVar1") (= "=") (binary_expression "puVar6 + 0x17" (identifier "puVar6") (+ "+") (number_literal "0x17"))) (; ";")) (do_statement "do {\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      } while (iVar3 < (int)puVar6[0x10]);" (do "do") (compound_statement "{\n        uVar4 = *puVar1;\n        iVar3 = iVar3 + 1;\n        FUN_000b3e74(uVar4);\n        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);\n        *puVar1 = 0;\n        puVar1 = puVar1 + 6;\n      }" ({ "{") (expression_statement "uVar4 = *puVar1;" (assignment_expression "uVar4 = *puVar1" (identifier "uVar4") (= "=") (pointer_expression "*puVar1" (* "*") (identifier "puVar1"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000b3e74(uVar4);" (call_expression "FUN_000b3e74(uVar4)" (identifier "FUN_000b3e74") (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(uVar4);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(uVar4)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015b620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015b620"))) () ")")) (argument_list "(uVar4)" (( "(") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = puVar1 + 6;" (assignment_expression "puVar1 = puVar1 + 6" (identifier "puVar1") (= "=") (binary_expression "puVar1 + 6" (identifier "puVar1") (+ "+") (number_literal "6"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < (int)puVar6[0x10])" (( "(") (binary_expression "iVar3 < (int)puVar6[0x10]" (identifier "iVar3") (< "<") (cast_expression "(int)puVar6[0x10]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar6[0x10]" (identifier "puVar6") ([ "[") (number_literal "0x10") (] "]")))) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28))" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015b620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015b620"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + 0x28))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x28)" (( "(") (binary_expression "iVar2 + 0x28" (identifier "iVar2") (+ "+") (number_literal "0x28")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_sqlite3_free_0015b620)(iVar2);" (call_expression "(*(code *)PTR_sqlite3_free_0015b620)(iVar2)" (parenthesized_expression "(*(code *)PTR_sqlite3_free_0015b620)" (( "(") (pointer_expression "*(code *)PTR_sqlite3_free_0015b620" (* "*") (cast_expression "(code *)PTR_sqlite3_free_0015b620" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sqlite3_free_0015b620"))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (if_statement "if (iVar5 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }" (if "if") (parenthesized_expression "((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0))" (( "(") (binary_expression "(*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)" (parenthesized_expression "(*(int *)(iVar5 + 0xc) == iVar2)" (( "(") (binary_expression "*(int *)(iVar5 + 0xc) == iVar2" (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "iVar2")) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x10)" (identifier "iVar2") (= "=") (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")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    iVar5 = *(int *)(iVar2 + 0xc);\n    do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );\n  }" ({ "{") (expression_statement "iVar5 = *(int *)(iVar2 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar2 + 0xc)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar2 + 0xc)" (* "*") (cast_expression "(int *)(iVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0xc)" (( "(") (binary_expression "iVar2 + 0xc" (identifier "iVar2") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (do_statement "do {\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    } while( true );" (do "do") (compound_statement "{\n      if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }\n      iVar5 = *(int *)(iVar3 + 0xc);\n      iVar2 = iVar3;\n    }" ({ "{") (if_statement "if (iVar5 == 0) {\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }\n      else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar3 = *(int *)(iVar2 + 0x10);\n        if (iVar3 == 0) goto code_r0x000b40d8;\n      }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar2 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar2 + 0x10)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + 0x10)" (* "*") (cast_expression "(int *)(iVar2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x10)" (( "(") (binary_expression "iVar2 + 0x10" (identifier "iVar2") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) goto code_r0x000b40d8;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto code_r0x000b40d8;" (goto "goto") (statement_identifier "code_r0x000b40d8") (; ";"))) (} "}")) (else_clause "else {\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" (else "else") (compound_statement "{\n        iVar2 = *(int *)(iVar5 + 0xc);\n        while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }\n        iVar3 = *(int *)(iVar5 + 0x10);\n        if (iVar3 == 0) break;\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar5 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar5 + 0xc)" (* "*") (cast_expression "(int *)(iVar5 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0xc)" (( "(") (binary_expression "iVar5 + 0xc" (identifier "iVar5") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (while_statement "while (iVar3 = iVar2, iVar3 != 0) {\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }" (while "while") (parenthesized_expression "(iVar3 = iVar2, iVar3 != 0)" (( "(") (comma_expression "iVar3 = iVar2, iVar3 != 0" (assignment_expression "iVar3 = iVar2" (identifier "iVar3") (= "=") (identifier "iVar2")) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n          iVar5 = iVar3;\n          iVar2 = *(int *)(iVar3 + 0xc);\n        }" ({ "{") (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" (identifier "iVar5") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar2 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar2 = *(int *)(iVar3 + 0xc)" (identifier "iVar2") (= "=") (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")) () ")"))))) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(iVar5 + 0x10);" (assignment_expression "iVar3 = *(int *)(iVar5 + 0x10)" (identifier "iVar3") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")))) (expression_statement "iVar5 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar5 = *(int *)(iVar3 + 0xc)" (identifier "iVar5") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "iVar2 = iVar3;" (assignment_expression "iVar2 = iVar3" (identifier "iVar2") (= "=") (identifier "iVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_000b3fa0;" (goto "goto") (statement_identifier "LAB_000b3fa0") (; ";")) (labeled_statement "code_r0x000b40d8:\n  puVar6 = *(undefined4 **)(iVar2 + 0x14);" (statement_identifier "code_r0x000b40d8") (: ":") (expression_statement "puVar6 = *(undefined4 **)(iVar2 + 0x14);" (assignment_expression "puVar6 = *(undefined4 **)(iVar2 + 0x14)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)(iVar2 + 0x14)" (* "*") (cast_expression "(undefined4 **)(iVar2 + 0x14)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 0x14)" (( "(") (binary_expression "iVar2 + 0x14" (identifier "iVar2") (+ "+") (number_literal "0x14")) () ")"))))) (; ";"))) (goto_statement "goto LAB_000b3fa4;" (goto "goto") (statement_identifier "LAB_000b3fa4") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (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))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (for_statement initializer: (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)))))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (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)))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) 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)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (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) (number_literal) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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 (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (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 (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (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: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (if_statement condition: (parenthesized_expression (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: (identifier))) right: (parenthesized_expression (comma_expression left: (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)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (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: (identifier) right: (number_literal))))))) (while_statement condition: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (true))))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (goto_statement label: (statement_identifier)))))

void MASKED(int param_1)

{
  undefined4 *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  undefined4 *puVar6;
  
  if (param_1 == 0) {
    return;
  }
  do {
    while (iVar5 = param_1, iVar2 = *(int *)(iVar5 + 0xc), iVar2 != 0) {
      iVar5 = iVar2;
      for (iVar2 = *(int *)(iVar2 + 0xc); iVar2 != 0; iVar2 = *(int *)(iVar2 + 0xc)) {
        iVar5 = iVar2;
      }
      param_1 = *(int *)(iVar5 + 0x10);
      if (*(int *)(iVar5 + 0x10) == 0) goto LAB_000b3fa0;
    }
    param_1 = *(int *)(iVar5 + 0x10);
  } while (*(int *)(iVar5 + 0x10) != 0);
LAB_000b3fa0:
  puVar6 = *(undefined4 **)(iVar5 + 0x14);
  iVar2 = iVar5;
LAB_000b3fa4:
  iVar5 = *(int *)(iVar2 + 8);
  if (puVar6 != (undefined4 *)0x0) {
    (*(code *)PTR_sqlite3_free_0015b620)(*puVar6);
    if (puVar6[6] != 0) {
      (*(code *)PTR_sqlite3_free_0015b620)(puVar6[7]);
    }
    (*(code *)PTR_memset_0015b9b4)(puVar6,0,0x28);
    if (0 < (int)puVar6[0x10]) {
      iVar3 = 0;
      puVar1 = puVar6 + 0x17;
      do {
        uVar4 = *puVar1;
        iVar3 = iVar3 + 1;
        FUN_000b3e74(uVar4);
        (*(code *)PTR_sqlite3_free_0015b620)(uVar4);
        *puVar1 = 0;
        puVar1 = puVar1 + 6;
      } while (iVar3 < (int)puVar6[0x10]);
    }
  }
  (*(code *)PTR_sqlite3_free_0015b620)(*(undefined4 *)(iVar2 + 0x28));
  (*(code *)PTR_sqlite3_free_0015b620)(iVar2);
  if (iVar5 == 0) {
    return;
  }
  if ((*(int *)(iVar5 + 0xc) == iVar2) && (iVar2 = *(int *)(iVar5 + 0x10), iVar2 != 0)) {
    iVar5 = *(int *)(iVar2 + 0xc);
    do {
      if (iVar5 == 0) {
        iVar3 = *(int *)(iVar2 + 0x10);
        if (iVar3 == 0) goto code_r0x000b40d8;
      }
      else {
        iVar2 = *(int *)(iVar5 + 0xc);
        while (iVar3 = iVar2, iVar3 != 0) {
          iVar5 = iVar3;
          iVar2 = *(int *)(iVar3 + 0xc);
        }
        iVar3 = *(int *)(iVar5 + 0x10);
        if (iVar3 == 0) break;
      }
      iVar5 = *(int *)(iVar3 + 0xc);
      iVar2 = iVar3;
    } while( true );
  }
  goto LAB_000b3fa0;
code_r0x000b40d8:
  puVar6 = *(undefined4 **)(iVar2 + 0x14);
  goto LAB_000b3fa4;
}

