Function at 0x6c80c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea r12, [rsp - 0x88]
cmp r12, qword [r14 + 0x10]
jbe 0x6c91bf
push rbp
mov rbp, rsp
sub rsp, 0x100
movq qword [rsp + 0xf8], xmm15
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rbx
mov byte [rsp + 0x33], 0
mov ebx, 0xc0
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x98], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5FlushOneHash.deferwrap1]
mov qword [rsp + 0xe8], rcx
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0xf0], rcx
lea rdx, [rsp + 0xe8]
mov qword [rsp + 0xf8], rdx
mov byte [rsp + 0x33], 1
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
lea rsi, [rax + 8]
mov qword [rsp + 0xe0], rsi
mov rdx, qword [rdx + 0x18]
mov qword [rsp + 0x78], rdx
mov dword [rsi], 0
mov rax, rcx
call sym.modernc.org_sqlite_lib._fts5StructureRead
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
mov qword [rdx], rax
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
mov rdx, qword [rdx + 0xa0]
nop
test rdx, rdx
je 0x6c81c4
mov rax, qword [rsp + 0x110]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._fts5StructureRelease
mov rbx, qword [rsp + 0x118]
mov rcx, rbx
mov qword [rcx + 0xa0], 0
mov rcx, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x78]
cmp dword [rdx + 0x10], 0
sete dl
movzx edx, dl
test edx, edx
jne 0x6c86c9
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._fts5AllocateSegid
test eax, eax
jne 0x6c81fc
mov rsi, qword [rsp + 0xe0]
jmp 0x6c86b9
mov dword [rsp + 0x40], eax
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
mov rdx, qword [rdx]
mov rcx, qword [rsp + 0x98]
lea rsi, [rcx + 0x10]
mov qword [rsp + 0xd8], rsi
mov r8d, dword [rdx + 0x90]
mov dword [rsp + 0x34], r8d
mov r9d, dword [rdx + 0x60]
mov dword [rsp + 0x4c], r9d
mov edx, dword [rdx + 0xb8]
mov dword [rsp + 0x54], edx
mov edi, eax
mov rax, qword [rsp + 0x110]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._fts5WriteInit
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
jne 0x6c8293
mov rsi, qword [rsp + 0x78]
lea rdx, [rsi + 0x18]
mov rax, qword [rsp + 0x110]
mov rbx, rsi
xor ecx, ecx
xor edi, edi
mov rsi, rdx
nop
call sym.modernc.org_sqlite_lib._fts5HashEntrySort
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
mov dword [rdx + 0x3c], eax
mov rcx, qword [rsp + 0x98]
lea rdx, [rcx + 0x20]
mov qword [rsp + 0x80], rdx
lea r9, [rcx + 0x30]
mov qword [rsp + 0x70], r9
mov rax, qword [rsp + 0x110]
mov r10, qword [rsp + 0x78]
jmp 0x6c82d5
mov r12, qword [rsp + 0x110]
mov rax, r12
mov rcx, rdi
mov r9, qword [rsp + 0x70]
mov r10, r13
mov r11, rbx
cmp dword [r11 + 0x3c], 0
nop dword [rax]
jne 0x6c8551
mov r11, r10
cmp qword [r10 + 0x18], 0
sete r10b
movzx r10d, r10b
test r10d, r10d
jne 0x6c8551
lea rdx, [rcx + 0x88]
mov qword [rsp + 0xd0], rdx
lea rdi, [rcx + 0x90]
mov qword [rsp + 0xc8], rdi
lea rsi, [rcx + 0x98]
mov qword [rsp + 0xc0], rsi
lea r8, [rcx + 0xa0]
mov qword [rsp + 0xb8], r8
mov rbx, r11
mov rcx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5HashScanEntry
mov edx, dword [rsp + 0x54]
test edx, edx
je 0x6c835b
mov rbx, qword [rsp + 0x118]
mov r9d, edx
jmp 0x6c83ae
mov rdx, qword [rsp + 0xc8]
mov edi, dword [rdx]
mov rdx, qword [rsp + 0xd0]
mov rsi, qword [rdx]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._fts5WriteAppendTerm
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
nop dword [rax]
jne 0x6c8549
mov r9d, dword [rsp + 0x54]
test r9d, r9d
je 0x6c83cf
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x80]
mov r11d, dword [rsp + 0x34]
jmp 0x6c84b2
mov r10, qword [rsp + 0x80]
mov r11, r10
mov r12d, dword [r10 + 8]
mov r13, qword [rsp + 0x70]
mov r15, r13
mov r13d, dword [r13 + 8]
add r13d, r12d
mov rax, r15
mov r15, qword [rsp + 0xb8]
mov rcx, r15
mov r15d, dword [r15]
lea r13d, [r15 + r13]
lea r13d, [r13 + 1]
mov rdx, r11
mov r11d, dword [rsp + 0x34]
cmp r11d, r13d
jl 0x6c84af
movsxd r12, r12d
movsxd r13, r15d
add r12, qword [r10]
test r13, r13
je 0x6c8490
movabs r10, 0x3ffffffffffff
cmp r10, r13
jb 0x6c91a5
mov r15, qword [rsp + 0xc0]
mov r15, qword [r15]
test byte [r12], al
test byte [r15], al
cmp r15, r12
je 0x6c849a
mov rax, r12
mov rbx, r15
mov rcx, r13
call sym.runtime.memmove
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x118]
mov r9d, dword [rsp + 0x54]
movabs r10, 0x3ffffffffffff
mov r11d, dword [rsp + 0x34]
jmp 0x6c849a
movabs r10, 0x3ffffffffffff
mov rdi, qword [rsp + 0x98]
lea r12, [rdi + 0x28]
mov r13d, dword [rcx]
add dword [r12], r13d
jmp 0x6c8518
test r9d, r9d
sete r10b
movzx r10d, r10b
mov r12, qword [rsp + 0x110]
mov r13, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0x98]
xor esi, esi
xor r8d, r8d
xor r15d, r15d
jmp 0x6c878a
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x98]
mov r9d, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x34]
mov r12, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
movabs r10, 0x3ffffffffffff
mov r12, rbx
cmp dword [r12 + 0x3c], 0
jne 0x6c853f
mov r12, qword [rsp + 0x78]
mov r13, r12
mov r15, qword [r12 + 0x18]
mov r15, qword [r15 + 8]
nop
mov qword [r12 + 0x18], r15
jmp 0x6c82bf
mov r13, qword [rsp + 0x78]
jmp 0x6c82bf
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._fts5WriteFinish
mov rdx, qword [rsp + 0xe0]
mov rsi, rdx
cmp dword [rdx], 0
jle 0x6c86b9
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
mov rdx, qword [rdx]
cmp dword [rdx + 0x1c], 0
jne 0x6c85b2
mov rbx, qword [rsp + 0x118]
lea rdx, [rbx + 0x3c]
mov rax, qword [rsp + 0x110]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._fts5StructureAddLevel
mov rcx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x118]
lea rdx, [rbx + 0x3c]
mov rcx, qword [rcx]
mov rax, qword [rsp + 0x110]
xor edi, edi
mov esi, 1
mov r8d, edi
mov rbx, rdx
call sym.modernc.org_sqlite_lib._fts5StructureExtendLevel
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
jne 0x6c8697
mov rdx, qword [rsp + 0x98]
mov rsi, rdx
mov rdx, qword [rdx]
add rdx, 0x24
mov r8d, dword [rdx]
lea r9d, [r8 + 1]
mov dword [rdx], r9d
mov rdx, rsi
mov rsi, qword [rsi]
add rsi, 0x20
movsxd r8, r8d
imul r8, r8, 0x38
add r8, qword [rsi + 8]
mov rsi, r8
mov r9d, dword [rsp + 0x40]
mov dword [r8], r9d
mov r8, rsi
mov dword [rsi + 4], 1
mov rsi, r8
mov r9, qword [rsp + 0xe0]
mov r10, r9
mov r9d, dword [r9]
mov dword [r8 + 8], r9d
mov r8, rdx
mov rdx, qword [rdx]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jbe 0x6c8689
mov r9, rsi
mov qword [rsi + 0x10], rdx
mov rdx, r9
mov rsi, r8
mov r8, qword [r8]
mov r8, qword [r8 + 0x10]
mov qword [r9 + 0x18], r8
mov r8, rbx
movsxd r8, dword [r8 + 0x38]
mov qword [rdx + 0x30], r8
mov rdx, rsi
mov rsi, qword [rsi]
inc qword [rsi + 0x10]
jmp 0x6c868c
mov rdx, r8
mov rsi, rdx
mov rdx, qword [rdx]
inc dword [rdx + 0x18]
jmp 0x6c869f
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsi]
mov rax, qword [rsp + 0x110]
xor ecx, ecx
call sym.modernc.org_sqlite_lib._fts5StructurePromote
mov rsi, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xe0]
mov rsi, rbx
mov edi, dword [rsi + 0x34]
add edi, dword [rdx]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._fts5IndexAutomerge
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x98]
nop
call sym.modernc.org_sqlite_lib._fts5IndexCrisismerge
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._fts5StructureWrite
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._fts5StructureRelease
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0xf8]
mov rsi, qword [rdx]
call rsi
add rsp, 0x100
pop rbp
ret
mov r12, qword [rsp + 0x110]
mov r8, qword [rsp + 0xa8]
mov rcx, r15
mov rdx, r11
mov r11d, r13d
mov r13, r10
mov r10d, esi
mov r15, rdi
mov rdi, qword [rsp + 0x98]
mov esi, r9d
mov r9d, dword [rsp + 0x54]
cmp dword [rbx + 0x3c], 0
jne 0x6c8506
cmp dword [rcx], esi
jle 0x6c8506
mov qword [rsp + 0x90], r15
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x88], r8
movsxd rbx, esi
lea rcx, [rdi + 0xa8]
mov qword [rsp + 0xb0], rcx
mov rdx, rcx
mov qword [rdx], 0
add rbx, qword [r13]
mov rax, r12
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov rsi, qword [rsp + 0xb0]
mov edi, dword [rsp + 0x48]
lea r8d, [rdx + rdi]
mov rcx, qword [rsp + 0x88]
add rcx, qword [rsi]
mov qword [rsp + 0xa8], rcx
mov esi, dword [rsp + 0x54]
test esi, esi
je 0x6c8a95
mov dword [rsp + 0x64], edx
mov r9d, dword [rsp + 0x4c]
nop dword [rax + rax]
cmp r9d, 1
jne 0x6c895f
mov r10, qword [rsp + 0xb8]
mov r11, r10
cmp dword [r10], r8d
jle 0x6c8952
mov r10, qword [rsp + 0xc0]
mov r12, r10
movsxd r13, r8d
add r13, qword [r10]
movzx r10d, byte [r13]
test r10d, r10d
jne 0x6c8aaa
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx]
mov r10, qword [rsp + 0xd0]
mov rdi, qword [r10]
mov r10, qword [rsp + 0xc8]
mov esi, dword [r10]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov r8, rcx
mov rcx, rdx
call sym.modernc.org_sqlite_lib._fts5FlushSecureDelete
mov edx, dword [rsp + 0x64]
mov r9d, dword [rsp + 0x48]
lea r10d, [r9 + rdx]
lea r10d, [r10 + 1]
mov r11, qword [rsp + 0xb8]
mov r12, r11
mov r13d, dword [r11]
cmp r13d, r10d
jle 0x6c8905
mov r13, qword [rsp + 0xc0]
mov r15, r13
movsxd rax, r10d
add rax, qword [r13]
movzx r13d, byte [rax]
test r13d, r13d
jne 0x6c890d
mov dword [r11], 0
lea r8d, [r9 + rdx]
lea r8d, [r8 + 2]
mov rcx, qword [rsp + 0xa8]
mov esi, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x4c]
mov r11, r12
mov r12, r15
nop
jmp 0x6c8aaa
mov r15, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
mov edx, dword [rsp + 0x4c]
mov rbx, qword [rsp + 0x118]
mov r11, qword [rsp + 0x80]
mov r13d, dword [rsp + 0x34]
mov r15, r12
mov r9d, r10d
mov esi, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x90]
mov r10, qword [rsp + 0xc0]
jmp 0x6c8758
mov r12, qword [rsp + 0xc0]
jmp 0x6c8aaa
mov r10, qword [rsp + 0xc0]
mov r11, r10
mov r10, qword [r10]
movsxd r12, r8d
add r10, r12
movzx r10d, byte [r10]
bt r10d, 0
nop dword [rax]
jae 0x6c8a83
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0xb0], r12
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx]
mov r10, qword [rsp + 0xd0]
mov rdi, qword [r10]
mov r10, qword [rsp + 0xc8]
mov esi, dword [r10]
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov r8, rcx
mov rcx, rdx
call sym.modernc.org_sqlite_lib._fts5FlushSecureDelete
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
nop
je 0x6c89ec
mov r9, qword [rsp + 0xc0]
jmp 0x6c8a0d
mov rdx, qword [rsp + 0xc0]
mov r9, rdx
mov rdx, qword [rdx]
mov r10, qword [rsp + 0xb0]
add rdx, r10
movzx edx, byte [rdx]
cmp edx, 1
jne 0x6c8a65
mov edx, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x48]
lea r10d, [r11 + rdx]
lea r10d, [r10 + 1]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
mov edx, dword [rsp + 0x4c]
mov r11, qword [rsp + 0x80]
mov r13d, dword [rsp + 0x34]
mov r15, qword [rsp + 0xb8]
mov r9d, r10d
mov esi, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x90]
mov r10, qword [rsp + 0xc0]
nop dword [rax + rax]
jmp 0x6c8758
mov rcx, qword [rsp + 0xa8]
mov esi, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x4c]
mov r11, qword [rsp + 0xc0]
mov r11, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
jmp 0x6c8aaa
mov r9d, dword [rsp + 0x4c]
mov r11, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
mov dword [rsp + 0x48], r8d
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
nop
jne 0x6c8b29
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x6c8b2d
mov rdx, qword [rsp + 0xc8]
mov edi, dword [rdx]
mov rdx, qword [rsp + 0xd0]
mov rsi, qword [rdx]
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._fts5WriteAppendTerm
mov rcx, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0x118]
mov esi, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
mov r11, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xc0]
mov edx, 1
jmp 0x6c8b2d
mov edx, dword [rsp + 0x50]
mov dword [rsp + 0x50], edx
mov rdi, qword [rsp + 0xd8]
cmp byte [rdi + 0x49], 0
nop dword [rax]
je 0x6c8bc9
mov rdx, qword [rsp + 0x80]
mov rsi, rdx
mov rdi, qword [rdx]
movzx edx, word [rdx + 8]
mov r8, qword [rsp + 0x98]
lea r9, [r8 + 0x28]
mov qword [rsp + 0xb0], r9
mov r10, rdi
mov r11d, edx
sar edx, 8
inc r10
mov byte [rdi], dl
mov byte [r10], r11b
movsxd rbx, dword [rsi + 8]
add rbx, qword [rsi]
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov rdx, qword [rsp + 0xb0]
add dword [rdx], eax
mov rcx, qword [rsp + 0xd8]
mov rdx, rcx
mov byte [rdx + 0x49], 0
mov rax, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0xa8]
call sym.modernc.org_sqlite_lib._fts5WriteDlidxAppend
jmp 0x6c8c14
mov rdx, qword [rsp + 0x90]
mov rsi, rcx
sub rsi, rdx
mov rdx, qword [rsp + 0x98]
lea rdi, [rdx + 0x28]
mov qword [rsp + 0xb0], rdi
mov r8, qword [rsp + 0x80]
movsxd rbx, dword [r8 + 8]
add rbx, qword [r8]
mov rax, qword [rsp + 0x110]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov rdx, qword [rsp + 0xb0]
add dword [rdx], eax
mov rbx, qword [rsp + 0x118]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
jne 0x6c84df
mov edx, dword [rsp + 0x4c]
cmp edx, 1
jne 0x6c8da5
mov r9, qword [rsp + 0xb8]
mov r10, r9
mov r11d, dword [rsp + 0x48]
cmp dword [r9], r11d
jle 0x6c8d06
mov r9, qword [rsp + 0xc0]
mov r12, r9
movsxd r13, r11d
add r13, qword [r9]
movzx r9d, byte [r13]
test r9d, r9d
jne 0x6c8ce6
mov rcx, qword [rsp + 0x98]
lea r9, [rcx + 0x28]
mov r13, r9
mov r15d, dword [r9]
lea eax, [r15 + 1]
mov dword [r9], eax
mov r9, qword [rsp + 0x80]
mov rax, r9
movsxd r15, r15d
add r15, qword [r9]
mov byte [r15], 0
lea r9d, [r11 + 1]
mov r15, r10
nop
cmp dword [r10], r9d
jle 0x6c8cde
mov r10, r12
movsxd rsi, r9d
add rsi, qword [r12]
movzx r12d, byte [rsi]
test r12d, r12d
jne 0x6c8cd9
mov r12d, dword [r13]
lea esi, [r12 + 1]
mov dword [r13], esi
mov r13, rax
movsxd r12, r12d
add r12, qword [rax]
mov byte [r12], 0
lea r9d, [r11 + 2]
jmp 0x6c8d29
mov r13, rax
jmp 0x6c8d29
mov r10, r12
mov r13, rax
jmp 0x6c8d29
mov rcx, qword [rsp + 0x98]
mov r10, r12
mov r13, qword [rsp + 0x80]
mov r15, qword [rsp + 0xb8]
mov r9d, r11d
jmp 0x6c8d29
mov rcx, qword [rsp + 0x98]
mov r10, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x80]
mov r15, qword [rsp + 0xb8]
mov r9d, r11d
mov r11, r13
mov r12, qword [rsp + 0x70]
mov rax, r12
mov r12d, dword [r12 + 8]
add r12d, dword [r13 + 8]
mov r13d, dword [rsp + 0x34]
cmp r13d, r12d
jg 0x6c8fc9
mov dword [rsp + 0x5c], r9d
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._fts5WriteFlushLeaf
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x98]
mov edx, dword [rsp + 0x4c]
mov rbx, qword [rsp + 0x118]
mov r9d, dword [rsp + 0x5c]
mov r10, qword [rsp + 0xc0]
mov r11, qword [rsp + 0x80]
mov r13d, dword [rsp + 0x34]
mov r15, qword [rsp + 0xb8]
jmp 0x6c8fc9
mov rdi, qword [rsp + 0x98]
lea rdx, [rdi + 0xb0]
mov qword [rsp + 0xb0], rdx
mov rsi, rdx
mov dword [rdx], 0
mov edx, dword [rsp + 0x48]
movsxd rbx, edx
lea rcx, [rdi + 0xb4]
mov qword [rsp + 0xa0], rcx
mov r8, rcx
mov dword [r8], 0
mov r8, qword [rsp + 0xc0]
add rbx, qword [r8]
mov rax, qword [rsp + 0x110]
mov rdi, rsi
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._fts5GetPoslistSize
mov rdx, qword [rsp + 0xb0]
cmp dword [rdx], 0
je 0x6c8e6f
mov r9d, dword [rsp + 0x54]
test r9d, r9d
je 0x6c8e74
mov dword [rsp + 0x38], eax
mov rbx, qword [rsp + 0x118]
lea rdx, [rbx + 0x3c]
mov rsi, qword [rsp + 0xa0]
movsxd rdi, dword [rsi]
shl rdi, 1
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x80]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendVarint
mov rdx, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x48]
add r8d, esi
mov edx, dword [rdx]
mov r9d, dword [rsp + 0x54]
jmp 0x6c8e88
mov r9d, dword [rsp + 0x54]
mov r10, qword [rsp + 0xa0]
mov r10d, dword [r10]
lea edx, [rax + r10]
mov r8d, dword [rsp + 0x48]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x48], r8d
mov r10, qword [rsp + 0x80]
mov r11, r10
mov r12d, dword [r10 + 8]
mov r13, qword [rsp + 0x70]
mov r15, r13
mov r13d, dword [r13 + 8]
add r13d, r12d
add r13d, edx
mov ecx, dword [rsp + 0x34]
cmp ecx, r13d
jl 0x6c8f5f
movsxd rax, r12d
mov r12, qword [rsp + 0xc0]
mov r13, r12
movsxd rbx, r8d
movsxd rsi, edx
add rax, qword [r10]
add rbx, qword [r12]
test rsi, rsi
je 0x6c8f38
movabs r10, 0x3ffffffffffff
cmp r10, rsi
jb 0x6c9199
test byte [rax], al
test byte [rbx], al
cmp rbx, rax
je 0x6c8f42
mov rcx, rsi
nop
call sym.runtime.memmove
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
movabs r10, 0x3ffffffffffff
mov r11, qword [rsp + 0x80]
mov r13, qword [rsp + 0xc0]
mov r15, qword [rsp + 0x70]
jmp 0x6c8f42
movabs r10, 0x3ffffffffffff
mov rdi, qword [rsp + 0x98]
lea r12, [rdi + 0x28]
add dword [r12], edx
mov rbx, qword [rsp + 0x118]
mov r12, r13
jmp 0x6c8fa9
mov r10, qword [rsp + 0xc0]
mov r12, r10
movsxd r13, r8d
add r13, qword [r10]
mov qword [rsp + 0x68], r13
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x98]
xor eax, eax
jmp 0x6c8ffa
mov edx, r15d
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
mov r11, qword [rsp + 0x80]
mov r12, qword [rsp + 0xc0]
mov r15, r10
add edx, r8d
mov rax, r15
mov rcx, rdi
mov r10, r12
mov r13d, dword [rsp + 0x34]
mov r15, qword [rsp + 0xb8]
mov r9d, edx
mov edx, dword [rsp + 0x4c]
mov esi, dword [rsp + 0x50]
mov rdi, qword [rsp + 0xa8]
jmp 0x6c8758
mov edx, r15d
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
mov r11, qword [rsp + 0x80]
mov r12, qword [rsp + 0xc0]
mov r15, r10
mov r10, rbx
cmp dword [r10 + 0x3c], 0
jne 0x6c8fa9
mov dword [rsp + 0x44], eax
mov r10, r11
mov r11d, dword [r11 + 8]
mov esi, ecx
sub esi, r11d
mov r11, r15
sub esi, dword [r15 + 8]
mov r15d, edx
sub edx, eax
cmp esi, edx
jge 0x6c907e
movsxd rdx, eax
lea rbx, [r13 + rdx]
mov ecx, esi
mov rax, qword [rsp + 0x110]
call sym.modernc.org_sqlite_lib._fts5PoslistPrefix
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x54]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x70]
mov r12, qword [rsp + 0xc0]
mov r13, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x38]
mov edx, eax
mov eax, dword [rsp + 0x44]
mov rsi, r10
movsxd r9, dword [r10 + 8]
movsxd r12, eax
movsxd r8, edx
add r9, qword [r10]
lea r10, [r13 + r12]
test r8, r8
je 0x6c9107
movabs r12, 0x3ffffffffffff
cmp r12, r8
jb 0x6c918e
test byte [r9], al
test byte [r10], al
cmp r10, r9
je 0x6c9111
mov dword [rsp + 0x3c], edx
mov rax, r9
mov rbx, r10
mov rcx, r8
call sym.runtime.memmove
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x98]
mov r11, qword [rsp + 0x70]
movabs r12, 0x3ffffffffffff
mov r13, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x38]
jmp 0x6c9111
movabs r12, 0x3ffffffffffff
lea r9, [rdi + 0x28]
add dword [r9], edx
mov r9, rsi
mov r10, r11
mov r11d, dword [r11 + 8]
add r11d, dword [rsi + 8]
add eax, edx
cmp ecx, r11d
jg 0x6c9180
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._fts5WriteFlushLeaf
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x98]
mov r9, qword [rsp + 0x80]
mov r10, qword [rsp + 0x70]
movabs r12, 0x3ffffffffffff
mov r13, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x38]
nop
cmp r15d, eax
jg 0x6c8fda
jmp 0x6c8f89
mov rdx, r8
mov rbx, r12
call sym.runtime.panicSlice3AlenU
mov rdx, rsi
mov rbx, r10
nop
call sym.runtime.panicSlice3AlenU
mov rdx, r13
mov rbx, r10
call sym.runtime.panicSlice3AlenU
nop
call sym.runtime.deferreturn
add rsp, 0x100
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.modernc.org_sqlite_lib._fts5FlushOneHash