Function at 0x1401f2bc0
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 rdi, rdx
mov word [rsp + 0x4c], bp
mov qword [rsp + 0x50], rax
xor eax, eax
test r9, r9
rep stosd dword [rdi], eax
je 0x1401f2c23
cmp dword [r9], 0x3f
jle 0x1401f2c23
xor r13d, r13d
mov rax, qword [rsp + 0x228]
mov eax, dword [rax]
cmp eax, 0x40
mov dword [rsp + 0x80], eax
jle 0x1401f2c53
lea rdx, str.at_most__d_tables_in_a_join
mov r8d, 0x40
mov rcx, r15
call sym.sqlite3ErrorMsg
jmp 0x1401f5a0d
test ebp, 0x20
mov eax, 1
mov rcx, qword [rsp + 0x50]
cmove eax, dword [rsp + 0x80]
mov dword [rsp + 0x80], 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 + 0x50]
mov al, byte [rax + 0x67]
test al, al
mov byte [rsp + 0x58], al
je 0x1401f2cae
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call sym.sqlite3DbFree
jmp 0x1401f5a0d
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 + 0x80]
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
mov eax, dword [r15 + 0xd0]
mov dword [rbx + 0x38], eax
mov rax, qword [rsp + 0x248]
mov qword [rbx + 0x20], rax
mov al, byte [rsp + 0x58]
rep stosb byte [rdi], al
lea rax, [rbx + 0x360]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x80]
mov rdi, qword [rsp + 0x68]
lea ecx, [rax + 1]
mov al, byte [rsp + 0x58]
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 + 0x80], 0
jne 0x1401f2e2d
test r13, r13
je 0x1401f2e02
mov eax, dword [r13]
mov byte [rbx + 0x41], al
bt ebp, 8
jae 0x1401f2e17
mov rax, qword [rsp + 0x50]
test byte [rax + 0x60], 0x10
jne 0x1401f2e17
mov byte [rbx + 0x43], 1
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, r15
call sym.sqlite3VdbeExplain
jmp 0x1401f2fcf
mov rax, qword [rsp + 0x228]
xor r8d, r8d
mov dword [rsp + 0x60], 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 + 0x60]
imul rax, rax, 0x68
test byte [rdi + rax + 0x48], 4
je 0x1401f2fb3
mov r14, qword [rsi + 0x38]
mov r11, qword [rsi]
test r14, r14
je 0x1401f2fb3
xor r12d, r12d
xor r10d, r10d
cmp dword [r14], r12d
jle 0x1401f2fb3
movsxd rax, r10d
movsx edx, word [r11 + 0x36]
imul rax, rax, 0x18
cmp r10d, edx
jge 0x1401f2f9e
mov rcx, qword [r11 + 8]
mov cx, word [rcx + rax + 0x12]
add rax, 0x18
and cl, 2
jne 0x1401f2ec2
inc r10d
jmp 0x1401f2ea2
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]
test rax, rax
mov r10d, dword [rsp + 0x78]
mov rdi, rax
je 0x1401f2fb3
mov eax, dword [rsi + 0x24]
mov rcx, rdi
mov word [rdi + 0x30], r10w
xor r8d, r8d
mov qword [rdi + 0x40], r11
mov qword [rsp + 0x78], r11
mov dword [rdi + 0x2c], eax
lea eax, [r10 + 1]
mov dword [rsp + 0x70], eax
call sym.sqlite3ExprColUsed
mov rcx, qword [r15]
or qword [rsi + 0x30], rax
mov rax, r12
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, 0x58
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 0x1401f2e8d
mov r8, qword [r11]
lea rdx, str.too_many_arguments_on__s_____max__d
mov r9d, r12d
mov rcx, r15
call sym.sqlite3ErrorMsg
mov rax, qword [rsp + 0x228]
add rsi, 0x68
inc dword [rsp + 0x60]
mov edi, dword [rsp + 0x60]
cmp dword [rax], edi
jg 0x1401f2e41
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x228]
call sym.sqlite3WhereExprAnalyze
cmp qword [rsp + 0x248], 0
je 0x1401f300e
mov rax, qword [rsp + 0x248]
cmp qword [rax + 0x60], 0
je 0x1401f300e
mov rcx, qword [rsp + 0xa0]
mov rdx, rax
call sym.sqlite3WhereAddLimit
cmp dword [r15 + 0x30], 0
jne 0x1401f59f6
lea rax, [rsp + 0x160]
xor esi, esi
mov qword [rsp + 0x60], rax
lea r14, [sym.sqlite3SelectWalkFail]
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x1c], esi
jle 0x1401f30d0
imul rdx, rsi, 0x38
add rdx, qword [rax + 0x20]
test byte [rdx + 0x12], 2
mov r12, rdx
jne 0x1401f30c8
cmp qword [rdx + 0x30], 0
jne 0x1401f30c8
cmp dword [rsp + 0x80], 0
mov rdx, qword [rdx]
jne 0x1401f3084
mov r8d, dword [rbx + 0x34]
mov r9d, 0x10
mov rcx, r15
mov rdx, qword [r12]
call sym.sqlite3ExprIfFalse
or word [r12 + 0x12], 4
jmp 0x1401f30c8
mov rdi, qword [rsp + 0x60]
xor eax, eax
mov ecx, 0xc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x60]
lea rax, [sym.exprNodeIsDeterministic]
mov word [rsp + 0x184], 1
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], r14
call sym.sqlite3WalkExpr
cmp word [rsp + 0x184], 0
jne 0x1401f3065
inc rsi
jmp 0x1401f302f
bt ebp, 8
jae 0x1401f32a5
mov rax, qword [rsp + 0x50]
test byte [rax + 0x60], 0x10
je 0x1401f30fa
and word [rbx + 0x3c], 0xfeff
mov eax, ebp
and ah, 0xfe
mov word [rsp + 0x4c], ax
jmp 0x1401f32a5
mov rax, qword [rsp + 0x228]
cmp dword [rax], 1
jne 0x1401f328e
mov edi, dword [rax + 0x4c]
xor r8d, r8d
mov r10, qword [rax + 0x28]
mov rax, qword [rsp + 0x240]
mov r9d, dword [rax]
cmp r9d, r8d
jle 0x1401f3168
mov rsi, qword [rsp + 0x240]
mov rax, r8
shl rax, 5
mov rcx, qword [rsi + rax + 8]
call sym.sqlite3ExprSkipCollateAndLikely
test rax, rax
je 0x1401f3163
mov sil, byte [rax]
lea edx, [rsi + 0x59]
and dl, 0xfd
jne 0x1401f3163
cmp edi, dword [rax + 0x2c]
jne 0x1401f3163
cmp word [rax + 0x30], 0
jns 0x1401f3163
mov byte [rbx + 0x43], 1
jmp 0x1401f32a5
inc r8
jmp 0x1401f3120
mov r14, qword [r10 + 0x10]
test r14, r14
je 0x1401f328e
cmp byte [r14 + 0x62], 0
jne 0x1401f3182
mov r14, qword [r14 + 0x28]
jmp 0x1401f316c
xor r12d, r12d
cmp qword [r14 + 0x48], 0
jne 0x1401f317c
movzx eax, word [r14 + 0x5e]
mov dword [rsp + 0x60], r12d
cmp eax, r12d
jle 0x1401f3271
or r9, 0xffffffffffffffff
mov qword [rsp + 0x28], r14
mov r8d, r12d
mov edx, edi
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x20], 2
call sym.sqlite3WhereFindTerm
test rax, rax
je 0x1401f31cc
inc r12
jmp 0x1401f318c
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 0x1401f3271
mov rcx, qword [rsp + 0x240]
mov rax, rsi
shl rax, 5
mov rcx, qword [rcx + rax + 8]
call sym.sqlite3ExprSkipCollateAndLikely
test rax, rax
jne 0x1401f3212
inc rsi
jmp 0x1401f31df
mov dl, byte [rax]
add edx, 0x59
and dl, 0xfd
jne 0x1401f320d
mov rdx, qword [r14 + 8]
mov dx, word [rdx + rbp]
cmp word [rax + 0x30], dx
jne 0x1401f320d
cmp edi, dword [rax + 0x2c]
jne 0x1401f320d
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 0x1401f320d
mov rax, qword [r14 + 8]
movsx rdx, word [rax + rbp]
test edx, edx
mov rax, rdx
js 0x1401f3285
mov rdx, qword [r14 + 0x18]
imul rax, rax, 0x18
add rax, qword [rdx + 8]
test byte [rax + 8], 0xf
jne 0x1401f31c7
movzx eax, word [r14 + 0x5e]
cmp dword [rsp + 0x60], eax
jne 0x1401f317c
jmp 0x1401f315a
inc edx
jne 0x1401f3271
jmp 0x1401f31c7
test r13, r13
jne 0x1401f32a5
mov rax, qword [rsp + 0x240]
or word [rbx + 0x3c], 0x80
mov qword [rbx + 0x10], rax
cmp dword [rsp + 0x80], 1
jne 0x1401f34bb
mov rbp, qword [rsp + 0x128]
test byte [rbp + 0x3c], 0x20
jne 0x1401f34bb
mov r12, qword [rbp + 8]
mov rdi, qword [r12 + 0x28]
cmp byte [rdi + 0x3f], 1
je 0x1401f34bb
test byte [r12 + 0x48], 3
jne 0x1401f34bb
mov eax, dword [r12 + 0x4c]
xor edx, edx
xor ecx, ecx
or r9d, 0xffffffff
mov rsi, qword [rsp + 0x138]
lea r13, [rsp + 0x160]
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0x60]
lea rax, [rbp + 0x70]
mov dword [rsi + 0x38], edx
mov rdx, rax
mov word [rsi + 0x3e], 0
mov qword [rsp + 0x28], rcx
mov rcx, r13
mov dword [rsp + 0x20], 0x82
mov qword [rsp + 0x70], rax
call sym.whereScanInit
test rax, rax
jne 0x1401f333f
mov rdi, qword [rdi + 0x10]
jmp 0x1401f337f
cmp qword [rax + 0x28], 0
je 0x1401f3350
mov rcx, r13
call sym.whereScanNext
jmp 0x1401f3334
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 0x1401f345c
cmp byte [rdi + 0x62], 0
jne 0x1401f3389
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x1401f3375
jmp 0x1401f345c
cmp qword [rdi + 0x48], 0
jne 0x1401f337b
cmp word [rdi + 0x5e], 3
ja 0x1401f337b
mov al, byte [rdi + 0x64]
and eax, 8
cmp al, 1
lea rax, [rsp + 0x160]
sbb r14d, r14d
xor r13d, r13d
and r14d, 0xffffff80
mov qword [rsp + 0x78], rax
add r14d, 0x82
movzx eax, word [rdi + 0x5e]
mov dword [rsp + 0x84], r13d
cmp eax, r13d
jle 0x1401f33f4
mov r8d, dword [rsp + 0x60]
mov qword [rsp + 0x28], rdi
mov r9d, r13d
mov rdx, qword [rsp + 0x70]
mov dword [rsp + 0x20], r14d
mov rcx, qword [rsp + 0x78]
call sym.whereScanInit
test rax, rax
jne 0x1401f3406
movzx eax, word [rdi + 0x5e]
cmp dword [rsp + 0x84], eax
je 0x1401f3426
jmp 0x1401f337b
cmp qword [rax + 0x28], 0
je 0x1401f3419
mov rcx, qword [rsp + 0x78]
call sym.whereScanNext
jmp 0x1401f33ef
mov rdx, qword [rsi + 0x48]
mov qword [rdx + r13*8], rax
inc r13
jmp 0x1401f33bd
test byte [rdi + 0x64], 0x20
mov dword [rsi + 0x38], 0x1201
jne 0x1401f3441
mov rax, qword [r12 + 0x58]
and rax, qword [rdi + 0x90]
jne 0x1401f3448
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 0x1401f34bb
mov rdx, qword [rbp + 0x10]
mov word [rsi + 0x16], 1
mov edi, dword [rsp + 0x60]
mov qword [rbp + 0x3c0], rsi
mov qword [rsi + 8], 1
mov word [rbp + 0x48], 1
test rdx, rdx
mov dword [rbp + 0x364], edi
je 0x1401f3496
mov edx, dword [rdx]
mov byte [rbp + 0x41], dl
test byte [rbp + 0x3d], 1
je 0x1401f34a0
mov byte [rbp + 0x43], 1
cmp byte [rsp + 0x189], 1
jbe 0x1401f3571
or eax, 0x200000
mov dword [rsi + 0x38], eax
jmp 0x1401f3571
lea rsi, [rsp + 0x128]
mov rcx, rsi
call sym.whereLoopAddAll
test eax, eax
jne 0x1401f59f6
test byte [rsp + 0x155], 4
jne 0x1401f34f7
xor edx, edx
mov rcx, rbx
call sym.wherePathSolver.isra.0
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
je 0x1401f3535
jmp 0x1401f59f6
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x1401f3524
mov rax, qword [rdi + 0x50]
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0x58], rax
call sym.whereLoopClear
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call sym.sqlite3DbNNFreeNN
jmp 0x1401f34f7
mov rcx, rsi
call sym.whereLoopAddAll
test eax, eax
je 0x1401f34dd
jmp 0x1401f59f6
cmp qword [rbx + 0x10], 0
jne 0x1401f3551
mov rax, qword [rsp + 0x50]
test byte [rax + 0x31], 0x10
je 0x1401f3578
mov qword [rbx + 0x68], 0xffffffffffffffff
jmp 0x1401f3578
mov eax, dword [rbx + 0x48]
mov rcx, rbx
lea edx, [rax + 1]
movsx edx, dx
call sym.wherePathSolver.isra.0
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
jne 0x1401f59f6
cmp qword [rbx + 0x10], 0
je 0x1401f353c
mov eax, dword [r15 + 0x30]
test eax, eax
mov dword [rsp + 0xb8], eax
jne 0x1401f59f6
cmp byte [rbx + 0x40], 1
jbe 0x1401f35d3
cmp qword [rsp + 0x240], 0
je 0x1401f35d3
mov qword [rsp + 0x78], 0xffffffffffffffff
test word [rsp + 0x4c], 0x400
jne 0x1401f35e2
mov rax, qword [rsp + 0x50]
test byte [rax + 0x61], 1
jne 0x1401f35e2
mov rcx, rbx
call sym.whereOmitNoopJoin.constprop.0
mov qword [rsp + 0x78], rax
movzx eax, byte [rbx + 0x40]
mov dword [rsp + 0x80], eax
jmp 0x1401f35dc
mov qword [rsp + 0x78], 0xffffffffffffffff
cmp byte [rbx + 0x40], 1
jbe 0x1401f35f5
mov rax, qword [rsp + 0x50]
test byte [rax + 0x62], 8
jne 0x1401f35f5
mov rcx, rbx
call sym.whereCheckIfBloomFilterIsUseful
mov rax, qword [rbx]
movsx edx, word [rbx + 0x48]
add dword [rax + 0xd0], edx
test byte [rsp + 0x4c], 4
je 0x1401f367d
mov rcx, qword [rbx + 0x3c0]
mov eax, dword [rcx + 0x38]
bt eax, 0xc
jb 0x1401f3641
test byte [rsp + 0x4c], 8
je 0x1401f367d
mov rsi, qword [rsp + 0x228]
mov rdx, qword [rsi + 0x28]
cmp byte [rdx + 0x3f], 1
je 0x1401f367d
bt eax, 0xd
jae 0x1401f3645
test byte [rsp + 0x4c], 0x10
je 0x1401f367d
jmp 0x1401f3645
mov dl, 1
jmp 0x1401f3647
mov dl, 2
mov rsi, qword [rsp + 0x228]
mov byte [rbx + 0x42], dl
mov rdx, qword [rsi + 0x28]
test byte [rdx + 0x30], 0x80
jne 0x1401f367d
test al, 0x40
je 0x1401f367d
mov edx, dword [rsp + 0x4c]
and eax, 0xffffffbf
mov dword [rcx + 0x38], eax
shr dx, 3
and edx, 1
lea esi, [rdx*8]
mov byte [rsp + 0x58], sil
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x4c]
and eax, 0x20
mov word [rsp + 0x84], ax
mov esi, dword [rsp + 0x70]
cmp dword [rsp + 0x80], esi
jle 0x1401f3a9f
movzx edi, byte [rbp + 0x40]
mov rcx, qword [rsp + 0x50]
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
test byte [rsi + 0x31], 0x40
mov r12, qword [rbp + 0x60]
mov dword [rsp + 0x60], eax
jne 0x1401f3821
mov dl, byte [rsi + 0x3f]
cmp dl, 2
je 0x1401f3821
mov eax, dword [r12 + 0x38]
bt eax, 0xa
jae 0x1401f3736
mov rdx, qword [rsi + 0x50]
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
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 0x1401f3821
dec dl
je 0x1401f3821
test al, 0x40
jne 0x1401f3749
test byte [rsp + 0x4c], 0x20
je 0x1401f3763
movsxd rax, edi
mov rcx, qword [rsp + 0x228]
imul rax, rax, 0x68
test byte [rcx + rax + 0x44], 0x50
je 0x1401f3806
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 0x1401f3789
mov dword [rbx + 0x28], edx
mov eax, 0x71
mov r8d, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, r15
call sym.sqlite3OpenTable
cmp byte [rbx + 0x42], 0
jne 0x1401f37f5
cmp word [rsi + 0x36], 0x3f
jg 0x1401f37f5
test byte [rsi + 0x30], 0xe0
jne 0x1401f37f5
mov eax, dword [r12 + 0x38]
and eax, 0x404000
jne 0x1401f37f5
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 + 0x58]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeChangeP5
jmp 0x1401f3821
mov rax, qword [rsi]
xor r9d, r9d
mov rcx, r15
mov r8d, dword [rsi + 0x28]
mov edx, dword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call sym.sqlite3TableLock
test byte [r12 + 0x39], 2
je 0x1401f3962
test byte [rsi + 0x30], 0x80
mov r13, qword [r12 + 0x20]
je 0x1401f3855
mov al, byte [r13 + 0x64]
and eax, 3
cmp al, 2
jne 0x1401f3855
test byte [rsp + 0x4c], 0x20
je 0x1401f3855
mov r8d, dword [rbp + 4]
xor edx, edx
jmp 0x1401f390e
cmp byte [rbx + 0x42], 0
je 0x1401f3899
movsxd rax, edi
mov rcx, qword [rsp + 0x228]
imul rax, rax, 0x68
mov r8d, dword [rsp + 0x258]
mov rax, qword [rcx + rax + 0x28]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x1401f388e
cmp rax, r13
je 0x1401f388e
mov rax, qword [rax + 0x28]
inc r8d
jmp 0x1401f387b
mov dword [rbx + 0x2c], r8d
mov edx, 0x71
jmp 0x1401f390e
cmp dword [rsp + 0x258], 0
je 0x1401f38ae
cmp word [rsp + 0x84], 0
jne 0x1401f3901
mov r8d, dword [r15 + 0x34]
test byte [r13 + 0x65], 8
lea eax, [r8 + 1]
mov dword [r15 + 0x34], eax
je 0x1401f38cc
mov rax, qword [rsp + 0x50]
test byte [rax + 0x63], 1
je 0x1401f38d3
mov edx, 0x70
jmp 0x1401f390e
imul r14, r14, 0x68
mov rax, qword [rsp + 0x228]
mov rdx, r13
mov rcx, r15
mov dword [rsp + 0x88], r8d
lea r9, [rax + r14 + 8]
call sym.whereAddIndexedExpr
mov r8d, dword [rsp + 0x88]
jmp 0x1401f38cc
mov r8d, dword [rsp + 0x258]
mov edx, 0x65
test edx, edx
mov dword [rbp + 8], r8d
je 0x1401f3962
mov eax, dword [rsp + 0x60]
mov r9d, dword [r13 + 0x58]
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 0x1401f3962
test eax, 0x188002
jne 0x1401f3962
test byte [rbx + 0x3c], 1
jne 0x1401f3962
cmp byte [rbx + 0x43], 2
je 0x1401f3962
mov rcx, qword [rsp + 0x40]
mov edx, 2
call sym.sqlite3VdbeChangeP5
cmp dword [rsp + 0x60], 0
js 0x1401f3975
mov edx, dword [rsp + 0x60]
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 0x1401f3a92
mov edx, 0x14
mov rcx, rbx
call sym.sqlite3WhereMalloc
test rax, rax
mov rdi, rax
mov qword [rbp + 0x38], rax
je 0x1401f3a92
mov eax, dword [r15 + 0x34]
mov r8d, 0x10000
mov rcx, qword [rsp + 0x40]
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]
xor r8d, r8d
mov edx, 0x4b
mov rcx, qword [rsp + 0x40]
lea r9d, [rax + 1]
mov dword [r15 + 0x38], r9d
mov dword [rdi + 8], r9d
call sym.sqlite3VdbeAddOp2
test byte [rsi + 0x30], 0x80
jne 0x1401f3a56
mov r8d, dword [rdi]
mov r9d, 1
mov edx, 0x76
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
mov rcx, qword [r15]
xor r8d, r8d
mov edx, 1
call sym.sqlite3KeyInfoAlloc
test rax, rax
mov rdx, rax
je 0x1401f3a84
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 0x1401f3a84
mov rcx, qword [rsi + 0x10]
call sym.sqlite3PrimaryKeyIndex.isra.0
mov rcx, qword [rsp + 0x40]
mov edx, 0x76
movzx r9d, word [rax + 0x5e]
mov rsi, rax
mov r8d, dword [rdi]
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 0x1401f3697
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbx + 0x4c], eax
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
jne 0x1401f59f6
movzx eax, word [rsp + 0x4c]
xor r13d, r13d
mov rbp, qword [rsp + 0x68]
mov qword [rsp + 0xf0], r13
mov dword [rsp + 0x104], eax
lea rax, [rbx + 0x258]
mov qword [rsp + 0xf8], rax
mov edi, dword [rsp + 0xb8]
cmp dword [rsp + 0x80], edi
jle 0x1401f59e3
mov eax, dword [r15 + 0x30]
test eax, eax
mov dword [rsp + 0xe8], eax
jne 0x1401f59f6
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 0x1401f3b84
test al, 8
je 0x1401f3b4e
mov r9d, dword [r12 + 0x38]
mov edx, 0xa
mov r8d, dword [r12 + 0x3c]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
jmp 0x1401f3b84
mov rcx, qword [rsp + 0x40]
mov edx, 0xf
call sym.sqlite3VdbeAddOp0
mov rcx, qword [rsp + 0x40]
mov edx, 0xa
mov r9d, dword [r12 + 0x38]
mov esi, eax
mov r8d, dword [r12 + 0x3c]
call sym.sqlite3VdbeAddOp2
mov rcx, qword [rsp + 0x40]
mov edx, esi
call sym.sqlite3VdbeJumpHere
test edi, 0x404000
jne 0x1401f3c44
mov r9d, dword [rsp + 0x104]
mov r8, rbp
mov rcx, r15
mov rdx, qword [rsp + 0x228]
call sym.sqlite3WhereExplainOneScan.isra.0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xf8]
mov rsi, qword [rbp + 0x60]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x20], eax
mov rax, qword [r15]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0xa8], rax
movzx eax, byte [rbp + 0x40]
movzx r10d, al
mov rdi, rax
mov dword [rsp + 0xc8], eax
mov rax, qword [rsp + 0xa8]
imul r10, r10, 0x68
add r10, rax
mov eax, dword [r10 + 0x4c]
mov edx, eax
mov dword [rsp + 0x4c], eax
call sym.sqlite3WhereGetMask
not rax
and rax, qword [rsp + 0x78]
mov qword [rbp + 0x68], rax
mov eax, dword [r15 + 0x44]
mov r13, qword [rbx + 0x68]
lea r12d, [rax - 1]
sub eax, 2
test dil, dil
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
jne 0x1401f3ca6
jmp 0x1401f3ccf
bt edi, 0xe
jae 0x1401f3c7b
movzx eax, byte [rbp + 0x40]
mov rcx, r15
mov qword [rsp + 0x20], rbp
mov rsi, qword [rsp + 0x228]
mov r9, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xa0]
imul rax, rax, 0x68
lea r8, [rsi + rax + 8]
call sym.constructAutomaticIndex
jmp 0x1401f3c92
mov r9, qword [rsp + 0x78]
mov r8, rbp
mov rcx, rbx
mov edx, dword [rsp + 0xb8]
call sym.sqlite3ConstructBloomFilter
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
je 0x1401f3b90
jmp 0x1401f59f6
test byte [r10 + 0x44], 8
je 0x1401f3ccf
mov eax, dword [r15 + 0x38]
xor r8d, r8d
mov edx, 0x47
mov rcx, qword [rsp + 0x40]
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 0x1401f3cfd
imul rdx, rax, 0x70
cmp dword [rbx + rdx + 0x360], 0
jne 0x1401f3cfd
cmp qword [rbx + rdx + 0x398], 0
lea rcx, [rax - 1]
jne 0x1401f3cfd
mov rax, rcx
jmp 0x1401f3cd7
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 0x1401f3d6d
mov r8d, dword [rax + 0x3c]
xor r9d, r9d
mov edx, 0xb
mov eax, dword [rax + 0x38]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov r8d, dword [rsp + 0x58]
mov r9d, r12d
mov edx, 0xc
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
mov dword [rbp + 0x48], eax
mov al, 9
jmp 0x1401f4185
mov cl, byte [rsp + 0xb8]
shr r13, cl
mov eax, r13d
and eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsi + 0x38]
bt eax, 0xa
jae 0x1401f40ba
movzx eax, word [rsi + 0x3c]
mov rcx, r15
xor r12d, r12d
lea edx, [rax + 2]
mov dword [rsp + 0x68], eax
call sym.sqlite3GetTempRange
mov r13d, dword [rbp + 0xc]
lea r14d, [rax + 2]
mov edi, eax
cmp dword [rsp + 0x68], r12d
mov ecx, r12d
jle 0x1401f3ec4
mov rax, qword [rsi + 0x48]
lea r10d, [r14 + r12]
mov rax, qword [rax + r12*8]
test rax, rax
je 0x1401f3ebc
test byte [rax + 0x14], 1
je 0x1401f3e74
cmp r12, 0x1f
mov r9d, r12d
ja 0x1401f3e53
mov edx, 1
shl edx, cl
and edx, dword [rsi + 0x30]
je 0x1401f3e53
mov r8d, dword [r15 + 0x34]
mov dword [rsp + 0x88], r10d
mov ecx, dword [r15 + 0x38]
lea edx, [r8 + 1]
mov dword [rsp + 0x70], r8d
mov dword [r15 + 0x34], edx
mov rdx, qword [rax]
lea r9d, [rcx + 1]
mov rcx, r15
mov dword [r15 + 0x38], r9d
mov dword [rsp + 0x84], r9d
call sym.sqlite3CodeRhsOfIN
mov r8d, dword [rsp + 0x70]
mov edx, 0xae
mov r9d, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp3
jmp 0x1401f3ebc
mov ecx, dword [rsp + 0x60]
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 0x1401f3ebc
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 0x1401f3ebc
test byte [rsi + 0x1c], 2
je 0x1401f3ebc
mov rax, qword [rbx + 0x20]
xor r8d, r8d
mov edx, 0x47
mov rcx, qword [rsp + 0x40]
mov r9d, dword [rax + 0xc]
call sym.sqlite3VdbeAddOp2
inc r12
jmp 0x1401f3dae
mov r8d, dword [rsi + 0x18]
mov r9d, edi
mov edx, 0x47
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
mov r8d, dword [rsp + 0x68]
lea r9d, [rdi + 1]
mov edx, 0x47
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
mov al, byte [rsi + 0x1c]
mov r9d, r13d
mov edx, 6
mov r8d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
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 + 0x58]
and byte [rsi + 0x1c], 0xfe
cmp byte [rax + 0x67], 0
je 0x1401f3f3d
xor r12d, r12d
mov qword [rsi + 0x28], r12
mov eax, dword [rsp + 0x4c]
mov dword [rbp + 0x44], eax
cmp byte [rbx + 0x42], 1
sbb eax, eax
add edi, 2
xor r12d, r12d
and eax, 0xffffff87
sub eax, 0x48
mov byte [rbp + 0x41], al
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x48], eax
cmp dword [rsp + 0x68], r12d
mov ecx, r12d
jle 0x1401f4188
mov rax, qword [rsi + 0x48]
cmp r12, 0xf
mov r13, qword [rax + r12*8]
ja 0x1401f3f9c
movzx eax, word [rsi + 0x22]
bt eax, ecx
jae 0x1401f3f9c
mov rdx, r13
mov rcx, rbp
call sym.disableTerm
jmp 0x1401f40b0
test byte [r13 + 0x14], 1
je 0x1401f40b0
cmp r12, 0x1f
ja 0x1401f3fbd
mov eax, 1
shl eax, cl
and eax, dword [rsi + 0x30]
jne 0x1401f40b0
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], 0
jne 0x1401f40b0
mov r9d, dword [rbp + 0x50]
xor r10d, r10d
cmp r9d, r10d
jle 0x1401f4024
imul rax, r10, 0x14
mov rcx, qword [rsp + 0x40]
add rax, qword [rbp + 0x58]
mov edx, dword [rax + 4]
call sym.sqlite3VdbeGetOp
movzx edx, byte [rax]
cmp dl, 0x5e
jne 0x1401f3ffa
cmp dword [rax + 0xc], edi
jmp 0x1401f4002
cmp dl, 0x87
jne 0x1401f401f
cmp dword [rax + 8], edi
jne 0x1401f401f
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 0x1401f4024
inc r10
jmp 0x1401f3fd3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x35
mov rcx, r15
call sym.sqlite3PExpr
mov r14, rax
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], 0
jne 0x1401f40a3
mov eax, dword [r13 + 0x24]
mov rdx, qword [r13]
test eax, eax
mov rdx, qword [rdx + 0x10]
jle 0x1401f4065
dec eax
cdqe
shl rax, 5
add rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x58]
mov qword [r14 + 0x10], rdx
xor r8d, r8d
mov edx, 0xb0
call sym.sqlite3Expr
test rax, rax
mov qword [r14 + 0x18], rax
je 0x1401f409c
mov r8d, dword [rbp + 0x18]
mov dword [rax + 0x2c], edi
mov r9d, 0x10
mov rdx, r14
mov rcx, r15
call sym.sqlite3ExprIfFalse
xor r11d, r11d
mov qword [r14 + 0x10], r11
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call sym.sqlite3ExprDelete
inc r12
inc edi
jmp 0x1401f3f67
bt eax, 8
jae 0x1401f41dd
test al, 5
je 0x1401f419b
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 + 0x60]
mov dword [r15 + 0x38], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call sym.codeEqualityTerm
cmp edi, eax
mov esi, eax
je 0x1401f4108
mov edx, edi
mov rcx, r15
call sym.sqlite3ReleaseTempReg
cmp dword [rbp + 0x34], 0
mov edi, dword [rbp + 0x10]
je 0x1401f4168
mov rcx, qword [rsp + 0x40]
mov r9d, edi
mov r8d, esi
mov edx, 0xd
call sym.sqlite3VdbeAddOp2
mov r8d, dword [rbp + 0x34]
mov r9d, edi
mov edx, 0x40
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
call sym.sqlite3VdbeAddOp4Int
mov rax, qword [rsp + 0x78]
mov r9d, edi
mov rdx, rbx
mov r8d, dword [rsp + 0xb8]
mov rcx, r15
mov qword [rsp + 0x20], rax
call sym.filterPullDown
mov r8d, dword [rsp + 0x4c]
mov dword [rsp + 0x20], esi
mov r9d, edi
mov edx, 0x1e
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp3
mov al, 0xb8
mov byte [rbp + 0x41], al
xor r10d, r10d
mov r13d, 2
mov qword [rsp + 0x68], r10
jmp 0x1401f54d8
mov ecx, eax
not ecx
and ecx, 0x102
jne 0x1401f41dd
test al, 0x20
je 0x1401f41b9
mov rdx, qword [rsi + 0x48]
mov rdi, qword [rdx]
mov edx, 1
jmp 0x1401f41bd
xor edx, edx
xor edi, edi
test al, 0x10
je 0x1401f5a14
mov rax, qword [rsi + 0x48]
cmp dword [rsp + 0x60], 0
mov r14, qword [rax + rdx*8]
jne 0x1401f5ad6
jmp 0x1401f5a22
bt eax, 9
jae 0x1401f4dbf
mov cx, word [rsi + 0x1a]
test al, 0x20
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 + 0x68], rcx
mov ecx, dword [rbp + 8]
mov dword [rsp + 0x84], ecx
je 0x1401f4239
mov r8, qword [rsi + 0x48]
lea edx, [r12 + 1]
movzx ecx, r12w
movzx r10d, word [rsp + 0xd8]
mov r14, qword [r8 + rcx*8]
jmp 0x1401f4242
xor r10d, r10d
mov edx, r12d
xor r14d, r14d
test al, 0x10
je 0x1401f4325
mov rax, qword [rsi + 0x48]
movsxd rdx, edx
mov rax, qword [rax + rdx*8]
mov qword [rsp + 0x88], rax
movzx eax, word [rsp + 0xcc]
cmp r10d, eax
cmovl r10d, eax
mov rax, qword [rsp + 0x88]
test byte [rax + 0x13], 1
je 0x1401f42e1
mov eax, dword [r15 + 0x38]
mov edx, 0x47
mov dword [rsp + 0x70], r10d
mov r8d, 1
mov rcx, qword [rsp + 0x40]
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 + 0x68]
mov r10d, dword [rsp + 0x70]
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
mov ecx, dword [rsp + 0x60]
sete al
movzx eax, al
xor eax, ecx
or eax, edx
mov dword [rbp + 0x2c], eax
test r14, r14
mov byte [rsp + 0x90], 0
jne 0x1401f4338
mov rcx, qword [rsp + 0x68]
movzx eax, di
mov rdx, qword [rcx + 8]
movsx rdx, word [rdx + rax*2]
test edx, edx
mov rax, rdx
js 0x1401f4318
mov rdx, qword [rcx + 0x18]
imul rax, rax, 0x18
add rax, qword [rdx + 8]
test byte [rax + 8], 0xf
jmp 0x1401f431b
cmp edx, 0xfffffffe
sete byte [rsp + 0x90]
jmp 0x1401f4338
xor r9d, r9d
mov byte [rsp + 0x90], 0
mov qword [rsp + 0x88], r9
mov eax, dword [rsi + 0x38]
xor r13d, r13d
and eax, 0x80030
cmp eax, 0x80000
jne 0x1401f4390
mov eax, dword [r15 + 0x38]
cmp dword [rbp], 0
lea r13d, [rax + 1]
mov dword [r15 + 0x38], r13d
mov dword [rbp + 0x24], r13d
je 0x1401f4375
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 + 0x68]
mov byte [rsp + 0x100], 0
cmp di, word [rax + 0x60]
jae 0x1401f4407
mov rcx, qword [rsp + 0x68]
movzx eax, di
mov rdx, qword [rcx + 0x38]
cmp byte [rdx + rax], 0
sete al
movzx eax, al
cmp dword [rsp + 0x60], eax
jne 0x1401f4407
mov cl, byte [rsp + 0x90]
mov rdx, r14
mov byte [rsp + 0x90], 0
movzx eax, byte [rsp + 0xd8]
mov r14, qword [rsp + 0x88]
mov qword [rsp + 0x88], 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 0x1401f4438
test byte [rsi + 0x3a], 0x10
je 0x1401f4438
mov rcx, qword [rsp + 0x40]
mov edx, 0x88
mov dword [rsp + 0x70], r10d
mov r8d, dword [rsp + 0x84]
call sym.sqlite3VdbeAddOp1
mov r10d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x60]
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 + 0x70], eax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0xb0], rax
je 0x1401f4496
test rax, rax
je 0x1401f4496
mov rcx, qword [rsp + 0x58]
movzx edx, di
add rdx, rax
call sym.sqlite3DbStrDup
mov qword [rsp + 0xc0], rax
jmp 0x1401f44a1
xor r8d, r8d
mov qword [rsp + 0xc0], r8
test r13d, r13d
je 0x1401f44ab
mov eax, dword [rbp + 0x28]
jmp 0x1401f44ae
mov eax, dword [rbp + 0x10]
test r14, r14
mov dword [rsp + 0x98], eax
mov dword [rsp + 0xd0], 1
je 0x1401f44d6
xor eax, eax
test byte [r14 + 0x14], 0x28
setne al
mov dword [rsp + 0xd0], eax
cmp qword [rsp + 0x88], 0
mov dword [rsp + 0xe0], 1
je 0x1401f4505
mov rax, qword [rsp + 0x88]
test byte [rax + 0x14], 0x28
setne al
movzx eax, al
mov dword [rsp + 0xe0], eax
test r14, r14
je 0x1401f4619
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 + 0x70]
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 0x1401f4581
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 0x1401f45b7
mov rcx, qword [rsp + 0x90]
call sym.sqlite3ExprCanBeNull
test eax, eax
je 0x1401f45b7
mov r9d, dword [rsp + 0x98]
mov edx, 0x32
mov r8d, dword [rsp + 0xec]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
cmp qword [rsp + 0xb0], 0
je 0x1401f45e5
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 rcx, qword [rsp + 0x90]
mov edi, dword [rsp + 0xd8]
call sym.sqlite3ExprIsVector
add edi, r12d
test eax, eax
jne 0x1401f4688
mov rdx, r14
mov rcx, rbp
call sym.disableTerm
mov byte [rsp + 0x90], 0
jmp 0x1401f464b
cmp byte [rsp + 0x90], 0
je 0x1401f4653
mov eax, dword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x4b
mov rcx, qword [rsp + 0x40]
lea edi, [r12 + 1]
lea r9d, [r12 + rax]
call sym.sqlite3VdbeAddOp2
xor ecx, ecx
mov dword [rsp + 0xd0], ecx
mov r10d, 1
jmp 0x1401f46a1
test r13d, r13d
jne 0x1401f4667
xor r10d, r10d
test di, di
mov edi, r12d
setne r10b
jmp 0x1401f46a1
mov eax, dword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x4b
mov rcx, qword [rsp + 0x40]
lea edi, [r12 + 1]
lea r9d, [r12 + rax]
call sym.sqlite3VdbeAddOp2
jmp 0x1401f464b
mov byte [rsp + 0x90], 0
mov r10d, 1
mov dword [rsp + 0xd0], 1
mov rcx, qword [r15 + 0x10]
mov r8d, edi
mov dword [rsp + 0xec], r10d
movzx eax, byte [rsp + 0x90]
mov r9, qword [rsp + 0xb0]
mov edx, dword [rsp + 0x70]
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 0x1401f46f5
xor edx, edx
cmp edi, eax
mov dword [rsp + 0x90], edx
je 0x1401f48d2
test r13d, r13d
je 0x1401f4722
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 0x1401f4784
mov eax, dword [rsp + 0x70]
mov edx, 0x40
mov dword [rsp + 0x28], r12d
mov r9d, dword [rsp + 0x98]
mov dword [rsp + 0x90], r10d
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
mov rax, qword [rsp + 0x78]
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]
lea rdx, [0x1402fa850]
mov ecx, dword [rsp + 0x60]
add eax, eax
lea eax, [rax + r10*4]
add eax, ecx
test byte [rsi + 0x3a], 0x10
cdqe
movzx eax, byte [rdx + rax]
mov dword [rsp + 0xec], eax
je 0x1401f47b6
cmp eax, 0x17
je 0x1401f47c3
xor r14d, r14d
mov dword [rsp + 0x90], r14d
jmp 0x1401f482f
mov rax, qword [rsp + 0x68]
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
test r14, r14
mov dword [rsp + 0x90], eax
je 0x1401f482f
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 0x1401f47b6
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x28], edi
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x84]
mov edx, dword [rsp + 0xec]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
test r13d, r13d
je 0x1401f48d2
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
mov ecx, dword [rsp + 0x60]
xor eax, eax
cmp edi, 2
setge al
mov r9d, dword [rsp + 0x98]
lea eax, [rax*4 + 2]
mov r8d, dword [rsp + 0x84]
lea rdx, [0x1402fa850]
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 + 0x70]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
cmp qword [rsp + 0x88], 0
je 0x1401f49fa
mov rax, qword [rsp + 0x88]
cmp dword [rsp + 0x90], 0
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xd0], rax
je 0x1401f4910
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x48], eax
mov eax, dword [rsp + 0x70]
mov rcx, r15
movzx edi, word [rsp + 0xcc]
mov rdx, qword [rsp + 0xd0]
lea r14d, [r12 + rax]
mov r9d, edi
mov r8d, r14d
call sym.codeExprOrVector
mov rax, qword [rsp + 0x88]
mov r10w, word [rax + 0x12]
test r10w, 0x100
je 0x1401f496a
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 0x1401f499b
mov rcx, qword [rsp + 0xd0]
call sym.sqlite3ExprCanBeNull
test eax, eax
je 0x1401f499b
mov r9d, dword [rsp + 0x98]
mov r8d, r14d
mov edx, 0x32
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
cmp qword [rsp + 0xc0], 0
je 0x1401f49d4
mov r8, qword [rsp + 0xc0]
mov edx, edi
mov rcx, qword [rsp + 0xd0]
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 0x1401f4a36
mov rdx, qword [rsp + 0x88]
mov rcx, rbp
call sym.disableTerm
jmp 0x1401f4a41
cmp byte [rsp + 0x100], 0
mov edi, r12d
je 0x1401f4a41
test r13d, r13d
jne 0x1401f4a2f
mov eax, dword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x4b
xor edi, edi
mov rcx, qword [rsp + 0x40]
lea r9d, [r12 + rax]
call sym.sqlite3VdbeAddOp2
mov dword [rsp + 0xe0], edi
lea edi, [r12 + 1]
jmp 0x1401f4a41
mov dword [rsp + 0xe0], 1
cmp qword [rsp + 0xb0], 0
je 0x1401f4a5e
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
call sym.sqlite3DbNNFreeNN
cmp qword [rsp + 0xc0], 0
je 0x1401f4a7b
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x58]
call sym.sqlite3DbNNFreeNN
cmp dword [rbp + 0x48], 0
jne 0x1401f4a8f
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x48], eax
test edi, edi
je 0x1401f4b18
test r13d, r13d
je 0x1401f4abc
mov rax, qword [rsp + 0x40]
mov r8d, r13d
mov edx, 0x11
mov r9d, dword [rax + 0x90]
mov rcx, rax
add r9d, 3
call sym.sqlite3VdbeAddOp2
mov ecx, dword [rsp + 0x60]
lea rdx, [0x1402f7330]
mov dword [rsp + 0x28], edi
mov eax, dword [rsp + 0xe0]
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x84]
lea eax, [rax + rcx*2]
mov rcx, qword [rsp + 0x40]
cdqe
movzx edx, byte [rdx + rax]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
cmp dword [rsp + 0x90], 0
je 0x1401f4b18
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeJumpHere
test r13d, r13d
je 0x1401f4b87
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 + 0x60]
lea rdx, [0x1402f7330]
mov eax, dword [rsp + 0xd8]
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x84]
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 + 0x70]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
test byte [rsi + 0x3a], 4
je 0x1401f4bac
mov r8d, dword [rsp + 0x84]
mov dword [rsp + 0x20], r12d
mov r9d, r12d
mov edx, 0x7d
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp3
test byte [rsi + 0x38], 0x40
je 0x1401f4bc3
test word [rbx + 0x3c], 0x1020
mov edi, 1
je 0x1401f4d51
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
test byte [rax + 0x30], 0x80
jne 0x1401f4cb5
mov rdi, qword [rbx]
xor r9d, r9d
mov edx, 0x8d
mov eax, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x84]
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 0x1401f4c10
xor edi, edi
jmp 0x1401f4d51
mov rax, qword [rdi + 0xa8]
test rax, rax
cmove rax, rdi
cmp dword [rax + 0x78], 0
jne 0x1401f4c09
mov rax, qword [rsp + 0x68]
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
test rax, rax
mov r8, rax
je 0x1401f4c09
movsx eax, word [r12 + 0x36]
xor r14d, r14d
mov dword [r8], eax
mov rax, qword [rsp + 0x68]
movzx edi, word [rax + 0x60]
dec edi
cmp edi, r14d
jle 0x1401f4c9f
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
movsx edx, word [rax + r14*2]
test dx, dx
js 0x1401f4c9a
mov rcx, r12
mov qword [rsp + 0x58], r8
call sym.sqlite3TableColumnToStorage
mov r8, qword [rsp + 0x58]
lea edx, [r14 + 1]
movsx rax, ax
mov dword [r8 + rax*4 + 4], edx
inc r14
jmp 0x1401f4c63
mov r9d, 0xfffffff2
or edx, 0xffffffff
mov rcx, r13
call sym.sqlite3VdbeChangeP4
jmp 0x1401f4c09
mov ecx, dword [rsp + 0x84]
cmp dword [rsp + 0x4c], ecx
je 0x1401f4c09
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 0x1401f4d28
mov rax, qword [r13 + 8]
mov rcx, qword [rsp + 0x68]
movsx edx, word [rax + r12*2]
call sym.sqlite3TableColumnToIndex
mov rcx, qword [rsp + 0x40]
lea edx, [rdi + r12]
inc r12
mov r8d, dword [rsp + 0x84]
mov dword [rsp + 0x20], edx
movsx r9d, ax
mov edx, 0x5e
call sym.sqlite3VdbeAddOp3
jmp 0x1401f4ce3
mov r8d, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov edx, 0x1c
mov r9d, dword [rsp + 0xbc]
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp4Int
jmp 0x1401f4c09
cmp dword [rbp], 0
jne 0x1401f4d76
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x1401f4d76
mov r8, qword [rsp + 0xa0]
mov edx, dword [rsp + 0x4c]
call sym.whereApplyPartialIndexConstraints
mov eax, dword [rsi + 0x38]
mov ecx, 0x27
mov dl, 0xb8
mov esi, dword [rsp + 0x60]
sub ecx, esi
test ah, 0x10
mov esi, dword [rsp + 0x84]
cmove edx, ecx
mov byte [rbp + 0x41], dl
mov edx, eax
shr edx, 0x10
mov dword [rbp + 0x44], esi
and edx, 1
test al, 0xf
mov byte [rbp + 0x42], dl
jne 0x1401f4dac
mov byte [rbp + 0x43], 1
test edi, edi
mov r13d, 1
je 0x1401f54d8
jmp 0x1401f4188
bt eax, 0xd
jae 0x1401f548b
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 0x1401f4edf
mov eax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x58]
sub r12d, eax
dec r12d
movsxd rdx, r12d
imul rdx, rdx, 0x68
add rdx, 0x70
call sym.sqlite3DbMallocRawNN
test rax, rax
mov r14, rax
je 0x1401f59c5
imul rdi, rdi, 0x68
mov rsi, qword [rsp + 0xa8]
mov ecx, 0x1a
lea eax, [r12 + 1]
lea rdx, [r14 + 0x70]
movzx eax, al
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 0x1401f4ee3
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 0x1401f4eb7
mov r14, qword [rbx + 8]
test byte [rbx + 0x3c], 0x10
jne 0x1401f4f63
test byte [r13 + 0x30], 0x80
jne 0x1401f4f15
mov eax, dword [r15 + 0x38]
xor r8d, r8d
mov edx, 0x4b
mov rcx, qword [rsp + 0x40]
inc eax
mov dword [r15 + 0x38], eax
mov r9d, eax
mov dword [rsp + 0x60], eax
call sym.sqlite3VdbeAddOp2
jmp 0x1401f4f53
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 + 0x60], eax
mov r8d, dword [rsp + 0x60]
inc eax
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 + 0x70], eax
mov dword [r15 + 0x38], eax
jmp 0x1401f4f70
xor r11d, r11d
mov dword [rsp + 0x70], r11d
mov dword [rsp + 0x60], r11d
mov r9d, dword [rsp + 0x90]
xor r8d, r8d
mov edx, 0x47
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
cmp dword [rbx + 0x84], 1
mov dword [rsp + 0x100], eax
jg 0x1401f4fa4
xor r10d, r10d
mov qword [rsp + 0x68], r10
jmp 0x1401f5023
xor esi, esi
xor r9d, r9d
cmp dword [rbx + 0x84], esi
jle 0x1401f5009
imul rax, rsi, 0x38
add rax, qword [rbx + 0x90]
cmp qword [rsp + 0xd8], rax
je 0x1401f5004
test word [rax + 0x12], 0x8006
jne 0x1401f5004
test word [rax + 0x14], 0x3fff
je 0x1401f5004
mov rdx, qword [rax]
test byte [rdx + 6], 0x40
jne 0x1401f5004
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x68], r9
call sym.sqlite3ExprDup
mov rdx, qword [rsp + 0x68]
mov rcx, r15
mov r8, rax
call sym.sqlite3ExprAnd
mov r9, rax
inc rsi
jmp 0x1401f4fa9
test r9, r9
je 0x1401f4f9a
xor r8d, r8d
mov edx, 0x1002c
mov rcx, r15
call sym.sqlite3PExpr
mov qword [rsp + 0x68], rax
lea r8, str.MULTI_INDEX_OR
mov edx, 1
mov rcx, r15
call sym.sqlite3VdbeExplain
xor r8d, r8d
xor r9d, r9d
xor edi, edi
mov dword [rsp + 0xec], r8d
mov qword [rsp + 0xc0], r9
mov rax, qword [rsp + 0xe0]
mov dword [rsp + 0x84], edi
cmp edi, dword [rax + 0x14]
jge 0x1401f53cc
mov rsi, qword [rsp + 0xe0]
imul rax, rdi, 0x38
add rax, qword [rsi + 0x20]
mov esi, dword [rsp + 0x4c]
cmp esi, dword [rax + 0x1c]
je 0x1401f508a
test byte [rax + 0x15], 4
je 0x1401f53c4
mov rdx, qword [rax]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call sym.sqlite3ExprDup
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], 0
je 0x1401f50bd
mov rdx, qword [rsp + 0x98]
mov rcx, rax
jmp 0x1401f53bf
cmp qword [rsp + 0x68], 0
mov rsi, qword [rsp + 0x98]
je 0x1401f50d9
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x10], rsi
mov rsi, rax
lea r9d, [rdi + 1]
mov edx, 1
mov rcx, r15
lea r8, str.INDEX__d
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 + 0x30], 0x20
mov dword [rsp + 0x38], eax
call sym.sqlite3WhereBegin
test rax, rax
mov r12, rax
je 0x1401f53b2
xor r9d, r9d
mov rdx, r14
mov rcx, r15
lea r8, [rax + 0x360]
xor esi, esi
call sym.sqlite3WhereExplainOneScan.isra.0
test byte [rbx + 0x3c], 0x10
jne 0x1401f5306
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x88], eax
dec eax
cmp dword [rsp + 0x84], eax
mov eax, 0xffffffff
cmovne eax, edi
test byte [r13 + 0x30], 0x80
mov dword [rsp + 0xb0], eax
jne 0x1401f51c9
mov r9d, dword [rsp + 0x70]
mov edx, 0x87
mov r8d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
mov eax, dword [rsp + 0xb0]
xor r9d, r9d
mov edx, 0x2f
mov r8d, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp4Int
mov esi, eax
jmp 0x1401f5306
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 + 0x84], eax
call sym.sqlite3GetTempRange
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x84], esi
jle 0x1401f5239
mov rax, qword [r10 + 8]
mov rdx, r13
mov qword [rsp + 0x108], r10
mov r8d, dword [rsp + 0x4c]
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 0x1401f51f3
cmp dword [rsp + 0xb0], 0
je 0x1401f527e
mov eax, dword [rsp + 0x84]
xor r9d, r9d
mov edx, 0x1d
mov r8d, dword [rsp + 0x60]
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 0x1401f5280
jmp 0x1401f52ef
xor esi, esi
mov eax, dword [rsp + 0x70]
mov edx, 0x61
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rsp + 0x70]
mov edx, 0x8a
mov eax, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x60]
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 0x1401f52ef
mov rcx, qword [rsp + 0x40]
mov edx, 0x10
call sym.sqlite3VdbeChangeP5
mov r8d, dword [rsp + 0x84]
mov rcx, r15
mov edx, dword [rsp + 0x88]
call sym.sqlite3ReleaseTempRange
mov r9d, dword [rsp + 0xd0]
mov edx, 0xa
mov r8d, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
test esi, esi
je 0x1401f5335
mov rcx, qword [rsp + 0x40]
mov edx, esi
call sym.sqlite3VdbeJumpHere
test byte [r12 + 0x44], 2
mov eax, 1
cmove eax, dword [rsp + 0xec]
xor esi, esi
mov dword [rsp + 0xec], eax
mov rax, qword [r12 + 0x3c0]
test byte [rax + 0x39], 2
je 0x1401f538e
test rdi, rdi
mov rsi, qword [rax + 0x20]
je 0x1401f5372
cmp qword [rsp + 0xc0], rsi
jne 0x1401f538c
test byte [r13 + 0x30], 0x80
je 0x1401f538e
mov al, byte [rsi + 0x64]
and eax, 3
cmp al, 2
mov eax, 0
cmove rsi, rax
jmp 0x1401f538e
xor esi, esi
test byte [r12 + 0x44], 1
je 0x1401f539a
or byte [rbx + 0x44], 1
mov rcx, r12
call sym.sqlite3WhereEnd
mov rcx, r15
call sym.sqlite3VdbeExplainPop
mov qword [rsp + 0xc0], rsi
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
call sym.sqlite3ExprDelete
inc rdi
jmp 0x1401f504f
mov rcx, r15
call sym.sqlite3VdbeExplainPop
mov rax, qword [rsp + 0xc0]
test rax, rax
mov qword [rbp + 0x50], rax
je 0x1401f53ef
mov eax, dword [rsp + 0xcc]
mov dword [rbp + 8], eax
cmp qword [rsp + 0x68], 0
je 0x1401f540f
mov rax, qword [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x10], rdx
mov rdx, rax
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 0x1401f5468
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call sym.sqlite3DbFreeNN
cmp dword [rsp + 0xec], 0
jne 0x1401f4188
mov rdx, qword [rsp + 0xd8]
mov rcx, rbp
call sym.disableTerm
jmp 0x1401f4188
and dl, 0x40
je 0x1401f5499
mov byte [rbp + 0x41], 0xb8
jmp 0x1401f4188
movsxd rax, dword [rsp + 0x60]
lea rdx, [0x1402fa870]
mov edi, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
mov dl, byte [rdx + rax]
mov dword [rbp + 0x44], edi
mov r8d, edi
mov byte [rbp + 0x41], dl
lea rdx, [0x1402fa840]
movzx edx, byte [rdx + rax]
call sym.sqlite3VdbeAddOp2
mov byte [rbp + 0x43], 1
inc eax
mov dword [rbp + 0x48], eax
jmp 0x1401f4188
movsxd rax, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0xa8]
imul rax, rax, 0x68
add rax, rdi
mov qword [rsp + 0x60], rax
mov eax, dword [rbx + 0x84]
xor r12d, r12d
mov rsi, qword [rbx + 0x90]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jle 0x1401f5665
test byte [rsi + 0x12], 6
jne 0x1401f5658
mov r10, qword [rbp + 0x68]
mov rax, r10
and rax, qword [rsi + 0x30]
je 0x1401f5533
or byte [rbx + 0x44], 2
jmp 0x1401f5658
mov rax, qword [rsp + 0x60]
mov r14, qword [rsi]
mov dl, byte [rax + 0x44]
test dl, 0x58
je 0x1401f5576
mov eax, dword [r14 + 4]
test al, 3
je 0x1401f5658
and dl, 8
je 0x1401f555c
test al, 1
je 0x1401f5658
mov edx, dword [r14 + 0x34]
mov rcx, qword [rsp + 0xf8]
call sym.sqlite3WhereGetMask
test r10, rax
jne 0x1401f5658
cmp r13d, 1
jne 0x1401f55e4
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 + 0x68]
mov rcx, r8
mov dword [rsp + 0x120], edx
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 0x1401f5652
test byte [rsi + 0x13], 0x10
je 0x1401f55f9
jmp 0x1401f55ec
cmp r13d, 2
jne 0x1401f55f9
jmp 0x1401f55dc
test r12d, r12d
jne 0x1401f5658
mov r12d, 3
jmp 0x1401f5658
xor edi, edi
test byte [rsi + 0x13], 2
je 0x1401f5622
mov r8d, dword [rbp + 0x2c]
test r8d, r8d
je 0x1401f5622
mov rcx, qword [rsp + 0x40]
mov edx, r8d
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 0x1401f564b
mov rcx, qword [rsp + 0x40]
mov edx, edi
call sym.sqlite3VdbeJumpHere
or word [rsi + 0x12], 4
jmp 0x1401f5658
mov r12d, 2
dec dword [rsp + 0x58]
add rsi, 0x38
jmp 0x1401f5508
test r12d, r12d
jle 0x1401f5672
mov r13d, r12d
jmp 0x1401f54f4
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 + 0x58], rax
test r13d, r13d
jle 0x1401f578a
test byte [r14 + 0x12], 6
jne 0x1401f577e
mov eax, dword [r14 + 0x14]
test al, 0x82
je 0x1401f577e
test ah, 8
je 0x1401f577e
mov eax, dword [rsp + 0x4c]
cmp eax, dword [r14 + 0x1c]
jne 0x1401f577e
mov rax, qword [rsp + 0x58]
test byte [rax + 0x44], 0x58
jne 0x1401f577e
mov r8d, dword [r14 + 0x20]
xor eax, eax
mov r9, qword [rsp + 0x78]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xa0]
mov r12, qword [r14]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x83
call sym.sqlite3WhereFindTerm
test rax, rax
je 0x1401f577e
test byte [rax + 0x12], 4
jne 0x1401f577e
test byte [rax + 0x14], 1
mov rsi, qword [rax]
je 0x1401f5735
test byte [rsi + 5], 0x10
je 0x1401f5735
mov rdx, qword [rsi + 0x20]
mov rdx, qword [rdx + 0x20]
cmp dword [rdx], 1
jg 0x1401f577e
mov ecx, 0x12
mov r8d, dword [rsp + 0xbc]
mov qword [rsp + 0x60], rax
mov r9d, 0x10
lea rdi, [rsp + 0x160]
rep movsd dword [rdi], dword [rsi]
mov rcx, r15
mov rdx, qword [r12 + 0x10]
mov qword [rsp + 0x170], rdx
lea rdx, [rsp + 0x160]
call sym.sqlite3ExprIfFalse
mov rax, qword [rsp + 0x60]
or word [rax + 0x12], 4
dec r13d
add r14, 0x38
jmp 0x1401f569c
mov r13, qword [rbp + 0x38]
test r13, r13
je 0x1401f58de
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 0x1401f57db
mov edx, 2
mov rcx, r15
mov edi, 1
call sym.sqlite3GetTempRange
mov r8d, dword [rbp + 4]
mov edx, 0x87
mov rcx, qword [rsp + 0x40]
lea r9d, [rax + 1]
mov esi, eax
call sym.sqlite3VdbeAddOp2
jmp 0x1401f5837
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 0x1401f5837
mov rax, qword [r12 + 8]
mov rdx, r14
mov qword [rsp + 0x58], r10
mov r8d, dword [rsp + 0x4c]
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 + 0x58]
jmp 0x1401f57fb
lea r12d, [rsi + 1]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, dword [r13]
mov edx, 0x1d
call sym.sqlite3VdbeAddOp4Int
mov rcx, qword [rsp + 0x40]
mov r9d, edi
mov r8d, r12d
mov edx, 0x61
mov dword [rsp + 0x20], esi
mov r14d, eax
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], edi
mov r9d, esi
mov dword [rsp + 0x20], r12d
mov r8d, dword [r13]
mov edx, 0x8a
call sym.sqlite3VdbeAddOp4Int
mov r8d, dword [r13 + 4]
xor r9d, r9d
mov edx, 0xb4
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r12d
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 0x1401f58f5
mov rsi, qword [rbp + 0x38]
test rsi, rsi
jne 0x1401f5921
jmp 0x1401f5979
mov rax, qword [rsp + 0x40]
mov r8d, 1
mov edx, 0x47
mov rcx, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbp + 0x1c], eax
call sym.sqlite3VdbeAddOp2
cmp qword [rbp + 0x38], 0
jne 0x1401f58e7
jmp 0x1401f5949
mov r9d, dword [rsi + 8]
xor r8d, r8d
mov edx, 0x4a
mov rcx, qword [rsp + 0x40]
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 0x1401f5984
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x78], rax
jmp 0x1401f59c5
test byte [rsi + 0x12], 6
jne 0x1401f59b8
mov rax, qword [rsi + 0x30]
and rax, qword [rbp + 0x68]
jne 0x1401f59b8
test byte [rdi + 0x44], 0x40
jne 0x1401f59b8
mov rdx, qword [rsi]
mov r9d, 0x10
mov rcx, r15
mov r8d, dword [rsp + 0xbc]
call sym.sqlite3ExprIfFalse
or word [rsi + 0x12], 4
inc dword [rsp + 0xe8]
add rsi, 0x38
jmp 0x1401f596a
mov eax, dword [rbp + 0x18]
add rbp, 0x70
inc dword [rsp + 0xb8]
inc qword [rsp + 0xf0]
mov dword [rbx + 0x30], eax
jmp 0x1401f3ae7
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x90]
mov dword [rbx + 0x50], eax
jmp 0x1401f5bf9
mov eax, dword [rbx + 0x38]
mov rdx, rbx
mov rcx, qword [rsp + 0x50]
mov dword [r15 + 0xd0], eax
call sym.whereInfoFree
xor ebx, ebx
jmp 0x1401f5bf9
xor r14d, r14d
cmp dword [rsp + 0x60], 0
jne 0x1401f5adf
test rdi, rdi
je 0x1401f5bec
xchg r14, rdi
mov dword [rsp + 0x160], 0x17151618
mov rsi, qword [r14]
mov r10, qword [rsi + 0x18]
mov rcx, r10
call sym.sqlite3ExprIsVector
test eax, eax
je 0x1401f5a7d
mov rcx, r15
mov r9d, 1
mov rdx, r10
call sym.sqlite3GetTempReg
mov r8d, eax
mov r13d, eax
mov dword [rsp + 0x118], eax
call sym.codeExprOrVector
movzx eax, byte [rsi]
sub eax, 0x37
and eax, 2
or eax, 1
jmp 0x1401f5aa6
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 [rsi]
sub eax, 0x36
cdqe
movzx edx, byte [rsp + rax + 0x160]
mov r9d, r12d
mov dword [rsp + 0x20], r13d
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x4c]
call sym.sqlite3VdbeAddOp3
mov edx, dword [rsp + 0x118]
mov rcx, r15
call sym.sqlite3ReleaseTempReg
jmp 0x1401f5af3
test r14, r14
jne 0x1401f5a2e
mov edx, 0x20
mov r8d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
call sym.sqlite3VdbeAddOp2
test rdi, rdi
je 0x1401f5b67
mov r13, qword [rdi]
mov rcx, r15
mov r9d, 1
mov eax, dword [r15 + 0x38]
mov rdx, qword [r13 + 0x18]
lea esi, [rax + 1]
mov dword [r15 + 0x38], esi
mov r8d, esi
call sym.codeExprOrVector
mov rcx, qword [r13 + 0x18]
call sym.sqlite3ExprIsVector
test eax, eax
jne 0x1401f5b46
mov dl, byte [r13]
sub edx, 0x36
and dl, 0xfd
jne 0x1401f5b46
cmp dword [rsp + 0x60], 1
sbb r13d, r13d
and r13d, 2
add r13d, 0x37
jmp 0x1401f5b5a
cmp dword [rsp + 0x60], 1
sbb r13d, r13d
and r13d, 0xfffffffe
add r13d, 0x38
test eax, eax
jne 0x1401f5b6f
mov rdx, rdi
mov rcx, rbp
call sym.disableTerm
jmp 0x1401f5b6f
xor esi, esi
mov r13d, 0xb8
mov rax, qword [rsp + 0x40]
mov edi, dword [rsp + 0x60]
mov edx, dword [rax + 0x90]
mov eax, 0x27
sub eax, edi
cmp r13d, 0xb8
mov byte [rbp + 0x41], al
mov eax, dword [rsp + 0x4c]
mov dword [rbp + 0x48], edx
mov dword [rbp + 0x44], eax
je 0x1401f4188
mov eax, dword [r15 + 0x38]
mov edx, 0x87
mov r8d, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
lea edi, [rax + 1]
mov r9d, edi
mov dword [r15 + 0x38], edi
call sym.sqlite3VdbeAddOp2
mov rcx, qword [rsp + 0x40]
mov edx, r13d
mov r9d, r12d
mov dword [rsp + 0x20], edi
mov r8d, esi
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x40]
mov edx, 0x53
call sym.sqlite3VdbeChangeP5
jmp 0x1401f4188
mov rdi, r14
mov edx, 0x24
jmp 0x1401f5ae4
mov rax, rbx
add rsp, 0x1d8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret