
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int fts5VocabOpenMethod(sqlite3_vtab *pVTab,sqlite3_vtab_cursor **ppCsr)

{
  sqlite3_module *psVar1;
  _func_int_sqlite3_vtab_cursor_ptr *p_Var2;
  Fts5Table *pTab;
  longlong lVar3;
  char *pcVar4;
  int iVar5;
  sqlite3_vtab_cursor *psVar6;
  int in_GS_OFFSET;
  sqlite_int64 sVar7;
  undefined4 in_stack_ffffffc4;
  int rc;
  sqlite3_stmt *pStmt;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xdde79;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  psVar1 = pVTab[1].pModule;
  rc = 0;
  pStmt = (sqlite3_stmt *)0x0;
  pcVar4 = sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,
                              pVTab[1].nRef,psVar1,psVar1);
  if (pcVar4 != (char *)0x0) {
    rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);
  }
  sqlite3_free(pcVar4);
  if (rc == 1) {
    rc = 0;
    if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;
LAB_000ddf2b:
    rc = sqlite3_finalize(pStmt);
    pStmt = (sqlite3_stmt *)0x0;
    if (rc == 0) {
      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);
      rc = 1;
      pVTab->zErrMsg = pcVar4;
    }
  }
  else if (pStmt == (sqlite3_stmt *)0x0) {
joined_r0x000ddf7a:
    if (rc == 0) goto LAB_000ddf2b;
  }
  else {
LAB_000ddf0a:
    iVar5 = sqlite3_step(pStmt);
    if (iVar5 != 100) goto joined_r0x000ddf7a;
    sVar7 = sqlite3_column_int64(pStmt,0);
    p_Var2 = (pVTab[2].pModule)->xEof;
    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;
    lVar3 = *(longlong *)(p_Var2 + 0xc);
    while (sVar7 != lVar3) {
      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);
      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;
      lVar3 = *(longlong *)(p_Var2 + 0xc);
    }
    if (rc == 0) {
      pTab = *(Fts5Table **)p_Var2;
      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;
      rc = sqlite3Fts5FlushToDisk(pTab);
      if ((rc == 0) &&
         (psVar6 = (sqlite3_vtab_cursor *)
                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),
         psVar6 != (sqlite3_vtab_cursor *)0x0)) {
        psVar6[2].pVtab = &pTab->base;
        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;
        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);
        psVar6[9].pVtab =
             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)
        ;
        goto LAB_000ddf8a;
      }
    }
  }
  sqlite3_finalize(pStmt);
  psVar6 = (sqlite3_vtab_cursor *)0x0;
LAB_000ddf8a:
  *ppCsr = psVar6;
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return rc;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int FUN_000dde70(int param_1,int *param_2)

{
  int *piVar1;
  longlong lVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int in_GS_OFFSET;
  longlong lVar6;
  int local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xdde79;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar4 = *(undefined4 *)(param_1 + 0xc);
  local_28 = 0;
  local_24 = 0;
  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,
                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);
  if (iVar3 != 0) {
    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);
  }
  FUN_00024cc0(iVar3);
  if (local_28 == 1) {
    local_28 = 0;
    if (local_24 != 0) goto LAB_000ddf0a;
LAB_000ddf2b:
    local_28 = FUN_00089c20(local_24);
    local_24 = 0;
    if (local_28 == 0) {
      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),
                           *(undefined4 *)(param_1 + 0xc));
      local_28 = 1;
      *(undefined4 *)(param_1 + 8) = uVar4;
    }
  }
  else if (local_24 == 0) {
joined_r0x000ddf7a:
    if (local_28 == 0) goto LAB_000ddf2b;
  }
  else {
LAB_000ddf0a:
    iVar3 = FUN_000accc0(local_24);
    if (iVar3 != 100) goto joined_r0x000ddf7a;
    lVar6 = FUN_000384e0(local_24,0);
    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);
    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;
    lVar2 = *(longlong *)(piVar1 + 3);
    while (lVar6 != lVar2) {
      piVar1 = (int *)piVar1[1];
      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;
      lVar2 = *(longlong *)(piVar1 + 3);
    }
    if (local_28 == 0) {
      iVar3 = *piVar1;
      if (iVar3 == 0) goto LAB_000ddf2b;
      local_28 = FUN_000dde30();
      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {
        *(int *)(iVar5 + 8) = iVar3;
        *(int *)(iVar5 + 4) = local_24;
        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;
        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;
        goto LAB_000ddf8a;
      }
    }
  }
  FUN_00089c20(local_24);
  iVar5 = 0;
LAB_000ddf8a:
  *param_2 = iVar5;
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f4bf0();
  }
  return local_28;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014cf0
ADD EBX,0x6b05b
SUB ESP,0x34
MOV EAX,dword ptr [ESP + 0x4c]
MOV ESI,dword ptr [ESP + 0x48]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x24],EAX
XOR EAX,EAX
MOV EAX,dword ptr [ESI + 0xc]
MOV dword ptr [ESP + 0x1c],0x0
MOV dword ptr [ESP + 0x20],0x0
PUSH EAX
PUSH EAX
PUSH dword ptr [ESI + 0x10]
PUSH EAX
LEA EAX,[EBX + 0xfffbe468]
PUSH EAX
LEA EDI,[ESP + 0x30]
PUSH EDI
CALL 0x00070d70
ADD ESP,0x20
MOV EBP,EAX
TEST EAX,EAX
JZ 0x000ddee9
SUB ESP,0xc
PUSH 0x0
LEA EAX,[ESP + 0x28]
PUSH EAX
PUSH -0x1
PUSH EBP
PUSH dword ptr [ESI + 0x14]
CALL 0x000c21a0
MOV dword ptr [ESP + 0x34],EAX
ADD ESP,0x20
SUB ESP,0xc
PUSH EBP
CALL 0x00024cc0
MOV EAX,dword ptr [ESP + 0x24]
ADD ESP,0x10
CMP EAX,0x1
JZ 0x000ddfb0
MOV EDX,dword ptr [ESP + 0x18]
TEST EDX,EDX
JZ 0x000ddf78
SUB ESP,0xc
PUSH EDX
CALL 0x000accc0
ADD ESP,0x10
CMP EAX,0x64
JZ 0x000ddfd0
MOV ECX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESP + 0x18]
TEST ECX,ECX
JNZ 0x000ddf7c
SUB ESP,0xc
PUSH EDX
CALL 0x00089c20
MOV dword ptr [ESP + 0x28],0x0
XOR EDX,EDX
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000ddf7c
SUB ESP,0x4
LEA EAX,[EBX + 0xfffaf6fa]
PUSH dword ptr [ESI + 0xc]
PUSH dword ptr [ESI + 0x10]
PUSH EAX
CALL 0x00071090
MOV dword ptr [ESP + 0x24],0x1
MOV EDX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV dword ptr [ESI + 0x8],EAX
JMP 0x000ddf7c
TEST EAX,EAX
JZ 0x000ddf2b
SUB ESP,0xc
PUSH EDX
CALL 0x00089c20
ADD ESP,0x10
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x4]
MOV dword ptr [EDI],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x1c]
XOR ESI,dword ptr GS:[0x14]
JNZ 0x000de0a2
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x14],0x0
TEST EDX,EDX
JNZ 0x000ddf0a
JMP 0x000ddf2b
SUB ESP,0x8
PUSH 0x0
PUSH dword ptr [ESP + 0x24]
CALL 0x000384e0
MOV EBP,EAX
MOV EAX,dword ptr [ESI + 0x18]
MOV dword ptr [ESP + 0x18],EDX
MOV ECX,EDX
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0x28]
TEST EAX,EAX
JZ 0x000ddf1f
MOV EDX,dword ptr [EAX + 0xc]
XOR ECX,dword ptr [EAX + 0x10]
XOR EDX,EBP
OR ECX,EDX
JZ 0x000de034
MOV dword ptr [ESP + 0xc],EDI
MOV EDI,dword ptr [ESP + 0x8]
JMP 0x000de01e
MOV EDX,dword ptr [EAX + 0xc]
MOV ECX,dword ptr [EAX + 0x10]
XOR EDX,EBP
XOR ECX,EDI
OR ECX,EDX
JZ 0x000de030
MOV EAX,dword ptr [EAX + 0x4]
TEST EAX,EAX
JNZ 0x000de010
JMP 0x000ddf1f
MOV EDI,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x14]
TEST EDX,EDX
JNZ 0x000de090
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JZ 0x000de099
MOV EAX,EBP
CALL 0x000dde30
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JNZ 0x000de090
MOV EAX,dword ptr [EBP + 0xc]
MOV EDX,dword ptr [EAX + 0xc]
MOV EAX,EDI
SHL EDX,0x4
ADD EDX,0x48
MOV ECX,EDX
SAR ECX,0x1f
CALL 0x0003f170
TEST EAX,EAX
JZ 0x000de090
MOV EDX,dword ptr [ESP + 0x18]
MOV dword ptr [EAX + 0x8],EBP
MOV dword ptr [EAX + 0x4],EDX
LEA EDX,[EAX + 0x48]
MOV dword ptr [EAX + 0x20],EDX
MOV ECX,dword ptr [EBP + 0xc]
MOV ECX,dword ptr [ECX + 0xc]
LEA EDX,[EDX + ECX*0x8]
MOV dword ptr [EAX + 0x24],EDX
JMP 0x000ddf8a
MOV EDX,dword ptr [ESP + 0x18]
JMP 0x000ddf7c
MOV EDX,dword ptr [ESP + 0x18]
JMP 0x000ddf2b
CALL 0x000f4bf0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_000dde70(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }\n  return local_28;\n}\n\n" comment (function_definition "int FUN_000dde70(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }\n  return local_28;\n}" primitive_type (function_declarator "FUN_000dde70(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }\n  return local_28;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xdde79;" (assignment_expression "uStack_14 = 0xdde79" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);" (assignment_expression "iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" identifier = (call_expression "FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" identifier (argument_list "(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" ( (pointer_expression "&local_28" & identifier) , (string_literal ""SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'"" " string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }" { (expression_statement "local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);" (assignment_expression "local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" identifier = (call_expression "FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , identifier , number_literal , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) })) (expression_statement "FUN_00024cc0(iVar3);" (call_expression "FUN_00024cc0(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (if_statement "if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" if (parenthesized_expression "(local_28 == 1)" ( (binary_expression "local_28 == 1" identifier == number_literal) )) (compound_statement "{\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }" { (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (if_statement "if (local_24 != 0) goto LAB_000ddf0a;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000ddf0a;" goto statement_identifier ;)) (labeled_statement "LAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);" statement_identifier : (expression_statement "local_28 = FUN_00089c20(local_24);" (assignment_expression "local_28 = FUN_00089c20(local_24)" identifier = (call_expression "FUN_00089c20(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;)) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }" if (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }" { (expression_statement "uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));" (assignment_expression "uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" identifier = (call_expression "FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" identifier (argument_list "("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" ( (string_literal ""no such fts5 table: %s.%s"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) }) (else_clause "else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" else (if_statement "if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }" { (labeled_statement "joined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;" statement_identifier : (if_statement "if (local_28 == 0) goto LAB_000ddf2b;" if (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ddf2b;" goto statement_identifier ;))) }) (else_clause "else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" else (compound_statement "{\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" { (labeled_statement "LAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);" statement_identifier : (expression_statement "iVar3 = FUN_000accc0(local_24);" (assignment_expression "iVar3 = FUN_000accc0(local_24)" identifier = (call_expression "FUN_000accc0(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;)) (if_statement "if (iVar3 != 100) goto joined_r0x000ddf7a;" if (parenthesized_expression "(iVar3 != 100)" ( (binary_expression "iVar3 != 100" identifier != number_literal) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar6 = FUN_000384e0(local_24,0);" (assignment_expression "lVar6 = FUN_000384e0(local_24,0)" identifier = (call_expression "FUN_000384e0(local_24,0)" identifier (argument_list "(local_24,0)" ( identifier , number_literal )))) ;) (expression_statement "piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);" (assignment_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28)" identifier = (pointer_expression "*(int **)(*(int *)(param_1 + 0x18) + 0x28)" * (cast_expression "(int **)(*(int *)(param_1 + 0x18) + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x28)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x28" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar2 = *(longlong *)(piVar1 + 3);" (assignment_expression "lVar2 = *(longlong *)(piVar1 + 3)" identifier = (pointer_expression "*(longlong *)(piVar1 + 3)" * (cast_expression "(longlong *)(piVar1 + 3)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 3)" ( (binary_expression "piVar1 + 3" identifier + number_literal) ))))) ;) (while_statement "while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }" while (parenthesized_expression "(lVar6 != lVar2)" ( (binary_expression "lVar6 != lVar2" identifier != identifier) )) (compound_statement "{\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }" { (expression_statement "piVar1 = (int *)piVar1[1];" (assignment_expression "piVar1 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar2 = *(longlong *)(piVar1 + 3);" (assignment_expression "lVar2 = *(longlong *)(piVar1 + 3)" identifier = (pointer_expression "*(longlong *)(piVar1 + 3)" * (cast_expression "(longlong *)(piVar1 + 3)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 3)" ( (binary_expression "piVar1 + 3" identifier + number_literal) ))))) ;) })) (if_statement "if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }" if (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }" { (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar3 == 0) goto LAB_000ddf2b;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ddf2b;" goto statement_identifier ;)) (expression_statement "local_28 = FUN_000dde30();" (assignment_expression "local_28 = FUN_000dde30()" identifier = (call_expression "FUN_000dde30()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }" if (parenthesized_expression "((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0))" ( (binary_expression "(local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)" (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar5 = FUN_0003f170(), iVar5 != 0)" ( (comma_expression "iVar5 = FUN_0003f170(), iVar5 != 0" (assignment_expression "iVar5 = FUN_0003f170()" identifier = (call_expression "FUN_0003f170()" identifier (argument_list "()" ( )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }" { (expression_statement "*(int *)(iVar5 + 8) = iVar3;" (assignment_expression "*(int *)(iVar5 + 8) = iVar3" (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar5 + 4) = local_24;" (assignment_expression "*(int *)(iVar5 + 4) = local_24" (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar5 + 0x20) = iVar5 + 0x48;" (assignment_expression "*(int *)(iVar5 + 0x20) = iVar5 + 0x48" (pointer_expression "*(int *)(iVar5 + 0x20)" * (cast_expression "(int *)(iVar5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x20)" ( (binary_expression "iVar5 + 0x20" identifier + number_literal) )))) = (binary_expression "iVar5 + 0x48" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (binary_expression "iVar5 + 0x48" identifier + number_literal) + (binary_expression "*(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (pointer_expression "*(int *)(*(int *)(iVar3 + 0xc) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0xc) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xc) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0xc) + 0xc" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal) )))) * number_literal))) ;) (goto_statement "goto LAB_000ddf8a;" goto statement_identifier ;) })) })) }))))) (expression_statement "FUN_00089c20(local_24);" (call_expression "FUN_00089c20(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000ddf8a:\n  *param_2 = iVar5;" statement_identifier : (expression_statement "*param_2 = iVar5;" (assignment_expression "*param_2 = iVar5" (pointer_expression "*param_2" * identifier) = identifier) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_000f4bf0();\n  }" { comment (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return local_28;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint fts5VocabOpenMethod(sqlite3_vtab *pVTab,sqlite3_vtab_cursor **ppCsr)\n\n{\n  sqlite3_module *psVar1;\n  _func_int_sqlite3_vtab_cursor_ptr *p_Var2;\n  Fts5Table *pTab;\n  longlong lVar3;\n  char *pcVar4;\n  int iVar5;\n  sqlite3_vtab_cursor *psVar6;\n  int in_GS_OFFSET;\n  sqlite_int64 sVar7;\n  undefined4 in_stack_ffffffc4;\n  int rc;\n  sqlite3_stmt *pStmt;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  psVar1 = pVTab[1].pModule;\n  rc = 0;\n  pStmt = (sqlite3_stmt *)0x0;\n  pcVar4 = sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1);\n  if (pcVar4 != (char *)0x0) {\n    rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);\n  }\n  sqlite3_free(pcVar4);\n  if (rc == 1) {\n    rc = 0;\n    if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    rc = sqlite3_finalize(pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    if (rc == 0) {\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }\n  }\n  else if (pStmt == (sqlite3_stmt *)0x0) {\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  sqlite3_finalize(pStmt);\n  psVar6 = (sqlite3_vtab_cursor *)0x0;\nLAB_000ddf8a:\n  *ppCsr = psVar6;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return rc;\n}\n\n" comment comment (function_definition "int fts5VocabOpenMethod(sqlite3_vtab *pVTab,sqlite3_vtab_cursor **ppCsr)\n\n{\n  sqlite3_module *psVar1;\n  _func_int_sqlite3_vtab_cursor_ptr *p_Var2;\n  Fts5Table *pTab;\n  longlong lVar3;\n  char *pcVar4;\n  int iVar5;\n  sqlite3_vtab_cursor *psVar6;\n  int in_GS_OFFSET;\n  sqlite_int64 sVar7;\n  undefined4 in_stack_ffffffc4;\n  int rc;\n  sqlite3_stmt *pStmt;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  psVar1 = pVTab[1].pModule;\n  rc = 0;\n  pStmt = (sqlite3_stmt *)0x0;\n  pcVar4 = sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1);\n  if (pcVar4 != (char *)0x0) {\n    rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);\n  }\n  sqlite3_free(pcVar4);\n  if (rc == 1) {\n    rc = 0;\n    if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    rc = sqlite3_finalize(pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    if (rc == 0) {\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }\n  }\n  else if (pStmt == (sqlite3_stmt *)0x0) {\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  sqlite3_finalize(pStmt);\n  psVar6 = (sqlite3_vtab_cursor *)0x0;\nLAB_000ddf8a:\n  *ppCsr = psVar6;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return rc;\n}" primitive_type (function_declarator "fts5VocabOpenMethod(sqlite3_vtab *pVTab,sqlite3_vtab_cursor **ppCsr)" identifier (parameter_list "(sqlite3_vtab *pVTab,sqlite3_vtab_cursor **ppCsr)" ( (parameter_declaration "sqlite3_vtab *pVTab" type_identifier (pointer_declarator "*pVTab" * identifier)) , (parameter_declaration "sqlite3_vtab_cursor **ppCsr" type_identifier (pointer_declarator "**ppCsr" * (pointer_declarator "*ppCsr" * identifier))) ))) (compound_statement "{\n  sqlite3_module *psVar1;\n  _func_int_sqlite3_vtab_cursor_ptr *p_Var2;\n  Fts5Table *pTab;\n  longlong lVar3;\n  char *pcVar4;\n  int iVar5;\n  sqlite3_vtab_cursor *psVar6;\n  int in_GS_OFFSET;\n  sqlite_int64 sVar7;\n  undefined4 in_stack_ffffffc4;\n  int rc;\n  sqlite3_stmt *pStmt;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  psVar1 = pVTab[1].pModule;\n  rc = 0;\n  pStmt = (sqlite3_stmt *)0x0;\n  pcVar4 = sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1);\n  if (pcVar4 != (char *)0x0) {\n    rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);\n  }\n  sqlite3_free(pcVar4);\n  if (rc == 1) {\n    rc = 0;\n    if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    rc = sqlite3_finalize(pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    if (rc == 0) {\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }\n  }\n  else if (pStmt == (sqlite3_stmt *)0x0) {\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  sqlite3_finalize(pStmt);\n  psVar6 = (sqlite3_vtab_cursor *)0x0;\nLAB_000ddf8a:\n  *ppCsr = psVar6;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return rc;\n}" { (declaration "sqlite3_module *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "_func_int_sqlite3_vtab_cursor_ptr *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "Fts5Table *pTab;" type_identifier (pointer_declarator "*pTab" * identifier) ;) (declaration "longlong lVar3;" type_identifier identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "sqlite3_vtab_cursor *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "sqlite_int64 sVar7;" type_identifier identifier ;) (declaration "undefined4 in_stack_ffffffc4;" type_identifier identifier ;) (declaration "int rc;" primitive_type identifier ;) (declaration "sqlite3_stmt *pStmt;" type_identifier (pointer_declarator "*pStmt" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xdde79;" (assignment_expression "uStack_14 = 0xdde79" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "psVar1 = pVTab[1].pModule;" (assignment_expression "psVar1 = pVTab[1].pModule" identifier = (field_expression "pVTab[1].pModule" (subscript_expression "pVTab[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1);" (assignment_expression "pcVar4 = sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1)" identifier = (call_expression "sqlite3Fts5Mprintf(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1)" identifier (argument_list "(&rc,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,\n                              pVTab[1].nRef,psVar1,psVar1)" ( (pointer_expression "&rc" & identifier) , (string_literal ""SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'"" " string_content escape_sequence string_content escape_sequence ") , identifier , (field_expression "pVTab[1].nRef" (subscript_expression "pVTab[1]" identifier [ number_literal ]) . field_identifier) , identifier , identifier )))) ;) (if_statement "if (pcVar4 != (char *)0x0) {\n    rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);\n  }" if (parenthesized_expression "(pcVar4 != (char *)0x0)" ( (binary_expression "pcVar4 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);\n  }" { (expression_statement "rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0);" (assignment_expression "rc = sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0)" identifier = (call_expression "sqlite3_prepare_v2((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0)" identifier (argument_list "((sqlite3 *)pVTab[1].zErrMsg,pcVar4,-1,&pStmt,(char **)0x0)" ( (cast_expression "(sqlite3 *)pVTab[1].zErrMsg" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVTab[1].zErrMsg" (subscript_expression "pVTab[1]" identifier [ number_literal ]) . field_identifier)) , identifier , number_literal , (pointer_expression "&pStmt" & identifier) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) })) (expression_statement "sqlite3_free(pcVar4);" (call_expression "sqlite3_free(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (if_statement "if (rc == 1) {\n    rc = 0;\n    if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    rc = sqlite3_finalize(pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    if (rc == 0) {\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }\n  }\n  else if (pStmt == (sqlite3_stmt *)0x0) {\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" if (parenthesized_expression "(rc == 1)" ( (binary_expression "rc == 1" identifier == number_literal) )) (compound_statement "{\n    rc = 0;\n    if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    rc = sqlite3_finalize(pStmt);\n    pStmt = (sqlite3_stmt *)0x0;\n    if (rc == 0) {\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }\n  }" { (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (if_statement "if (pStmt != (sqlite3_stmt *)0x0) goto LAB_000ddf0a;" if (parenthesized_expression "(pStmt != (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt != (sqlite3_stmt *)0x0" identifier != (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000ddf0a;" goto statement_identifier ;)) (labeled_statement "LAB_000ddf2b:\n    rc = sqlite3_finalize(pStmt);" statement_identifier : (expression_statement "rc = sqlite3_finalize(pStmt);" (assignment_expression "rc = sqlite3_finalize(pStmt)" identifier = (call_expression "sqlite3_finalize(pStmt)" identifier (argument_list "(pStmt)" ( identifier )))) ;)) (expression_statement "pStmt = (sqlite3_stmt *)0x0;" (assignment_expression "pStmt = (sqlite3_stmt *)0x0" identifier = (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (rc == 0) {\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n      pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);\n      rc = 1;\n      pVTab->zErrMsg = pcVar4;\n    }" { (expression_statement "pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);" (assignment_expression "pcVar4 = sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule)" identifier = (call_expression "sqlite3_mprintf("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule)" identifier (argument_list "("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule)" ( (string_literal ""no such fts5 table: %s.%s"" " string_content ") , (field_expression "pVTab[1].nRef" (subscript_expression "pVTab[1]" identifier [ number_literal ]) . field_identifier) , (field_expression "pVTab[1].pModule" (subscript_expression "pVTab[1]" identifier [ number_literal ]) . field_identifier) )))) ;) (expression_statement "rc = 1;" (assignment_expression "rc = 1" identifier = number_literal) ;) (expression_statement "pVTab->zErrMsg = pcVar4;" (assignment_expression "pVTab->zErrMsg = pcVar4" (field_expression "pVTab->zErrMsg" identifier -> field_identifier) = identifier) ;) })) }) (else_clause "else if (pStmt == (sqlite3_stmt *)0x0) {\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" else (if_statement "if (pStmt == (sqlite3_stmt *)0x0) {\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" if (parenthesized_expression "(pStmt == (sqlite3_stmt *)0x0)" ( (binary_expression "pStmt == (sqlite3_stmt *)0x0" identifier == (cast_expression "(sqlite3_stmt *)0x0" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\njoined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;\n  }" { (labeled_statement "joined_r0x000ddf7a:\n    if (rc == 0) goto LAB_000ddf2b;" statement_identifier : (if_statement "if (rc == 0) goto LAB_000ddf2b;" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ddf2b;" goto statement_identifier ;))) }) (else_clause "else {\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" else (compound_statement "{\nLAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);\n    if (iVar5 != 100) goto joined_r0x000ddf7a;\n    sVar7 = sqlite3_column_int64(pStmt,0);\n    p_Var2 = (pVTab[2].pModule)->xEof;\n    if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n    lVar3 = *(longlong *)(p_Var2 + 0xc);\n    while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }\n    if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" { (labeled_statement "LAB_000ddf0a:\n    iVar5 = sqlite3_step(pStmt);" statement_identifier : (expression_statement "iVar5 = sqlite3_step(pStmt);" (assignment_expression "iVar5 = sqlite3_step(pStmt)" identifier = (call_expression "sqlite3_step(pStmt)" identifier (argument_list "(pStmt)" ( identifier )))) ;)) (if_statement "if (iVar5 != 100) goto joined_r0x000ddf7a;" if (parenthesized_expression "(iVar5 != 100)" ( (binary_expression "iVar5 != 100" identifier != number_literal) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "sVar7 = sqlite3_column_int64(pStmt,0);" (assignment_expression "sVar7 = sqlite3_column_int64(pStmt,0)" identifier = (call_expression "sqlite3_column_int64(pStmt,0)" identifier (argument_list "(pStmt,0)" ( identifier , number_literal )))) ;) (expression_statement "p_Var2 = (pVTab[2].pModule)->xEof;" (assignment_expression "p_Var2 = (pVTab[2].pModule)->xEof" identifier = (field_expression "(pVTab[2].pModule)->xEof" (parenthesized_expression "(pVTab[2].pModule)" ( (field_expression "pVTab[2].pModule" (subscript_expression "pVTab[2]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier)) ;) (if_statement "if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;" if (parenthesized_expression "(p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0)" ( (binary_expression "p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0" identifier == (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar3 = *(longlong *)(p_Var2 + 0xc);" (assignment_expression "lVar3 = *(longlong *)(p_Var2 + 0xc)" identifier = (pointer_expression "*(longlong *)(p_Var2 + 0xc)" * (cast_expression "(longlong *)(p_Var2 + 0xc)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var2 + 0xc)" ( (binary_expression "p_Var2 + 0xc" identifier + number_literal) ))))) ;) (while_statement "while (sVar7 != lVar3) {\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }" while (parenthesized_expression "(sVar7 != lVar3)" ( (binary_expression "sVar7 != lVar3" identifier != identifier) )) (compound_statement "{\n      p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);\n      if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;\n      lVar3 = *(longlong *)(p_Var2 + 0xc);\n    }" { (expression_statement "p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4);" (assignment_expression "p_Var2 = *(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4)" identifier = (pointer_expression "*(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4)" * (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr **)(p_Var2 + 4)" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(p_Var2 + 4)" ( (binary_expression "p_Var2 + 4" identifier + number_literal) ))))) ;) (if_statement "if (p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0) goto joined_r0x000ddf7a;" if (parenthesized_expression "(p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0)" ( (binary_expression "p_Var2 == (_func_int_sqlite3_vtab_cursor_ptr *)0x0" identifier == (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar3 = *(longlong *)(p_Var2 + 0xc);" (assignment_expression "lVar3 = *(longlong *)(p_Var2 + 0xc)" identifier = (pointer_expression "*(longlong *)(p_Var2 + 0xc)" * (cast_expression "(longlong *)(p_Var2 + 0xc)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(p_Var2 + 0xc)" ( (binary_expression "p_Var2 + 0xc" identifier + number_literal) ))))) ;) })) (if_statement "if (rc == 0) {\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }" if (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) (compound_statement "{\n      pTab = *(Fts5Table **)p_Var2;\n      if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;\n      rc = sqlite3Fts5FlushToDisk(pTab);\n      if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }\n    }" { (expression_statement "pTab = *(Fts5Table **)p_Var2;" (assignment_expression "pTab = *(Fts5Table **)p_Var2" identifier = (pointer_expression "*(Fts5Table **)p_Var2" * (cast_expression "(Fts5Table **)p_Var2" ( (type_descriptor "Fts5Table **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (pTab == (Fts5Table *)0x0) goto LAB_000ddf2b;" if (parenthesized_expression "(pTab == (Fts5Table *)0x0)" ( (binary_expression "pTab == (Fts5Table *)0x0" identifier == (cast_expression "(Fts5Table *)0x0" ( (type_descriptor "Fts5Table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000ddf2b;" goto statement_identifier ;)) (expression_statement "rc = sqlite3Fts5FlushToDisk(pTab);" (assignment_expression "rc = sqlite3Fts5FlushToDisk(pTab)" identifier = (call_expression "sqlite3Fts5FlushToDisk(pTab)" identifier (argument_list "(pTab)" ( identifier )))) ;) (if_statement "if ((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)) {\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }" if (parenthesized_expression "((rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0))" ( (binary_expression "(rc == 0) &&\n         (psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)" (parenthesized_expression "(rc == 0)" ( (binary_expression "rc == 0" identifier == number_literal) )) && (parenthesized_expression "(psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0)" ( (comma_expression "psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4)),\n         psVar6 != (sqlite3_vtab_cursor *)0x0" (assignment_expression "psVar6 = (sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4))" identifier = (cast_expression "(sqlite3_vtab_cursor *)\n                   sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4))" ( (type_descriptor "sqlite3_vtab_cursor *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3Fts5MallocZero(&rc,CONCAT44(ppCsr,in_stack_ffffffc4))" identifier (argument_list "(&rc,CONCAT44(ppCsr,in_stack_ffffffc4))" ( (pointer_expression "&rc" & identifier) , (call_expression "CONCAT44(ppCsr,in_stack_ffffffc4)" identifier (argument_list "(ppCsr,in_stack_ffffffc4)" ( identifier , identifier ))) ))))) , (binary_expression "psVar6 != (sqlite3_vtab_cursor *)0x0" identifier != (cast_expression "(sqlite3_vtab_cursor *)0x0" ( (type_descriptor "sqlite3_vtab_cursor *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n        psVar6[2].pVtab = &pTab->base;\n        psVar6[1].pVtab = (sqlite3_vtab *)pStmt;\n        psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);\n        psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;\n        goto LAB_000ddf8a;\n      }" { (expression_statement "psVar6[2].pVtab = &pTab->base;" (assignment_expression "psVar6[2].pVtab = &pTab->base" (field_expression "psVar6[2].pVtab" (subscript_expression "psVar6[2]" identifier [ number_literal ]) . field_identifier) = (pointer_expression "&pTab->base" & (field_expression "pTab->base" identifier -> field_identifier))) ;) (expression_statement "psVar6[1].pVtab = (sqlite3_vtab *)pStmt;" (assignment_expression "psVar6[1].pVtab = (sqlite3_vtab *)pStmt" (field_expression "psVar6[1].pVtab" (subscript_expression "psVar6[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)pStmt" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12);" (assignment_expression "psVar6[8].pVtab = (sqlite3_vtab *)(psVar6 + 0x12)" (field_expression "psVar6[8].pVtab" (subscript_expression "psVar6[8]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)(psVar6 + 0x12)" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 0x12)" ( (binary_expression "psVar6 + 0x12" identifier + number_literal) )))) ;) (expression_statement "psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)\n        ;" (assignment_expression "psVar6[9].pVtab =\n             (sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)" (field_expression "psVar6[9].pVtab" (subscript_expression "psVar6[9]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2)" ( (binary_expression "&((sqlite3_vtab *)(psVar6 + 0x12))->pModule + pTab->pConfig->nCol * 2" (pointer_expression "&((sqlite3_vtab *)(psVar6 + 0x12))->pModule" & (field_expression "((sqlite3_vtab *)(psVar6 + 0x12))->pModule" (parenthesized_expression "((sqlite3_vtab *)(psVar6 + 0x12))" ( (cast_expression "(sqlite3_vtab *)(psVar6 + 0x12)" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar6 + 0x12)" ( (binary_expression "psVar6 + 0x12" identifier + number_literal) ))) )) -> field_identifier)) + (binary_expression "pTab->pConfig->nCol * 2" (field_expression "pTab->pConfig->nCol" (field_expression "pTab->pConfig" identifier -> field_identifier) -> field_identifier) * number_literal)) )))) ;) (goto_statement "goto LAB_000ddf8a;" goto statement_identifier ;) })) })) }))))) (expression_statement "sqlite3_finalize(pStmt);" (call_expression "sqlite3_finalize(pStmt)" identifier (argument_list "(pStmt)" ( identifier ))) ;) (expression_statement "psVar6 = (sqlite3_vtab_cursor *)0x0;" (assignment_expression "psVar6 = (sqlite3_vtab_cursor *)0x0" identifier = (cast_expression "(sqlite3_vtab_cursor *)0x0" ( (type_descriptor "sqlite3_vtab_cursor *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_000ddf8a:\n  *ppCsr = psVar6;" statement_identifier : (expression_statement "*ppCsr = psVar6;" (assignment_expression "*ppCsr = psVar6" (pointer_expression "*ppCsr" * identifier) = identifier) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return rc;" return identifier ;) })))
(translation_unit "int FUN_000dde70(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return local_28;\n}\n\n" (function_definition "int FUN_000dde70(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return local_28;\n}" primitive_type (function_declarator "FUN_000dde70(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return local_28;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longlong lVar6;" type_identifier identifier ;) (declaration "int local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xdde79;" (assignment_expression "uStack_14 = 0xdde79" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);" (assignment_expression "iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" identifier = (call_expression "FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" identifier (argument_list "(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" ( (pointer_expression "&local_28" & identifier) , (string_literal ""SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'"" " string_content escape_sequence string_content escape_sequence ") , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , identifier , identifier )))) ;) (if_statement "if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }" { (expression_statement "local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);" (assignment_expression "local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" identifier = (call_expression "FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" identifier (argument_list "(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" ( (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) , identifier , number_literal , (pointer_expression "&local_24" & identifier) , number_literal )))) ;) })) (expression_statement "FUN_00024cc0(iVar3);" (call_expression "FUN_00024cc0(iVar3)" identifier (argument_list "(iVar3)" ( identifier ))) ;) (if_statement "if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" if (parenthesized_expression "(local_28 == 1)" ( (binary_expression "local_28 == 1" identifier == number_literal) )) (compound_statement "{\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }" { (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (if_statement "if (local_24 != 0) goto LAB_000ddf0a;" if (parenthesized_expression "(local_24 != 0)" ( (binary_expression "local_24 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000ddf0a;" goto statement_identifier ;)) (labeled_statement "LAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);" statement_identifier : (expression_statement "local_28 = FUN_00089c20(local_24);" (assignment_expression "local_28 = FUN_00089c20(local_24)" identifier = (call_expression "FUN_00089c20(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;)) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }" if (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }" { (expression_statement "uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));" (assignment_expression "uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" identifier = (call_expression "FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" identifier (argument_list "("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" ( (string_literal ""no such fts5 table: %s.%s"" " string_content ") , (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) )))) ;) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 8) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) }) (else_clause "else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" else (if_statement "if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" if (parenthesized_expression "(local_24 == 0)" ( (binary_expression "local_24 == 0" identifier == number_literal) )) (compound_statement "{\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }" { (labeled_statement "joined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;" statement_identifier : (if_statement "if (local_28 == 0) goto LAB_000ddf2b;" if (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ddf2b;" goto statement_identifier ;))) }) (else_clause "else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" else (compound_statement "{\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" { (labeled_statement "LAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);" statement_identifier : (expression_statement "iVar3 = FUN_000accc0(local_24);" (assignment_expression "iVar3 = FUN_000accc0(local_24)" identifier = (call_expression "FUN_000accc0(local_24)" identifier (argument_list "(local_24)" ( identifier )))) ;)) (if_statement "if (iVar3 != 100) goto joined_r0x000ddf7a;" if (parenthesized_expression "(iVar3 != 100)" ( (binary_expression "iVar3 != 100" identifier != number_literal) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar6 = FUN_000384e0(local_24,0);" (assignment_expression "lVar6 = FUN_000384e0(local_24,0)" identifier = (call_expression "FUN_000384e0(local_24,0)" identifier (argument_list "(local_24,0)" ( identifier , number_literal )))) ;) (expression_statement "piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);" (assignment_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28)" identifier = (pointer_expression "*(int **)(*(int *)(param_1 + 0x18) + 0x28)" * (cast_expression "(int **)(*(int *)(param_1 + 0x18) + 0x28)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x28)" ( (binary_expression "*(int *)(param_1 + 0x18) + 0x28" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar2 = *(longlong *)(piVar1 + 3);" (assignment_expression "lVar2 = *(longlong *)(piVar1 + 3)" identifier = (pointer_expression "*(longlong *)(piVar1 + 3)" * (cast_expression "(longlong *)(piVar1 + 3)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 3)" ( (binary_expression "piVar1 + 3" identifier + number_literal) ))))) ;) (while_statement "while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }" while (parenthesized_expression "(lVar6 != lVar2)" ( (binary_expression "lVar6 != lVar2" identifier != identifier) )) (compound_statement "{\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }" { (expression_statement "piVar1 = (int *)piVar1[1];" (assignment_expression "piVar1 = (int *)piVar1[1]" identifier = (cast_expression "(int *)piVar1[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[1]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto joined_r0x000ddf7a;" goto statement_identifier ;)) (expression_statement "lVar2 = *(longlong *)(piVar1 + 3);" (assignment_expression "lVar2 = *(longlong *)(piVar1 + 3)" identifier = (pointer_expression "*(longlong *)(piVar1 + 3)" * (cast_expression "(longlong *)(piVar1 + 3)" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 3)" ( (binary_expression "piVar1 + 3" identifier + number_literal) ))))) ;) })) (if_statement "if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }" if (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }" { (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" identifier = (pointer_expression "*piVar1" * identifier)) ;) (if_statement "if (iVar3 == 0) goto LAB_000ddf2b;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ddf2b;" goto statement_identifier ;)) (expression_statement "local_28 = FUN_000dde30();" (assignment_expression "local_28 = FUN_000dde30()" identifier = (call_expression "FUN_000dde30()" identifier (argument_list "()" ( )))) ;) (if_statement "if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }" if (parenthesized_expression "((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0))" ( (binary_expression "(local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)" (parenthesized_expression "(local_28 == 0)" ( (binary_expression "local_28 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar5 = FUN_0003f170(), iVar5 != 0)" ( (comma_expression "iVar5 = FUN_0003f170(), iVar5 != 0" (assignment_expression "iVar5 = FUN_0003f170()" identifier = (call_expression "FUN_0003f170()" identifier (argument_list "()" ( )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }" { (expression_statement "*(int *)(iVar5 + 8) = iVar3;" (assignment_expression "*(int *)(iVar5 + 8) = iVar3" (pointer_expression "*(int *)(iVar5 + 8)" * (cast_expression "(int *)(iVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 8)" ( (binary_expression "iVar5 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar5 + 4) = local_24;" (assignment_expression "*(int *)(iVar5 + 4) = local_24" (pointer_expression "*(int *)(iVar5 + 4)" * (cast_expression "(int *)(iVar5 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(iVar5 + 0x20) = iVar5 + 0x48;" (assignment_expression "*(int *)(iVar5 + 0x20) = iVar5 + 0x48" (pointer_expression "*(int *)(iVar5 + 0x20)" * (cast_expression "(int *)(iVar5 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x20)" ( (binary_expression "iVar5 + 0x20" identifier + number_literal) )))) = (binary_expression "iVar5 + 0x48" identifier + number_literal)) ;) (expression_statement "*(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (pointer_expression "*(int *)(iVar5 + 0x24)" * (cast_expression "(int *)(iVar5 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x24)" ( (binary_expression "iVar5 + 0x24" identifier + number_literal) )))) = (binary_expression "iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (binary_expression "iVar5 + 0x48" identifier + number_literal) + (binary_expression "*(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (pointer_expression "*(int *)(*(int *)(iVar3 + 0xc) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0xc) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0xc) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0xc) + 0xc" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) + number_literal) )))) * number_literal))) ;) (goto_statement "goto LAB_000ddf8a;" goto statement_identifier ;) })) })) }))))) (expression_statement "FUN_00089c20(local_24);" (call_expression "FUN_00089c20(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_000ddf8a:\n  *param_2 = iVar5;" statement_identifier : (expression_statement "*param_2 = iVar5;" (assignment_expression "*param_2 = iVar5" (pointer_expression "*param_2" * identifier) = identifier) ;)) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_000f4bf0();\n  }" { (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return local_28;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT , (pointer_expression & IDENT) , LIT )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT + LIT) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT))) ;) (goto_statement goto statement_identifier ;) })) })) }))))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_000dde70(int param_1,int *param_2)\n\n{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return local_28;\n}" (primitive_type "int") (function_declarator "FUN_000dde70(int param_1,int *param_2)" (identifier "FUN_000dde70") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  longlong lVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int in_GS_OFFSET;\n  longlong lVar6;\n  int local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xdde79;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = *(undefined4 *)(param_1 + 0xc);\n  local_28 = 0;\n  local_24 = 0;\n  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);\n  if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }\n  FUN_00024cc0(iVar3);\n  if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }\n  FUN_00089c20(local_24);\n  iVar5 = 0;\nLAB_000ddf8a:\n  *param_2 = iVar5;\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }\n  return local_28;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (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 "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "longlong lVar6;" (type_identifier "longlong") (identifier "lVar6") (; ";")) (declaration "int local_28;" (primitive_type "int") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xdde79;" (assignment_expression "uStack_14 = 0xdde79" (identifier "uStack_14") (= "=") (number_literal "0xdde79")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0xc)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);" (assignment_expression "iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" (identifier "iVar3") (= "=") (call_expression "FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" (identifier "FUN_00070d70") (argument_list "(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,\n                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (string_literal ""SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'"" (" """) (string_content "SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH ") (escape_sequence "\'") (string_content "*id") (escape_sequence "\'") (" """)) (, ",") (identifier "uVar4") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "uVar4") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);\n  }" ({ "{") (expression_statement "local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);" (assignment_expression "local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" (identifier "local_28") (= "=") (call_expression "FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" (identifier "FUN_000c21a0") (argument_list "(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0)" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (, ",") (identifier "iVar3") (, ",") (number_literal "0xffffffff") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (number_literal "0") () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00024cc0(iVar3);" (call_expression "FUN_00024cc0(iVar3)" (identifier "FUN_00024cc0") (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (if_statement "if (local_28 == 1) {\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }\n  else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(local_28 == 1)" (( "(") (binary_expression "local_28 == 1" (identifier "local_28") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    local_28 = 0;\n    if (local_24 != 0) goto LAB_000ddf0a;\nLAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);\n    local_24 = 0;\n    if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }\n  }" ({ "{") (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_24 != 0) goto LAB_000ddf0a;" (if "if") (parenthesized_expression "(local_24 != 0)" (( "(") (binary_expression "local_24 != 0" (identifier "local_24") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000ddf0a;" (goto "goto") (statement_identifier "LAB_000ddf0a") (; ";"))) (labeled_statement "LAB_000ddf2b:\n    local_28 = FUN_00089c20(local_24);" (statement_identifier "LAB_000ddf2b") (: ":") (expression_statement "local_28 = FUN_00089c20(local_24);" (assignment_expression "local_28 = FUN_00089c20(local_24)" (identifier "local_28") (= "=") (call_expression "FUN_00089c20(local_24)" (identifier "FUN_00089c20") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";"))) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_28 == 0) {\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }" (if "if") (parenthesized_expression "(local_28 == 0)" (( "(") (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));\n      local_28 = 1;\n      *(undefined4 *)(param_1 + 8) = uVar4;\n    }" ({ "{") (expression_statement "uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc));" (assignment_expression "uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" (identifier "uVar4") (= "=") (call_expression "FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" (identifier "FUN_00071090") (argument_list "("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),\n                           *(undefined4 *)(param_1 + 0xc))" (( "(") (string_literal ""no such fts5 table: %s.%s"" (" """) (string_content "no such fts5 table: %s.%s") (" """)) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) () ")")))) (; ";")) (expression_statement "local_28 = 1;" (assignment_expression "local_28 = 1" (identifier "local_28") (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 8) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (} "}"))) (} "}")) (else_clause "else if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" (else "else") (if_statement "if (local_24 == 0) {\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }\n  else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(local_24 == 0)" (( "(") (binary_expression "local_24 == 0" (identifier "local_24") (== "==") (number_literal "0")) () ")")) (compound_statement "{\njoined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;\n  }" ({ "{") (labeled_statement "joined_r0x000ddf7a:\n    if (local_28 == 0) goto LAB_000ddf2b;" (statement_identifier "joined_r0x000ddf7a") (: ":") (if_statement "if (local_28 == 0) goto LAB_000ddf2b;" (if "if") (parenthesized_expression "(local_28 == 0)" (( "(") (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000ddf2b;" (goto "goto") (statement_identifier "LAB_000ddf2b") (; ";")))) (} "}")) (else_clause "else {\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" (else "else") (compound_statement "{\nLAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);\n    if (iVar3 != 100) goto joined_r0x000ddf7a;\n    lVar6 = FUN_000384e0(local_24,0);\n    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);\n    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n    lVar2 = *(longlong *)(piVar1 + 3);\n    while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }\n    if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }\n  }" ({ "{") (labeled_statement "LAB_000ddf0a:\n    iVar3 = FUN_000accc0(local_24);" (statement_identifier "LAB_000ddf0a") (: ":") (expression_statement "iVar3 = FUN_000accc0(local_24);" (assignment_expression "iVar3 = FUN_000accc0(local_24)" (identifier "iVar3") (= "=") (call_expression "FUN_000accc0(local_24)" (identifier "FUN_000accc0") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")")))) (; ";"))) (if_statement "if (iVar3 != 100) goto joined_r0x000ddf7a;" (if "if") (parenthesized_expression "(iVar3 != 100)" (( "(") (binary_expression "iVar3 != 100" (identifier "iVar3") (!= "!=") (number_literal "100")) () ")")) (goto_statement "goto joined_r0x000ddf7a;" (goto "goto") (statement_identifier "joined_r0x000ddf7a") (; ";"))) (expression_statement "lVar6 = FUN_000384e0(local_24,0);" (assignment_expression "lVar6 = FUN_000384e0(local_24,0)" (identifier "lVar6") (= "=") (call_expression "FUN_000384e0(local_24,0)" (identifier "FUN_000384e0") (argument_list "(local_24,0)" (( "(") (identifier "local_24") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);" (assignment_expression "piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(*(int *)(param_1 + 0x18) + 0x28)" (* "*") (cast_expression "(int **)(*(int *)(param_1 + 0x18) + 0x28)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x18) + 0x28)" (( "(") (binary_expression "*(int *)(param_1 + 0x18) + 0x28" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto joined_r0x000ddf7a;" (goto "goto") (statement_identifier "joined_r0x000ddf7a") (; ";"))) (expression_statement "lVar2 = *(longlong *)(piVar1 + 3);" (assignment_expression "lVar2 = *(longlong *)(piVar1 + 3)" (identifier "lVar2") (= "=") (pointer_expression "*(longlong *)(piVar1 + 3)" (* "*") (cast_expression "(longlong *)(piVar1 + 3)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 3)" (( "(") (binary_expression "piVar1 + 3" (identifier "piVar1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (while_statement "while (lVar6 != lVar2) {\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }" (while "while") (parenthesized_expression "(lVar6 != lVar2)" (( "(") (binary_expression "lVar6 != lVar2" (identifier "lVar6") (!= "!=") (identifier "lVar2")) () ")")) (compound_statement "{\n      piVar1 = (int *)piVar1[1];\n      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;\n      lVar2 = *(longlong *)(piVar1 + 3);\n    }" ({ "{") (expression_statement "piVar1 = (int *)piVar1[1];" (assignment_expression "piVar1 = (int *)piVar1[1]" (identifier "piVar1") (= "=") (cast_expression "(int *)piVar1[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[1]" (identifier "piVar1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto joined_r0x000ddf7a;" (goto "goto") (statement_identifier "joined_r0x000ddf7a") (; ";"))) (expression_statement "lVar2 = *(longlong *)(piVar1 + 3);" (assignment_expression "lVar2 = *(longlong *)(piVar1 + 3)" (identifier "lVar2") (= "=") (pointer_expression "*(longlong *)(piVar1 + 3)" (* "*") (cast_expression "(longlong *)(piVar1 + 3)" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 3)" (( "(") (binary_expression "piVar1 + 3" (identifier "piVar1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (local_28 == 0) {\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }" (if "if") (parenthesized_expression "(local_28 == 0)" (( "(") (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *piVar1;\n      if (iVar3 == 0) goto LAB_000ddf2b;\n      local_28 = FUN_000dde30();\n      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }\n    }" ({ "{") (expression_statement "iVar3 = *piVar1;" (assignment_expression "iVar3 = *piVar1" (identifier "iVar3") (= "=") (pointer_expression "*piVar1" (* "*") (identifier "piVar1"))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_000ddf2b;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000ddf2b;" (goto "goto") (statement_identifier "LAB_000ddf2b") (; ";"))) (expression_statement "local_28 = FUN_000dde30();" (assignment_expression "local_28 = FUN_000dde30()" (identifier "local_28") (= "=") (call_expression "FUN_000dde30()" (identifier "FUN_000dde30") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }" (if "if") (parenthesized_expression "((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0))" (( "(") (binary_expression "(local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)" (parenthesized_expression "(local_28 == 0)" (( "(") (binary_expression "local_28 == 0" (identifier "local_28") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = FUN_0003f170(), iVar5 != 0)" (( "(") (comma_expression "iVar5 = FUN_0003f170(), iVar5 != 0" (assignment_expression "iVar5 = FUN_0003f170()" (identifier "iVar5") (= "=") (call_expression "FUN_0003f170()" (identifier "FUN_0003f170") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n        *(int *)(iVar5 + 8) = iVar3;\n        *(int *)(iVar5 + 4) = local_24;\n        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;\n        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;\n        goto LAB_000ddf8a;\n      }" ({ "{") (expression_statement "*(int *)(iVar5 + 8) = iVar3;" (assignment_expression "*(int *)(iVar5 + 8) = iVar3" (pointer_expression "*(int *)(iVar5 + 8)" (* "*") (cast_expression "(int *)(iVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 8)" (( "(") (binary_expression "iVar5 + 8" (identifier "iVar5") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(iVar5 + 4) = local_24;" (assignment_expression "*(int *)(iVar5 + 4) = local_24" (pointer_expression "*(int *)(iVar5 + 4)" (* "*") (cast_expression "(int *)(iVar5 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "local_24")) (; ";")) (expression_statement "*(int *)(iVar5 + 0x20) = iVar5 + 0x48;" (assignment_expression "*(int *)(iVar5 + 0x20) = iVar5 + 0x48" (pointer_expression "*(int *)(iVar5 + 0x20)" (* "*") (cast_expression "(int *)(iVar5 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x20)" (( "(") (binary_expression "iVar5 + 0x20" (identifier "iVar5") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (binary_expression "iVar5 + 0x48" (identifier "iVar5") (+ "+") (number_literal "0x48"))) (; ";")) (expression_statement "*(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;" (assignment_expression "*(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (pointer_expression "*(int *)(iVar5 + 0x24)" (* "*") (cast_expression "(int *)(iVar5 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x24)" (( "(") (binary_expression "iVar5 + 0x24" (identifier "iVar5") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (binary_expression "iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (binary_expression "iVar5 + 0x48" (identifier "iVar5") (+ "+") (number_literal "0x48")) (+ "+") (binary_expression "*(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8" (pointer_expression "*(int *)(*(int *)(iVar3 + 0xc) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0xc) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0xc) + 0xc)" (( "(") (binary_expression "*(int *)(iVar3 + 0xc) + 0xc" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (goto_statement "goto LAB_000ddf8a;" (goto "goto") (statement_identifier "LAB_000ddf8a") (; ";")) (} "}"))) (} "}"))) (} "}")))))) (expression_statement "FUN_00089c20(local_24);" (call_expression "FUN_00089c20(local_24)" (identifier "FUN_00089c20") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_000ddf8a:\n  *param_2 = iVar5;" (statement_identifier "LAB_000ddf8a") (: ":") (expression_statement "*param_2 = iVar5;" (assignment_expression "*param_2 = iVar5" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar5")) (; ";"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_000f4bf0();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_000f4bf0();\n  }" ({ "{") (expression_statement "FUN_000f4bf0();" (call_expression "FUN_000f4bf0()" (identifier "FUN_000f4bf0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return local_28;" (return "return") (identifier "local_28") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 *pVTab,type_2 **ppCsr)

{
  type_3 *psVar1;
  type_4 *var_13;
  type_5 *var_16;
  type_6 var_15;
  char *var_3;
  int var_11;
  type_2 *var_20;
  int var_1;
  type_7 var_14;
  type_8 in_stack_ffffffc4;
  int var_6;
  type_9 *var_7;
  int var_21;
  type_8 uStack_14;
  
  uStack_14 = 0xdde79;
  var_21 = *(int *)(var_1 + 0x14);
  psVar1 = pVTab[1].pModule;
  var_6 = 0;
  var_7 = (type_9 *)0x0;
  var_3 = var_2(&var_6,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",psVar1,
                              pVTab[1].nRef,psVar1,psVar1);
  if (var_3 != (char *)0x0) {
    var_6 = var_4((type_10 *)pVTab[1].zErrMsg,var_3,-1,&var_7,(char **)0x0);
  }
  var_5(var_3);
  if (var_6 == 1) {
    var_6 = 0;
    if (var_7 != (type_9 *)0x0) goto LAB_000ddf0a;
LAB_000ddf2b:
    var_6 = var_8(var_7);
    var_7 = (type_9 *)0x0;
    if (var_6 == 0) {
      var_3 = var_9("no such fts5 table: %s.%s",pVTab[1].nRef,pVTab[1].pModule);
      var_6 = 1;
      pVTab->zErrMsg = var_3;
    }
  }
  else if (var_7 == (type_9 *)0x0) {
joined_r0x000ddf7a:
    if (var_6 == 0) goto LAB_000ddf2b;
  }
  else {
LAB_000ddf0a:
    var_11 = var_10(var_7);
    if (var_11 != 100) goto joined_r0x000ddf7a;
    var_14 = var_12(var_7,0);
    var_13 = (pVTab[2].pModule)->xEof;
    if (var_13 == (type_4 *)0x0) goto joined_r0x000ddf7a;
    var_15 = *(type_6 *)(var_13 + 0xc);
    while (var_14 != var_15) {
      var_13 = *(type_4 **)(var_13 + 4);
      if (var_13 == (type_4 *)0x0) goto joined_r0x000ddf7a;
      var_15 = *(type_6 *)(var_13 + 0xc);
    }
    if (var_6 == 0) {
      var_16 = *(type_5 **)var_13;
      if (var_16 == (type_5 *)0x0) goto LAB_000ddf2b;
      var_6 = var_17(var_16);
      if ((var_6 == 0) &&
         (var_20 = (type_2 *)
                   var_18(&var_6,var_19(ppCsr,in_stack_ffffffc4)),
         var_20 != (type_2 *)0x0)) {
        var_20[2].pVtab = &var_16->base;
        var_20[1].pVtab = (type_1 *)var_7;
        var_20[8].pVtab = (type_1 *)(var_20 + 0x12);
        var_20[9].pVtab =
             (type_1 *)(&((type_1 *)(var_20 + 0x12))->pModule + var_16->pConfig->nCol * 2)
        ;
        goto LAB_000ddf8a;
      }
    }
  }
  var_8(var_7);
  var_20 = (type_2 *)0x0;
LAB_000ddf8a:
  *ppCsr = var_20;
  if (var_21 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_22();
  }
  return var_6;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int MASKED(int param_1,int *param_2)

{
  int *piVar1;
  longlong lVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int in_GS_OFFSET;
  longlong lVar6;
  int local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xdde79;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar4 = *(undefined4 *)(param_1 + 0xc);
  local_28 = 0;
  local_24 = 0;
  iVar3 = FUN_00070d70(&local_28,"SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH \'*id\'",uVar4,
                       *(undefined4 *)(param_1 + 0x10),uVar4,uVar4);
  if (iVar3 != 0) {
    local_28 = FUN_000c21a0(*(undefined4 *)(param_1 + 0x14),iVar3,0xffffffff,&local_24,0);
  }
  FUN_00024cc0(iVar3);
  if (local_28 == 1) {
    local_28 = 0;
    if (local_24 != 0) goto LAB_000ddf0a;
LAB_000ddf2b:
    local_28 = FUN_00089c20(local_24);
    local_24 = 0;
    if (local_28 == 0) {
      uVar4 = FUN_00071090("no such fts5 table: %s.%s",*(undefined4 *)(param_1 + 0x10),
                           *(undefined4 *)(param_1 + 0xc));
      local_28 = 1;
      *(undefined4 *)(param_1 + 8) = uVar4;
    }
  }
  else if (local_24 == 0) {
joined_r0x000ddf7a:
    if (local_28 == 0) goto LAB_000ddf2b;
  }
  else {
LAB_000ddf0a:
    iVar3 = FUN_000accc0(local_24);
    if (iVar3 != 100) goto joined_r0x000ddf7a;
    lVar6 = FUN_000384e0(local_24,0);
    piVar1 = *(int **)(*(int *)(param_1 + 0x18) + 0x28);
    if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;
    lVar2 = *(longlong *)(piVar1 + 3);
    while (lVar6 != lVar2) {
      piVar1 = (int *)piVar1[1];
      if (piVar1 == (int *)0x0) goto joined_r0x000ddf7a;
      lVar2 = *(longlong *)(piVar1 + 3);
    }
    if (local_28 == 0) {
      iVar3 = *piVar1;
      if (iVar3 == 0) goto LAB_000ddf2b;
      local_28 = FUN_000dde30();
      if ((local_28 == 0) && (iVar5 = FUN_0003f170(), iVar5 != 0)) {
        *(int *)(iVar5 + 8) = iVar3;
        *(int *)(iVar5 + 4) = local_24;
        *(int *)(iVar5 + 0x20) = iVar5 + 0x48;
        *(int *)(iVar5 + 0x24) = iVar5 + 0x48 + *(int *)(*(int *)(iVar3 + 0xc) + 0xc) * 8;
        goto LAB_000ddf8a;
      }
    }
  }
  FUN_00089c20(local_24);
  iVar5 = 0;
LAB_000ddf8a:
  *param_2 = iVar5;
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_000f4bf0();
  }
  return local_28;
}

