Function at 0x61e830cc
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x80], 0
mov esi, dword [eax + 0xc]
add eax, 8
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 8]
call sym._fts5TripCursors
mov eax, dword [ebx]
mov edx, dword [eax + 8]
and edx, 0x1f
movzx edi, byte [edx + 0x61ea21a0]
cmp edi, 5
jne 0x61e8389d
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + edx*4 + 8]
mov edx, dword [ecx + 8]
and edx, 0x1f
cmp byte [edx + 0x61ea21a0], 5
je 0x61e8389d
mov dword [esp], ecx
call sym.sqlite3.dll_sqlite3_value_text
cmp dword [esi + 0x20], 0
mov edi, eax
je 0x61e8318c
mov dword [esp + 4], eax
mov dword [esp], str.delete
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e8318c
mov eax, dword [ebx + 4]
xor ecx, ecx
mov edx, dword [eax + 8]
and edx, 0x1f
cmp byte [edx + 0x61ea21a0], 1
jne 0x61e83184
call sym._sqlite3VdbeIntValue
mov esi, dword [ebp + 8]
add ebx, 8
mov ecx, edx
mov edx, eax
mov esi, dword [esi + 0x14]
mov dword [esp], ebx
mov eax, esi
mov dword [ebp - 0x90], esi
call sym._sqlite3Fts5StorageDelete
mov ecx, eax
mov dword [ebp - 0x80], ecx
jmp 0x61e84372
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x7c], 0
mov ebx, dword [ebx + eax*4 + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov dword [esp + 4], edi
mov dword [esp], str.delete_all
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e831d4
cmp dword [esi + 0x20], 0
jne 0x61e831c4
mov dword [esp + 4], str.delete_all_may_only_be_used_with_a_contentless_or_external_content_fts5_table
jmp 0x61e831fa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call sym._sqlite3Fts5StorageDeleteAll
jmp 0x61e8392f
mov dword [esp + 4], edi
mov dword [esp], str.rebuild
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e833ee
cmp dword [esi + 0x20], 1
jne 0x61e8320f
mov dword [esp + 4], str.rebuild_may_not_be_used_with_a_contentless_fts5_table
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fts5SetVtabError
mov eax, 1
jmp 0x61e8392f
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x38]
mov ecx, 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov edi, edx
mov dword [ebp - 0x40], 0
mov ebx, dword [esi + 0x14]
mov esi, dword [ebx]
mov dword [ebp - 0x60], 0
rep stosd dword es:[edi], eax
mov eax, ebx
mov dword [ebp - 0x38], ebx
call sym._sqlite3Fts5StorageDeleteAll
test eax, eax
mov dword [ebp - 0x54], eax
jne 0x61e8325f
mov edx, 1
mov eax, ebx
call sym._fts5StorageLoadTotals
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x61e8327e
lea ecx, [ebp - 0x60]
mov dword [esp], 0
mov edx, 0xa
mov eax, ebx
call sym._fts5StorageGetStmt
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x61e832a8
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
cmp dword [ebp - 0x54], 0
jne 0x61e833e6
mov eax, ebx
call sym._fts5StorageSaveTotals
mov dword [ebp - 0x54], eax
jmp 0x61e833e6
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e83284
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int64
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x44], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
xor edx, edx
call sym._sqlite3Fts5IndexBeginWrite
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
test edx, edx
jne 0x61e833aa
mov eax, dword [ebp - 0x34]
cmp eax, dword [esi + 0xc]
jge 0x61e833aa
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x30], 0
cmp byte [edx + eax], 0
jne 0x61e83374
inc eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_bytes
mov edi, eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_text
lea ecx, [ebp - 0x38]
mov dword [esp + 8], sym._fts5StorageInsertCallback
mov dword [esp], edi
mov edx, 4
mov dword [esp + 4], ecx
mov ecx, eax
mov eax, esi
call sym._sqlite3Fts5Tokenize
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
call sym._sqlite3Fts5BufferAppendVarint
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebx + 0x18]
mov ecx, edx
sar ecx, 0x1f
add dword [edi + eax*8], edx
adc dword [edi + eax*8 + 4], ecx
inc eax
mov dword [ebp - 0x34], eax
jmp 0x61e83305
add dword [ebx + 0x10], 1
adc dword [ebx + 0x14], 0
test edx, edx
jne 0x61e8327e
mov edx, dword [ebx]
xor eax, eax
cmp dword [edx + 0x2c], 0
je 0x61e8327b
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, ebx
call sym._fts5StorageInsertDocsize.part.526
jmp 0x61e8327b
mov eax, dword [ebp - 0x54]
jmp 0x61e8392f
mov dword [esp + 4], edi
mov dword [esp], str.optimize
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e834a4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x48], 0
cmp dword [ebx + 0x10], 0
je 0x61e8342a
mov dword [ebx + 0x10], 0
mov eax, ebx
call sym._fts5FlushOneHash
mov eax, ebx
call sym._fts5StructureRead
mov esi, eax
lea eax, [ebx + 0x50]
call sym._fts5StructureInvalidate.isra.229
test esi, esi
je 0x61e8344b
mov edx, esi
mov eax, ebx
call sym._fts5IndexOptimizeStruct
mov dword [ebp - 0x48], eax
mov eax, esi
xor edi, edi
call sym._fts5StructureRelease
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x61e8353e
imul esi, edi, 0xc
cmp dword [eax + esi + 0x1c], 0
jne 0x61e8348c
inc edi
jmp 0x61e8345f
cmp dword [edx + esi + 0x1c], 0
jle 0x61e83495
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x48]
mov ecx, edi
mov dword [ebp - 0x38], 0x3e8
mov dword [esp], eax
mov eax, ebx
call sym._fts5IndexMergeLevel
cmp dword [ebx + 0x24], 0
mov edx, dword [ebp - 0x48]
je 0x61e8346c
mov eax, ebx
call sym._fts5StructureWrite
mov eax, dword [ebp - 0x48]
jmp 0x61e83539
mov dword [esp + 4], edi
mov dword [esp], 0x61e9f5df
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e8354d
mov dword [esp], ebx
call sym.sqlite3.dll_sqlite3_value_int
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov eax, ebx
call sym._fts5StructureRead
test eax, eax
mov dword [ebp - 0x38], eax
je 0x61e8353e
mov eax, dword [ebx]
mov edi, dword [eax + 0x50]
lea eax, [ebx + 0x50]
call sym._fts5StructureInvalidate.isra.229
test esi, esi
jns 0x61e8350c
mov edx, dword [ebp - 0x38]
mov eax, ebx
neg esi
call sym._fts5IndexOptimizeStruct
mov edi, eax
mov eax, dword [ebp - 0x38]
call sym._fts5StructureRelease
mov dword [ebp - 0x38], edi
mov edi, 2
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x61e83536
cmp dword [eax + 0x14], 0
je 0x61e83536
lea edx, [ebp - 0x38]
mov dword [esp], edi
mov ecx, esi
mov eax, ebx
call sym._fts5IndexMerge
test eax, eax
je 0x61e83536
mov edx, dword [ebp - 0x38]
mov eax, ebx
call sym._fts5StructureWrite
mov eax, dword [ebp - 0x38]
call sym._fts5StructureRelease
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x24], 0
jmp 0x61e8392f
mov dword [esp + 4], edi
mov dword [esp], 0x61e9f5e5
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e83832
mov esi, dword [ebp + 8]
mov ecx, 8
mov esi, dword [esi + 0x14]
mov ebx, dword [esi]
mov dword [ebp - 0x90], esi
lea esi, [ebp - 0x38]
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
imul eax, dword [ebx + 0xc], 0xc
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_malloc
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
mov eax, 7
je 0x61e8392f
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp - 0x98]
mov edx, 0xa
lea ecx, [eax*8]
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x78]
mov dword [esp], 0
mov dword [ebp - 0xa0], edi
call sym._fts5StorageGetStmt
test eax, eax
mov dword [ebp - 0x94], eax
jne 0x61e83937
mov dword [ebp - 0xa4], esi
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e8377b
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int64
mov dword [ebp - 0x2c], 0
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jne 0x61e8364c
xor edi, edi
cmp dword [ebx + 0x30], 1
jne 0x61e83670
lea eax, [ebp - 0x48]
mov edx, 0x800
mov dword [ebp - 0x48], 0
call sym._sqlite3Fts5MallocZero
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
jmp 0x61e83670
mov esi, dword [ebp - 0xa0]
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x90]
mov dword [esp], esi
call sym._sqlite3Fts5StorageDocsize
test eax, eax
mov edi, eax
jne 0x61e8375e
jmp 0x61e83628
xor esi, esi
test edi, edi
jne 0x61e8375e
cmp esi, dword [ebx + 0xc]
jge 0x61e8375e
mov eax, dword [ebx + 0x14]
cmp byte [eax + esi], 0
jne 0x61e83758
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx + 0x30], 2
je 0x61e836f8
mov eax, dword [ebp - 0x78]
lea edi, [esi + 1]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_bytes
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_text
mov edi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xb0]
mov ecx, eax
mov dword [esp + 8], sym._fts5StorageIntegrityCallback
mov eax, ebx
mov dword [esp + 4], edi
mov dword [esp], edx
mov edx, 4
call sym._sqlite3Fts5Tokenize
test eax, eax
mov edi, eax
je 0x61e83718
jmp 0x61e83732
lea eax, [ebp - 0x48]
mov edx, 0x800
mov dword [ebp - 0x48], 0
call sym._sqlite3Fts5MallocZero
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x61e83732
jmp 0x61e836a0
cmp dword [ebx + 0x2c], 0
je 0x61e83732
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + esi*4]
cmp dword [ebp - 0x2c], eax
mov eax, 0x10b
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x98]
cdq
add dword [ecx + esi*8], eax
adc dword [ecx + esi*8 + 4], edx
cmp dword [ebx + 0x30], 2
jne 0x61e83758
mov eax, dword [ebp - 0x20]
call sym._sqlite3Fts5TermsetFree
mov dword [ebp - 0x20], 0
inc esi
jmp 0x61e83672
mov eax, dword [ebp - 0x20]
call sym._sqlite3Fts5TermsetFree
test edi, edi
mov dword [ebp - 0x20], 0
je 0x61e835ee
mov dword [ebp - 0x94], edi
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_reset
cmp dword [ebp - 0x94], 0
jne 0x61e83937
test eax, eax
jne 0x61e83813
mov eax, dword [ebp - 0x90]
xor edx, edx
call sym._fts5StorageLoadTotals
xor edx, edx
test eax, eax
jne 0x61e83813
cmp edx, dword [ebx + 0xc]
jge 0x61e837de
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x18]
mov edi, dword [edi + edx*8 + 4]
cmp dword [ecx + edx*8 + 4], edi
mov esi, dword [ecx + edx*8]
jne 0x61e837d6
mov edi, dword [ebp - 0x98]
cmp esi, dword [edi + edx*8]
je 0x61e837db
mov eax, 0x10b
inc edx
jmp 0x61e837a6
cmp dword [ebx + 0x20], 0
jne 0x61e83966
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x48]
mov edx, str.content
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [eax]
call sym._fts5StorageCount.isra.527.constprop.597
test eax, eax
je 0x61e83942
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
mov eax, dword [ebp - 0x90]
jmp 0x61e8392f
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
mov eax, esi
call sym._fts5StructureRead
call sym._fts5StructureRelease
mov eax, dword [esi + 0x24]
mov dword [esi + 0x24], 0
test eax, eax
jne 0x61e8392f
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x7c]
mov ecx, ebx
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov edx, edi
call sym._sqlite3Fts5ConfigSetValue
test eax, eax
jne 0x61e8392f
cmp dword [ebp - 0x7c], 0
mov eax, 1
jne 0x61e8392f
mov eax, dword [ebp + 8]
mov ecx, ebx
mov edx, edi
mov eax, dword [eax + 0x14]
mov dword [esp], 0
call sym._sqlite3Fts5StorageConfigValue
jmp 0x61e8392f
cmp dword [esi + 0x20], 0
mov ecx, 4
jne 0x61e838b5
mov edx, dword [esi]
movzx edx, byte [edx + 0x4e]
movzx ecx, byte [edx + 0x61ea113f]
dec edi
jne 0x61e83902
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x20], 1
jne 0x61e8428c
cmp dword [ebp + 0xc], 1
mov edx, dword [esi + 8]
mov ecx, str.DELETE_from
mov eax, str.UPDATE
mov dword [esp], str.cannot__s_contentless_fts5_table:__s
mov dword [esp + 8], edx
cmovle eax, ecx
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], 1
mov dword [edi + 8], eax
jmp 0x61e84372
cmp dword [ebp + 0xc], 1
jne 0x61e84234
call sym._sqlite3VdbeIntValue
mov edi, dword [ebp + 8]
mov ecx, edx
mov edx, eax
mov edi, dword [edi + 0x14]
mov dword [esp], 0
mov eax, edi
mov dword [ebp - 0x90], edi
call sym._sqlite3Fts5StorageDelete
mov dword [ebp - 0x80], eax
jmp 0x61e84372
mov eax, dword [ebp - 0x94]
jmp 0x61e83813
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x90]
cmp dword [esi + 0x14], edi
mov eax, dword [eax + 0x10]
jne 0x61e83a09
cmp eax, dword [ebp - 0x48]
jne 0x61e83a09
cmp dword [ebx + 0x2c], 0
jne 0x61e839be
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x90]
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xcc], eax
mov eax, edi
call sym._fts5StructureRead
test eax, eax
mov dword [ebp - 0xa4], eax
jne 0x61e83a6c
jmp 0x61e83a13
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x48]
mov edx, str.docsize
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [eax]
call sym._fts5StorageCount.isra.527.constprop.597
test eax, eax
jne 0x61e83813
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x90]
cmp dword [esi + 0x14], ebx
mov eax, dword [eax + 0x10]
jne 0x61e83a09
cmp eax, dword [ebp - 0x48]
je 0x61e8396c
mov eax, 0x10b
jmp 0x61e83813
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0xa4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov ecx, 0x20
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov eax, edi
mov dword [esp], 0
call sym._fts5MultiIterNew
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
jmp 0x61e83fe1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], 0
add eax, 0x1c
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xb8]
cmp esi, dword [eax + 0x14]
jge 0x61e83a13
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xa8]
cmp ebx, dword [eax]
jge 0x61e83f08
imul eax, dword [ebp - 0xa8], 0xc
mov esi, dword [ebp - 0xb4]
add eax, dword [esi + 4]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x90]
mov eax, dword [edi]
mov dword [ebp - 0x74], 0
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x61e83efd
lea esi, [ebx - 1]
mov dword [ebp - 0xc8], esi
mov esi, dword [ebp - 0x90]
mov esi, dword [esi + 8]
mov dword [ebp - 0x94], esi
mov esi, dword [ebp - 0x90]
mov edx, dword [esi]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 8]
mov dword [esp + 8], edx
mov eax, dword [eax + 4]
mov dword [esp], str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
lea edx, [ebp - 0x74]
mov ecx, eax
mov eax, edi
call sym._fts5IndexPrepareStmt
cmp dword [edi + 0x24], 0
je 0x61e83b55
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_finalize
cmp dword [edi + 0x24], 0
jne 0x61e83efd
mov dword [edi + 0x24], eax
jmp 0x61e83efd
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e83b38
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_bytes
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_text
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 2
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 3
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0xa0]
cmp ebx, dword [eax + 4]
jl 0x61e83b32
mov ecx, dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, 0
mov ebx, ecx
shl edx, 5
sar ebx, 0x1f
add eax, ecx
adc edx, ebx
mov ecx, edx
mov edx, eax
mov eax, edi
call sym._fts5LeafRead
test eax, eax
mov ebx, eax
je 0x61e83b38
mov eax, dword [eax + 8]
cmp dword [ebx + 4], eax
jg 0x61e83c20
mov dword [edi + 0x24], 0x10b
jmp 0x61e83e1b
mov eax, ebx
call sym._fts5LeafFirstTermOff
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
add edx, ecx
movzx edx, dx
cmp dword [ebp - 0xc0], edx
jle 0x61e83c93
add eax, dword [ebp - 0xc0]
lea edx, [ebp - 0x70]
call sym._sqlite3Fts5GetVarint32
mov esi, dword [ebp - 0x70]
cmp dword [ebp - 0xb0], esi
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xd0]
cmovg edx, esi
add eax, dword [ebp - 0xc0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
add eax, dword [ebx]
mov dword [esp], eax
call sym._memcmp
sub esi, dword [ebp - 0xb0]
test eax, eax
cmove eax, esi
test eax, eax
jns 0x61e83c9a
mov dword [edi + 0x24], 0x10b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
xor esi, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebx + 4]
jge 0x61e83e0b
cmp dword [edi + 0x24], 0
jne 0x61e83e0b
mov eax, dword [ebp - 0xb0]
add eax, dword [ebx]
lea edx, [ebp - 0x6c]
call sym._sqlite3Fts5GetVarint32
add dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x6c]
add esi, eax
cmp esi, dword [ebx + 8]
jge 0x61e83deb
cmp eax, esi
mov eax, dword [ebx]
jne 0x61e83d43
lea edx, [ebp - 0x64]
add eax, esi
call sym._sqlite3Fts5GetVarint32
mov ecx, dword [ebp - 0x64]
lea edx, [esi + eax]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 8]
jg 0x61e83deb
add edx, dword [ebx]
lea eax, [edi + 0x24]
mov dword [esp], edx
lea edx, [ebp - 0x54]
call sym._sqlite3Fts5BufferSet
jmp 0x61e83df2
lea edx, [ebp - 0x68]
add eax, esi
call sym._sqlite3Fts5GetVarint32
add eax, esi
lea edx, [ebp - 0x64]
mov dword [ebp - 0xc0], eax
add eax, dword [ebx]
call sym._sqlite3Fts5GetVarint32
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x50], edx
jl 0x61e83d7d
add eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xc0], eax
add eax, ecx
cmp eax, dword [ebx + 8]
jle 0x61e83d86
mov dword [edi + 0x24], 0x10b
jmp 0x61e83d9f
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0xc0]
lea eax, [edi + 0x24]
add edx, dword [ebx]
mov dword [esp], edx
lea edx, [ebp - 0x54]
call sym._sqlite3Fts5BufferAppendBlob
cmp dword [edi + 0x24], 0
jne 0x61e83df2
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
cmp edx, ecx
mov eax, ecx
mov dword [ebp - 0xd0], ecx
cmovle eax, edx
mov dword [ebp - 0xc0], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._memcmp
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xc0]
sub ecx, edx
test eax, eax
cmove eax, ecx
test eax, eax
jg 0x61e83df2
mov dword [edi + 0x24], 0x10b
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x24]
mov dword [esp], edx
lea edx, [ebp - 0x48]
call sym._sqlite3Fts5BufferSet
jmp 0x61e83ccf
lea eax, [ebp - 0x54]
call sym._sqlite3Fts5BufferFree
lea eax, [ebp - 0x48]
call sym._sqlite3Fts5BufferFree
mov dword [esp], ebx
call sym.sqlite3.dll_sqlite3_free
cmp dword [edi + 0x24], 0
jne 0x61e83b38
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
inc eax
mov esi, eax
mov dword [ebp - 0xc0], eax
sar eax, 0x1f
mov dword [ebp - 0xbc], eax
cmp dword [edi + 0x24], 0
jne 0x61e83b38
cmp dword [ebp - 0xa0], esi
jle 0x61e83ff3
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov eax, 0
mov ecx, eax
mov eax, dword [ebp - 0xc0]
shl edx, 5
add eax, dword [ebp - 0xb0]
mov ebx, edx
mov edx, dword [ebp - 0xbc]
adc edx, dword [ebp - 0xac]
add ecx, eax
mov eax, edi
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call sym._fts5DataRead
test eax, eax
je 0x61e83edd
mov ebx, dword [eax + 4]
cmp dword [eax + 8], ebx
jge 0x61e83ebd
mov dword [edi + 0x24], 0x10b
cmp dword [ebp - 0x94], esi
jge 0x61e83edd
mov ecx, dword [eax]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
add dx, cx
je 0x61e83edd
mov dword [edi + 0x24], 0x10b
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
mov eax, esi
inc eax
add dword [ebp - 0xb0], 1
mov esi, eax
adc dword [ebp - 0xac], 0
jmp 0x61e83e59
inc dword [ebp - 0xa8]
jmp 0x61e83aa4
inc dword [ebp - 0xb8]
add dword [ebp - 0xb4], 0xc
jmp 0x61e83a85
cmp byte [eax + 0x10], 0
jne 0x61e8416e
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], 0
movzx edx, word [edx + 4]
imul edx, edx, 0x58
cmp dword [ebp - 0xcc], 1
lea ecx, [eax + edx]
mov ebx, dword [ecx + 0x98]
mov esi, dword [ecx + 0x9c]
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ecx + 0x90]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xb0], ebx
mov ebx, dword [ecx + 0x8c]
jne 0x61e841c0
mov edx, eax
xor eax, eax
call sym._fts5MultiIterIsEmpty.isra.234
test eax, eax
jne 0x61e83fc6
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa0]
call sym._sqlite3Fts5IndexEntryCksum
xor dword [ebp - 0x90], eax
xor dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x64]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov eax, edi
call sym._fts5MultiIterNext
cmp dword [edi + 0x24], 0
mov eax, dword [ebp - 0x64]
je 0x61e83f1a
jmp 0x61e8416e
cmp dword [ebp - 0xd4], 0
je 0x61e84054
mov eax, dword [ebp - 0x90]
xor edx, edx
mov esi, dword [eax]
mov eax, dword [ebp - 0xa0]
mov ecx, esi
mov dword [esp], eax
mov eax, edi
call sym._fts5DlidxIterInit
mov ebx, eax
mov eax, 0
mov edx, esi
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa0]
shl edx, 5
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb0], eax
cmp dword [edi + 0x24], 0
jne 0x61e84074
cmp dword [ebx + 0x10], 0
je 0x61e8407d
jmp 0x61e84074
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
jmp 0x61e83b32
mov eax, ebx
call sym._fts5DlidxIterFree
jmp 0x61e84063
mov eax, dword [ebp - 0xb0]
inc eax
cdq
mov dword [ebp - 0x94], eax
add eax, dword [ebp - 0xc0]
adc edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov eax, dword [ebx + 0x18]
cmp dword [ebp - 0x94], eax
mov dword [ebp - 0xb0], eax
jge 0x61e84101
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
mov eax, edi
call sym._fts5DataRead
test eax, eax
je 0x61e840eb
mov ecx, dword [eax]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
add dx, cx
je 0x61e840e3
mov dword [edi + 0x24], 0x10b
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
inc dword [ebp - 0x94]
add dword [ebp - 0xc8], 1
adc dword [ebp - 0xc4], 0
jmp 0x61e840a3
cdq
add eax, dword [ebp - 0xc0]
adc edx, dword [ebp - 0xbc]
mov ecx, edx
mov edx, eax
mov eax, edi
call sym._fts5DataRead
test eax, eax
mov esi, eax
je 0x61e8415e
mov ecx, dword [eax]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
add eax, edx
movzx eax, ax
cmp eax, dword [esi + 8]
jge 0x61e8414f
lea edx, [ebp - 0x48]
add eax, ecx
call sym._sqlite3Fts5GetVarint
mov ecx, dword [ebp - 0x44]
cmp dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x20]
jne 0x61e8414f
cmp eax, dword [ebp - 0x48]
je 0x61e84156
mov dword [edi + 0x24], 0x10b
mov dword [esp], esi
call sym.sqlite3.dll_sqlite3_free
xor ecx, ecx
mov edx, ebx
mov eax, edi
call sym._fts5DlidxIterNextR
jmp 0x61e84046
call sym._fts5MultiIterFree
cmp dword [edi + 0x24], 0
je 0x61e8419b
mov eax, dword [ebp - 0xa4]
call sym._fts5StructureRelease
lea eax, [ebp - 0x60]
call sym._sqlite3Fts5BufferFree
mov eax, dword [edi + 0x24]
mov dword [edi + 0x24], 0
jmp 0x61e83813
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xdc]
xor edx, dword [ebp - 0x90]
xor eax, dword [ebp - 0x94]
or edx, eax
je 0x61e84179
mov dword [edi + 0x24], 0x10b
jmp 0x61e84179
lea edx, [eax + edx + 0x50]
lea eax, [ebp - 0x60]
xor ecx, ecx
mov dword [ebp - 0x5c], 0
mov dword [esp], eax
mov eax, edi
call sym._fts5SegiterPoslist
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3Fts5PoslistNext64
test eax, eax
jne 0x61e83fc6
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x9c]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, dword [ebp - 0xa0]
call sym._sqlite3Fts5IndexEntryCksum
xor dword [ebp - 0x90], eax
xor dword [ebp - 0x94], edx
jmp 0x61e841da
cmp ecx, 5
jne 0x61e84271
mov eax, dword [ebx + 4]
mov edx, dword [eax + 8]
and edx, 0x1f
cmp byte [edx + 0x61ea21a0], 1
jne 0x61e84271
call sym._sqlite3VdbeIntValue
mov edi, dword [ebp + 8]
mov ecx, edx
mov edx, eax
mov edi, dword [edi + 0x14]
mov dword [esp], 0
mov dword [ebp - 0x90], edi
mov eax, edi
call sym._sqlite3Fts5StorageDelete
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov ecx, ebx
lea edx, [eax + 0x14]
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
lea eax, [ebp - 0x80]
call sym._fts5StorageInsert.isra.550
jmp 0x61e84372
cmp dword [ebp + 0xc], 1
je 0x61e8390c
mov dword [ebp - 0x98], ecx
call sym._sqlite3VdbeIntValue
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x94], edx
call sym._sqlite3VdbeIntValue
cmp edx, dword [ebp - 0x94]
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax + 0x14]
jne 0x61e842d9
cmp edi, dword [ebp - 0x90]
je 0x61e84362
cmp ecx, 5
jne 0x61e84309
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov dword [esp], 0
call sym._sqlite3Fts5StorageDelete
test eax, eax
mov dword [ebp - 0x80], eax
jne 0x61e84271
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
jmp 0x61e84362
mov ecx, dword [ebp + 0x14]
mov edx, ebx
call sym._sqlite3Fts5StorageContentInsert
test eax, eax
mov dword [ebp - 0x80], eax
jne 0x61e8433b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov eax, dword [eax + 0x14]
mov dword [esp], 0
call sym._sqlite3Fts5StorageDelete
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x61e84372
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, ebx
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov eax, dword [eax + 0x14]
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._sqlite3Fts5StorageIndexInsert
jmp 0x61e8392f
mov dword [esp], 0
mov edx, edi
mov ecx, esi
jmp 0x61e84269
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x60], 0
mov eax, dword [ebp - 0x80]
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret