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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1d8
mov rax, qword [rcx + 0x10]
mov ebp, dword [rsp + 0x250]
mov qword [rsp + 0x40], rax
mov rax, qword [rcx]
mov r15, rcx
mov ecx, 0xe
mov qword [rsp + 0x228], rdx
lea rdx, [rsp + 0x128]
mov rsi, r8
mov r13, r9
mov qword [rsp + 0x48], rax
mov rdi, rdx
xor eax, eax
rep stosd dword [rdi], eax
mov word [rsp + 0x68], bp
test r9, r9
je 0x1402512e3
cmp dword [r9], 0x3f
jle 0x1402512e3
xor r13d, r13d
mov rax, qword [rsp + 0x228]
mov eax, dword [rax]
mov dword [rsp + 0x6c], eax
cmp eax, 0x40
jle 0x140251310
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r15
call sym.sqlite3ErrorMsg
jmp 0x1402540b9
test ebp, 0x20
mov eax, 1
cmove eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x6c], eax
dec eax
imul eax, eax, 0x70
add eax, 0x3d0
movsxd r12, eax
lea rdx, [r12 + 0x70]
call sym.sqlite3DbMallocRawNN
mov rbx, rax
mov rax, qword [rsp + 0x48]
mov al, byte [rax + 0x67]
mov byte [rsp + 0x50], al
test al, al
je 0x140251365
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call sym.sqlite3DbFree
jmp 0x1402540b9
mov qword [rbx], r15
lea rdx, [rbx + 0x41]
mov ecx, 0x2f
xor r9d, r9d
mov qword [rbx + 0x10], r13
mov rdi, rdx
xor r10d, r10d
xor r11d, r11d
mov rax, qword [rsp + 0x228]
mov qword [rbx + 0x28], 0xffffffffffffffff
mov r8d, 0x2c
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x240]
mov qword [rbx + 0x18], rax
mov al, byte [rsp + 0x6c]
mov byte [rbx + 0x40], al
mov eax, dword [r15 + 0x44]
dec eax
mov dword [r15 + 0x44], eax
mov dword [rbx + 0x30], eax
mov dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x258]
mov word [rbx + 0x3c], bp
mov word [rbx + 0x3e], ax
movsx eax, word [r15 + 0xe0]
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x248]
mov qword [rbx + 0x20], rax
mov al, byte [rsp + 0x50]
rep stosb byte [rdi], al
lea rax, [rbx + 0x360]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x6c]
mov rdi, qword [rsp + 0x60]
lea ecx, [rax + 1]
mov al, byte [rsp + 0x50]
movsxd rcx, ecx
imul rcx, rcx, 0x70
rep stosb byte [rdi], al
mov eax, 0xffffff9d
mov qword [rsp + 0x128], rbx
shl rax, 0x20
mov qword [rbx + 0x25c], rax
lea rax, [rbx + 0x70]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x130], rax
lea rax, [rbx + r12]
lea rdx, [rax + 0x58]
mov qword [rsp + 0x138], rax
mov qword [rax + 0x48], rdx
mov rcx, qword [rsp + 0xa0]
mov rdx, rsi
mov word [rax + 0x3c], 0
mov word [rax + 0x40], 3
mov dword [rax + 0x38], r9d
lea rax, [rbx + 0x98]
mov qword [rbx + 0x70], rbx
mov byte [rbx + 0x81], 0
mov qword [rbx + 0x78], r10
mov dword [rbx + 0x84], r11d
mov qword [rbx + 0x88], 8
mov qword [rbx + 0x90], rax
call sym.sqlite3WhereSplit
cmp dword [rsp + 0x6c], 0
jne 0x1402514dc
test r13, r13
je 0x1402514b1
mov eax, dword [r13]
mov byte [rbx + 0x41], al
bt ebp, 8
jae 0x1402514c6
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
jne 0x1402514c6
mov byte [rbx + 0x43], 1
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, r15
call sym.sqlite3VdbeExplain
jmp 0x14025167e
xor r8d, r8d
mov rax, qword [rsp + 0x228]
mov dword [rsp + 0x58], r8d
lea rsi, [rax + 0x28]
movsxd rax, dword [rbx + 0x25c]
mov edx, dword [rsi + 0x24]
mov rdi, qword [rsp + 0x228]
lea ecx, [rax + 1]
mov dword [rbx + 0x25c], ecx
mov dword [rbx + rax*4 + 0x260], edx
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 0x68
test byte [rdi + rax + 0x48], 4
je 0x140251662
mov r14, qword [rsi + 0x38]
mov r11, qword [rsi]
test r14, r14
je 0x140251662
xor r12d, r12d
xor r10d, r10d
cmp dword [r14], r12d
jle 0x140251662
movsxd rax, r10d
movsx edx, word [r11 + 0x36]
imul rax, rax, 0x18
cmp r10d, edx
jge 0x14025164d
mov rcx, qword [r11 + 8]
mov cx, word [rcx + rax + 0x12]
add rax, 0x18
and cl, 2
jne 0x140251571
inc r10d
jmp 0x140251551
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa7
mov dword [rsp + 0x78], r10d
mov qword [rsp + 0x70], r11
call sym.sqlite3ExprAlloc
mov r11, qword [rsp + 0x70]
mov r10d, dword [rsp + 0x78]
test rax, rax
mov rdi, rax
je 0x140251662
mov eax, dword [rsi + 0x24]
mov word [rdi + 0x30], r10w
mov rcx, rdi
xor r8d, r8d
mov qword [rdi + 0x40], r11
mov dword [rdi + 0x2c], eax
lea eax, [r10 + 1]
mov qword [rsp + 0x78], r11
mov dword [rsp + 0x70], eax
call sym.sqlite3ExprColUsed
or qword [rsi + 0x30], rax
mov rax, r12
mov rcx, qword [r15]
shl rax, 5
mov rdx, qword [r14 + rax + 8]
call sym.sqlite3ExprDup
xor r9d, r9d
mov edx, 0xae
mov rcx, r15
mov r8, rax
call sym.sqlite3PExpr
mov r8, rdi
mov edx, 0x35
mov rcx, r15
mov r9, rax
call sym.sqlite3PExpr
mov edx, dword [rsi + 0x24]
mov r9, rax
mov al, byte [rsi + 0x1c]
mov rcx, r9
and eax, 0x18
neg al
sbb eax, eax
inc r12
lea r8d, [rax + 2]
call sym.sqlite3SetJoinExpr
mov rcx, qword [rsp + 0xa0]
mov r8d, 1
mov rdx, r9
call sym.whereClauseInsert
mov r10d, dword [rsp + 0x70]
mov r11, qword [rsp + 0x78]
jmp 0x14025153c
mov r8, qword [r11]
mov r9d, r12d
lea rdx, str.too_many_arguments_on__s_____max__d
mov rcx, r15
call sym.sqlite3ErrorMsg
mov rax, qword [rsp + 0x228]
inc dword [rsp + 0x58]
add rsi, 0x68
mov edi, dword [rsp + 0x58]
cmp dword [rax], edi
jg 0x1402514f0
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x228]
call sym.sqlite3WhereExprAnalyze
cmp qword [rsp + 0x248], 0
je 0x1402516bd
mov rax, qword [rsp + 0x248]
cmp qword [rax + 0x60], 0
je 0x1402516bd
mov rcx, qword [rsp + 0xa0]
mov rdx, rax
call sym.sqlite3WhereAddLimit
xor esi, esi
cmp dword [r15 + 0x30], 0
jne 0x1402540a1
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x1c], esi
jle 0x140251795
imul r12, rsi, 0x38
add r12, qword [rax + 0x20]
test byte [r12 + 0x12], 2
jne 0x14025178d
cmp qword [r12 + 0x30], 0
mov r14, qword [r12]
jne 0x14025178d
cmp dword [rsp + 0x6c], 0
jne 0x14025170f
test byte [r14 + 4], 2
jne 0x140251763
jmp 0x140251771
lea r8, [rsp + 0x160]
xor eax, eax
mov ecx, 0xc
mov rdx, r14
mov rdi, r8
rep stosd dword [rdi], eax
lea rax, [sym.exprNodeIsDeterministic]
mov rcx, r8
mov word [rsp + 0x184], 1
mov qword [rsp + 0x168], rax
lea rax, [sym.sqlite3SelectWalkFail]
mov qword [rsp + 0x170], rax
call sym.sqlite3WalkExpr
cmp word [rsp + 0x184], 0
jne 0x140251706
jmp 0x14025178d
mov rax, qword [rsp + 0x228]
test byte [rax + 0x44], 0x40
jne 0x14025178d
mov r8d, dword [rbx + 0x34]
mov r9d, 0x10
mov rdx, r14
mov rcx, r15
call sym.sqlite3ExprIfFalse
or word [r12 + 0x12], 4
inc rsi
jmp 0x1402516ca
bt ebp, 8
jae 0x14025196a
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 0x10
je 0x1402517bf
mov eax, ebp
and word [rbx + 0x3c], 0xfeff
and ah, 0xfe
mov word [rsp + 0x68], ax
jmp 0x14025196a
mov rax, qword [rsp + 0x228]
cmp dword [rax], 1
jne 0x140251953
mov edi, dword [rax + 0x4c]
mov r10, qword [rax + 0x28]
xor r8d, r8d
mov rax, qword [rsp + 0x240]
mov r9d, dword [rax]
cmp r9d, r8d
jle 0x14025182d
mov rsi, qword [rsp + 0x240]
mov rax, r8
shl rax, 5
mov rcx, qword [rsi + rax + 8]
call sym.sqlite3ExprSkipCollateAndLikely
test rax, rax
je 0x140251828
mov sil, byte [rax]
lea edx, [rsi + 0x59]
and dl, 0xfd
jne 0x140251828
cmp edi, dword [rax + 0x2c]
jne 0x140251828
cmp word [rax + 0x30], 0
jns 0x140251828
mov byte [rbx + 0x43], 1
jmp 0x14025196a
inc r8
jmp 0x1402517e5
mov r14, qword [r10 + 0x10]
test r14, r14
je 0x140251953
cmp byte [r14 + 0x62], 0
jne 0x140251847
mov r14, qword [r14 + 0x28]
jmp 0x140251831
xor r12d, r12d
cmp qword [r14 + 0x48], 0
jne 0x140251841
movzx eax, word [r14 + 0x5e]
mov dword [rsp + 0x58], r12d
cmp eax, r12d
jle 0x140251936
mov qword [rsp + 0x28], r14
or r9, 0xffffffffffffffff
mov r8d, r12d
mov edx, edi
mov dword [rsp + 0x20], 2
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3WhereFindTerm
test rax, rax
je 0x140251891
inc r12
jmp 0x140251851
mov rax, qword [r14 + 0x40]
lea rbp, [r12 + r12]
xor esi, esi
mov rax, qword [rax + r12*8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x240]
cmp dword [rax], esi
jle 0x140251936
mov rcx, qword [rsp + 0x240]
mov rax, rsi
shl rax, 5
mov rcx, qword [rcx + rax + 8]
call sym.sqlite3ExprSkipCollateAndLikely
test rax, rax
jne 0x1402518d7
inc rsi
jmp 0x1402518a4
mov dl, byte [rax]
add edx, 0x59
and dl, 0xfd
jne 0x1402518d2
mov rdx, qword [r14 + 8]
mov dx, word [rdx + rbp]
cmp word [rax + 0x30], dx
jne 0x1402518d2
cmp edi, dword [rax + 0x2c]
jne 0x1402518d2
mov rdx, rcx
mov rcx, r15
call sym.sqlite3ExprNNCollSeq
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rax]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1402518d2
mov rax, qword [r14 + 8]
movsx rdx, word [rax + rbp]
mov rax, rdx
test edx, edx
js 0x14025194a
mov rdx, qword [r14 + 0x18]
imul rax, rax, 0x18
add rax, qword [rdx + 8]
test byte [rax + 8], 0xf
jne 0x14025188c
movzx eax, word [r14 + 0x5e]
cmp dword [rsp + 0x58], eax
jne 0x140251841
jmp 0x14025181f
inc edx
jne 0x140251936
jmp 0x14025188c
test r13, r13
jne 0x14025196a
mov rax, qword [rsp + 0x240]
or word [rbx + 0x3c], 0x80
mov qword [rbx + 0x10], rax
cmp dword [rsp + 0x6c], 1
jne 0x140251b7d
mov rbp, qword [rsp + 0x128]
test byte [rbp + 0x3c], 0x20
jne 0x140251b7d
mov r12, qword [rbp + 8]
mov rdi, qword [r12 + 0x28]
cmp byte [rdi + 0x3f], 1
je 0x140251b7d
test byte [r12 + 0x48], 3
jne 0x140251b7d
mov rsi, qword [rsp + 0x138]
xor edx, edx
xor ecx, ecx
or r9d, 0xffffffff
mov eax, dword [r12 + 0x4c]
lea r13, [rsp + 0x160]
mov dword [rsi + 0x38], edx
mov word [rsi + 0x3e], 0
mov qword [rsp + 0x28], rcx
mov rcx, r13
mov dword [rsp + 0x20], 0x82
mov dword [rsp + 0x58], eax
lea rax, [rbp + 0x70]
mov r8d, dword [rsp + 0x58]
mov rdx, rax
mov qword [rsp + 0x70], rax
call sym.whereScanInit
test rax, rax
jne 0x140251a01
mov rdi, qword [rdi + 0x10]
jmp 0x140251a41
cmp qword [rax + 0x28], 0
je 0x140251a12
mov rcx, r13
call sym.whereScanNext
jmp 0x1402519f6
mov rdx, qword [rsi + 0x48]
mov dword [rsi + 0x38], 0x1101
mov qword [rdx], rax
mov word [rsi + 0x3c], 1
mov word [rsi + 0x18], 1
mov word [rsi + 0x14], 0x21
jmp 0x140251b1e
cmp byte [rdi + 0x62], 0
jne 0x140251a4b
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140251a37
jmp 0x140251b1e
cmp qword [rdi + 0x48], 0
jne 0x140251a3d
cmp word [rdi + 0x5e], 3
ja 0x140251a3d
mov al, byte [rdi + 0x64]
and eax, 8
cmp al, 1
lea rax, [rsp + 0x160]
sbb r14d, r14d
mov qword [rsp + 0x78], rax
xor r13d, r13d
and r14d, 0xffffff80
add r14d, 0x82
movzx eax, word [rdi + 0x5e]
mov dword [rsp + 0x80], r13d
cmp eax, r13d
jle 0x140251ab6
mov qword [rsp + 0x28], rdi
mov r8d, dword [rsp + 0x58]
mov r9d, r13d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov dword [rsp + 0x20], r14d
call sym.whereScanInit
test rax, rax
jne 0x140251ac8
movzx eax, word [rdi + 0x5e]
cmp dword [rsp + 0x80], eax
je 0x140251ae8
jmp 0x140251a3d
cmp qword [rax + 0x28], 0
je 0x140251adb
mov rcx, qword [rsp + 0x78]
call sym.whereScanNext
jmp 0x140251ab1
mov rdx, qword [rsi + 0x48]
mov qword [rdx + r13*8], rax
inc r13
jmp 0x140251a7f
mov dword [rsi + 0x38], 0x1201
test byte [rdi + 0x64], 0x20
jne 0x140251b03
mov rax, qword [r12 + 0x58]
and rax, qword [rdi + 0x98]
jne 0x140251b0a
mov dword [rsi + 0x38], 0x1241
mov word [rsi + 0x3c], r13w
mov word [rsi + 0x18], r13w
mov qword [rsi + 0x20], rdi
mov word [rsi + 0x14], 0x27
mov eax, dword [rsi + 0x38]
test eax, eax
je 0x140251b7d
mov edi, dword [rsp + 0x58]
mov rdx, qword [rbp + 0x10]
mov word [rsi + 0x16], 1
mov qword [rbp + 0x3c0], rsi
mov qword [rsi + 8], 1
mov dword [rbp + 0x364], edi
mov word [rbp + 0x48], 1
test rdx, rdx
je 0x140251b58
mov edx, dword [rdx]
mov byte [rbp + 0x41], dl
test byte [rbp + 0x3d], 1
je 0x140251b62
mov byte [rbp + 0x43], 1
cmp byte [rsp + 0x189], 1
jbe 0x140251c2c
or eax, 0x200000
mov dword [rsi + 0x38], eax
jmp 0x140251c2c
lea rsi, [rsp + 0x128]
mov rcx, rsi
call sym.whereLoopAddAll
test eax, eax
jne 0x1402540a1
test byte [rsp + 0x155], 4
jne 0x140251bb9
xor edx, edx
mov rcx, rbx
call sym.wherePathSolver.isra.0
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x140251bf7
jmp 0x1402540a1
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x140251be6
mov rax, qword [rdi + 0x50]
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
mov qword [rbx + 0x58], rax
call sym.whereLoopClear
mov rcx, qword [rsp + 0x48]
mov rdx, rdi
call sym.sqlite3DbNNFreeNN
jmp 0x140251bb9
mov rcx, rsi
call sym.whereLoopAddAll
test eax, eax
je 0x140251b9f
jmp 0x1402540a1
cmp qword [rbx + 0x10], 0
jne 0x140251c0b
test byte [rbx + 0x3d], 1
je 0x140251c2c
sub word [rbx + 0x48], 0x1e
jmp 0x140251c2c
mov eax, dword [rbx + 0x48]
mov rcx, rbx
lea edx, [rax + 1]
movsx edx, dx
call sym.wherePathSolver.isra.0
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x140251bfe
jmp 0x1402540a1
cmp qword [rbx + 0x10], 0
jne 0x140251c46
mov rax, qword [rsp + 0x48]
test byte [rax + 0x31], 0x10
je 0x140251c46
mov rcx, rbx
call sym.whereReverseScanOrder
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0xb8], eax
test eax, eax
jne 0x1402540a1
cmp byte [rbx + 0x40], 1
jbe 0x140251ca4
cmp qword [rsp + 0x240], 0
je 0x140251ca4
test word [rsp + 0x68], 0x400
mov qword [rsp + 0x80], 0xffffffffffffffff
jne 0x140251cb6
mov rax, qword [rsp + 0x48]
test byte [rax + 0x61], 1
jne 0x140251cb6
mov rcx, rbx
call sym.whereOmitNoopJoin.constprop.0
mov qword [rsp + 0x80], rax
movzx eax, byte [rbx + 0x40]
mov dword [rsp + 0x6c], eax
jmp 0x140251cb0
mov qword [rsp + 0x80], 0xffffffffffffffff
cmp byte [rbx + 0x40], 1
jbe 0x140251cc9
mov rax, qword [rsp + 0x48]
test byte [rax + 0x62], 8
jne 0x140251cc9
mov rcx, rbx
call sym.whereCheckIfBloomFilterIsUseful
mov rax, qword [rbx]
mov edx, dword [rbx + 0x48]
add word [rax + 0xe0], dx
test byte [rsp + 0x68], 4
je 0x140251d5a
mov rcx, qword [rbx + 0x3c0]
mov eax, dword [rcx + 0x38]
bt eax, 0xc
jb 0x140251d22
test byte [rsp + 0x68], 8
je 0x140251d5a
mov rsi, qword [rsp + 0x228]
mov rdx, qword [rsi + 0x28]
cmp byte [rdx + 0x3f], 1
je 0x140251d5a
bt eax, 0xd
jae 0x140251d13
test byte [rsp + 0x68], 0x10
je 0x140251d5a
mov rsi, qword [rsp + 0x48]
mov dl, 2
test byte [rsi + 0x63], 8
je 0x140251d24
jmp 0x140251d5a
mov dl, 1
mov rsi, qword [rsp + 0x228]
mov byte [rbx + 0x42], dl
mov rdx, qword [rsi + 0x28]
test byte [rdx + 0x30], 0x80
jne 0x140251d5a
test al, 0x40
je 0x140251d5a
mov edx, dword [rsp + 0x68]
and eax, 0xffffffbf
mov dword [rcx + 0x38], eax
shr dx, 3
and edx, 1
lea esi, [rdx*8]
mov byte [rsp + 0x50], sil
xor eax, eax
mov rbp, qword [rsp + 0x60]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x68]
and eax, 0x20
mov word [rsp + 0x78], ax
mov esi, dword [rsp + 0x70]
cmp dword [rsp + 0x6c], esi
jle 0x1402521b7
movzx edi, byte [rbp + 0x40]
mov rcx, qword [rsp + 0x48]
movzx r10d, dil
mov r14, rdi
imul r10, r10, 0x68
add r10, qword [rsp + 0x228]
mov rsi, qword [r10 + 0x28]
mov rdx, qword [rsi + 0x60]
call sym.sqlite3SchemaToIndex
mov r12, qword [rbp + 0x60]
mov dword [rsp + 0x58], eax
test byte [rsi + 0x31], 0x40
jne 0x140251ef8
mov dl, byte [rsi + 0x3f]
cmp dl, 2
je 0x140251ef8
mov eax, dword [r12 + 0x38]
bt eax, 0xa
jae 0x140251e0d
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
call sym.sqlite3GetVTable.isra.0
mov rcx, qword [rsp + 0x40]
mov edx, 0xad
mov dword [rsp + 0x30], 0xfffffff5
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
mov r8d, dword [r10 + 0x4c]
call sym.sqlite3VdbeAddOp4
jmp 0x140251ef8
dec dl
je 0x140251ef8
test al, 0x40
jne 0x140251e20
test byte [rsp + 0x68], 0x20
je 0x140251e3a
movsxd rax, edi
mov rcx, qword [rsp + 0x228]
imul rax, rax, 0x68
test byte [rcx + rax + 0x44], 0x50
je 0x140251edd
movsxd rax, edi
mov rcx, qword [rsp + 0x228]
imul rax, rax, 0x68
cmp byte [rbx + 0x42], 0
mov edx, dword [rcx + rax + 0x4c]
mov eax, 0x70
je 0x140251e60
mov dword [rbx + 0x28], edx
mov eax, 0x71
mov dword [rsp + 0x20], eax
mov r8d, dword [rsp + 0x58]
mov r9, rsi
mov rcx, r15
call sym.sqlite3OpenTable
cmp byte [rbx + 0x42], 0
jne 0x140251ecc
cmp word [rsi + 0x36], 0x3f
jg 0x140251ecc
test byte [rsi + 0x30], 0xe0
jne 0x140251ecc
mov eax, dword [r12 + 0x38]
and eax, 0x404000
jne 0x140251ecc
movsxd rdx, edi
mov rcx, qword [rsp + 0x228]
mov r9d, 0xfffffffd
imul rdx, rdx, 0x68
mov rdx, qword [rcx + rdx + 0x58]
bsr rcx, rdx
test rdx, rdx
lea r8d, [rcx + 1]
mov rcx, qword [rsp + 0x40]
cmove r8d, eax
or edx, 0xffffffff
movsxd r8, r8d
call sym.sqlite3VdbeChangeP4
movzx edx, byte [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeChangeP5
jmp 0x140251ef8
mov rax, qword [rsi]
mov r8d, dword [rsi + 0x28]
xor r9d, r9d
mov rcx, r15
mov edx, dword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call sym.sqlite3TableLock
test byte [r12 + 0x39], 2
je 0x14025207a
mov r13, qword [r12 + 0x20]
test byte [rsi + 0x30], 0x80
je 0x140251f2c
mov al, byte [r13 + 0x64]
and eax, 3
cmp al, 2
jne 0x140251f2c
test byte [rsp + 0x68], 0x20
je 0x140251f2c
mov r14d, dword [rbp + 4]
xor edx, edx
jmp 0x140252023
cmp byte [rbx + 0x42], 0
je 0x140251f73
movsxd rax, edi
mov rcx, qword [rsp + 0x228]
mov r14d, dword [rsp + 0x258]
imul rax, rax, 0x68
mov rax, qword [rcx + rax + 0x28]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140251f65
cmp rax, r13
je 0x140251f65
mov rax, qword [rax + 0x28]
inc r14d
jmp 0x140251f52
mov dword [rbx + 0x2c], r14d
mov edx, 0x71
jmp 0x140252023
cmp dword [rsp + 0x258], 0
je 0x140251f89
cmp word [rsp + 0x78], 0
jne 0x140252016
imul r14, r14, 0x68
mov rax, qword [rsp + 0x228]
lea r9, [rax + r14 + 8]
mov r14d, dword [r15 + 0x34]
lea eax, [r14 + 1]
mov dword [r15 + 0x34], eax
test byte [r13 + 0x65], 8
je 0x140251fd6
mov rax, qword [rsp + 0x48]
test byte [rax + 0x63], 1
jne 0x140251fd6
mov r8d, r14d
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x88], r9
call sym.whereAddIndexedExpr
mov r9, qword [rsp + 0x88]
mov r8, qword [r13 + 0x48]
test r8, r8
je 0x140251ff5
movsxd rax, edi
mov rcx, qword [rsp + 0x228]
imul rax, rax, 0x68
test byte [rcx + rax + 0x44], 0x10
je 0x140251ffc
mov edx, 0x70
jmp 0x140252023
mov qword [rsp + 0x28], r9
mov rdx, r13
xor r9d, r9d
mov rcx, r15
mov dword [rsp + 0x20], r14d
call sym.wherePartIdxExpr
jmp 0x140251ff5
mov r14d, dword [rsp + 0x258]
mov edx, 0x65
mov dword [rbp + 8], r14d
test edx, edx
je 0x14025207a
mov eax, dword [rsp + 0x58]
mov r9d, dword [r13 + 0x58]
mov r8d, r14d
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rdx, r13
mov rcx, r15
call sym.sqlite3VdbeSetP4KeyInfo
mov eax, dword [r12 + 0x38]
test al, 0xf
je 0x14025207a
test eax, 0x188002
jne 0x14025207a
test byte [rbx + 0x3c], 1
jne 0x14025207a
cmp byte [rbx + 0x43], 2
je 0x14025207a
mov rcx, qword [rsp + 0x40]
mov edx, 2
call sym.sqlite3VdbeChangeP5
cmp dword [rsp + 0x58], 0
js 0x14025208d
mov edx, dword [rsp + 0x58]
mov rcx, r15
call sym.sqlite3CodeVerifySchema
movsxd rdi, edi
mov rax, qword [rsp + 0x228]
imul rdi, rdi, 0x68
test byte [rax + rdi + 0x44], 0x10
je 0x1402521aa
mov edx, 0x14
mov rcx, rbx
call sym.sqlite3WhereMalloc
mov qword [rbp + 0x38], rax
mov rdi, rax
test rax, rax
je 0x1402521aa
mov eax, dword [r15 + 0x34]
mov rcx, qword [rsp + 0x40]
mov r8d, 0x10000
lea edx, [rax + 1]
mov dword [r15 + 0x34], edx
mov edx, 0x4d
mov dword [rdi], eax
mov eax, dword [r15 + 0x38]
lea r9d, [rax + 1]
mov dword [r15 + 0x38], r9d
mov dword [rdi + 4], r9d
call sym.sqlite3VdbeAddOp2
mov eax, dword [r15 + 0x38]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x4b
lea r9d, [rax + 1]
mov dword [r15 + 0x38], r9d
mov dword [rdi + 8], r9d
call sym.sqlite3VdbeAddOp2
test byte [rsi + 0x30], 0x80
jne 0x14025216e
mov r8d, dword [rdi]
mov rcx, qword [rsp + 0x40]
mov r9d, 1
mov edx, 0x76
call sym.sqlite3VdbeAddOp2
mov rcx, qword [r15]
mov edx, 1
xor r8d, r8d
call sym.sqlite3KeyInfoAlloc
mov rdx, rax
test rax, rax
je 0x14025219c
xor r14d, r14d
mov rcx, qword [rsp + 0x40]
mov r8d, 0xfffffff8
mov qword [rax + 0x20], r14
mov rax, qword [rax + 0x18]
mov byte [rax], 0
call sym.sqlite3VdbeAppendP4
jmp 0x14025219c
mov rcx, qword [rsi + 0x10]
call sym.sqlite3PrimaryKeyIndex.isra.0
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rdi]
mov edx, 0x76
movzx r9d, word [rax + 0x5e]
mov rsi, rax
call sym.sqlite3VdbeAddOp2
mov rdx, rsi
mov rcx, r15
call sym.sqlite3VdbeSetP4KeyInfo
and dword [r12 + 0x38], 0xffffffbf
mov byte [rbx + 0x41], 0
mov byte [rbx + 0x43], 3
inc dword [rsp + 0x70]
add rbp, 0x70
jmp 0x140251d71
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbx + 0x4c], eax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
jne 0x1402540a1
movzx eax, word [rsp + 0x68]
xor r13d, r13d
mov rbp, qword [rsp + 0x60]
mov qword [rsp + 0xf0], r13
mov dword [rsp + 0x104], eax
lea rax, [rbx + 0x258]
mov qword [rsp + 0xf8], rax
mov esi, dword [rsp + 0xb8]
cmp dword [rsp + 0x6c], esi
jle 0x14025408e
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0xe8], eax
test eax, eax
jne 0x1402540a1
movzx r12d, byte [rbp + 0x40]
mov rax, qword [rbp + 0x60]
imul r12, r12, 0x68
add r12, qword [rsp + 0x228]
mov edi, dword [rax + 0x38]
mov al, byte [r12 + 0x48]
test al, 0x10
je 0x140252299
test al, 8
je 0x140252263
mov r9d, dword [r12 + 0x38]
mov r8d, dword [r12 + 0x3c]
mov edx, 0xa
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
jmp 0x140252299
mov rcx, qword [rsp + 0x40]
mov edx, 0xf
call sym.sqlite3VdbeAddOp0
mov rcx, qword [rsp + 0x40]
mov r9d, dword [r12 + 0x38]
mov edx, 0xa
mov r8d, dword [r12 + 0x3c]
mov esi, eax
call sym.sqlite3VdbeAddOp2
mov rcx, qword [rsp + 0x40]
mov edx, esi
call sym.sqlite3VdbeJumpHere
test edi, 0x404000
jne 0x140252359
mov r9d, dword [rsp + 0x104]
mov rdx, qword [rsp + 0x228]
mov r8, rbp
mov rcx, r15
call sym.sqlite3WhereExplainOneScan.isra.0
mov rax, qword [rsp + 0x40]
mov rsi, qword [rbp + 0x60]
mov rcx, qword [rsp + 0xf8]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x20], eax
mov rax, qword [r15]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rbp + 0x40]
movzx r10d, al
mov dword [rsp + 0xc8], eax
mov rdi, rax
mov rax, qword [rsp + 0xa8]
imul r10, r10, 0x68
add r10, rax
mov eax, dword [r10 + 0x4c]
mov edx, eax
mov dword [rsp + 0x68], eax
call sym.sqlite3WhereGetMask
not rax
and rax, qword [rsp + 0x80]
mov qword [rbp + 0x68], rax
mov eax, dword [r15 + 0x44]
mov r13, qword [rbx + 0x68]
lea r12d, [rax - 1]
sub eax, 2
mov dword [rbp + 0x10], r12d
mov dword [rbp + 0xc], r12d
mov dword [rsp + 0xbc], eax
mov dword [r15 + 0x44], eax
mov dword [rbp + 0x18], eax
test dil, dil
jne 0x1402523aa
jmp 0x1402523d3
bt edi, 0xe
jae 0x14025237c
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0xa0]
mov r9, rbp
mov rcx, r15
call sym.constructAutomaticIndex
jmp 0x140252396
mov r9, qword [rsp + 0x80]
mov edx, dword [rsp + 0xb8]
mov r8, rbp
mov rcx, rbx
call sym.sqlite3ConstructBloomFilter
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
je 0x1402522a5
jmp 0x1402540a1
test byte [r10 + 0x44], 8
je 0x1402523d3
mov eax, dword [r15 + 0x38]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x47
lea r9d, [rax + 1]
mov dword [r15 + 0x38], r9d
mov dword [rbp], r9d
call sym.sqlite3VdbeAddOp2
mov rax, qword [rsp + 0xf0]
test eax, eax
je 0x140252401
imul rdx, rax, 0x70
cmp dword [rbx + rdx + 0x360], 0
jne 0x140252401
cmp qword [rbx + rdx + 0x398], 0
lea rcx, [rax - 1]
jne 0x140252401
mov rax, rcx
jmp 0x1402523db
cdqe
mov rcx, qword [rsp + 0xa8]
imul rax, rax, 0x70
mov r9d, dword [rbx + rax + 0x36c]
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0x68
add rax, rcx
mov dl, byte [rax + 0x48]
test dl, 0x20
je 0x140252471
mov r8d, dword [rax + 0x3c]
mov eax, dword [rax + 0x38]
xor r9d, r9d
mov edx, 0xb
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x50], r8d
call sym.sqlite3VdbeAddOp3
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov r9d, r12d
mov edx, 0xc
call sym.sqlite3VdbeAddOp2
mov dword [rbp + 0x48], eax
mov al, 9
jmp 0x140252886
mov cl, byte [rsp + 0xb8]
shr r13, cl
mov eax, r13d
and eax, 1
mov dword [rsp + 0x58], eax
mov eax, dword [rsi + 0x38]
bt eax, 0xa
jae 0x1402527b8
movzx eax, word [rsi + 0x3c]
mov rcx, r15
xor r12d, r12d
lea edx, [rax + 2]
mov dword [rsp + 0x60], eax
call sym.sqlite3GetTempRange
mov r13d, dword [rbp + 0xc]
mov edi, eax
lea r14d, [rax + 2]
mov ecx, r12d
cmp dword [rsp + 0x60], r12d
jle 0x1402525c2
mov rax, qword [rsi + 0x48]
lea r10d, [r14 + r12]
mov rax, qword [rax + r12*8]
test rax, rax
je 0x1402525ba
test byte [rax + 0x14], 1
je 0x140252572
mov r9d, r12d
cmp r12, 0x1f
ja 0x140252551
mov edx, 1
shl edx, cl
and edx, dword [rsi + 0x30]
je 0x140252551
mov r8d, dword [r15 + 0x34]
mov ecx, dword [r15 + 0x38]
mov dword [rsp + 0x88], r10d
lea r9d, [rcx + 1]
lea edx, [r8 + 1]
mov rcx, r15
mov dword [rsp + 0x70], r8d
mov dword [r15 + 0x34], edx
mov rdx, qword [rax]
mov dword [r15 + 0x38], r9d
mov dword [rsp + 0x78], r9d
call sym.sqlite3CodeRhsOfIN
mov r9d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x70]
mov edx, 0xaf
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp3
jmp 0x1402525ba
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x28], r10d
mov r8, rbp
mov rdx, rax
mov dword [rsp + 0x20], ecx
mov rcx, r15
call sym.codeEqualityTerm
mov r13d, dword [rbp + 0x10]
jmp 0x1402525ba
mov rdx, qword [rax]
mov r9d, 1
mov r8d, r10d
mov rcx, r15
mov qword [rsp + 0x70], rax
mov rdx, qword [rdx + 0x18]
call sym.codeExprOrVector
mov rax, qword [rsp + 0x70]
cmp byte [rax + 0x17], 0x4a
jne 0x1402525ba
test byte [rsi + 0x1c], 2
je 0x1402525ba
mov rax, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x47
mov r9d, dword [rax + 0xc]
call sym.sqlite3VdbeAddOp2
inc r12
jmp 0x1402524b2
mov r8d, dword [rsi + 0x18]
mov rcx, qword [rsp + 0x40]
mov r9d, edi
mov edx, 0x47
call sym.sqlite3VdbeAddOp2
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
lea r9d, [rdi + 1]
mov edx, 0x47
call sym.sqlite3VdbeAddOp2
mov al, byte [rsi + 0x1c]
mov r8d, dword [rsp + 0x68]
mov r9d, r13d
mov rcx, qword [rsp + 0x40]
mov edx, 6
and eax, 1
cmp al, 1
sbb eax, eax
or eax, 0xfffffffa
mov dword [rsp + 0x30], eax
mov rax, qword [rsi + 0x28]
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rax
call sym.sqlite3VdbeAddOp4
mov rax, qword [rsp + 0x50]
and byte [rsi + 0x1c], 0xfe
cmp byte [rax + 0x67], 0
je 0x14025263b
xor r12d, r12d
mov qword [rsi + 0x28], r12
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0x44], eax
cmp byte [rbx + 0x42], 1
sbb eax, eax
add edi, 2
xor r12d, r12d
and eax, 0xffffff86
sub eax, 0x47
mov byte [rbp + 0x41], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x48], eax
mov ecx, r12d
cmp dword [rsp + 0x60], r12d
jle 0x140252889
mov rax, qword [rsi + 0x48]
mov r13, qword [rax + r12*8]
cmp r12, 0xf
ja 0x14025269a
movzx eax, word [rsi + 0x22]
bt eax, ecx
jae 0x14025269a
mov rdx, r13
mov rcx, rbp
call sym.disableTerm
jmp 0x1402527ae
test byte [r13 + 0x14], 1
je 0x1402527ae
cmp r12, 0x1f
ja 0x1402526bb
mov eax, 1
shl eax, cl
and eax, dword [rsi + 0x30]
jne 0x1402527ae
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
jne 0x1402527ae
mov r9d, dword [rbp + 0x50]
xor r10d, r10d
cmp r9d, r10d
jle 0x140252722
imul rax, r10, 0x14
add rax, qword [rbp + 0x58]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rax + 4]
call sym.sqlite3VdbeGetOp
movzx edx, byte [rax]
cmp dl, 0x5e
jne 0x1402526f8
cmp dword [rax + 0xc], edi
jmp 0x140252700
cmp dl, 0x87
jne 0x14025271d
cmp dword [rax + 8], edi
jne 0x14025271d
mov r9d, dword [rax + 8]
mov r8d, dword [rax + 4]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
jmp 0x140252722
inc r10
jmp 0x1402526d1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x35
mov rcx, r15
call sym.sqlite3PExpr
mov r14, rax
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
jne 0x1402527a1
mov rdx, qword [r13]
mov eax, dword [r13 + 0x24]
mov rdx, qword [rdx + 0x10]
test eax, eax
jle 0x140252763
dec eax
cdqe
shl rax, 5
add rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
mov qword [r14 + 0x10], rdx
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov edx, 0xb0
call sym.sqlite3Expr
mov qword [r14 + 0x18], rax
test rax, rax
je 0x14025279a
mov dword [rax + 0x2c], edi
mov r8d, dword [rbp + 0x18]
mov r9d, 0x10
mov rdx, r14
mov rcx, r15
call sym.sqlite3ExprIfFalse
xor r11d, r11d
mov qword [r14 + 0x10], r11
mov rcx, qword [rsp + 0x50]
mov rdx, r14
call sym.sqlite3ExprDelete
inc r12
inc edi
jmp 0x140252665
bt eax, 8
jae 0x1402528e2
test al, 5
je 0x14025289c
mov rax, qword [rsi + 0x48]
xor r9d, r9d
mov r8, rbp
mov rcx, r15
mov rdx, qword [rax]
mov eax, dword [r15 + 0x38]
lea edi, [rax + 1]
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0x38], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call sym.codeEqualityTerm
mov esi, eax
cmp edi, eax
je 0x140252806
mov edx, edi
mov rcx, r15
call sym.sqlite3ReleaseTempReg
cmp dword [rbp + 0x34], 0
mov edi, dword [rbp + 0x10]
je 0x140252869
mov rcx, qword [rsp + 0x40]
mov r9d, edi
mov r8d, esi
mov edx, 0xd
call sym.sqlite3VdbeAddOp2
mov r8d, dword [rbp + 0x34]
mov dword [rsp + 0x20], esi
mov r9d, edi
mov dword [rsp + 0x28], 1
mov rcx, qword [rsp + 0x40]
mov edx, 0x40
call sym.sqlite3VdbeAddOp4Int
mov r9d, edi
mov rdx, rbx
mov rcx, r15
mov rax, qword [rsp + 0x80]
mov r8d, dword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
call sym.filterPullDown
mov dword [rsp + 0x20], esi
mov r8d, dword [rsp + 0x68]
mov r9d, edi
mov edx, 0x1e
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp3
mov al, 0xb9
mov byte [rbp + 0x41], al
xor r10d, r10d
mov r13d, 2
mov qword [rsp + 0x60], r10
jmp 0x140253b7d
mov ecx, eax
not ecx
and ecx, 0x102
jne 0x1402528e2
test al, 0x20
je 0x1402528ba
mov rdx, qword [rsi + 0x48]
mov r13, qword [rdx]
mov edx, 1
jmp 0x1402528bf
xor edx, edx
xor r13d, r13d
test al, 0x10
je 0x1402540c0
mov rax, qword [rsi + 0x48]
cmp dword [rsp + 0x58], 0
mov r14, qword [rax + rdx*8]
mov rsi, r14
jne 0x140254184
jmp 0x1402540cd
bt eax, 9
jae 0x140253481
mov cx, word [rsi + 0x1a]
movzx r12d, word [rsi + 0x18]
mov word [rsp + 0xd8], cx
mov ecx, dword [rsi + 0x1c]
mov edi, r12d
mov word [rsp + 0xcc], cx
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x60], rcx
mov ecx, dword [rbp + 8]
mov dword [rsp + 0x88], ecx
test al, 0x20
je 0x14025293e
mov r8, qword [rsi + 0x48]
movzx ecx, r12w
lea edx, [r12 + 1]
movzx r10d, word [rsp + 0xd8]
mov r14, qword [r8 + rcx*8]
jmp 0x140252947
xor r10d, r10d
mov edx, r12d
xor r14d, r14d
test al, 0x10
je 0x140252a24
mov rax, qword [rsi + 0x48]
movsxd rdx, edx
mov rax, qword [rax + rdx*8]
mov qword [rsp + 0x70], rax
movzx eax, word [rsp + 0xcc]
cmp r10d, eax
cmovl r10d, eax
mov rax, qword [rsp + 0x70]
test byte [rax + 0x13], 1
je 0x1402529e0
mov eax, dword [r15 + 0x38]
mov rcx, qword [rsp + 0x40]
mov edx, 0x47
mov r8d, 1
mov dword [rsp + 0x78], r10d
lea r9d, [rax + 1]
mov dword [r15 + 0x38], r9d
mov dword [rbp + 0x2c], r9d
call sym.sqlite3VdbeAddOp2
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
mov r10d, dword [rsp + 0x78]
mov eax, dword [rax + 0x90]
mov rcx, qword [rcx + 0x38]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x2c]
lea edx, [rax + rax]
movzx eax, di
mov dword [rbp + 0x2c], edx
cmp byte [rcx + rax], 1
sete al
mov ecx, dword [rsp + 0x58]
movzx eax, al
xor eax, ecx
or eax, edx
mov dword [rbp + 0x2c], eax
mov byte [rsp + 0x90], 0
test r14, r14
jne 0x140252a34
mov rcx, qword [rsp + 0x60]
movzx eax, di
mov rdx, qword [rcx + 8]
movsx rdx, word [rdx + rax*2]
mov rax, rdx
test edx, edx
js 0x140252a17
mov rdx, qword [rcx + 0x18]
imul rax, rax, 0x18
add rax, qword [rdx + 8]
test byte [rax + 8], 0xf
jmp 0x140252a1a
cmp edx, 0xfffffffe
sete byte [rsp + 0x90]
jmp 0x140252a34
xor r9d, r9d
mov byte [rsp + 0x90], 0
mov qword [rsp + 0x70], r9
mov eax, dword [rsi + 0x38]
xor r13d, r13d
and eax, 0x80030
cmp eax, 0x80000
jne 0x140252a8c
mov eax, dword [r15 + 0x38]
cmp dword [rbp], 0
lea r13d, [rax + 1]
mov dword [r15 + 0x38], r13d
mov dword [rbp + 0x24], r13d
je 0x140252a71
mov rcx, qword [rsp + 0x40]
mov r9d, r13d
xor r8d, r8d
mov edx, 0x47
call sym.sqlite3VdbeAddOp2
mov eax, dword [r15 + 0x44]
mov byte [rsp + 0x90], 1
mov r10d, 1
dec eax
mov dword [r15 + 0x44], eax
mov dword [rbp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x100], 0
cmp di, word [rax + 0x60]
jae 0x140252afd
mov rcx, qword [rsp + 0x60]
movzx eax, di
mov rdx, qword [rcx + 0x38]
cmp byte [rdx + rax], 0
sete al
movzx eax, al
cmp dword [rsp + 0x58], eax
jne 0x140252afd
mov cl, byte [rsp + 0x90]
movzx eax, byte [rsp + 0xd8]
mov rdx, r14
mov byte [rsp + 0x90], 0
mov r14, qword [rsp + 0x70]
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x100], cl
mov ecx, dword [rsp + 0xcc]
mov word [rsp + 0xcc], ax
mov word [rsp + 0xd8], cx
cmp dword [rsp + 0xb8], 0
je 0x140252b2e
test byte [rsi + 0x3a], 0x10
je 0x140252b2e
mov rcx, qword [rsp + 0x40]
mov edx, 0x88
mov dword [rsp + 0x78], r10d
mov r8d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp1
mov r10d, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x58]
mov r9d, r10d
mov rdx, rbp
mov rcx, r15
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
call sym.codeAllEqualityTerms
cmp word [rsp + 0xcc], 0
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xb0], rax
je 0x140252b8c
test rax, rax
je 0x140252b8c
mov rcx, qword [rsp + 0x50]
movzx edx, di
add rdx, rax
call sym.sqlite3DbStrDup
mov qword [rsp + 0xc0], rax
jmp 0x140252b97
xor r8d, r8d
mov qword [rsp + 0xc0], r8
test r13d, r13d
je 0x140252ba1
mov eax, dword [rbp + 0x28]
jmp 0x140252ba4
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0xd0], 1
test r14, r14
je 0x140252bcc
xor eax, eax
test byte [r14 + 0x14], 0x28
setne al
mov dword [rsp + 0xd0], eax
cmp qword [rsp + 0x70], 0
mov dword [rsp + 0xe0], 1
je 0x140252bf5
mov rax, qword [rsp + 0x70]
test byte [rax + 0x14], 0x28
setne al
movzx eax, al
mov dword [rsp + 0xe0], eax
test r14, r14
je 0x140252d09
mov rax, qword [r14]
mov rcx, r15
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x90], rax
movzx eax, word [rsp + 0xd8]
mov rdx, qword [rsp + 0x90]
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x78]
mov r9d, dword [rsp + 0xd8]
add eax, r12d
mov r8d, eax
mov dword [rsp + 0xec], eax
call sym.codeExprOrVector
mov r10w, word [r14 + 0x12]
test r10w, 0x100
je 0x140252c71
mov r9d, dword [rbp + 0x2c]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeGetLastOp
mov edx, r9d
and r9d, 1
shr edx, 1
mov word [rax + 2], r9w
mov dword [rax + 0xc], edx
and r10b, 0x80
jne 0x140252ca7
mov rcx, qword [rsp + 0x90]
call sym.sqlite3ExprCanBeNull
test eax, eax
je 0x140252ca7
mov r9d, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov edx, 0x32
mov r8d, dword [rsp + 0xec]
call sym.sqlite3VdbeAddOp2
cmp qword [rsp + 0xb0], 0
je 0x140252cd5
mov rax, qword [rsp + 0xb0]
movzx r8d, di
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
add r8, rax
call sym.updateRangeAffinityStr
mov edi, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
add edi, r12d
call sym.sqlite3ExprIsVector
test eax, eax
jne 0x140252d78
mov rdx, r14
mov rcx, rbp
call sym.disableTerm
mov byte [rsp + 0x90], 0
jmp 0x140252d3b
cmp byte [rsp + 0x90], 0
je 0x140252d43
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x4b
lea edi, [r12 + 1]
lea r9d, [r12 + rax]
call sym.sqlite3VdbeAddOp2
xor ecx, ecx
mov dword [rsp + 0xd0], ecx
mov r10d, 1
jmp 0x140252d91
test r13d, r13d
jne 0x140252d57
xor r10d, r10d
test di, di
mov edi, r12d
setne r10b
jmp 0x140252d91
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x4b
lea edi, [r12 + 1]
lea r9d, [r12 + rax]
call sym.sqlite3VdbeAddOp2
jmp 0x140252d3b
mov byte [rsp + 0x90], 0
mov r10d, 1
mov dword [rsp + 0xd0], 1
movzx eax, byte [rsp + 0x90]
mov rcx, qword [r15 + 0x10]
mov r8d, edi
mov dword [rsp + 0xec], r10d
mov r9, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x78]
sub r8d, eax
mov dword [rsp + 0xd8], eax
call sym.codeApplyAffinity.isra.0
movzx eax, word [rsi + 0x3e]
mov r10d, dword [rsp + 0xec]
test ax, ax
je 0x140252de5
xor edx, edx
mov dword [rsp + 0x90], edx
cmp edi, eax
je 0x140252fc7
test r13d, r13d
je 0x140252e12
mov rcx, qword [rsp + 0x40]
mov r9d, r13d
mov r8d, 1
mov edx, 0x47
mov dword [rsp + 0x90], r10d
call sym.sqlite3VdbeAddOp2
mov r10d, dword [rsp + 0x90]
mov r8d, dword [rbp + 0x34]
test r8d, r8d
je 0x140252e77
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], r12d
mov edx, 0x40
mov r9d, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x90], r10d
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
mov rax, qword [rsp + 0x80]
mov rdx, rbx
mov rcx, r15
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
call sym.filterPullDown
mov r10d, dword [rsp + 0x90]
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0x58]
lea rdx, [0x140367d50]
add eax, eax
lea eax, [rax + r10*4]
add eax, ecx
cdqe
movzx eax, byte [rdx + rax]
mov dword [rsp + 0xec], eax
test byte [rsi + 0x3a], 0x10
je 0x140252ea9
cmp eax, 0x17
je 0x140252eb6
xor r14d, r14d
mov dword [rsp + 0x90], r14d
jmp 0x140252f24
mov rax, qword [rsp + 0x60]
mov ecx, 0xa
mov rax, qword [rax + 0x10]
movsx eax, word [rax]
add eax, 9
cdq
idiv ecx
mov rcx, qword [rsp + 0x40]
mov edx, 0x7c
mov r8d, eax
call sym.sqlite3VdbeAddOp1
or r14, qword [rsp + 0x70]
mov dword [rsp + 0x90], eax
je 0x140252f24
mov rcx, qword [rsp + 0x40]
mov edx, 1
call sym.sqlite3VdbeChangeP5
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeGetOp
mov rdx, rax
mov eax, dword [rcx + 0x90]
mov dword [rsp + 0x90], eax
inc eax
mov dword [rdx + 8], eax
jmp 0x140252ea9
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], edi
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x88]
mov edx, dword [rsp + 0xec]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
test r13d, r13d
je 0x140252fc7
mov rax, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 9
mov r9d, dword [rax + 0x90]
mov rcx, rax
add r9d, 2
call sym.sqlite3VdbeAddOp2
xor eax, eax
cmp edi, 2
mov ecx, dword [rsp + 0x58]
setge al
lea rdx, [0x140367d50]
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x88]
lea eax, [rax*4 + 2]
add eax, ecx
mov rcx, qword [rsp + 0x40]
cdqe
movzx edx, byte [rdx + rax]
mov eax, dword [rsp + 0xd0]
sub edi, eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
cmp qword [rsp + 0x70], 0
je 0x1402530cb
mov rax, qword [rsp + 0x70]
movzx edi, word [rsp + 0xcc]
mov rcx, r15
mov rax, qword [rax]
mov r9d, edi
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x78]
mov rdx, qword [rsp + 0xd0]
lea r14d, [r12 + rax]
mov r8d, r14d
call sym.codeExprOrVector
mov rax, qword [rsp + 0x70]
mov r10w, word [rax + 0x12]
test r10w, 0x100
je 0x14025303e
mov r9d, dword [rbp + 0x2c]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeGetLastOp
mov edx, r9d
and r9d, 1
shr edx, 1
mov word [rax + 2], r9w
mov dword [rax + 0xc], edx
and r10b, 0x80
jne 0x14025306f
mov rcx, qword [rsp + 0xd0]
call sym.sqlite3ExprCanBeNull
test eax, eax
je 0x14025306f
mov r9d, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov r8d, r14d
mov edx, 0x32
call sym.sqlite3VdbeAddOp2
cmp qword [rsp + 0xc0], 0
je 0x1402530a8
mov r8, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xd0]
mov edx, edi
call sym.updateRangeAffinityStr
mov rcx, qword [r15 + 0x10]
mov r8d, edi
mov edx, r14d
mov r9, qword [rsp + 0xc0]
call sym.codeApplyAffinity.isra.0
mov rcx, qword [rsp + 0xd0]
add edi, r12d
call sym.sqlite3ExprIsVector
test eax, eax
jne 0x140253109
mov rdx, qword [rsp + 0x70]
mov rcx, rbp
call sym.disableTerm
jmp 0x140253114
cmp byte [rsp + 0x100], 0
mov edi, r12d
je 0x140253114
test r13d, r13d
jne 0x140253102
mov eax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x4b
lea r9d, [r12 + rax]
call sym.sqlite3VdbeAddOp2
xor r11d, r11d
mov dword [rsp + 0xe0], r11d
lea edi, [r12 + 1]
jmp 0x140253114
mov dword [rsp + 0xe0], 1
cmp qword [rsp + 0xb0], 0
je 0x140253131
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x50]
call sym.sqlite3DbNNFreeNN
cmp qword [rsp + 0xc0], 0
je 0x14025314e
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x50]
call sym.sqlite3DbNNFreeNN
mov rax, qword [rsp + 0x40]
mov r9d, dword [rax + 0x90]
mov dword [rbp + 0x48], r9d
test edi, edi
je 0x1402531d7
test r13d, r13d
je 0x14025317b
add r9d, 3
mov r8d, r13d
mov edx, 0x11
mov rcx, rax
call sym.sqlite3VdbeAddOp2
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x28], edi
lea rdx, [0x140364790]
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x88]
lea eax, [rax + rcx*2]
mov rcx, qword [rsp + 0x40]
cdqe
movzx edx, byte [rdx + rax]
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
cmp dword [rsp + 0x90], 0
je 0x1402531d7
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeJumpHere
test r13d, r13d
je 0x140253246
mov rax, qword [rsp + 0x40]
mov r8d, r13d
mov edx, 0x10
mov r9d, dword [rax + 0x90]
mov rcx, rax
add r9d, 2
call sym.sqlite3VdbeAddOp2
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0xd8]
lea rdx, [0x140364790]
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x88]
lea eax, [rax + rcx*2]
mov rcx, qword [rsp + 0x40]
cdqe
movzx edx, byte [rdx + rax]
mov eax, dword [rsp + 0xd8]
add eax, edi
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
test byte [rsi + 0x3a], 4
je 0x14025326b
mov dword [rsp + 0x20], r12d
mov rcx, qword [rsp + 0x40]
mov r9d, r12d
mov edx, 0x7d
mov r8d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp3
test byte [rsi + 0x38], 0x40
je 0x140253282
mov edi, 1
test word [rbx + 0x3c], 0x1020
je 0x140253413
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x18]
test byte [rax + 0x30], 0x80
jne 0x140253377
mov rdi, qword [rbx]
mov eax, dword [rsp + 0x68]
xor r9d, r9d
mov edx, 0x8d
mov r8d, dword [rsp + 0x88]
mov r13, qword [rdi + 0x10]
or byte [rbx + 0x44], 1
mov dword [rsp + 0x20], eax
mov rcx, r13
call sym.sqlite3VdbeAddOp3
test word [rbx + 0x3c], 0x1020
jne 0x1402532cf
xor edi, edi
jmp 0x140253413
mov rax, qword [rdi + 0xb0]
test rax, rax
cmove rax, rdi
cmp dword [rax + 0x80], 0
jne 0x1402532c8
mov rax, qword [rsp + 0x60]
mov rcx, qword [rdi]
mov r12, qword [rax + 0x18]
movsx edx, word [r12 + 0x36]
inc edx
movsxd rdx, edx
shl rdx, 2
call sym.sqlite3DbMallocZero
mov r8, rax
test rax, rax
je 0x1402532c8
movsx eax, word [r12 + 0x36]
xor r14d, r14d
mov dword [r8], eax
mov rax, qword [rsp + 0x60]
movzx edi, word [rax + 0x60]
dec edi
cmp edi, r14d
jle 0x140253361
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
movsx edx, word [rax + r14*2]
test dx, dx
js 0x14025335c
mov rcx, r12
mov qword [rsp + 0x50], r8
call sym.sqlite3TableColumnToStorage
mov r8, qword [rsp + 0x50]
lea edx, [r14 + 1]
movsx rax, ax
mov dword [r8 + rax*4 + 4], edx
inc r14
jmp 0x140253325
mov r9d, 0xfffffff2
or edx, 0xffffffff
mov rcx, r13
call sym.sqlite3VdbeChangeP4
jmp 0x1402532c8
mov ecx, dword [rsp + 0x88]
cmp dword [rsp + 0x68], ecx
je 0x1402532c8
mov rcx, qword [rax + 0x10]
xor r12d, r12d
call sym.sqlite3PrimaryKeyIndex.isra.0
mov rcx, r15
movzx edx, word [rax + 0x5e]
mov r13, rax
call sym.sqlite3GetTempRange
mov edi, eax
movzx eax, word [r13 + 0x5e]
cmp eax, r12d
jle 0x1402533ea
mov rax, qword [r13 + 8]
mov rcx, qword [rsp + 0x60]
movsx edx, word [rax + r12*2]
call sym.sqlite3TableColumnToIndex
lea edx, [rdi + r12]
mov rcx, qword [rsp + 0x40]
inc r12
mov dword [rsp + 0x20], edx
mov r8d, dword [rsp + 0x88]
movsx r9d, ax
mov edx, 0x5e
call sym.sqlite3VdbeAddOp3
jmp 0x1402533a5
mov dword [rsp + 0x28], eax
mov r8d, dword [rsp + 0x68]
mov edx, 0x1c
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp4Int
jmp 0x1402532c8
cmp dword [rbp], 0
jne 0x140253438
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x140253438
mov r8, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x68]
call sym.whereApplyPartialIndexConstraints
mov eax, dword [rsi + 0x38]
mov esi, dword [rsp + 0x58]
mov ecx, 0x27
mov dl, 0xb9
sub ecx, esi
test ah, 0x10
mov esi, dword [rsp + 0x88]
cmove edx, ecx
mov dword [rbp + 0x44], esi
mov byte [rbp + 0x41], dl
mov edx, eax
shr edx, 0x10
and edx, 1
mov byte [rbp + 0x42], dl
test al, 0xf
jne 0x14025346e
mov byte [rbp + 0x43], 1
mov r13d, 1
test edi, edi
je 0x140253b7d
jmp 0x140252889
bt eax, 0xd
jae 0x140253b30
mov eax, dword [r15 + 0x34]
mov rcx, qword [rsp + 0xa8]
mov dword [rsp + 0xcc], eax
inc eax
mov dword [r15 + 0x34], eax
mov eax, dword [r15 + 0x38]
inc eax
mov dword [r15 + 0x38], eax
mov dword [rsp + 0x90], eax
mov eax, dword [r15 + 0x44]
dec eax
mov dword [r15 + 0x44], eax
mov dword [rsp + 0xd0], eax
movsxd rax, dword [rsp + 0xc8]
imul rax, rax, 0x68
mov r13, qword [rcx + rax + 0x28]
mov rax, qword [rsi + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rax + 0x20]
mov byte [rbp + 0x41], 0x43
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x90]
mov dword [rbp + 0x44], eax
movzx r12d, byte [rbx + 0x40]
cmp r12b, 1
jbe 0x1402535a1
mov eax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
sub r12d, eax
dec r12d
movsxd rdx, r12d
imul rdx, rdx, 0x68
add rdx, 0x70
call sym.sqlite3DbMallocRawNN
mov r14, rax
test rax, rax
je 0x140254070
imul rdi, rdi, 0x68
lea eax, [r12 + 1]
mov ecx, 0x1a
mov rsi, qword [rsp + 0xa8]
movzx eax, al
lea rdx, [r14 + 0x70]
mov dword [r14 + 4], eax
mov dword [r14], eax
lea rax, [r14 + 8]
lea rsi, [rsi + rdi + 8]
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
mov rax, qword [rbx + 8]
lea r8, [rax + 8]
xor eax, eax
inc rax
cmp r12d, eax
jl 0x1402535a5
imul rcx, rax, 0x70
mov rdi, rdx
add rdx, 0x68
movzx esi, byte [rbp + rcx + 0x40]
mov ecx, 0x1a
imul rsi, rsi, 0x68
add rsi, r8
rep movsd dword [rdi], dword [rsi]
jmp 0x140253579
mov r14, qword [rbx + 8]
test byte [rbx + 0x3c], 0x10
jne 0x140253625
test byte [r13 + 0x30], 0x80
jne 0x1402535d7
mov eax, dword [r15 + 0x38]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x4b
inc eax
mov dword [r15 + 0x38], eax
mov r9d, eax
mov dword [rsp + 0x58], eax
call sym.sqlite3VdbeAddOp2
jmp 0x140253615
mov rcx, qword [r13 + 0x10]
call sym.sqlite3PrimaryKeyIndex.isra.0
mov rcx, qword [rsp + 0x40]
mov edx, 0x76
mov rsi, rax
mov eax, dword [r15 + 0x34]
movzx r9d, word [rsi + 0x5e]
mov dword [rsp + 0x58], eax
inc eax
mov r8d, dword [rsp + 0x58]
mov dword [r15 + 0x34], eax
call sym.sqlite3VdbeAddOp2
mov rdx, rsi
mov rcx, r15
call sym.sqlite3VdbeSetP4KeyInfo
mov eax, dword [r15 + 0x38]
inc eax
mov dword [rsp + 0x60], eax
mov dword [r15 + 0x38], eax
jmp 0x140253632
xor r10d, r10d
mov dword [rsp + 0x60], r10d
mov dword [rsp + 0x58], r10d
mov r9d, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x47
call sym.sqlite3VdbeAddOp2
cmp dword [rbx + 0x84], 1
mov dword [rsp + 0x100], eax
jg 0x140253661
xor r12d, r12d
jmp 0x1402536de
xor esi, esi
xor r9d, r9d
cmp dword [rbx + 0x84], esi
jle 0x1402536c6
imul rax, rsi, 0x38
add rax, qword [rbx + 0x90]
cmp qword [rsp + 0xd8], rax
je 0x1402536c1
test word [rax + 0x12], 0x8006
jne 0x1402536c1
test word [rax + 0x14], 0x3fff
je 0x1402536c1
mov rdx, qword [rax]
test byte [rdx + 6], 0x40
jne 0x1402536c1
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x70], r9
call sym.sqlite3ExprDup
mov rdx, qword [rsp + 0x70]
mov rcx, r15
mov r8, rax
call sym.sqlite3ExprAnd
mov r9, rax
inc rsi
jmp 0x140253666
test r9, r9
je 0x14025365c
xor r8d, r8d
mov edx, 0x1002c
mov rcx, r15
call sym.sqlite3PExpr
mov r12, rax
lea r8, str.MULTI_INDEX_OR
mov edx, 1
mov rcx, r15
xor edi, edi
call sym.sqlite3VdbeExplain
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0xec], r8d
mov qword [rsp + 0xc0], r9
mov rax, qword [rsp + 0xe0]
mov dword [rsp + 0x78], edi
cmp dword [rax + 0x14], edi
jle 0x140253a78
mov rsi, qword [rsp + 0xe0]
imul rax, rdi, 0x38
add rax, qword [rsi + 0x20]
mov esi, dword [rsp + 0x68]
cmp esi, dword [rax + 0x1c]
je 0x140253742
test byte [rax + 0x15], 4
je 0x140253a70
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
call sym.sqlite3ExprDup
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
je 0x140253775
mov rdx, qword [rsp + 0x98]
mov rcx, rax
jmp 0x140253a6b
mov rsi, qword [rsp + 0x98]
test r12, r12
je 0x14025378a
mov qword [r12 + 0x10], rsi
mov rsi, r12
lea r9d, [rdi + 1]
lea r8, str.INDEX__d
mov edx, 1
mov rcx, r15
call sym.sqlite3VdbeExplain
xor ecx, ecx
xor r9d, r9d
mov r8, rsi
mov eax, dword [rsp + 0xcc]
mov qword [rsp + 0x28], rcx
mov rdx, r14
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x20
call sym.sqlite3WhereBegin
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140253a5e
xor r9d, r9d
lea r8, [rax + 0x360]
mov rdx, r14
mov rcx, r15
call sym.sqlite3WhereExplainOneScan.isra.0
xor esi, esi
test byte [rbx + 0x3c], 0x10
jne 0x1402539a6
mov rax, qword [rsp + 0xe0]
mov esi, dword [rsp + 0x78]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x88], eax
dec eax
cmp eax, esi
mov eax, 0xffffffff
cmovne eax, edi
mov dword [rsp + 0xb0], eax
test byte [r13 + 0x30], 0x80
jne 0x14025387b
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x68]
mov edx, 0x87
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
mov eax, dword [rsp + 0xb0]
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov edx, 0x2f
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
mov esi, eax
jmp 0x1402539a6
mov rcx, qword [r13 + 0x10]
xor esi, esi
call sym.sqlite3PrimaryKeyIndex.isra.0
mov rcx, r15
mov r10, rax
movzx eax, word [rax + 0x5e]
mov edx, eax
mov dword [rsp + 0x78], eax
call sym.sqlite3GetTempRange
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x78], esi
jle 0x1402538e5
mov rax, qword [r10 + 8]
mov r8d, dword [rsp + 0x68]
mov rdx, r13
mov qword [rsp + 0x108], r10
mov rcx, qword [rsp + 0x40]
movsx r9d, word [rax + rsi*2]
mov eax, dword [rsp + 0x88]
add eax, esi
inc rsi
mov dword [rsp + 0x20], eax
call sym.sqlite3ExprCodeGetColumnOfTable
mov r10, qword [rsp + 0x108]
jmp 0x1402538a2
cmp dword [rsp + 0xb0], 0
je 0x140253927
mov eax, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
mov edx, 0x1d
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
cmp dword [rsp + 0xb0], 0xffffffff
mov esi, eax
jne 0x140253929
jmp 0x140253992
xor esi, esi
mov eax, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x78]
mov edx, 0x61
mov r8d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rsp + 0x78]
mov r9d, dword [rsp + 0x60]
mov edx, 0x8a
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
cmp dword [rsp + 0xb0], 0
je 0x140253992
mov rcx, qword [rsp + 0x40]
mov edx, 0x10
call sym.sqlite3VdbeChangeP5
mov r8d, dword [rsp + 0x78]
mov edx, dword [rsp + 0x88]
mov rcx, r15
call sym.sqlite3ReleaseTempRange
mov r9d, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
mov edx, 0xa
mov r8d, dword [rsp + 0x90]
call sym.sqlite3VdbeAddOp2
test esi, esi
je 0x1402539d5
mov rcx, qword [rsp + 0x40]
mov edx, esi
call sym.sqlite3VdbeJumpHere
mov rax, qword [rsp + 0x70]
test byte [rax + 0x44], 2
mov eax, 1
cmove eax, dword [rsp + 0xec]
xor esi, esi
mov dword [rsp + 0xec], eax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x3c0]
test byte [rax + 0x39], 2
je 0x140253a35
mov rsi, qword [rax + 0x20]
test rdi, rdi
je 0x140253a19
cmp qword [rsp + 0xc0], rsi
jne 0x140253a33
test byte [r13 + 0x30], 0x80
je 0x140253a35
mov al, byte [rsi + 0x64]
and eax, 3
cmp al, 2
mov eax, 0
cmove rsi, rax
jmp 0x140253a35
xor esi, esi
mov rax, qword [rsp + 0x70]
test byte [rax + 0x44], 1
je 0x140253a44
or byte [rbx + 0x44], 1
mov rcx, qword [rsp + 0x70]
call sym.sqlite3WhereEnd
mov rcx, r15
call sym.sqlite3VdbeExplainPop
mov qword [rsp + 0xc0], rsi
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x50]
call sym.sqlite3ExprDelete
inc rdi
jmp 0x14025370a
mov rcx, r15
call sym.sqlite3VdbeExplainPop
mov rax, qword [rsp + 0xc0]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x140253a9b
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 8], eax
test r12, r12
je 0x140253ab4
xor edx, edx
mov rcx, qword [rsp + 0x50]
mov qword [r12 + 0x10], rdx
mov rdx, r12
call sym.sqlite3ExprDelete
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x100]
mov r9d, dword [rax + 0x90]
mov rcx, rax
call sym.sqlite3VdbeGetOp
mov edx, dword [rbp + 0xc]
mov dword [rax + 4], r9d
call sym.sqlite3VdbeGoto
mov edx, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeResolveLabel
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x48], eax
cmp byte [rbx + 0x40], 1
jbe 0x140253b0d
mov rcx, qword [rsp + 0x50]
mov rdx, r14
call sym.sqlite3DbFreeNN
cmp dword [rsp + 0xec], 0
jne 0x140252889
mov rdx, qword [rsp + 0xd8]
mov rcx, rbp
call sym.disableTerm
jmp 0x140252889
and dl, 0x40
je 0x140253b3e
mov byte [rbp + 0x41], 0xb9
jmp 0x140252889
movsxd rax, dword [rsp + 0x58]
lea rdx, [0x140367d70]
mov esi, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov dl, byte [rdx + rax]
mov dword [rbp + 0x44], esi
mov r8d, esi
mov byte [rbp + 0x41], dl
lea rdx, [0x140367d40]
movzx edx, byte [rdx + rax]
call sym.sqlite3VdbeAddOp2
mov byte [rbp + 0x43], 1
inc eax
mov dword [rbp + 0x48], eax
jmp 0x140252889
movsxd rax, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0xa8]
imul rax, rax, 0x68
add rax, rdi
mov qword [rsp + 0x58], rax
mov eax, dword [rbx + 0x84]
mov rsi, qword [rbx + 0x90]
xor r12d, r12d
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jle 0x140253d0a
test byte [rsi + 0x12], 6
jne 0x140253cfd
mov r10, qword [rbp + 0x68]
mov rax, r10
and rax, qword [rsi + 0x30]
je 0x140253bd8
or byte [rbx + 0x44], 2
jmp 0x140253cfd
mov rax, qword [rsp + 0x58]
mov r14, qword [rsi]
mov dl, byte [rax + 0x44]
test dl, 0x58
je 0x140253c1b
mov eax, dword [r14 + 4]
test al, 3
je 0x140253cfd
and dl, 8
je 0x140253c01
test al, 1
je 0x140253cfd
mov edx, dword [r14 + 0x34]
mov rcx, qword [rsp + 0xf8]
call sym.sqlite3WhereGetMask
test r10, rax
jne 0x140253cfd
cmp r13d, 1
jne 0x140253c89
lea r8, [rsp + 0x160]
xor eax, eax
mov ecx, 0xa
mov edx, dword [rbp + 4]
mov rdi, r8
rep stosd dword [rdi], eax
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x120], edx
mov rcx, r8
mov rdx, r14
mov qword [rsp + 0x118], rax
lea rax, [sym.exprIdxCover]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x188], rax
call sym.sqlite3WalkExpr
cmp word [rsp + 0x184], 0
jne 0x140253cf7
test byte [rsi + 0x13], 0x10
je 0x140253c9e
jmp 0x140253c91
cmp r13d, 2
jne 0x140253c9e
jmp 0x140253c81
test r12d, r12d
jne 0x140253cfd
mov r12d, 3
jmp 0x140253cfd
xor edi, edi
test byte [rsi + 0x13], 2
je 0x140253cc7
mov r8d, dword [rbp + 0x2c]
test r8d, r8d
je 0x140253cc7
mov edx, r8d
mov rcx, qword [rsp + 0x40]
shr r8d, 1
and edx, 1
add edx, 0x10
call sym.sqlite3VdbeAddOp1
mov edi, eax
mov r8d, dword [rsp + 0xbc]
mov r9d, 0x10
mov rdx, r14
mov rcx, r15
call sym.sqlite3ExprIfFalse
test edi, edi
je 0x140253cf0
mov rcx, qword [rsp + 0x40]
mov edx, edi
call sym.sqlite3VdbeJumpHere
or word [rsi + 0x12], 4
jmp 0x140253cfd
mov r12d, 2
dec dword [rsp + 0x50]
add rsi, 0x38
jmp 0x140253bad
test r12d, r12d
jle 0x140253d17
mov r13d, r12d
jmp 0x140253b99
movsxd r12, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xa8]
mov r14, qword [rbx + 0x90]
mov r13d, dword [rbx + 0x8c]
imul r12, r12, 0x68
add rax, r12
mov qword [rsp + 0x50], rax
test r13d, r13d
jle 0x140253e32
test byte [r14 + 0x12], 6
jne 0x140253e26
mov eax, dword [r14 + 0x14]
test al, 0x82
je 0x140253e26
test ah, 8
je 0x140253e26
mov eax, dword [rsp + 0x68]
cmp eax, dword [r14 + 0x1c]
jne 0x140253e26
mov rax, qword [rsp + 0x50]
test byte [rax + 0x44], 0x58
jne 0x140253e26
xor eax, eax
mov r12, qword [r14]
mov r8d, dword [r14 + 0x20]
mov dword [rsp + 0x20], 0x83
mov qword [rsp + 0x28], rax
mov r9, qword [rsp + 0x80]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3WhereFindTerm
test rax, rax
je 0x140253e26
test byte [rax + 0x12], 4
jne 0x140253e26
mov rsi, qword [rax]
test byte [rax + 0x14], 1
je 0x140253ddd
test byte [rsi + 5], 0x10
je 0x140253ddd
mov rdx, qword [rsi + 0x20]
mov rdx, qword [rdx + 0x20]
cmp dword [rdx], 1
jg 0x140253e26
mov ecx, 0x12
lea rdi, [rsp + 0x160]
mov qword [rsp + 0x58], rax
mov r8d, dword [rsp + 0xbc]
rep movsd dword [rdi], dword [rsi]
mov r9d, 0x10
mov rcx, r15
mov rdx, qword [r12 + 0x10]
mov qword [rsp + 0x170], rdx
lea rdx, [rsp + 0x160]
call sym.sqlite3ExprIfFalse
mov rax, qword [rsp + 0x58]
or word [rax + 0x12], 4
dec r13d
add r14, 0x38
jmp 0x140253d41
mov r13, qword [rbp + 0x38]
test r13, r13
je 0x140253f86
movzx eax, byte [rbp + 0x40]
imul rax, rax, 0x68
add rax, qword [rbx + 8]
mov r14, qword [rax + 0x28]
test byte [r14 + 0x30], 0x80
jne 0x140253e83
mov edx, 2
mov rcx, r15
mov edi, 1
call sym.sqlite3GetTempRange
mov r8d, dword [rbp + 4]
mov rcx, qword [rsp + 0x40]
mov edx, 0x87
lea r9d, [rax + 1]
mov esi, eax
call sym.sqlite3VdbeAddOp2
jmp 0x140253edf
mov rcx, qword [r14 + 0x10]
xor r10d, r10d
call sym.sqlite3PrimaryKeyIndex.isra.0
mov rcx, r15
movzx edi, word [rax + 0x5e]
mov r12, rax
lea edx, [rdi + 1]
call sym.sqlite3GetTempRange
mov esi, eax
inc r10
lea eax, [r10 - 1]
cmp edi, eax
jle 0x140253edf
mov rax, qword [r12 + 8]
mov r8d, dword [rsp + 0x68]
mov rdx, r14
mov qword [rsp + 0x50], r10
mov rcx, qword [rsp + 0x40]
movsx r9d, word [rax + r10*2 - 2]
lea eax, [rsi + r10]
mov dword [rsp + 0x20], eax
call sym.sqlite3ExprCodeGetColumnOfTable
mov r10, qword [rsp + 0x50]
jmp 0x140253ea3
lea r12d, [rsi + 1]
mov dword [rsp + 0x28], edi
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, dword [r13]
mov edx, 0x1d
call sym.sqlite3VdbeAddOp4Int
mov dword [rsp + 0x20], esi
mov r9d, edi
mov r8d, r12d
mov rcx, qword [rsp + 0x40]
mov edx, 0x61
mov r14d, eax
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x28], edi
mov rcx, qword [rsp + 0x40]
mov r9d, esi
mov dword [rsp + 0x20], r12d
mov r8d, dword [r13]
mov edx, 0x8a
call sym.sqlite3VdbeAddOp4Int
mov r8d, dword [r13 + 4]
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov rcx, qword [rsp + 0x40]
mov edx, 0xb5
call sym.sqlite3VdbeAddOp4Int
mov rcx, qword [rsp + 0x40]
mov edx, 0x10
call sym.sqlite3VdbeChangeP5
mov rcx, qword [rsp + 0x40]
mov edx, r14d
call sym.sqlite3VdbeJumpHere
lea r8d, [rdi + 1]
mov edx, esi
mov rcx, r15
call sym.sqlite3ReleaseTempRange
mov r9d, dword [rbp]
test r9d, r9d
jne 0x140253f9d
mov rsi, qword [rbp + 0x38]
test rsi, rsi
jne 0x140253fc9
jmp 0x140254021
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r8d, 1
mov edx, 0x47
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x1c], eax
call sym.sqlite3VdbeAddOp2
cmp qword [rbp + 0x38], 0
jne 0x140253f8f
jmp 0x140253ff1
mov r9d, dword [rsi + 8]
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov edx, 0x4a
call sym.sqlite3VdbeAddOp2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rsi + 0xc], eax
inc byte [r15 + 0x26]
movsxd rdi, dword [rsp + 0xc8]
mov rax, qword [rsp + 0xa8]
mov rsi, qword [rbx + 0x90]
imul rdi, rdi, 0x68
add rax, rdi
mov rdi, rax
mov eax, dword [rsp + 0xe8]
cmp eax, dword [rbx + 0x8c]
jl 0x14025402f
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x80], rax
jmp 0x140254070
test byte [rsi + 0x12], 6
jne 0x140254063
mov rax, qword [rsi + 0x30]
and rax, qword [rbp + 0x68]
jne 0x140254063
test byte [rdi + 0x44], 0x40
jne 0x140254063
mov r8d, dword [rsp + 0xbc]
mov rdx, qword [rsi]
mov r9d, 0x10
mov rcx, r15
call sym.sqlite3ExprIfFalse
or word [rsi + 0x12], 4
inc dword [rsp + 0xe8]
add rsi, 0x38
jmp 0x140254012
mov eax, dword [rbp + 0x18]
inc dword [rsp + 0xb8]
add rbp, 0x70
inc qword [rsp + 0xf0]
mov dword [rbx + 0x30], eax
jmp 0x1402521ff
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbx + 0x50], eax
jmp 0x1402542a2
mov eax, dword [rbx + 0x38]
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
mov word [r15 + 0xe0], ax
call sym.whereInfoFree
xor ebx, ebx
jmp 0x1402542a2
xor esi, esi
cmp dword [rsp + 0x58], 0
jne 0x140254190
mov r14, r13
test r13, r13
je 0x140254295
mov dword [rsp + 0x160], 0x17151618
mov rdi, qword [r14]
mov r10, qword [rdi + 0x18]
mov rcx, r10
call sym.sqlite3ExprIsVector
test eax, eax
je 0x140254128
mov rcx, r15
mov r9d, 1
mov rdx, r10
call sym.sqlite3GetTempReg
mov r8d, eax
mov dword [rsp + 0x118], eax
mov r13d, eax
call sym.codeExprOrVector
movzx eax, byte [rdi]
sub eax, 0x37
and eax, 2
or eax, 1
jmp 0x140254151
lea r8, [rsp + 0x118]
mov rdx, r10
mov rcx, r15
call sym.sqlite3ExprCodeTemp
mov rdx, r14
mov rcx, rbp
mov r13d, eax
call sym.disableTerm
movzx eax, byte [rdi]
sub eax, 0x36
cdqe
movzx edx, byte [rsp + rax + 0x160]
mov r8d, dword [rsp + 0x68]
mov dword [rsp + 0x20], r13d
mov r9d, r12d
mov rcx, qword [rsp + 0x40]
mov r13, rsi
call sym.sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x118]
mov rcx, r15
call sym.sqlite3ReleaseTempReg
jmp 0x1402541a4
mov rsi, r13
test r14, r14
jne 0x1402540d9
mov edx, 0x20
mov r8d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
test r13, r13
je 0x140254211
mov eax, dword [r15 + 0x38]
mov rdi, qword [r13]
mov rcx, r15
mov r9d, 1
lea esi, [rax + 1]
mov rdx, qword [rdi + 0x18]
mov dword [r15 + 0x38], esi
mov r8d, esi
call sym.codeExprOrVector
mov rcx, qword [rdi + 0x18]
call sym.sqlite3ExprIsVector
test eax, eax
jne 0x1402541f3
mov dl, byte [rdi]
sub edx, 0x36
and dl, 0xfd
jne 0x1402541f3
cmp dword [rsp + 0x58], 1
sbb edi, edi
and edi, 2
add edi, 0x37
jmp 0x140254204
cmp dword [rsp + 0x58], 1
sbb edi, edi
and edi, 0xfffffffe
add edi, 0x38
test eax, eax
jne 0x140254218
mov rdx, r13
mov rcx, rbp
call sym.disableTerm
jmp 0x140254218
xor esi, esi
mov edi, 0xb9
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
mov edx, dword [rax + 0x90]
mov eax, 0x27
sub eax, ecx
mov byte [rbp + 0x41], al
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0x48], edx
mov dword [rbp + 0x44], eax
cmp edi, 0xb9
je 0x140252889
mov eax, dword [r15 + 0x38]
mov r8d, dword [rsp + 0x68]
mov edx, 0x87
mov rcx, qword [rsp + 0x40]
lea r13d, [rax + 1]
mov dword [r15 + 0x38], r13d
mov r9d, r13d
call sym.sqlite3VdbeAddOp2
mov dword [rsp + 0x20], r13d
mov edx, edi
mov r9d, r12d
mov rcx, qword [rsp + 0x40]
mov r8d, esi
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x40]
mov edx, 0x53
call sym.sqlite3VdbeChangeP5
jmp 0x140252889
mov r13, rsi
mov edx, 0x24
jmp 0x140254195
mov rax, rbx
add rsp, 0x1d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret