Function at 0x1400cf350
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, 0x1c8
movups xmmword [rsp + 0x1a0], xmm6
movups xmmword [rsp + 0x1b0], xmm7
mov rax, qword [rcx]
mov r13, qword [rcx + 0x10]
mov qword [rsp + 0x210], rcx
mov r15, rdx
mov qword [rsp + 0x220], r8
mov qword [rsp + 0x48], rax
test r13, r13
je 0x1400cf538
test r15, r15
je 0x1400cf3b1
mov rax, qword [rsp + 0x210]
mov r11d, dword [rax + 0x30]
test r11d, r11d
je 0x1400cf3e0
mov eax, 1
movups xmm6, xmmword [rsp + 0x1a0]
movups xmm7, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor r9d, r9d
xor r8d, r8d
mov edx, 0x15
mov rcx, rax
mov qword [rsp + 0x20], 0
call sym.sqlite3AuthCheck
test eax, eax
jne 0x1400cf3b1
mov rax, qword [rsp + 0x220]
cmp byte [rax], 6
ja 0x1400cf47d
mov rsi, qword [r15 + 0x48]
test rsi, rsi
je 0x1400cf46d
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400cf918
mov edx, 0x18
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1400d0560
mov rbx, qword [rsp + 0x210]
mov rdx, qword [rbx + 0xc8]
mov qword [rax], rdx
mov qword [rbx + 0xc8], rax
mov qword [rax + 8], rsi
lea rsi, [sym.sqlite3ExprListDelete]
mov qword [rax + 0x10], rsi
mov qword [r15 + 0x48], 0
mov eax, dword [r15 + 4]
and eax, 0xfffffffe
or eax, 0x400000
mov dword [r15 + 4], eax
mov rcx, qword [rsp + 0x210]
xor r8d, r8d
mov rdx, r15
call sym.sqlite3SelectPrep
mov rax, qword [rsp + 0x210]
mov r10d, dword [rax + 0x30]
test r10d, r10d
jne 0x1400cf4de
mov r11d, dword [r15 + 4]
test r11d, 0x800000
jne 0x1400cf8f0
mov rax, qword [rsp + 0x220]
cmp byte [rax], 9
je 0x1400cf970
mov rcx, qword [rsp + 0x210]
mov rdx, r15
call sym.sqlite3WindowRewrite
mov r12d, eax
test eax, eax
je 0x1400cf578
mov eax, 1
nop dword [rax + rax]
mov rsi, qword [rsp + 0x210]
mov edx, dword [rsi + 0x140]
mov r8, qword [rsi + 0x10]
test edx, edx
je 0x1400cf520
mov r9, qword [r8]
lea rcx, [0x14018a240]
cmp byte [r9 + 0x67], 0
jne 0x1400cf51d
movsxd rcx, edx
shl rcx, 5
add rcx, qword [r8 + 0x88]
mov edx, dword [rcx + 8]
mov rsi, qword [rsp + 0x210]
mov dword [rsi + 0x140], edx
jmp 0x1400cf3b6
cmp qword [rcx + 0xb0], 0
je 0x1400cf560
mov rcx, qword [rsp + 0x210]
call sym.sqlite3VdbeCreate
mov r13, rax
jmp 0x1400cf39b
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 8
jne 0x1400cf542
mov byte [rcx + 0x23], 1
jmp 0x1400cf542
mov eax, dword [r15 + 4]
pxor xmm0, xmm0
mov rsi, qword [r15 + 0x28]
mov qword [rsp + 0x118], 0
movups xmmword [rsp + 0xf8], xmm0
and eax, 8
movups xmmword [rsp + 0x108], xmm0
mov dword [rsp + 0x6c], eax
setne al
xor ebp, ebp
movzx eax, al
mov dword [rsp + 0x50], eax
mov rax, qword [r15 + 0x48]
mov qword [rsp + 0xf0], rax
mov rax, qword [r15 + 0x50]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1400cf71d
mov dword [rsp + 0x58], r12d
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x60], r13
mov r13, rsi
nop dword [rax + rax]
cmp dword [r13], ebp
jle 0x1400cf988
movsxd rbx, ebp
lea rax, [rbx + rbx*2]
lea rax, [rbx + rax*4]
lea rdi, [r13 + rax*8]
movzx r8d, byte [rdi + 0x44]
mov r14, qword [rdi + 0x30]
mov rsi, qword [rdi + 0x28]
test r8b, 0x48
jne 0x1400cf788
test r14, r14
je 0x1400cf70f
mov rax, qword [r14 + 0x20]
movsx r8d, word [rsi + 0x36]
mov eax, dword [rax]
cmp r8d, eax
jne 0x1400cfff0
lea rax, [rbx + rbx*2]
lea rax, [rbx + rax*4]
lea rax, [r13 + rax*8]
test byte [rax + 0x49], 1
je 0x1400cf657
mov rax, qword [rax + 0x68]
cmp byte [rax + 0x12], 0
je 0x1400cf70f
mov eax, dword [r14 + 4]
test al, 8
jne 0x1400cf70f
mov rbx, qword [r14 + 0x48]
test rbx, rbx
je 0x1400cf6b0
cmp qword [r15 + 0x48], 0
je 0x1400cf858
cmp qword [r14 + 0x60], 0
je 0x1400cf870
test ebp, ebp
jne 0x1400cf6b0
test byte [r15 + 6], 4
je 0x1400cf6b0
cmp dword [r13], 1
je 0x1400cf930
test byte [r13 + 0xac], 0x22
jne 0x1400cf930
nop word cs:[rax + rax]
mov r9d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x210]
mov r8d, ebp
mov rdx, r15
call sym.flattenSubquery
test eax, eax
je 0x1400cf6e6
mov rax, qword [rsp + 0x210]
mov r9d, dword [rax + 0x30]
test r9d, r9d
jne 0x1400cf4de
mov ebp, 0xffffffff
cmp byte [r12 + 0x67], 0
mov r13, qword [r15 + 0x28]
jne 0x1400cf4de
mov rax, qword [rsp + 0x220]
cmp byte [rax], 8
jbe 0x1400cf70f
mov rax, qword [r15 + 0x48]
mov qword [rsp + 0xf0], rax
add ebp, 1
cmp qword [r15 + 0x50], 0
je 0x1400cf5e8
mov r8, qword [rsp + 0x220]
mov rcx, qword [rsp + 0x210]
mov rdx, r15
call sym.multiSelect
cmp qword [r15 + 0x58], 0
jne 0x1400cf3b6
mov rsi, qword [rsp + 0x210]
movsxd rdx, dword [rsi + 0x140]
mov rcx, qword [rsi + 0x10]
test edx, edx
je 0x1400cf520
mov r9, qword [rcx]
lea r8, [0x14018a240]
cmp byte [r9 + 0x67], 0
jne 0x1400cf77a
shl rdx, 5
add rdx, qword [rcx + 0x88]
mov r8, rdx
mov edx, dword [r8 + 8]
jmp 0x1400cf520
mov edx, dword [rdi + 0x4c]
mov rcx, qword [r15 + 0x30]
and r8d, 0x40
call sym.sqlite3ExprImpliesNonNullRow
test eax, eax
je 0x1400cf619
test byte [r12 + 0x61], 0x20
jne 0x1400cf619
movzx r9d, byte [rdi + 0x44]
test r9b, 8
je 0x1400cf7c9
test r9b, 0x10
je 0x1400d0510
and r9d, 0xfffffff7
mov byte [rdi + 0x44], r9b
and r9d, 0x40
je 0x1400cf619
mov r9d, dword [r13]
lea eax, [rbp + 1]
cmp eax, r9d
jge 0x1400cff58
lea rax, [rbx + rbx*2]
lea rax, [rbx + rax*4]
lea rdi, [r13 + rax*8]
mov eax, r9d
sub eax, ebp
sub eax, 2
add rax, rbx
lea rcx, [rax + rax*2]
lea rax, [rax + rcx*4]
lea r10, [r13 + rax*8 + 0x68]
jmp 0x1400cf826
and eax, 0xffffffef
mov byte [rdi + 0xac], al
add rdi, 0x68
cmp r10, rdi
je 0x1400cff58
movzx eax, byte [rdi + 0xac]
test al, 0x10
je 0x1400cf819
test al, 8
jne 0x1400cf810
and eax, 0xffffffcf
mov edx, dword [rdi + 0xb4]
mov rcx, qword [r15 + 0x30]
mov r8d, 1
mov byte [rdi + 0xac], al
call sym.unsetJoinExpr
jmp 0x1400cf819
cmp dword [r13], 1
jg 0x1400cf677
jmp 0x1400cf682
test eax, 0x8000000
jne 0x1400cf682
test byte [r15 + 7], 8
jne 0x1400cf682
test byte [r12 + 0x62], 4
jne 0x1400cf682
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d20cc
mov edx, 0x18
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1400d288f
mov rsi, qword [rsp + 0x210]
mov rdx, qword [rsi + 0xc8]
mov qword [rax], rdx
mov qword [rsi + 0xc8], rax
lea rsi, [sym.sqlite3ExprListDelete]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [r14 + 0x48], 0
jmp 0x1400cf6b0
mov rsi, qword [r15 + 0x28]
lea rcx, [rsi + 8]
mov rdx, rsi
call sym.sameSrcAlias
test eax, eax
jne 0x1400cf940
and r11d, 0xff7fffff
mov dword [r15 + 4], r11d
jmp 0x1400cf4b2
mov ecx, 0x18
call sym.sqlite3Malloc
jmp 0x1400cf434
mov ebp, 1
jmp 0x1400cf712
mov r8, qword [rsi + 0x20]
test r8, r8
je 0x1400d1763
mov rcx, qword [rsp + 0x210]
lea rdx, str.target_object_alias_may_not_appear_in_FROM_clause:__s
call sym.sqlite3ErrorMsg
jmp 0x1400cf4de
mov rcx, qword [rsp + 0x210]
mov rdx, r15
call sym.sqlite3GenerateColumnNames
jmp 0x1400cf4c3
mov rax, qword [rsp + 0x48]
mov rcx, qword [r15 + 0x30]
mov rsi, r13
mov r12d, dword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov eax, dword [rax + 0x60]
test rcx, rcx
je 0x1400cf9af
cmp byte [rcx], 0x2c
je 0x1400d161d
test eax, 0x201
je 0x1400d0578
mov r10d, dword [rsi]
lea rax, [rsp + 0x150]
mov rdi, rsi
xor r14d, r14d
mov qword [rsp + 0x60], rax
test r10d, r10d
jle 0x1400d009b
mov qword [rsp + 0x218], r15
mov rbx, qword [rsp + 0x210]
mov r15, r13
mov dword [rsp + 0x88], r12d
mov r13, qword [rsp + 0x218]
jmp 0x1400cfb3c
and edx, 1
je 0x1400cffb8
mov rcx, qword [rdi + 0x68]
cmp byte [rcx + 0x12], 0
je 0x1400cfa24
cmp dword [rcx], 1
jle 0x1400cffb8
test eax, 0x4000000
je 0x1400cfc90
lea rax, [rdi + 8]
mov r10d, dword [r13 + 4]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x178]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x178], rax
movzx eax, byte [rcx + 0x12]
mov r11, rcx
test al, al
je 0x1400cfa7a
cmp dword [rcx], 1
jle 0x1400cfa67
cmp al, 2
jne 0x1400cfa7a
test byte [rsi + 0x44], 0x40
jne 0x1400cfa7a
mov rax, qword [rbx]
test byte [rax + 0x63], 2
je 0x1400d3d8f
mov r9d, dword [r11 + 4]
test r9d, r9d
jg 0x1400d0010
mov rdx, qword [rsp + 0x50]
mov r9d, r14d
xor r8d, r8d
mov rcx, rsi
call sym.isSelfJoinView
mov r10, rax
test rax, rax
je 0x1400d143f
mov r9d, dword [rax + 0x30]
test r9d, r9d
jne 0x1400d0530
mov r9d, dword [r10 + 0x44]
mov r8d, dword [rdi + 0x4c]
mov edx, 0x73
mov rcx, r15
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x50], r10
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x50]
mov rax, qword [r10 + 0x28]
movzx eax, word [rax + 2]
mov word [r12 + 2], ax
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
jne 0x1400cf4de
lea rdx, [rsp + 0x120]
mov rcx, r13
mov dword [rsp + 0x120], 0
call sym.heightOfSelect
mov eax, dword [rsp + 0x120]
sub dword [rbx + 0x13c], eax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x178], rax
add r14d, 1
add rdi, 0x68
cmp dword [rsi], r14d
jle 0x1400d0080
cmp qword [rdi + 0x58], 0
jne 0x1400cfb69
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x1400cfb69
mov rax, qword [rdi + 0x10]
lea r9, [0x14015f198]
mov edx, 0x14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call sym.sqlite3AuthCheck
mov r12, qword [rdi + 0x30]
test r12, r12
je 0x1400cfb2b
mov rdx, qword [rsp + 0x60]
mov rcx, r13
movsxd rbp, r14d
mov dword [rsp + 0x150], 0
call sym.heightOfSelect
mov eax, dword [rsp + 0x150]
add dword [rbx + 0x13c], eax
lea rdx, [rbp + rbp*2]
mov rax, qword [rsp + 0x48]
lea rdx, [rbp + rdx*4]
movzx edx, byte [rsi + rdx*8 + 0x49]
mov eax, dword [rax + 0x60]
test ah, 0x10
je 0x1400cfa08
and edx, 1
test eax, 0x4000000
je 0x1400cfc90
lea rax, [rdi + 8]
mov r10d, dword [r13 + 4]
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x178]
mov qword [rsp + 0x58], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x178], rax
test dl, dl
jne 0x1400cff48
movzx r11d, byte [rsi + 0x44]
and r11d, 0x40
jne 0x1400cfa87
mov rax, qword [rbx]
test byte [rax + 0x63], 2
jne 0x1400cfa87
mov r9d, dword [rsi]
mov rdx, qword [rsp + 0x50]
lea r8d, [r14 + 1]
mov rcx, rsi
mov byte [rsp + 0x80], r11b
mov dword [rsp + 0x78], r10d
call sym.isSelfJoinView
mov r10d, dword [rsp + 0x78]
movzx r11d, byte [rsp + 0x80]
test rax, rax
jne 0x1400cfa87
test r14d, r14d
jne 0x1400cfddf
cmp r9d, 1
je 0x1400cfe1e
test byte [rsi + 0xac], 2
jne 0x1400cfe1e
and r10d, 0x10000000
je 0x1400cfe1e
test r11b, r11b
je 0x1400cfa87
mov r11, qword [rdi + 0x68]
jmp 0x1400cfa7a
lea rax, [rbp + rbp*2]
lea rax, [rbp + rax*4]
test word [rsi + rax*8 + 0x48], 0x108
jne 0x1400cfbc8
mov r11, qword [rdi + 0x30]
test r11, r11
je 0x1400cfcfb
mov rax, r11
test byte [rax + 4], 9
jne 0x1400cfbc8
nop dword [rax]
mov rcx, qword [rax + 0x50]
test rcx, rcx
je 0x1400cfcf0
cmp byte [rax], 0x87
jne 0x1400cfbc8
cmp qword [rax + 0x70], 0
jne 0x1400cfbc8
mov rax, rcx
test byte [rax + 4], 9
je 0x1400cfcc0
jmp 0x1400cfbc8
cmp qword [rax + 0x70], 0
jne 0x1400cfbc8
mov rax, qword [r11 + 0x48]
mov r9, qword [rdi + 0x58]
test rax, rax
je 0x1400cfd56
mov ecx, dword [rax]
test ecx, ecx
jle 0x1400cfd56
movsxd r8, ecx
mov qword [rsp + 0x50], rdi
mov r10d, 1
shl r8, 5
add r8, rax
nop dword [rax + rax]
movzx ecx, word [rax + 0x20]
test cx, cx
je 0x1400cfd48
mov edi, 0x3f
sub ecx, 1
cmp cx, di
cmova ecx, edi
mov rdi, r10
shl rdi, cl
or r9, rdi
add rax, 0x20
cmp r8, rax
jne 0x1400cfd28
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi + 0x28]
movsx r10d, word [rax + 0x36]
test r10d, r10d
jle 0x1400cfbc8
mov qword [rsp + 0x50], rdi
xor ecx, ecx
jmp 0x1400cfd84
add ecx, 1
cmp r10d, ecx
je 0x1400d1e7d
movabs rdi, 0x8000000000000000
mov eax, 1
shl rax, cl
cmp ecx, 0x3f
cmovge rax, rdi
test r9, rax
jne 0x1400cfd78
movsxd rdi, ecx
mov rax, r11
shl rdi, 5
nop dword [rax]
mov r8, qword [rax + 0x20]
add r8, rdi
mov r8, qword [r8 + 8]
cmp byte [r8], 0x79
je 0x1400cfdd4
and dword [r8 + 4], 0xfff7dfff
mov byte [r8], 0x79
or dword [rax + 4], 0x1000000
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1400cfdb0
jmp 0x1400cfd78
and r10d, 0x10000000
jne 0x1400cfc75
mov rax, qword [rsp + 0x50]
mov rdx, rsi
sub rdx, rdi
add rdx, rax
jmp 0x1400cfe0f
sub rax, 0x68
cmp qword [rax + 0x28], 0
jne 0x1400cfc75
test byte [rax + 0x3c], 0x22
jne 0x1400cfc75
cmp rdx, rax
jne 0x1400cfe00
mov r11d, dword [r15 + 0x90]
mov eax, dword [rbx + 0x38]
xor r9d, r9d
mov rcx, r15
mov edx, 0xb
lea r10d, [r11 + 1]
lea r8d, [rax + 1]
mov dword [rsp + 0x80], r11d
mov dword [rbx + 0x38], r8d
mov dword [rdi + 0x3c], r8d
mov dword [rsp + 0x20], r10d
mov dword [rsp + 0x78], r10d
call sym.sqlite3VdbeAddOp3
mov r8, qword [rsp + 0x50]
lea rdx, [0x14016355e]
mov rcx, r15
call sym.sqlite3VdbeComment
mov r10d, dword [rsp + 0x78]
mov eax, dword [rdi + 0x3c]
mov rcx, rbx
mov r9, qword [rsp + 0x50]
lea r8, str.CO_ROUTINE___S
mov edx, 1
mov dword [rdi + 0x38], r10d
mov byte [rsp + 0x150], 0xd
mov dword [rsp + 0x154], eax
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x158], 0
mov dword [rsp + 0x160], 0
call sym.sqlite3VdbeExplain
mov r8, qword [rsp + 0x60]
mov rdx, r12
mov rcx, rbx
call sym.sqlite3Select
movzx edx, word [r12 + 2]
mov rax, qword [rdi + 0x28]
mov rcx, r15
mov word [rax + 0x3a], dx
lea rax, [rbp + rbp*2]
lea rax, [rbp + rax*4]
or byte [rsi + rax*8 + 0x48], 0x20
mov eax, dword [rsp + 0x15c]
mov edx, dword [rdi + 0x3c]
mov dword [rdi + 0x40], eax
call sym.sqlite3VdbeEndCoroutine
mov rcx, qword [r15]
mov edx, dword [r15 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400cff31
movsxd rax, dword [rsp + 0x80]
shl rax, 5
add rax, qword [r15 + 0x88]
mov dword [rax + 8], edx
mov byte [rbx + 0x1f], 0
mov dword [rbx + 0x28], 0
jmp 0x1400cfae8
mov rcx, qword [rdi + 0x68]
jmp 0x1400cfa53
test r9d, r9d
jle 0x1400cf619
movsxd rax, r9d
lea edx, [r9 - 1]
lea rcx, [rax + rax*2]
lea rcx, [rax + rcx*4]
shl rcx, 3
lea r8, [r13 + rcx - 0x68]
lea rax, [r13 + rcx]
lea rcx, [rdx + rdx*2]
lea rdx, [rdx + rcx*4]
shl rdx, 3
sub r8, rdx
jmp 0x1400cff9d
sub rax, 0x68
cmp r8, rax
je 0x1400cf619
movzx edx, byte [rax - 0x24]
mov ecx, edx
and ecx, 0xffffffbf
and edx, 0x10
mov byte [rax - 0x24], cl
je 0x1400cff90
jmp 0x1400cf619
mov dword [rsp + 0x20], r14d
mov r8, qword [r13 + 0x30]
mov rdx, r12
mov r9, rsi
mov rcx, rbx
call sym.pushDownWhereTerms.isra.0
mov rax, qword [rsp + 0x48]
lea rdx, [rbp + rbp*2]
lea rdx, [rbp + rdx*4]
mov eax, dword [rax + 0x60]
movzx edx, byte [rsi + rdx*8 + 0x49]
jmp 0x1400cfbba
mov r9, qword [rsi]
mov dword [rsp + 0x20], eax
lea rdx, str.expected__d_columns_for__s_but_got__d
mov rcx, qword [rsp + 0x210]
call sym.sqlite3ErrorMsg
jmp 0x1400cf4de
mov r8d, dword [r11 + 8]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r15
mov qword [rsp + 0x78], r11
call sym.sqlite3VdbeAddOp3
mov r11, qword [rsp + 0x78]
mov r8d, dword [rdi + 0x4c]
mov r9d, dword [r11 + 0xc]
cmp r8d, r9d
je 0x1400d006e
mov dword [rsp + 0x20], 0
mov edx, 0x73
mov rcx, r15
call sym.sqlite3VdbeAddOp3
mov r8, qword [rsp + 0x50]
lea rdx, [0x14016355e]
mov rcx, r15
call sym.sqlite3VdbeComment
mov r11, qword [rsp + 0x78]
movzx eax, word [r11 + 0x10]
mov word [r12 + 2], ax
jmp 0x1400cfae8
mov qword [rsp + 0x218], r13
mov r12d, dword [rsp + 0x88]
mov r13, r15
mov r15, qword [rsp + 0x218]
mov rax, qword [r15 + 0x20]
mov r14, qword [rsp + 0xf0]
mov qword [rsp + 0x58], rax
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [r15 + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x80], rax
mov eax, dword [r15 + 4]
mov byte [rsp + 0xe4], al
and eax, 9
and byte [rsp + 0xe4], 1
cmp eax, 1
je 0x1400d1f5c
mov edi, 0xffffffff
test r14, r14
je 0x1400d0162
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x210]
xor r8d, r8d
mov rdx, r14
mov r9d, dword [rbx]
call sym.sqlite3KeyInfoFromExprList
mov rdi, qword [rsp + 0x210]
mov edx, dword [r14]
mov rcx, rax
mov rax, qword [rsp + 0x210]
mov r8d, dword [rax + 0x34]
lea eax, [r8 + 1]
mov dword [rsp + 0xfc], r8d
mov dword [rdi + 0x34], eax
mov eax, dword [rbx]
mov qword [rsp + 0x28], rcx
mov rcx, r13
mov dword [rsp + 0x30], 0xfffffff8
lea r9d, [rdx + rax + 1]
mov edx, 0x76
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp4
mov edi, eax
mov rax, qword [rsp + 0x220]
mov dword [rsp + 0x108], edi
cmp byte [rax], 0xc
je 0x1400d1fb8
mov edx, dword [r15 + 4]
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x44]
lea r8d, [rax - 1]
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x44], r8d
test dh, 0x40
jne 0x1400d01ad
mov r9d, 0x140
mov word [r15 + 2], r9w
cmp qword [r15 + 0x60], 0
je 0x1400d01c8
mov rcx, qword [rsp + 0x210]
mov rdx, r15
call sym.computeLimitRegisters
mov edx, dword [r15 + 4]
mov ecx, dword [r15 + 8]
test ecx, ecx
jne 0x1400d01fe
test edi, edi
js 0x1400d01fe
mov rcx, qword [r13]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d01f3
movsxd rax, edi
shl rax, 5
add rax, qword [r13 + 0x88]
mov byte [rax], 0x77
mov byte [rsp + 0x114], 1
xor eax, eax
and edx, 1
jne 0x1400d1df3
mov byte [rsp + 0xe5], al
mov eax, dword [rsp + 0x6c]
test eax, eax
jne 0x1400d1e87
cmp qword [rsp + 0x50], 0
jne 0x1400d176f
movzx ebx, byte [rsp + 0xe4]
movzx edx, word [r15 + 4]
xor eax, eax
mov rbp, qword [r15 + 0x70]
and dx, 0x4000
test bl, bl
setne al
shl eax, 8
or edx, eax
mov word [rsp + 0x6c], dx
test rbp, rbp
je 0x1400d084f
mov rax, qword [r15 + 0x28]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0x20]
mov r9d, dword [rax]
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400d224f
mov rdi, qword [rsp + 0x50]
mov r8d, dword [rbp + 0x58]
mov edx, 0x76
mov dword [rsp + 0x20], 0
mov rcx, rdi
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rbp + 0x58]
mov edx, 0x73
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 1]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rbp + 0x58]
mov edx, 0x73
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 2]
call sym.sqlite3VdbeAddOp3
mov r9d, dword [rbp + 0x58]
mov edx, 0x73
mov rcx, rdi
mov dword [rsp + 0x20], 0
lea r8d, [r9 + 3]
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1400d033a
mov edx, dword [rax]
mov rax, qword [rsp + 0x210]
xor r8d, r8d
mov rcx, qword [rsp + 0x210]
mov eax, dword [rax + 0x38]
lea r9d, [rax + 1]
add eax, edx
mov dword [rbp + 0x6c], r9d
mov dword [rcx + 0x38], eax
lea eax, [rdx + r9 - 1]
mov rcx, rdi
mov edx, 0x4b
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x50]
mov edx, 0x47
mov rdi, rbp
mov r8d, 1
mov eax, dword [rax + 0x38]
lea r9d, [rax + 1]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x38], r9d
mov dword [rbp + 0x80], r9d
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
cmp byte [rbp + 0x24], 0
jne 0x1400d3006
mov dword [rsp + 0x70], r12d
mov r12, qword [rsp + 0x50]
mov byte [rsp + 0x80], bl
mov rbx, qword [rsp + 0x210]
mov qword [rsp + 0x88], rsi
jmp 0x1400d0494
cmp byte [rdi + 0x21], 0x5a
je 0x1400d04a2
mov rax, qword [rdi + 0x70]
xor r8d, r8d
xor r9d, r9d
mov rcx, rbx
mov rdx, qword [rax + 0x20]
call sym.sqlite3KeyInfoFromExprList
mov r8d, dword [rbx + 0x34]
mov rsi, rax
lea eax, [r8 + 1]
movd xmm0, r8d
mov dword [rbx + 0x34], eax
mov eax, dword [rbx + 0x38]
lea edx, [rax + 1]
add eax, 3
movd xmm1, edx
punpckldq xmm0, xmm1
movq qword [rdi + 0x64], xmm0
mov dword [rbx + 0x38], eax
test rsi, rsi
je 0x1400d2221
mov rax, qword [rdi + 0x50]
mov rax, qword [rax + 0x38]
cmp byte [rax + 1], 0x69
jne 0x1400d041e
mov rax, qword [rsi + 0x18]
mov byte [rax], 1
mov r8d, dword [rdi + 0x64]
mov dword [rsp + 0x20], 0
mov r9d, 2
mov edx, 0x76
mov rcx, r12
call sym.sqlite3VdbeAddOp3
mov rax, qword [r12]
cmp byte [rax + 0x67], 0
jne 0x1400d2470
movsxd rax, dword [r12 + 0x90]
mov rdx, qword [r12 + 0x88]
shl rax, 5
lea rax, [rdx + rax - 0x20]
mov byte [rax + 1], 0xf8
mov qword [rax + 0x10], rsi
mov eax, dword [rdi + 0x68]
xor r8d, r8d
mov edx, 0x47
mov rcx, r12
mov dword [rsp + 0x20], 0
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
mov rdi, qword [rdi + 0x40]
test rdi, rdi
je 0x1400d083a
mov rax, qword [rdi + 0x50]
test byte [rax + 5], 0x10
jne 0x1400d03b0
mov rax, qword [rax + 0x38]
lea rsi, str.first_value
cmp rax, rsi
je 0x1400d0817
lea rsi, str.nth_value
cmp rax, rsi
je 0x1400d0817
lea rsi, [0x140173fa8]
cmp rax, rsi
je 0x1400d04de
lea rdx, str.lead
cmp rax, rdx
jne 0x1400d0487
mov r8d, dword [rbx + 0x34]
lea eax, [r8 + 1]
mov dword [rbx + 0x34], eax
mov dword [rdi + 0x64], r8d
mov r9d, dword [rbp + 0x58]
mov dword [rsp + 0x20], 0
mov edx, 0x73
mov rcx, r12
call sym.sqlite3VdbeAddOp3
jmp 0x1400d0487
and r9d, 0xffffffd7
mov edx, dword [rdi + 0x4c]
mov rcx, qword [r15 + 0x30]
xor r8d, r8d
mov byte [rdi + 0x44], r9b
call sym.unsetJoinExpr
jmp 0x1400cf7c9
mov r8d, dword [rax + 0x34]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r15
mov qword [rsp + 0x50], rax
call sym.sqlite3VdbeAddOp3
mov r10, qword [rsp + 0x50]
jmp 0x1400cfab3
mov rax, qword [rsp + 0x210]
mov rdx, rsi
mov rcx, qword [rax]
call sym.exprListDeleteNN
jmp 0x1400cf465
test byte [r15 + 4], 8
je 0x1400cf9ba
mov rax, qword [r15 + 0x20]
cmp dword [rax], 1
jne 0x1400cf9ba
cmp qword [r15 + 0x30], 0
jne 0x1400cf9ba
cmp qword [r15 + 0x40], 0
jne 0x1400cf9ba
cmp qword [r15 + 0x38], 0
jne 0x1400cf9ba
cmp qword [r15 + 0x48], 0
jne 0x1400cf9ba
mov r14, qword [rax + 8]
cmp byte [r14], 0xa8
jne 0x1400cf9ba
mov r9, qword [r14 + 8]
test r9, r9
je 0x1400cf9ba
xor edx, edx
lea r10, str.count
lea r8, [0x140176460]
jmp 0x1400d05fc
movzx edi, byte [r8 + rcx]
cmp byte [r8 + rax], dil
jne 0x1400cf9ba
add rdx, 1
movzx eax, byte [r9 + rdx]
movzx ecx, byte [r10 + rdx]
cmp eax, ecx
jne 0x1400d05e9
test eax, eax
jne 0x1400d05f8
cmp qword [r14 + 0x20], 0
jne 0x1400cf9ba
mov rdx, qword [r15 + 0x28]
cmp dword [rdx], 1
jne 0x1400cf9ba
test byte [r14 + 7], 1
jne 0x1400cf9ba
mov rdi, qword [rdx + 0x30]
test rdi, rdi
je 0x1400cf9ba
cmp qword [rdi + 0x50], 0
je 0x1400cf9ba
test byte [rdi + 7], 4
jne 0x1400cf9ba
mov rbp, rdi
cmp byte [rbp], 0x87
je 0x1400d0667
cmp qword [rbp + 0x50], 0
jne 0x1400cf9ba
cmp qword [rbp + 0x30], 0
jne 0x1400cf9ba
cmp qword [rbp + 0x60], 0
jne 0x1400cf9ba
test byte [rbp + 4], 8
jne 0x1400cf9ba
mov rbp, qword [rbp + 0x50]
test rbp, rbp
jne 0x1400d0656
mov rax, qword [rsp + 0x210]
xor r11d, r11d
pxor xmm6, xmm6
mov rsi, rbp
mov rax, qword [rax]
mov qword [rdx + 0x30], r11
mov rcx, rax
mov qword [rsp + 0x50], rax
call sym.sqlite3SrcListDelete
mov rax, qword [rsp + 0x210]
mov edx, 0x70
mov rcx, qword [rax]
call sym.sqlite3DbMallocZero
mov qword [r15 + 0x28], rax
jmp 0x1400d074f
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call sym.exprDup
mov rdx, rax
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendNew
xor r8d, r8d
xor r9d, r9d
mov edx, 0x8a
mov qword [rdi + 0x20], rax
mov rcx, qword [rsp + 0x210]
call sym.sqlite3PExpr
mov rcx, qword [rsp + 0x210]
mov r8, rdi
mov rdx, rax
mov rbx, rax
call sym.sqlite3PExprAddSelect
test rsi, rsi
je 0x1400d0749
mov rcx, qword [rsp + 0x210]
mov r8, rbx
mov r9, rsi
mov edx, 0x6a
call sym.sqlite3PExpr
mov rbx, rax
mov rsi, rbx
mov rdi, rbp
mov eax, dword [rdi + 4]
mov rbp, qword [rdi + 0x50]
movups xmmword [rdi + 0x50], xmm6
lea rdx, [sym.sqlite3ExprListDelete]
mov word [rdi + 2], 0
mov r8, qword [rdi + 0x20]
and ah, 0xfe
mov rcx, qword [rsp + 0x210]
or eax, 8
mov dword [rdi + 4], eax
call sym.sqlite3ParserAddCleanup
test rbp, rbp
jne 0x1400d06d1
mov rax, qword [rsp + 0x210]
mov rdx, r14
mov rbp, rsi
mov rcx, qword [rax]
call sym.sqlite3ExprListAppendNew
xor r8d, r8d
xor r9d, r9d
mov edx, 0x8a
mov qword [rdi + 0x20], rax
mov rcx, qword [rsp + 0x210]
call sym.sqlite3PExpr
mov rcx, qword [rsp + 0x210]
mov r8, rdi
mov rdx, rax
mov rsi, rax
call sym.sqlite3PExprAddSelect
test rbp, rbp
je 0x1400d07f2
mov rcx, qword [rsp + 0x210]
mov r8, rsi
mov r9, rbp
mov edx, 0x6a
call sym.sqlite3PExpr
mov rsi, rax
mov rax, qword [r15 + 0x20]
mov qword [rax + 8], rsi
mov rax, qword [rsp + 0x48]
and dword [r15 + 4], 0xfffffff7
cmp byte [rax + 0x67], 0
jne 0x1400cf4de
mov rsi, qword [r15 + 0x28]
jmp 0x1400cf9ba
mov eax, dword [rbx + 0x38]
mov r8d, dword [rbx + 0x34]
lea edx, [rax + 1]
add eax, 2
mov dword [rdi + 0x68], edx
lea edx, [r8 + 1]
mov dword [rbx + 0x34], edx
mov dword [rdi + 0x64], r8d
mov dword [rbx + 0x38], eax
jmp 0x1400d04ed
mov r12d, dword [rsp + 0x70]
movzx ebx, byte [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
movsx eax, word [r15 + 2]
mov qword [rsp + 0x28], r15
mov r9, r14
mov rdx, rsi
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x210]
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x6c]
mov dword [rsp + 0x30], eax
mov rax, qword [r15 + 0x20]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400cf4de
movzx eax, word [rax + 0x48]
cmp word [r15 + 2], ax
jle 0x1400d08a5
mov word [r15 + 2], ax
test bl, bl
je 0x1400d08bd
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x43]
test al, al
je 0x1400d08bd
mov byte [rsp + 0xe5], al
test r14, r14
je 0x1400d1f40
mov rsi, qword [rsp + 0x60]
xor edx, edx
movsx eax, byte [rsi + 0x41]
test al, al
cmovs eax, edx
mov dword [rsp + 0xf8], eax
test byte [rsi + 0x44], 4
je 0x1400d0910
mov rsi, qword [rsp + 0x60]
movzx edx, byte [rsi + 0x40]
sub edx, 1
movsxd rdx, edx
lea rcx, [rdx*8]
sub rcx, rdx
shl rcx, 4
cmp qword [rsi + rcx + 0x398], 0
je 0x1400d309b
mov edx, dword [rsi + 0x30]
mov dword [rsp + 0x110], edx
cmp dword [r14], eax
je 0x1400d1f34
test rbp, rbp
je 0x1400d21c9
mov rax, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x210]
mov eax, dword [rax + 0x44]
movq xmm6, rdi
lea esi, [rax - 2]
mov dword [rsp + 0xc0], eax
lea ebx, [rax - 1]
sub eax, 3
mov dword [rsp + 0xbc], esi
mov rsi, qword [rsp + 0x210]
mov dword [rsp + 0x80], eax
mov dword [rsi + 0x44], eax
mov esi, dword [rsi + 0x38]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x50], esi
add esi, 1
mov dword [rdi + 0x38], esi
mov dword [rsp + 0x98], esi
mov rsi, qword [r15 + 0x70]
mov rdi, qword [rsi + 0x18]
movq xmm2, rsi
punpcklqdq xmm6, xmm2
mov qword [rsp + 0xa0], rdi
mov rdi, qword [rsp + 0x210]
mov r14, qword [rdi + 0x10]
test r14, r14
je 0x1400d2194
mov rax, qword [r15 + 0x28]
pxor xmm0, xmm0
mov edi, dword [rax + 0x4c]
mov rax, qword [rax + 0x28]
movsx eax, word [rax + 0x36]
mov dword [rsp + 0xcc], edi
mov rdi, qword [rsp + 0x210]
movups xmmword [rsp + 0x180], xmm0
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x90]
movups xmmword [rsp + 0x170], xmm0
sub eax, 1
movups xmmword [rsp + 0x150], xmm6
mov dword [rdi + 0x44], eax
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x98]
mov qword [rsp + 0x190], 0
mov dword [rsp + 0x16c], eax
mov eax, dword [rsi + 0x58]
mov dword [rsp + 0x168], ebx
mov dword [rsp + 0x184], eax
lea ebx, [rax + 2]
lea edi, [rax + 1]
mov dword [rsp + 0x88], eax
add eax, 3
mov qword [rsp + 0x160], r14
mov dword [rsp + 0x17c], ebx
mov dword [rsp + 0x18c], eax
movzx edx, byte [rsi + 0x21]
mov dword [rsp + 0xa8], edi
mov dword [rsp + 0xdc], ebx
mov dword [rsp + 0xb0], eax
cmp dl, 0x56
je 0x1400d2429
cmp dl, 0x5a
je 0x1400d2362
mov dword [rsp + 0x174], 2
mov rax, qword [rsp + 0x210]
mov edi, dword [rsp + 0x70]
sub edx, 0x56
mov dword [rsp + 0x50], 0
mov eax, dword [rax + 0x38]
lea ebp, [rax + 1]
add eax, edi
and edx, 0xfd
lea edi, [rax + 1]
lea ebx, [rax + 2]
mov dword [rsp + 0x94], edi
mov rdi, qword [rsp + 0x210]
mov dword [rsp + 0xb4], ebx
mov dword [rdi + 0x38], ebx
mov dword [rsp + 0x178], ebx
jne 0x1400d0aee
mov rdi, qword [rsp + 0x210]
add eax, 3
mov dword [rsp + 0x50], eax
mov dword [rdi + 0x38], eax
movzx eax, byte [rsi + 0x22]
mov dword [rsp + 0x6c], 0
sub eax, 0x56
test al, 0xfd
jne 0x1400d0b1e
mov rax, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x210]
mov eax, dword [rax + 0x38]
add eax, 1
mov dword [rsp + 0x6c], eax
mov dword [rdi + 0x38], eax
cmp byte [rsi + 0x20], 0x4c
je 0x1400d2406
mov rax, qword [rsp + 0xa0]
xor edx, edx
test rax, rax
je 0x1400d0b39
mov edx, dword [rax]
mov ebx, dword [rsi + 0x78]
mov rax, qword [rsi + 0x10]
add ebx, ebp
mov dword [rsp + 0xd8], ebx
test rax, rax
je 0x1400d0b59
mov eax, dword [rax]
add ebx, eax
mov dword [rsp + 0xd8], ebx
mov rax, qword [rsp + 0x210]
mov ecx, dword [rax + 0x38]
lea eax, [rcx + rdx]
lea r8d, [rax + 1]
add eax, edx
mov dword [rsp + 0x180], r8d
lea r8d, [rax + 1]
add eax, edx
add edx, eax
mov dword [rsp + 0x188], r8d
lea r8d, [rax + 1]
mov rax, qword [rsp + 0x210]
cmp qword [rsp + 0xa0], 0
mov dword [rsp + 0x190], r8d
mov dword [rax + 0x38], edx
setne dl
add ecx, 1
setne al
mov dword [rsp + 0xb8], ecx
and edx, eax
mov byte [rsp + 0xc8], dl
mov r8d, dword [rsp + 0x70]
xor edi, edi
test r8d, r8d
jle 0x1400d0c0a
mov qword [rsp + 0xd0], rsi
mov ebx, dword [rsp + 0xcc]
mov esi, edi
mov edi, dword [rsp + 0x70]
nop
lea eax, [rbp + rsi]
mov r9d, esi
mov r8d, ebx
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, r14
add esi, 1
call sym.sqlite3VdbeAddOp3
cmp edi, esi
jne 0x1400d0be0
mov rsi, qword [rsp + 0xd0]
mov r9d, dword [rsp + 0x70]
mov edx, 0x61
mov r8d, ebp
mov rcx, r14
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov rdx, qword [rsi + 0x10]
test rdx, rdx
je 0x1400d216f
mov rcx, qword [rsp + 0x210]
xor r9d, r9d
xor r8d, r8d
mov ebx, dword [rdx]
add ebp, dword [rsi + 0x78]
call sym.sqlite3KeyInfoFromExprList
mov rcx, qword [rsp + 0x210]
mov r9d, dword [rsi + 0x6c]
mov r8d, ebp
mov rdi, rax
mov rax, qword [rsp + 0x210]
mov edx, 0x5a
mov eax, dword [rax + 0x38]
add eax, 1
mov dword [rcx + 0x38], eax
mov rcx, r14
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x70], eax
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14]
cmp byte [rdx + 0x67], 0
jne 0x1400d342b
movsxd rdx, dword [r14 + 0x90]
mov rcx, qword [r14 + 0x88]
shl rdx, 5
lea rdx, [rcx + rdx - 0x20]
mov byte [rdx + 1], 0xf8
mov qword [rdx + 0x10], rdi
lea r8d, [rax + 2]
lea r9d, [rax + 4]
mov edx, 0xe
mov rcx, r14
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov rcx, r14
mov dword [rsp + 0x20], 0
mov edx, 0xa
call sym.sqlite3VdbeAddOp3
lea rdx, str.call_flush_partition
mov rcx, r14
mov dword [rsp + 0xcc], eax
call sym.sqlite3VdbeComment
lea eax, [rbx - 1]
mov r9d, dword [rsi + 0x6c]
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov edx, 0x50
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov ebx, dword [rsp + 0xb4]
mov edi, dword [rsp + 0xa8]
mov edx, 0x7f
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r9d, ebx
mov r8d, edi
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], ebx
mov r8d, edi
mov rcx, r14
mov r9d, dword [rsp + 0x94]
mov edx, pe_nt_image_headers64
call sym.sqlite3VdbeAddOp3
mov rcx, r14
xor r9d, r9d
mov edx, 0x34
mov r8d, dword [rsi + 0x80]
mov dword [rsp + 0x20], ebx
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0xb4], eax
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400d2151
xor edi, edi
mov dword [rsp + 0x94], r12d
mov rbp, rsi
mov r12d, edi
mov rdi, rsi
mov rsi, rcx
nop dword [rax]
mov rbx, qword [rbp + 0x50]
mov r9d, dword [rbp + 0x5c]
mov edx, 0x4b
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rcx, rsi
call sym.sqlite3VdbeAddOp3
mov rax, qword [rbp + 0x70]
mov rdx, qword [rax + 0x20]
xor eax, eax
test rdx, rdx
je 0x1400d0de1
mov eax, dword [rdx]
mov ecx, dword [rdi + 0x84]
cmp r12d, eax
cmovl r12d, eax
test ecx, ecx
jne 0x1400d0e30
mov rax, qword [rbx + 0x38]
lea rcx, str.first_value
cmp rax, rcx
je 0x1400d13ff
lea rdx, str.nth_value
cmp rax, rdx
je 0x1400d13ff
test byte [rbx + 5], 0x10
je 0x1400d0e30
mov r8d, dword [rbp + 0x64]
test r8d, r8d
jne 0x1400d20db
nop dword [rax]
mov rbp, qword [rbp + 0x40]
test rbp, rbp
jne 0x1400d0db0
mov rax, qword [rsp + 0x210]
mov rsi, rdi
mov edi, r12d
mov r8d, dword [rsp + 0x50]
mov r12d, dword [rsp + 0x94]
mov eax, dword [rax + 0x38]
lea edx, [rdi + rax]
mov rdi, qword [rsp + 0x210]
add eax, 1
mov dword [rsp + 0x170], eax
mov dword [rdi + 0x38], edx
test r8d, r8d
je 0x1400d0ea9
cmp qword [rdi + 0x10], 0
je 0x1400d0e8b
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
call sym.sqlite3ExprCode.part.0
xor eax, eax
cmp byte [rsi + 0x20], 0x59
mov edx, dword [rsp + 0x50]
sete al
mov rcx, qword [rsp + 0x210]
lea r8d, [rax + rax*2]
call sym.windowCheckValue
mov r8d, dword [rsp + 0x6c]
test r8d, r8d
je 0x1400d0eed
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x10], 0
je 0x1400d0ece
mov rdx, qword [rsi + 0x30]
mov rcx, rax
call sym.sqlite3ExprCode.part.0
xor eax, eax
cmp byte [rsi + 0x20], 0x59
mov edx, dword [rsp + 0x6c]
sete al
mov rcx, qword [rsp + 0x210]
lea r8d, [rax + rax*2 + 1]
call sym.windowCheckValue
cmp byte [rsi + 0x20], 0x59
movzx eax, byte [rsi + 0x21]
lea rdi, [rsp + 0x150]
je 0x1400d2117
cmp byte [rsi + 0x22], al
jne 0x1400d0f14
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x1400d3703
cmp al, 0x56
je 0x1400d2854
cmp al, 0x5a
jne 0x1400d211f
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov r8d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0xb0]
call sym.sqlite3VdbeAddOp3
cmp byte [rsp + 0xc8], 0
jne 0x1400d24a0
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 9
mov rcx, r14
mov r9d, dword [rsp + 0xac]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d0fbc
movsxd rax, dword [rsp + 0xb4]
shl rax, 5
add rax, qword [r14 + 0x88]
mov ebx, dword [rsp + 0xb8]
mov dword [rax + 8], edx
test ebx, ebx
jne 0x1400d2589
cmp byte [rsi + 0x21], 0x56
je 0x1400d30b0
cmp byte [rsi + 0x22], 0x58
je 0x1400d2631
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call sym.windowCodeOp
cmp byte [rsi + 0x22], 0x5a
je 0x1400d2359
cmp byte [rsi + 0x20], 0x59
je 0x1400d363f
mov r10d, dword [rsp + 0x6c]
test r10d, r10d
jne 0x1400d22ea
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call sym.windowCodeOp
mov r8d, dword [rsp + 0x50]
mov rcx, rdi
xor r9d, r9d
mov edx, 2
call sym.windowCodeOp
mov rcx, qword [r14 + 0x18]
mov r8d, dword [rsp + 0x90]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1400d27fb
mov edx, dword [r14 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rcx, qword [rsp + 0x60]
call sym.sqlite3WhereEnd
cmp qword [rsi + 0x10], 0
je 0x1400d10ca
mov r9d, dword [rsp + 0x70]
xor r8d, r8d
mov edx, 0x47
mov rcx, r14
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
mov r12d, eax
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d10c7
movsxd rax, dword [rsp + 0xcc]
shl rax, 5
add rax, qword [r14 + 0x88]
mov dword [rax + 8], edx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov r8d, dword [rsp + 0xa8]
mov dword [rsp + 0x178], 0
call sym.sqlite3VdbeAddOp3
cmp byte [rsi + 0x22], 0x58
mov dword [rsp + 0x60], eax
je 0x1400d30e4
xor r9d, r9d
xor r8d, r8d
cmp byte [rsi + 0x21], 0x56
mov edx, 3
mov rcx, rdi
je 0x1400d26f7
call sym.windowCodeOp
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r9d, 1
mov ebp, dword [r14 + 0x90]
call sym.windowCodeOp
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
mov ebx, eax
call sym.windowCodeOp
xor r8d, r8d
mov edx, 9
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rax, qword [r14]
mov edx, dword [r14 + 0x90]
cmp byte [rax + 0x67], 0
jne 0x1400d2295
mov rax, qword [r14 + 0x88]
movsxd rcx, ebx
shl rcx, 5
mov dword [rax + rcx + 8], edx
movsxd rdi, dword [rsp + 0x60]
shl rdi, 5
add rax, rdi
mov dword [rax + 8], edx
xor r9d, r9d
mov edx, 0x92
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0x88]
call sym.sqlite3VdbeAddOp3
cmp qword [rsi + 0x10], 0
je 0x1400d1220
mov r9d, dword [rsi + 0x84]
test r9d, r9d
jne 0x1400d2815
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d1200
movsxd rax, r12d
shl rax, 5
add rax, qword [r14 + 0x88]
mov dword [rax + 4], edx
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov edx, 0x43
mov dword [rsp + 0x20], 0
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, r13
mov edx, 9
mov r9d, dword [rsp + 0x80]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0xc0]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1400d2808
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
lea rdx, str.inner_loop_subroutine
mov rcx, r13
call sym.sqlite3VdbeNoopComment
mov eax, dword [rsp + 0x80]
mov rdx, r15
mov esi, dword [rsp + 0xbc]
mov rcx, qword [rsp + 0x210]
mov r8d, 0xffffffff
lea r9, [rsp + 0xf0]
mov dword [rsp + 0x110], 0
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x220]
mov dword [rsp + 0x30], esi
not esi
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x20], rax
call sym.selectInnerLoop
mov rcx, qword [r13 + 0x18]
movsxd r8, esi
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1400d26ea
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
mov dword [rax + r8*4], edx
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x43
mov rcx, r13
mov r8d, dword [rsp + 0x98]
call sym.sqlite3VdbeAddOp3
mov rcx, r13
lea rdx, str.end_inner_loop_subroutine
call sym.sqlite3VdbeComment
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0x80]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
not r8d
js 0x1400d26c8
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
xor r14d, r14d
cmp byte [rsp + 0xe5], 3
je 0x1400d22a7
cmp qword [rsp + 0xf0], 0
je 0x1400d139e
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x210]
lea r8, [rsp + 0xf0]
mov rdx, r15
mov r9d, dword [rax]
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x20], rax
call sym.generateSortTail
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0x78]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1400d2144
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rax, qword [rsp + 0x210]
mov r10d, dword [rax + 0x30]
xor eax, eax
test r10d, r10d
setg al
test r14, r14
je 0x1400cf4e8
mov rcx, qword [rsp + 0x48]
mov rdx, r14
mov dword [rsp + 0x50], eax
call sym.exprListDeleteNN
mov eax, dword [rsp + 0x50]
jmp 0x1400cf4e8
mov r9d, dword [rbp + 0x68]
xor r8d, r8d
mov rcx, rsi
mov edx, 0x47
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp + 0x68]
xor r8d, r8d
mov edx, 0x47
mov dword [rsp + 0x20], 0
mov rcx, rsi
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
jmp 0x1400d0e16
mov eax, dword [rbx + 0x38]
mov edx, 9
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
add eax, 1
mov dword [rbx + 0x38], eax
mov dword [rdi + 0x3c], eax
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
lea r10d, [rax + 1]
mov dword [rsp + 0x78], eax
lea rax, [rbp + rbp*2]
lea rax, [rbp + rax*4]
mov dword [rdi + 0x38], r10d
lea rdx, [rsi + rax*8 + 0x30]
movzx eax, byte [rdx + 0x18]
or eax, 0x10
mov byte [rdx + 0x18], al
test al, 8
jne 0x1400d1e9f
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf
mov rcx, r15
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x90], r10d
call sym.sqlite3VdbeAddOp3
mov r8, qword [rsp + 0x50]
lea rdx, str.materialize___S
mov rcx, r15
mov dword [rsp + 0x80], eax
call sym.sqlite3VdbeComment
mov eax, dword [rdi + 0x4c]
mov r9, qword [rsp + 0x50]
mov rcx, rbx
lea r8, str.MATERIALIZE___S
mov edx, 1
mov byte [rsp + 0x150], 0xc
mov dword [rsp + 0x154], eax
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x158], 0
mov dword [rsp + 0x160], 0
call sym.sqlite3VdbeExplain
mov r8, qword [rsp + 0x60]
mov rdx, r12
mov rcx, rbx
call sym.sqlite3Select
mov rax, qword [rdi + 0x28]
mov r11d, dword [rsp + 0x80]
movzx edx, word [r12 + 2]
mov r10d, dword [rsp + 0x90]
test r11d, r11d
mov word [rax + 0x3a], dx
je 0x1400d157a
mov rcx, qword [r15]
mov edx, dword [r15 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d1577
movsxd rax, r11d
shl rax, 5
add rax, qword [r15 + 0x88]
mov dword [rax + 8], edx
mov r8d, dword [rdi + 0x3c]
mov r9d, r10d
mov edx, 0x43
mov rcx, r15
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov r8, qword [rsp + 0x50]
lea rdx, str.end___S
mov rcx, r15
call sym.sqlite3VdbeComment
mov rcx, qword [r15]
mov edx, dword [r15 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d15d1
movsxd rax, dword [rsp + 0x78]
shl rax, 5
add rax, qword [r15 + 0x88]
mov dword [rax + 8], edx
lea rax, [rbp + rbp*2]
lea rax, [rbp + rax*4]
mov byte [rbx + 0x1f], 0
mov dword [rbx + 0x28], 0
movzx eax, word [rsi + rax*8 + 0x48]
and ax, 0x108
cmp ax, 0x100
jne 0x1400cfae8
mov rdx, qword [rdi + 0x38]
mov rax, qword [rdi + 0x68]
mov qword [rax + 4], rdx
mov edx, dword [rdi + 0x4c]
mov dword [rax + 0xc], edx
movzx edx, word [r12 + 2]
mov word [rax + 0x10], dx
jmp 0x1400cfae8
test ah, 0x80
jne 0x1400cf9af
lea rax, [sym.sqlite3SelectWalkNoop]
lea rdi, [sym.propagateConstantExprRewrite]
pxor xmm7, xmm7
mov rbp, qword [rsp + 0x210]
movq xmm3, rax
mov rax, qword [rsp + 0x210]
movq xmm6, rdi
lea r8, [rsp + 0x120]
punpcklqdq xmm6, xmm3
lea rdi, [rsp + 0x150]
mov rbx, r8
mov qword [rsp + 0x120], rax
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
add rax, 0x67
mov qword [rsp + 0x128], rax
jmp 0x1400d16a5
mov r14d, dword [rsp + 0x134]
test r14d, r14d
je 0x1400d2187
mov rcx, qword [r15 + 0x30]
mov rdx, qword [r15 + 0x28]
mov eax, 1
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x140], 0
mov dword [rsp + 0x138], 0
test rdx, rdx
je 0x1400d16ef
mov r8d, dword [rdx]
test r8d, r8d
jle 0x1400d16ef
movzx eax, byte [rdx + 0x44]
and eax, 0x40
cmp al, 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 3
mov rdx, rcx
mov rcx, rbx
mov dword [rsp + 0x13c], eax
call sym.findConstInWhere
mov eax, dword [rsp + 0x130]
test eax, eax
je 0x1400d1690
mov rdx, qword [r15 + 0x30]
mov qword [rsp + 0x150], rbp
mov qword [rsp + 0x178], rbx
movups xmmword [rsp + 0x168], xmm7
movups xmmword [rsp + 0x158], xmm6
test rdx, rdx
je 0x1400d173d
mov rcx, rdi
call sym.sqlite3WalkExprNN
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rax]
test rdx, rdx
je 0x1400d1690
call sym.sqlite3DbFreeNN
jmp 0x1400d1690
mov rax, qword [rsi + 0x28]
mov r8, qword [rax]
jmp 0x1400cf94d
mov rcx, qword [r15 + 0x20]
mov edx, dword [rcx]
lea rax, [rcx + 8]
test edx, edx
jle 0x1400d17a1
sub edx, 1
shl rdx, 5
lea rdx, [rcx + rdx + 0x28]
nop dword [rax]
xor r9d, r9d
add rax, 0x20
mov word [rax - 6], r9w
cmp rax, rdx
jne 0x1400d1790
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax]
add rax, 8
test ecx, ecx
jle 0x1400d17d9
mov rdi, qword [rsp + 0x50]
lea edx, [rcx - 1]
shl rdx, 5
lea rdx, [rdi + rdx + 0x28]
nop word [rax + rax]
xor r8d, r8d
add rax, 0x20
mov word [rax - 6], r8w
cmp rax, rdx
jne 0x1400d17c8
cmp word [r15 + 2], 0x42
jle 0x1400d17eb
mov eax, 0x42
mov word [r15 + 2], ax
test r14, r14
je 0x1400d17f9
cmp dword [r14], ecx
je 0x1400d25be
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], 0
sub eax, 1
mov dword [rsp + 0x6c], eax
mov ebx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x48]
mov edx, 0x38
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x44], ebx
call sym.sqlite3DbMallocRawNN
mov rbp, rax
test rax, rax
je 0x1400d18a9
pxor xmm0, xmm0
mov qword [rax + 0x30], 0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400d2286
mov edx, 0x18
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1400d350b
mov rbx, qword [rsp + 0x210]
mov rdx, qword [rbx + 0xc8]
mov qword [rax], rdx
mov qword [rbx + 0xc8], rax
lea rbx, [sym.agginfoFree]
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbx
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x67]
mov byte [rsp + 0x88], al
test al, al
jne 0x1400cf4de
mov eax, dword [r15 + 0x10]
mov rbx, qword [rsp + 0x50]
pxor xmm6, xmm6
lea rdi, [rsp + 0x150]
mov dword [rbp + 0x34], eax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x158], rsi
mov qword [rsp + 0x150], rax
mov qword [rsp + 0x160], rbp
movups xmmword [rsp + 0x168], xmm6
movups xmmword [rsp + 0x178], xmm6
test rbx, rbx
je 0x1400d2686
mov eax, dword [rbx]
mov rdx, qword [rsp + 0x58]
mov qword [rbp + 0x10], rbx
mov rcx, rdi
mov word [rbp + 2], ax
call sym.sqlite3ExprAnalyzeAggList
mov rdx, r14
mov rcx, rdi
call sym.sqlite3ExprAnalyzeAggList
cmp qword [rsp + 0x80], 0
je 0x1400d1a0c
mov rax, qword [rsp + 0x210]
mov rdx, qword [r15 + 0x40]
mov qword [rsp + 0x140], 0
lea r8, [rsp + 0x120]
mov qword [rsp + 0x148], r15
mov qword [rsp + 0x120], rax
lea rax, [sym.havingToWhereExprCb]
mov qword [rsp + 0x128], rax
movups xmmword [rsp + 0x130], xmm6
test rdx, rdx
je 0x1400d19a1
mov rcx, r8
mov qword [rsp + 0x60], r8
call sym.sqlite3WalkExprNN
mov r8, qword [rsp + 0x60]
mov rax, qword [r15 + 0x30]
mov qword [rsp + 0x60], rax
lea rax, [sym.sqlite3WalkerDepthIncrease]
lea rbx, [sym.analyzeAggregate]
mov rcx, r8
mov rdx, qword [rsp + 0x80]
movq xmm4, rax
movq xmm0, rbx
lea rax, [sym.sqlite3WalkerDepthDecrease]
mov dword [rsp + 0x140], 0
punpcklqdq xmm0, xmm4
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0x120], 0
movups xmmword [rsp + 0x128], xmm0
call sym.sqlite3WalkExprNN
mov eax, dword [rbp + 0x20]
xor r14d, r14d
cmp qword [r15 + 0x38], 0
mov dword [rbp + 0x24], eax
je 0x1400d26d5
mov rdx, rdi
mov rcx, rbp
call sym.analyzeAggFuncArgs
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x67], 0
jne 0x1400d22e0
cmp qword [rsp + 0x50], 0
mov edx, dword [rbp + 0x30]
je 0x1400d3142
cmp edx, 1
je 0x1400d3557
xor eax, eax
mov word [rsp + 0xb0], ax
mov rax, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x210]
xor r8d, r8d
mov r9d, dword [rbp + 0x20]
mov eax, dword [rax + 0x34]
mov rcx, rbx
lea edx, [rax + 1]
mov dword [rbx + 0x34], edx
mov rdx, qword [rsp + 0x50]
mov dword [rbp + 4], eax
call sym.sqlite3KeyInfoFromExprList
movzx r9d, word [rbp + 2]
mov r8d, dword [rbp + 4]
mov rcx, r13
mov dword [rsp + 0x30], 0xfffffff8
mov edx, 0x77
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0xc0], rax
call sym.sqlite3VdbeAddOp4
mov r8, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0xd8], eax
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x38]
lea ebx, [rax + 1]
lea r11d, [rax + 2]
mov dword [rsp + 0xa0], ebx
lea ebx, [rax + 3]
mov dword [rsp + 0xa8], ebx
mov rbx, qword [rsp + 0x210]
mov dword [rsp + 0xbc], r11d
mov ebx, dword [rbx + 0x44]
lea r10d, [rbx - 1]
mov dword [rsp + 0xdc], ebx
sub ebx, 2
mov dword [r8 + 0x44], ebx
mov dword [rsp + 0xc8], r10d
lea r10d, [rax + 4]
mov dword [rsp + 0xb4], ebx
lea ebx, [rax + 5]
mov eax, dword [rcx]
mov rcx, r13
mov dword [rsp + 0xac], r10d
lea edx, [r10 + rax]
mov dword [rsp + 0xd0], ebx
add eax, edx
lea r9d, [rdx + 1]
mov edx, 0x47
mov dword [r8 + 0x38], eax
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov dword [rsp + 0xb8], r9d
mov r9d, r11d
call sym.sqlite3VdbeAddOp3
lea rdx, str.clear_abort_flag
mov rcx, r13
call sym.sqlite3VdbeComment
mov rcx, qword [rsp + 0x50]
mov r9d, ebx
xor r8d, r8d
mov edx, 0x4b
mov eax, dword [rcx]
mov rcx, r13
add eax, ebx
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xb4]
mov r8d, dword [rsp + 0xac]
call sym.sqlite3VdbeAddOp3
mov eax, 0x40
movzx ebx, byte [rsp + 0xe4]
mov edx, pe_nt_image_headers64
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov dword [rsp + 0x38], 0
cmp bl, 2
mov qword [rsp + 0x28], r15
mov rcx, qword [rsp + 0x210]
cmovne edx, eax
movzx eax, word [rsp + 0x94]
shl eax, 9
or eax, edx
or ax, word [rsp + 0xb0]
mov rdx, rsi
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov qword [rsp + 0x88], rax
test rax, rax
je 0x1400d22c9
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x60], 0
je 0x1400d1c9f
movsxd rcx, dword [rbp + 0x24]
cmp word [rbp + 2], 0
mov dword [rbp + 0x20], ecx
je 0x1400d1c94
mov rax, qword [r15 + 0x38]
mov edx, dword [rax]
sub edx, 1
test ecx, ecx
jle 0x1400d1c8d
imul rcx, rcx, 0x18
mov rax, qword [rbp + 0x18]
add rax, 0x16
add rcx, rax
movsx r8d, word [rax]
cmp edx, r8d
cmovl edx, r8d
add rax, 0x18
cmp rax, rcx
jne 0x1400d1c79
add edx, 1
mov word [rbp + 2], dx
mov rdx, rdi
mov rcx, rbp
call sym.analyzeAggFuncArgs
mov rax, qword [rsp + 0x210]
mov rsi, qword [rsp + 0x210]
mov edx, dword [rax + 0x38]
lea eax, [rdx + 1]
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x30]
add eax, dword [rbp + 0x20]
add eax, edx
xor edx, edx
mov dword [rsi + 0x38], eax
mov rax, qword [rsp + 0x88]
movzx esi, byte [rax + 0x43]
movsx eax, byte [rax + 0x41]
mov dword [rsp + 0xcc], esi
mov rsi, qword [rsp + 0x50]
test al, al
cmovs eax, edx
cmp dword [rsi], eax
je 0x1400d35f6
lea r9, str.GROUP_BY
test bl, bl
je 0x1400d1d09
test byte [r15 + 4], 1
lea rax, str.DISTINCT
cmove r9, rax
mov rcx, qword [rsp + 0x210]
xor edx, edx
lea r8, str.USE_TEMP_B_TREE_FOR__s
call sym.sqlite3VdbeExplain
mov rax, qword [rsp + 0x50]
movsxd rdx, dword [rbp + 0x20]
mov edi, dword [rax]
test edx, edx
jle 0x1400d3b67
imul rdx, rdx, 0x18
mov rax, qword [rbp + 0x18]
mov esi, edi
add rax, 0x16
add rdx, rax
movsx ecx, word [rax]
cmp esi, ecx
setle cl
add rax, 0x18
movzx ecx, cl
add esi, ecx
cmp rax, rdx
jne 0x1400d1d43
mov rcx, qword [rsp + 0x210]
mov edx, esi
call sym.sqlite3GetTempRange
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x210]
xor r9d, r9d
mov r12d, eax
xor eax, eax
mov dword [rsp + 0x20], eax
mov r8d, r12d
call sym.sqlite3ExprCodeExprList.isra.0
xor eax, eax
cmp dword [rbp + 0x20], 0
mov byte [rbp], 1
jle 0x1400d28ba
mov qword [rsp + 0x218], r15
mov rbx, rax
mov r15d, esi
mov rsi, qword [rsp + 0x218]
jmp 0x1400d1dbe
add rbx, 1
cmp dword [rbp + 0x20], ebx
jle 0x1400d28a7
mov rdx, qword [rbp + 0x18]
lea rax, [rbx + rbx*2]
lea rax, [rdx + rax*8]
movsx edx, word [rax + 0x16]
cmp edx, edi
jl 0x1400d1db1
mov rcx, qword [rsp + 0x210]
cmp qword [rcx + 0x10], 0
je 0x1400d1dee
mov rdx, qword [rax + 8]
lea r8d, [r12 + rdi]
call sym.sqlite3ExprCode.part.0
add edi, 1
jmp 0x1400d1db1
mov rax, qword [rsp + 0x210]
mov rdx, qword [r15 + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rsp + 0x210]
mov edi, dword [rax + 0x34]
mov rcx, rbx
lea eax, [rdi + 1]
mov dword [rsp + 0xe8], edi
mov dword [rbx + 0x34], eax
call sym.sqlite3KeyInfoFromExprList
xor r9d, r9d
mov r8d, edi
mov edx, 0x76
mov dword [rsp + 0x30], 0xfffffff8
mov rcx, r13
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp4
mov dword [rsp + 0xec], eax
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x1400d1e73
shl rax, 5
mov edx, 8
add rax, qword [r13 + 0x88]
mov word [rax - 0x1e], dx
mov eax, 3
jmp 0x1400d0209
mov rdi, qword [rsp + 0x50]
jmp 0x1400cfbc8
cmp qword [rsp + 0x50], 0
jne 0x1400d176f
xor eax, eax
mov word [r15 + 2], ax
jmp 0x1400d17f9
mov r8, qword [rsp + 0x50]
lea rdx, str.materialize___S
mov rcx, r15
mov dword [rsp + 0x80], r10d
call sym.sqlite3VdbeNoopComment
mov eax, dword [rdi + 0x4c]
mov r9, qword [rsp + 0x50]
mov rcx, rbx
lea r8, str.MATERIALIZE___S
mov edx, 1
mov byte [rsp + 0x150], 0xc
mov dword [rsp + 0x154], eax
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x158], 0
mov dword [rsp + 0x160], 0
call sym.sqlite3VdbeExplain
mov r8, qword [rsp + 0x60]
mov rdx, r12
mov rcx, rbx
call sym.sqlite3Select
mov rax, qword [rdi + 0x28]
movzx edx, word [r12 + 2]
mov r10d, dword [rsp + 0x80]
mov word [rax + 0x3a], dx
jmp 0x1400d157a
mov qword [rsp + 0xf0], 0
mov edx, dword [rsp + 0x108]
test edx, edx
js 0x1400d0923
mov rcx, r13
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1400d0923
mov rdx, qword [rsp + 0x58]
mov r8d, 0xffffffff
mov rcx, r14
call sym.sqlite3ExprListCompare
test eax, eax
jne 0x1400d00e9
cmp qword [r15 + 0x70], 0
jne 0x1400d00e9
and dword [r15 + 4], 0xfffffffe
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x48]
call sym.sqlite3ExprListDup
or dword [r15 + 4], 8
mov qword [rsp + 0x50], rax
mov qword [r15 + 0x38], rax
mov byte [rsp + 0xe4], 2
jmp 0x1400d00e9
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x220]
mov edx, 0x76
mov rcx, r13
mov r9d, dword [rbx]
mov dword [rsp + 0x20], 0
mov r8d, dword [rax + 4]
call sym.sqlite3VdbeAddOp3
mov eax, dword [r15 + 4]
mov edx, eax
test ah, 8
je 0x1400d017e
mov ecx, dword [rbx]
lea r8d, [rcx - 1]
test r8d, r8d
jle 0x1400d2083
movsxd rbp, ecx
mov rax, rbx
mov dword [rsp + 0x78], edi
shl rbp, 5
mov qword [rsp + 0x88], rsi
mov rsi, rax
add rbp, rbx
mov rbx, qword [rsp + 0x48]
mov rdi, rbp
mov ebp, r8d
jmp 0x1400d205e
mov rdx, qword [rdi - 0x18]
test rdx, rdx
je 0x1400d2041
mov rcx, rbx
call sym.sqlite3ExprDeleteNN
mov rdx, qword [rdi - 0x10]
test rdx, rdx
je 0x1400d2052
mov rcx, rbx
call sym.sqlite3DbFreeNN
sub dword [rsi], 1
sub rdi, 0x20
sub ebp, 1
je 0x1400d206c
movsxd rax, ebp
shl rax, 5
test byte [rsi + rax + 0x1c], 0x40
je 0x1400d2030
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov eax, dword [r15 + 4]
mov ecx, dword [rbx]
mov edx, eax
mov r9, qword [rsp + 0x58]
movsxd r8, ecx
xor eax, eax
test ecx, ecx
jle 0x1400d017e
nop word [rax + rax]
movsxd rcx, eax
shl rcx, 5
test byte [r9 + rcx + 0x1c], 0x40
jne 0x1400d20be
mov rcx, rax
shl rcx, 5
mov rcx, qword [r9 + rcx + 8]
mov byte [rcx], 0x79
add rax, 1
cmp r8, rax
jne 0x1400d20a0
jmp 0x1400d017e
mov ecx, 0x18
call sym.sqlite3Malloc
jmp 0x1400cf8b0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, rsi
mov edx, 0x92
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbp + 0x68]
xor r8d, r8d
mov edx, 0x47
mov dword [rsp + 0x20], 0
mov rcx, rsi
lea r9d, [rax + 1]
call sym.sqlite3VdbeAddOp3
jmp 0x1400d0e30
cmp al, 0x56
jne 0x1400d0f1c
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov edx, 0x24
mov rcx, r14
mov r8d, dword [rsp + 0xdc]
call sym.sqlite3VdbeAddOp3
jmp 0x1400d0f24
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d13c8
cmp qword [rax + 0xb0], 0
je 0x1400d34d9
mov rcx, rax
call sym.sqlite3VdbeCreate
mov rcx, rax
jmp 0x1400d0d97
mov dword [rsp + 0x70], 0
mov dword [rsp + 0xcc], 0
jmp 0x1400d0d1b
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x60]
jmp 0x1400cf9af
cmp qword [rdi + 0xb0], 0
je 0x1400d3541
mov rcx, qword [rsp + 0x210]
call sym.sqlite3VdbeCreate
mov r14, rax
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x90], eax
jmp 0x1400d09b6
mov rsi, qword [rsp + 0x60]
mov r8d, 0xffffffff
mov rdx, r15
mov rcx, qword [rsp + 0x210]
lea r9, [rsp + 0xf0]
mov eax, dword [rsi + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsi + 0x30]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x20], rax
call sym.selectInnerLoop
mov rcx, rsi
call sym.sqlite3WhereEnd
jmp 0x1400d1355
mov dword [rsp + 0x20], 0
mov r9d, 2
mov edx, 0x76
mov rcx, r12
call sym.sqlite3VdbeAddOp3
mov rax, qword [r12]
cmp byte [rax + 0x67], 0
je 0x1400d0447
jmp 0x1400d0468
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0xb0], 0
je 0x1400d3523
mov rcx, qword [rsp + 0x210]
mov dword [rsp + 0x70], r9d
call sym.sqlite3VdbeCreate
mov r9d, dword [rsp + 0x70]
mov qword [rsp + 0x50], rax
jmp 0x1400d0281
mov ecx, 0x18
call sym.sqlite3Malloc
jmp 0x1400d1878
mov dword [0x14018a248], edx
lea rax, [0x14018a240]
jmp 0x1400d11a1
lea r9, str.DISTINCT
mov rcx, qword [rsp + 0x210]
lea r8, str.USE_TEMP_B_TREE_FOR__s
xor edx, edx
call sym.sqlite3VdbeExplain
jmp 0x1400d1366
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400d22e0
mov rcx, qword [rsp + 0x48]
mov rdx, rax
call sym.exprListDeleteNN
mov eax, 1
jmp 0x1400d13dc
mov r8d, dword [rsp + 0x6c]
xor r9d, r9d
mov edx, 0x3b
mov rcx, r14
mov dword [rsp + 0x20], 1
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov ebx, eax
call sym.windowCodeOp
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
call sym.windowCodeOp
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d2356
movsxd rax, ebx
shl rax, 5
add rax, qword [r14 + 0x88]
mov dword [rax + 8], edx
mov rcx, qword [r14 + 0x18]
jmp 0x1400d1043
mov r9d, dword [rsi + 0x84]
test r9d, r9d
jne 0x1400d23c1
mov rcx, rsi
lea r10, str.first_value
lea r9, str.nth_value
lea r8, str.lead
lea r11, [0x140173fa8]
jmp 0x1400d23a1
cmp rdx, r11
je 0x1400d23c1
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x1400d346a
mov rax, qword [rcx + 0x50]
mov rdx, qword [rax + 0x38]
cmp rdx, r9
sete al
cmp rdx, r10
sete bl
or eax, ebx
cmp rdx, r8
sete bl
or al, bl
je 0x1400d238f
mov rax, qword [rsp + 0x210]
mov edi, dword [rsp + 0x70]
mov eax, dword [rax + 0x38]
lea ebp, [rax + 1]
add eax, edi
lea edi, [rax + 1]
add eax, 2
mov dword [rsp + 0x94], edi
mov rdi, qword [rsp + 0x210]
mov dword [rsp + 0xb4], eax
mov dword [rdi + 0x38], eax
mov dword [rsp + 0x178], eax
xor eax, eax
mov dword [rsp + 0x50], eax
jmp 0x1400d0aee
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xd8], 0
mov byte [rsp + 0xc8], 0
jmp 0x1400d0bbe
cmp byte [rsi + 0x20], 0x59
jne 0x1400d3488
mov rax, qword [rsp + 0x210]
mov edi, dword [rsp + 0x70]
mov eax, dword [rax + 0x38]
lea ebp, [rax + 1]
add eax, edi
lea edi, [rax + 1]
mov dword [rsp + 0x94], edi
lea edi, [rax + 2]
mov dword [rsp + 0xb4], edi
mov dword [rsp + 0x178], edi
jmp 0x1400d0adc
cmp qword [rax + 0x308], 0
jne 0x1400d0468
sub dword [rsi], 1
jne 0x1400d0468
mov rcx, qword [rsi + 0x10]
mov rdx, rsi
call sym.sqlite3DbNNFreeNN
jmp 0x1400d0468
mov rbx, qword [rsp + 0xa0]
mov ebp, dword [rsp + 0xb8]
mov edx, 0x50
mov rcx, r14
mov r8d, dword [rsp + 0xd8]
mov eax, dword [rbx]
mov r9d, ebp
mov dword [rsp + 0x94], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx]
mov r8d, ebp
mov edx, 0x50
mov r9d, dword [rsp + 0x180]
mov rcx, r14
mov dword [rsp + 0x94], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx]
mov r8d, ebp
mov edx, 0x50
mov r9d, dword [rsp + 0x188]
mov rcx, r14
mov dword [rsp + 0x94], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx]
mov r8d, ebp
mov edx, 0x50
mov r9d, dword [rsp + 0x190]
mov rcx, r14
mov dword [rsp + 0x94], eax
sub eax, 1
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov edx, 9
mov rcx, r14
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xac]
call sym.sqlite3VdbeAddOp3
mov rax, qword [r14]
mov edx, dword [r14 + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400d0fa9
mov dword [0x14018a248], edx
mov eax, dword [rsp + 0xac]
mov r9d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0xd8]
mov rdx, qword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x210]
call sym.windowIfNewPeer
jmp 0x1400d0fce
test ecx, ecx
jle 0x1400d25ed
shl rcx, 5
mov r8, qword [rsp + 0x50]
mov eax, 0x18
add rcx, 0x18
nop dword [rax]
movzx edx, byte [r14 + rax]
and edx, 1
mov byte [r8 + rax], dl
add rax, 0x20
cmp rax, rcx
jne 0x1400d25d8
mov rcx, qword [rsp + 0x50]
mov r8d, 0xffffffff
mov rdx, r14
call sym.sqlite3ExprListCompare
test eax, eax
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x90], eax
jne 0x1400d180b
mov dword [rsp + 0x94], 1
sub eax, 1
mov dword [rsp + 0x6c], eax
jmp 0x1400d181d
movzx ebx, word [rsi + 0x20]
mov r8d, dword [rsp + 0x6c]
xor r9d, r9d
mov rcx, rdi
mov edx, 3
call sym.windowCodeOp
xor r9d, r9d
cmp bx, 0x5859
jne 0x1400d101a
mov r8d, dword [rsp + 0x50]
mov edx, 2
mov rcx, rdi
call sym.windowCodeOp
mov rcx, rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 1
call sym.windowCodeOp
mov rcx, qword [r14 + 0x18]
jmp 0x1400d1043
xor edx, edx
mov qword [rbp + 0x10], 0
mov rcx, rdi
mov word [rbp + 2], dx
mov rdx, qword [rsp + 0x58]
call sym.sqlite3ExprAnalyzeAggList
mov rdx, r14
mov rcx, rdi
call sym.sqlite3ExprAnalyzeAggList
cmp qword [rsp + 0x80], 0
je 0x1400d1a0c
lea r8, [rsp + 0x120]
jmp 0x1400d19aa
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d1355
mov r14, qword [r15 + 0x40]
test r14, r14
je 0x1400d38d6
xor r14d, r14d
jmp 0x1400d1a20
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d12f9
call sym.windowCodeOp
cmp byte [rsi + 0x20], 0x59
je 0x1400d384f
cmp byte [rsi + 0x22], 0x5a
mov ebp, dword [r14 + 0x90]
mov r9d, 1
je 0x1400d381c
mov r8d, dword [rsp + 0x6c]
mov edx, 1
mov rcx, rdi
call sym.windowCodeOp
mov r8d, dword [rsp + 0x50]
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x6c], eax
call sym.windowCodeOp
mov ebx, eax
mov r9d, ebp
xor r8d, r8d
mov edx, 9
mov rcx, r14
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
mov rdx, qword [r14]
mov ebp, dword [r14 + 0x90]
lea rax, [0x14018a240]
cmp byte [rdx + 0x67], 0
jne 0x1400d278d
movsxd rax, ebx
shl rax, 5
add rax, qword [r14 + 0x88]
mov dword [rax + 8], ebp
xor r8d, r8d
mov r9d, 1
mov rcx, rdi
mov edx, 1
call sym.windowCodeOp
xor r8d, r8d
mov edx, 9
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov rcx, r14
mov ebx, eax
call sym.sqlite3VdbeAddOp3
mov rax, qword [r14]
mov edx, dword [r14 + 0x90]
cmp byte [rax + 0x67], 0
jne 0x1400d2295
movsxd rcx, dword [rsp + 0x6c]
mov rax, qword [r14 + 0x88]
shl rcx, 5
mov dword [rax + rcx + 8], edx
movsxd rcx, ebx
shl rcx, 5
mov dword [rax + rcx + 8], edx
jmp 0x1400d1195
mov rdx, r14
call sym.resizeResolveLabel
jmp 0x1400d106c
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d126d
mov dword [rsp + 0x20], 0
mov rcx, r14
mov r8d, 1
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
xor r8d, r8d
mov edx, 0x47
mov rcx, r14
mov r9d, dword [rsi + 0x88]
mov dword [rsp + 0x20], 0
call sym.sqlite3VdbeAddOp3
jmp 0x1400d11db
cmp byte [rsi + 0x20], 0x59
je 0x1400d211f
cmp dword [rsp + 0x6c], 0
je 0x1400d211f
mov eax, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x6c]
mov edx, 0x6b
mov rcx, r14
mov dword [rsp + 0x20], eax
mov r8d, eax
call sym.sqlite3VdbeAddOp3
movzx eax, byte [rsi + 0x21]
jmp 0x1400d0f1c
mov rax, qword [rsp + 0x210]
mov rdx, rbx
mov rcx, qword [rax]
call sym.exprListDeleteNN
jmp 0x1400cf8e1
mov qword [rsp + 0x218], rsi
mov esi, r15d
mov r15, qword [rsp + 0x218]
mov rax, qword [rsp + 0x210]
mov byte [rbp], 0
movzx eax, byte [rax + 0x1f]
test al, al
je 0x1400d37fa
mov rdi, qword [rsp + 0x210]
sub eax, 1
mov byte [rdi + 0x1f], al
movzx eax, al
mov edi, dword [rdi + rax*4 + 0xe8]
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8d, r12d
mov edx, 0x61
mov rcx, r13
xor ebx, ebx
call sym.sqlite3VdbeAddOp3
mov r8d, dword [rbp + 4]
mov dword [rsp + 0x20], ebx
mov r9d, edi
mov edx, 0x8b
mov rcx, r13
call sym.sqlite3VdbeAddOp3
test edi, edi
je 0x1400d2944
mov rax, qword [rsp + 0x210]
movzx eax, byte [rax + 0x1f]
cmp al, 7
ja 0x1400d2944
mov rbx, qword [rsp + 0x210]
lea edx, [rax + 1]
mov byte [rbx + 0x1f], dl
mov dword [rbx + rax*4 + 0xe8], edi
mov rcx, qword [rsp + 0x210]
mov r8d, esi
mov edx, r12d
call sym.sqlite3ReleaseTempRange
mov rcx, qword [rsp + 0x88]
call sym.sqlite3WhereEnd
mov rax, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x210]
mov edi, dword [rax + 0x34]
lea eax, [rdi + 1]
mov dword [rsp + 0x60], edi
mov dword [rbx + 0x34], eax
mov dword [rbp + 8], edi
movzx eax, byte [rbx + 0x1f]
test al, al
je 0x1400d37e5
mov rdi, qword [rsp + 0x210]
sub eax, 1
mov byte [rdi + 0x1f], al
movzx eax, al
mov eax, dword [rdi + rax*4 + 0xe8]
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x20], esi
mov r9d, dword [rsp + 0x98]
mov edx, 0x79
mov rcx, r13
mov r8d, dword [rsp + 0x60]
mov r12d, 1
call sym.sqlite3VdbeAddOp3
xor r11d, r11d
mov r8d, dword [rbp + 4]
mov rcx, r13
mov dword [rsp + 0x20], r11d
mov r9d, dword [rsp + 0x6c]
mov edx, 0x22
call sym.sqlite3VdbeAddOp3
lea rdx, str.GROUP_BY_sort
mov rcx, r13
call sym.sqlite3VdbeComment
mov byte [rbp + 1], 1
mov rax, qword [rsp + 0x210]
cmp qword [rax + 0x60], 0
je 0x1400d2a65
lea r8, [rsp + 0x120]
xor eax, eax
mov ecx, 0xc
xor esi, esi
mov rdi, r8
rep stosd dword [rdi], eax
lea rax, [sym.aggregateIdxEprRefToColCallback]
mov qword [rsp + 0x128], rax
cmp dword [rbp + 0x30], 0
jle 0x1400d2a65
mov rbx, r8
mov rax, rsi
shl rax, 5
add rax, qword [rbp + 0x28]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d2a5c
mov rcx, rbx
call sym.sqlite3WalkExprNN
add rsi, 1
cmp dword [rbp + 0x30], esi
jg 0x1400d2a41
mov r9d, dword [rsp + 0x94]
test r9d, r9d
je 0x1400d2fd0
mov rax, qword [rsp + 0x48]
test byte [rax + 0x60], 4
jne 0x1400d2fd0
test r12d, r12d
jne 0x1400d3ac7
mov rax, qword [rsp + 0x88]
test byte [rax + 0x44], 8
je 0x1400d2ab6
mov edx, dword [rsp + 0x108]
xor r8d, r8d
mov rcx, r13
mov qword [rsp + 0xf0], r8
call sym.sqlite3VdbeChangeToNoop.isra.0
mov edi, dword [r13 + 0x90]
mov rbx, qword [rsp + 0x50]
mov eax, dword [rbx]
test eax, eax
jle 0x1400d2b4e
xor esi, esi
mov dword [rsp + 0x94], edi
mov qword [rsp + 0x98], r14
mov rdi, rsi
mov r14, qword [rsp + 0x210]
mov esi, dword [rsp + 0xb8]
jmp 0x1400d2b15
mov dword [rsp + 0x20], r8d
mov r8d, dword [rsp + 0x60]
mov r9d, edi
mov rcx, r13
mov edx, 0x5e
call sym.sqlite3VdbeAddOp3
mov eax, dword [rbx]
add rdi, 1
cmp eax, edi
jle 0x1400d2b3f
lea r8d, [rsi + rdi]
test r12d, r12d
jne 0x1400d2af1
mov byte [rbp], 1
cmp qword [r14 + 0x10], 0
je 0x1400d2b0b
mov rax, rdi
mov rcx, r14
shl rax, 5
mov rdx, qword [rbx + rax + 8]
call sym.sqlite3ExprCode.part.0
jmp 0x1400d2b0b
mov edi, dword [rsp + 0x94]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0xc0]
test rsi, rsi
je 0x1400d2b5e
add dword [rsi], 1
mov rsi, qword [rsp + 0xc0]
mov dword [rsp + 0x20], eax
mov edx, 0x5a
mov rcx, r13
mov ebx, dword [rsp + 0xd0]
mov dword [rsp + 0x30], 0xfffffff8
mov qword [rsp + 0x28], rsi
mov r9d, dword [rsp + 0xb8]
mov r8d, ebx
call sym.sqlite3VdbeAddOp4
xor r9d, r9d
mov edx, 0xe
mov rcx, r13
mov esi, dword [r13 + 0x90]
lea r8d, [rsi + 1]
mov dword [rsp + 0x20], r8d
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x210]
mov r9d, ebx
mov r8d, dword [rsp + 0xb8]
mov edx, 0x4f
mov rcx, qword [rax + 0x10]
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xc8]
mov r8d, dword [rsp + 0xa8]
call sym.sqlite3VdbeAddOp3
lea rdx, str.output_one_row
mov rcx, r13
call sym.sqlite3VdbeComment
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x6c]
mov rcx, r13
mov r8d, dword [rsp + 0xbc]
mov edx, 0x3b
call sym.sqlite3VdbeAddOp3
lea rdx, str.check_abort_flag
mov rcx, r13
call sym.sqlite3VdbeComment
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xb4]
mov r8d, dword [rsp + 0xac]
call sym.sqlite3VdbeAddOp3
lea rdx, str.reset_accumulator
mov rcx, r13
call sym.sqlite3VdbeComment
mov rcx, qword [r13]
mov edx, dword [r13 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d2ca1
movsxd rax, esi
shl rax, 5
add rax, qword [r13 + 0x88]
mov dword [rax + 8], edx
mov esi, dword [rsp + 0xa0]
mov r8, rbp
mov r9d, dword [rsp + 0xcc]
mov rcx, qword [rsp + 0x210]
mov edx, esi
call sym.updateAccumulator
mov edx, 0x47
mov rcx, r13
mov r9d, esi
mov dword [rsp + 0x20], 0
mov r8d, 1
call sym.sqlite3VdbeAddOp3
lea rdx, str.indicate_data_in_accumulator
mov rcx, r13
call sym.sqlite3VdbeComment
test r12d, r12d
je 0x1400d34b8
xor edx, edx
mov r8d, dword [rbp + 4]
mov r9d, edi
mov rcx, r13
mov dword [rsp + 0x20], edx
mov edx, 0x25
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400d2d2c
mov rcx, qword [rsp + 0x48]
mov rdx, rax
call sym.exprListDeleteNN
mov esi, dword [rsp + 0xa8]
mov dword [rsp + 0x20], 0
mov edx, 0xa
mov rcx, r13
mov r9d, dword [rsp + 0xc8]
mov r8d, esi
call sym.sqlite3VdbeAddOp3
lea rdx, str.output_final_row
mov rcx, r13
call sym.sqlite3VdbeComment
mov edx, dword [rsp + 0x6c]
mov rcx, r13
call sym.sqlite3VdbeGoto.isra.0
mov edi, dword [r13 + 0x90]
mov r8d, 1
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xbc]
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
lea rdx, str.set_abort_flag
mov rcx, r13
call sym.sqlite3VdbeComment
xor r9d, r9d
mov r8d, esi
mov rcx, r13
mov dword [rsp + 0x20], 0
mov edx, 0x43
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0xdc]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1400d37cb
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov esi, dword [r13 + 0x90]
mov dword [rsp + 0x20], 0
mov edx, 0x3b
mov rcx, r13
mov r8d, dword [rsp + 0xa0]
lea r9d, [rsi + 2]
add esi, 1
call sym.sqlite3VdbeAddOp3
lea rdx, str.Groupby_result_generator_entry_point
mov rcx, r13
call sym.sqlite3VdbeComment
xor r9d, r9d
mov edx, 0x43
mov rcx, r13
mov ebx, dword [rsp + 0xa8]
mov dword [rsp + 0x20], 0
mov r8d, ebx
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x210]
mov rdx, rbp
call sym.finalizeAggFunctions
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x210]
mov r8d, esi
mov r9d, 0x10
call sym.sqlite3ExprIfFalse
mov rax, qword [rsp + 0x220]
mov rdx, r15
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov rcx, qword [rsp + 0x210]
lea r9, [rsp + 0xf0]
mov r8d, 0xffffffff
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x20], rax
call sym.selectInnerLoop
xor r9d, r9d
mov r8d, ebx
mov edx, 0x43
mov dword [rsp + 0x20], 0
mov rcx, r13
call sym.sqlite3VdbeAddOp3
mov rcx, r13
lea rdx, str.end_groupby_result_generator
call sym.sqlite3VdbeComment
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0xb4]
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
not r8d
js 0x1400d37d8
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
mov rcx, qword [rsp + 0x210]
mov rdx, rbp
call sym.resetAccumulator
xor r8d, r8d
mov edx, 0x47
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xa0]
call sym.sqlite3VdbeAddOp3
lea rdx, str.indicate_accumulator_empty
mov rcx, r13
call sym.sqlite3VdbeComment
xor r9d, r9d
mov edx, 0x43
mov rcx, r13
mov dword [rsp + 0x20], 0
mov r8d, dword [rsp + 0xac]
call sym.sqlite3VdbeAddOp3
cmp word [rsp + 0xb0], 0
je 0x1400d2f9e
mov edx, dword [rsp + 0xcc]
test edx, edx
je 0x1400d2f9e
mov rax, qword [rbp + 0x28]
mov rcx, qword [rsp + 0x210]
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
call sym.fixDistinctOpenEph
mov rcx, qword [r13 + 0x18]
mov r8d, dword [rsp + 0x90]
mov eax, dword [rcx + 0x44]
neg r8d
add eax, dword [rcx + 0x48]
js 0x1400d35e9
mov edx, dword [r13 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
jmp 0x1400d1358
mov edi, dword [r13 + 0x90]
test r12d, r12d
je 0x1400d2abd
mov eax, dword [rsp + 0x60]
mov r8d, dword [rbp + 4]
mov edx, 0x85
mov rcx, r13
mov r9d, dword [rsp + 0x98]
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
jmp 0x1400d2abd
mov rax, qword [rsp + 0x210]
xor r10d, r10d
mov rdi, qword [rsp + 0x210]
mov r8d, 1
mov eax, dword [rax + 0x38]
lea r9d, [rax + 1]
add eax, 2
mov dword [rbp + 0x84], r9d
mov dword [rdi + 0x38], eax
mov dword [rbp + 0x88], eax
mov eax, dword [rdi + 0x34]
lea edx, [rax + 1]
mov dword [rdi + 0x34], edx
mov rdi, qword [rsp + 0x50]
mov edx, 0x47
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], r10d
mov rcx, rdi
call sym.sqlite3VdbeAddOp3
xor r11d, r11d
xor r8d, r8d
mov rcx, rdi
mov r9d, dword [rbp + 0x88]
mov dword [rsp + 0x20], r11d
mov edx, 0x47
call sym.sqlite3VdbeAddOp3
xor eax, eax
mov r9d, dword [rbp + 0x58]
mov r8d, dword [rbp + 0x64]
mov dword [rsp + 0x20], eax
mov edx, 0x73
mov rcx, rdi
call sym.sqlite3VdbeAddOp3
jmp 0x1400d084f
imul rdx, rdx, 0x70
mov rsi, qword [rsp + 0x60]
mov edx, dword [rsi + rdx + 0x370]
jmp 0x1400d0913
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, rdi
call sym.windowCodeOp
cmp byte [rsi + 0x22], 0x5a
je 0x1400d2359
cmp byte [rsi + 0x20], 0x59
je 0x1400d3a3f
mov r8d, dword [rsp + 0x6c]
xor r9d, r9d
jmp 0x1400d101d
movzx ebp, word [rsi + 0x20]
mov r8d, dword [rsp + 0x6c]
xor r9d, r9d
mov rcx, rdi
mov edx, 3
call sym.windowCodeOp
cmp bp, 0x5859
je 0x1400d3aad
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call sym.windowCodeOp
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d11a1
mov rax, qword [r14 + 0x88]
jmp 0x1400d1195
cmp qword [r15 + 0x30], 0
jne 0x1400d3b6e
mov rcx, qword [r15 + 0x20]
cmp dword [rcx], 1
jne 0x1400d3b6e
mov rax, qword [r15 + 0x28]
cmp dword [rax], 1
jne 0x1400d3b6e
cmp qword [rax + 0x30], 0
jne 0x1400d3b6e
cmp edx, 1
jne 0x1400d3aec
mov rdi, qword [r15 + 0x40]
test rdi, rdi
jne 0x1400d3dcc
mov rax, qword [rax + 0x28]
cmp byte [rax + 0x3f], 0
mov qword [rsp + 0x70], rax
jne 0x1400d3cf3
mov rcx, qword [rcx + 8]
cmp byte [rcx], 0xa8
jne 0x1400d3cf3
cmp rbp, qword [rcx + 0x38]
mov rax, qword [rbp + 0x28]
jne 0x1400d3cf7
mov r8, qword [rax + 8]
test byte [r8 + 5], 1
je 0x1400d3cf7
test dword [rcx + 4], 0x1000004
jne 0x1400d3cf7
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax + 0x60]
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax]
test rdx, rdx
je 0x1400d3dc1
call sym.sqlite3SchemaToIndex.part.0
mov r12d, eax
mov rax, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x210]
mov edx, r12d
mov rcx, qword [rsp + 0x70]
mov esi, dword [rax + 0x34]
lea eax, [rsi + 1]
mov dword [rbx + 0x34], eax
mov rax, qword [rsp + 0x210]
mov ebx, dword [rcx + 0x28]
mov rcx, qword [rax + 0xb0]
test rcx, rcx
cmove rcx, rax
call sym.sqlite3CodeVerifySchemaAtToplevel
mov rcx, qword [rsp + 0x70]
xor r9d, r9d
mov edx, r12d
mov rax, qword [rcx]
mov r8d, dword [rcx + 0x28]
mov rcx, qword [rsp + 0x210]
mov qword [rsp + 0x20], rax
call sym.sqlite3TableLock
mov rcx, qword [rsp + 0x70]
test byte [rcx + 0x30], 0x80
jne 0x1400d388f
mov rax, qword [r15 + 0x28]
test byte [rax + 0x48], 1
jne 0x1400d3984
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1400d3984
test byte [rax + 0x64], 4
jne 0x1400d32a4
mov rcx, qword [rsp + 0x70]
movzx edx, word [rax + 0x5c]
cmp dx, word [rcx + 0x3c]
jge 0x1400d32a4
cmp qword [rax + 0x48], 0
je 0x1400d3a28
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400d3284
test rdi, rdi
je 0x1400d3984
mov r9d, dword [rdi + 0x58]
mov rcx, qword [rsp + 0x210]
mov rdx, rdi
mov dword [rsp + 0x50], r9d
call sym.sqlite3KeyInfoOfIndex
mov dword [rsp + 0x20], r12d
mov r8d, esi
mov rcx, r13
mov dword [rsp + 0x28], 1
mov r9d, dword [rsp + 0x50]
mov rbx, rax
mov edx, 0x70
call sym.sqlite3VdbeAddOp4Int
test rbx, rbx
je 0x1400d330d
mov r9d, 0xfffffff8
mov r8, rbx
or edx, 0xffffffff
mov rcx, r13
call sym.sqlite3VdbeChangeP4
mov rax, qword [rsp + 0x210]
mov edx, dword [rbp + 0x20]
mov rbx, qword [rsp + 0x210]
mov r8d, dword [rax + 0x38]
mov eax, dword [rbp + 0x30]
add eax, edx
lea ecx, [r8 + 1]
add eax, r8d
mov dword [rbp + 0xc], ecx
lea r9d, [rcx + rdx]
mov r8d, esi
mov dword [rbx + 0x38], eax
xor eax, eax
mov edx, 0x62
mov rcx, r13
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
xor eax, eax
xor r9d, r9d
mov r8d, esi
mov dword [rsp + 0x20], eax
mov edx, 0x7a
mov rcx, r13
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x210]
cmp byte [rax + 0x133], 2
jne 0x1400d33c6
mov rax, qword [rsp + 0x70]
test byte [rax + 0x30], 0x80
je 0x1400d3394
movzx eax, byte [rdi + 0x64]
and eax, 3
cmp al, 2
je 0x1400d3a19
mov rax, qword [rdi]
lea rdx, str._USING_COVERING_INDEX
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
lea r8, str.SCAN__s_s_s
mov qword [rsp + 0x20], rdx
mov rcx, qword [rsp + 0x210]
xor edx, edx
mov r9, qword [rax]
call sym.sqlite3VdbeExplain
mov esi, dword [rsp + 0x6c]
xor r11d, r11d
mov r9d, 0x10
xor ebx, ebx
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x210]
mov qword [rsp + 0xf0], r11
mov r8d, esi
call sym.sqlite3ExprIfFalse
mov dword [rsp + 0x38], esi
xor r9d, r9d
or r8d, 0xffffffff
mov rax, qword [rsp + 0x220]
mov dword [rsp + 0x30], esi
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov rcx, qword [rsp + 0x210]
mov qword [rsp + 0x28], rax
call sym.selectInnerLoop
jmp 0x1400d2f9e
cmp qword [rdx + 0x308], 0
jne 0x1400d0cb3
test rdi, rdi
je 0x1400d0cb3
sub dword [rdi], 1
jne 0x1400d0cb3
mov rcx, qword [rdi + 0x10]
mov rdx, rdi
mov dword [rsp + 0xcc], eax
call sym.sqlite3DbNNFreeNN
mov eax, dword [rsp + 0xcc]
jmp 0x1400d0cb3
cmp byte [rsi + 0x22], 0x58
movzx eax, byte [rsi + 0x20]
je 0x1400d360b
mov dword [rsp + 0x174], 1
jmp 0x1400d23c1
mov rax, qword [rsp + 0x210]
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rax]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1400d3636
mov dword [rsp + 0x174], 1
movzx edx, byte [rsi + 0x21]
jmp 0x1400d0a8f
mov rcx, qword [rsp + 0x88]
call sym.sqlite3WhereEnd
mov edx, dword [rsp + 0xd8]
mov rcx, r13
call sym.sqlite3VdbeChangeToNoop.isra.0
jmp 0x1400d2d15
mov rax, qword [rsp + 0x210]
mov rax, qword [rax]
test byte [rax + 0x60], 8
jne 0x1400d34f6
mov rax, qword [rsp + 0x210]
mov byte [rax + 0x23], 1
mov rcx, qword [rsp + 0x210]
call sym.sqlite3VdbeCreate
mov rcx, rax
jmp 0x1400d0d97
mov rax, qword [rsp + 0x210]
mov rdx, rbp
mov rcx, qword [rax]
call sym.agginfoFree
jmp 0x1400d18a9
mov rax, qword [rax]
test byte [rax + 0x60], 8
jne 0x1400d2265
mov rax, qword [rsp + 0x210]
mov byte [rax + 0x23], 1
jmp 0x1400d2265
mov rax, qword [rdi]
test byte [rax + 0x60], 8
jne 0x1400d21a2
mov byte [rdi + 0x23], 1
jmp 0x1400d21a2
mov rax, qword [rbp + 0x28]
cmp dword [rax + 0x10], 0
js 0x1400d1a52
mov rax, qword [rax]
test rax, rax
je 0x1400d1a52
test byte [rax + 5], 0x10
jne 0x1400d1a52
mov rax, qword [rax + 0x20]
test rax, rax
je 0x1400d1a52
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400d35a7
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
xor r9d, r9d
xor r8d, r8d
call sym.exprDup
mov rbx, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
call sym.sqlite3ExprListDup
mov rcx, qword [rsp + 0x210]
mov r8, rbx
mov rdx, rax
call sym.sqlite3ExprListAppend
test rax, rax
je 0x1400d1a52
mov qword [rsp + 0x70], rax
mov word [rsp + 0xb0], 0x500
jmp 0x1400d1a5c
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d1358
xor r10d, r10d
mov dword [rsp + 0x98], r10d
mov dword [rsp + 0x60], r10d
jmp 0x1400d2a04
cmp al, 0x59
je 0x1400d23c1
mov rax, qword [rsp + 0x210]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rax]
call sym.windowExprGtZero.isra.0
test eax, eax
je 0x1400d3636
mov dword [rsp + 0x174], 3
movzx edx, byte [rsi + 0x21]
jmp 0x1400d0a8f
cmp dword [rsp + 0x6c], 0
mov ebx, dword [r14 + 0x90]
je 0x1400d1017
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x210]
mov edx, 0x39
mov r9d, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x88]
mov ebp, dword [rax + 0x44]
lea eax, [rbp - 1]
mov dword [rcx + 0x44], eax
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
call sym.windowCodeRangeTest
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, rdi
call sym.windowCodeOp
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
call sym.windowCodeOp
xor r11d, r11d
xor r8d, r8d
mov rcx, r14
mov dword [rsp + 0x20], r11d
mov r9d, ebx
mov edx, 9
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14 + 0x18]
mov r8d, ebp
neg r8d
mov eax, dword [rcx + 0x44]
add eax, dword [rcx + 0x48]
js 0x1400d3d29
mov edx, dword [r14 + 0x90]
mov rax, qword [rcx + 0x50]
movsxd r8, r8d
mov dword [rax + r8*4], edx
jmp 0x1400d1043
xor edx, edx
cmp al, 0x56
mov eax, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x50]
sete dl
mov rcx, r14
xor r9d, r9d
xor ebp, ebp
mov dword [rsp + 0x20], eax
lea edx, [rdx + rdx + 0x37]
call sym.sqlite3VdbeAddOp3
mov rcx, qword [rsp + 0x210]
xor r8d, r8d
mov rdx, rsi
mov ebx, eax
call sym.windowAggFinal.isra.0
mov dword [rsp + 0x20], ebp
xor r9d, r9d
mov rcx, r14
mov ebp, dword [rsp + 0x88]
mov edx, 0x24
mov r8d, ebp
call sym.sqlite3VdbeAddOp3
mov rcx, rdi
call sym.windowReturnOneRow
xor eax, eax
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov edx, 0x92
mov rcx, r14
call sym.sqlite3VdbeAddOp3
xor eax, eax
xor r8d, r8d
mov edx, 9
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xac]
mov rcx, r14
call sym.sqlite3VdbeAddOp3
mov rcx, qword [r14]
mov edx, dword [r14 + 0x90]
lea rax, [0x14018a240]
cmp byte [rcx + 0x67], 0
jne 0x1400d37bf
movsxd rax, ebx
shl rax, 5
add rax, qword [r14 + 0x88]
mov dword [rax + 8], edx
movzx eax, byte [rsi + 0x21]
jmp 0x1400d0f14
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d2def
mov rdx, r13
call sym.resizeResolveLabel
jmp 0x1400d2f10
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rsp + 0x98], eax
mov dword [rbx + 0x38], eax
jmp 0x1400d29af
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0x38]
lea edi, [rax + 1]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x210]
mov dword [rax + 0x38], edi
jmp 0x1400d28ea
mov r8d, dword [rsp + 0x50]
mov edx, 1
mov rcx, rdi
call sym.windowCodeOp
xor r8d, r8d
mov edx, 2
mov rcx, rdi
mov r9d, 1
mov dword [rsp + 0x6c], eax
call sym.windowCodeOp
mov ebx, eax
jmp 0x1400d274d
mov r8d, dword [rsp + 0x50]
mov r9d, 1
mov edx, 2
mov rcx, rdi
mov ebp, dword [r14 + 0x90]
call sym.windowCodeOp
xor r8d, r8d
mov edx, 1
mov rcx, rdi
mov r9d, 1
mov ebx, eax
call sym.windowCodeOp
mov dword [rsp + 0x6c], eax
jmp 0x1400d274d
mov rax, qword [rsp + 0x70]
mov rdx, qword [r15 + 0x28]
mov rax, qword [rax + 0x10]
movzx ecx, byte [rdx + 0x48]
mov rdi, rax
and ecx, 1
test rax, rax
jne 0x1400d38bd
jmp 0x1400d3984
mov rdi, qword [rdi + 0x28]
test rdi, rdi
je 0x1400d397c
movzx edx, byte [rdi + 0x64]
and edx, 3
cmp dl, 2
jne 0x1400d38b0
test cl, cl
jne 0x1400d32b6
jmp 0x1400d3284
cmp dword [rbp + 0x30], 1
jne 0x1400d1a20
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov r11, qword [rax + 0x20]
test r11, r11
je 0x1400d1a20
mov ebx, dword [r11]
cmp ebx, 1
jne 0x1400d1a20
test byte [rax + 7], 1
jne 0x1400d1a20
mov rcx, qword [rsp + 0x48]
test byte [rcx + 0x62], 1
jne 0x1400d1a20
mov rcx, qword [rax + 8]
lea rdx, [0x1401635de]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1400d3d6b
mov rcx, qword [r11 + 8]
call sym.sqlite3ExprCanBeNull
test eax, eax
setne r9b
add r9d, r9d
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, r11
mov byte [rsp + 0x88], r9b
call sym.sqlite3ExprListDup
mov r14, rax
test rax, rax
je 0x1400d3970
movzx r9d, byte [rsp + 0x88]
mov byte [rax + 0x18], r9b
mov byte [rsp + 0x88], bl
jmp 0x1400d1a20
test cl, cl
je 0x1400d3284
mov dword [rsp + 0x20], r12d
mov r9d, ebx
mov r8d, esi
mov edx, 0x70
mov dword [rsp + 0x28], 1
mov rcx, r13
call sym.sqlite3VdbeAddOp4Int
mov rax, qword [rsp + 0x210]
mov edx, dword [rbp + 0x20]
mov rdi, qword [rsp + 0x210]
mov r8d, dword [rax + 0x38]
mov eax, dword [rbp + 0x30]
add eax, edx
lea ecx, [r8 + 1]
add eax, r8d
xor r8d, r8d
mov dword [rbp + 0xc], ecx
lea r9d, [rcx + rdx]
mov dword [rdi + 0x38], eax
mov edx, 0x62
mov rcx, r13
mov dword [rsp + 0x20], r8d
mov r8d, esi
call sym.sqlite3VdbeAddOp3
xor r9d, r9d
mov r8d, esi
mov edx, 0x7a
mov dword [rsp + 0x20], r9d
mov rcx, r13
xor r9d, r9d
call sym.sqlite3VdbeAddOp3
mov rax, qword [rsp + 0x210]
cmp byte [rax + 0x133], 2
jne 0x1400d33c6
lea rax, [0x14015f198]
mov rdx, rax
jmp 0x1400d339e
test rdi, rdi
je 0x1400d3a37
cmp dx, word [rdi + 0x5c]
jge 0x1400d32a4
mov rdi, rax
jmp 0x1400d32a4
mov rax, qword [rsp + 0x210]
mov r9d, dword [rsp + 0x6c]
mov rcx, rdi
mov edx, 0x39
mov rbx, qword [rsp + 0x210]
mov r8d, dword [rsp + 0x88]
mov ebp, dword [rax + 0x44]
lea eax, [rbp - 1]
mov dword [rbx + 0x44], eax
mov ebx, dword [r14 + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0x20], eax
call sym.windowCodeRangeTest
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, rdi
mov edx, 2
call sym.windowCodeOp
xor r9d, r9d
xor r8d, r8d
mov edx, 1
jmp 0x1400d36b3
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov edx, 2
mov rcx, rdi
call sym.windowCodeOp
jmp 0x1400d3108
xor ecx, ecx
mov edx, dword [rsp + 0x108]
mov qword [rsp + 0xf0], rcx
mov rcx, r13
call sym.sqlite3VdbeChangeToNoop.isra.0
mov edi, dword [r13 + 0x90]
jmp 0x1400d2fe0
cmp dword [rbp + 0x24], 0
je 0x1400d3b7d
test edx, edx
jle 0x1400d3c68
mov rax, qword [rbp + 0x28]
xor ecx, ecx
mov r8, qword [rax]
test byte [r8 + 7], 1
jne 0x1400d3b1d
mov r8, qword [rax + 8]
test byte [r8 + 4], 0x20
jne 0x1400d3c6a
add ecx, 1
add rax, 0x20
cmp ecx, edx
jne 0x1400d3b04
mov rax, qword [rsp + 0x210]
xor r8d, r8d
mov rcx, r13
xor edi, edi
mov edx, 0x47
mov eax, dword [rax + 0x38]
lea r12d, [rax + 1]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x210]
mov r9d, r12d
mov dword [rax + 0x38], r12d
xor eax, eax
mov dword [rsp + 0x20], eax
call sym.sqlite3VdbeAddOp3
mov edx, dword [rbp + 0x30]
jmp 0x1400d3b82
mov esi, edi
jmp 0x1400d1d59
cmp dword [rbp + 0x24], 0
jne 0x1400d3af6
cmp edx, 1
je 0x1400d3d65
xor r12d, r12d
xor edi, edi
mov rax, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x210]
mov ecx, dword [rax + 0x38]
lea eax, [rcx + 1]
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0x20]
add eax, edx
mov rdx, rbp
add eax, ecx
mov rcx, rbx
mov dword [rbx + 0x38], eax
call sym.resetAccumulator
xor eax, eax
mov qword [rsp + 0x28], r15
mov rdx, rsi
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + 0x88]
mov r9, r14
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x210]
or eax, edi
movzx eax, ax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call sym.sqlite3WhereBegin
mov rsi, rax
test rax, rax
je 0x1400d22e0
movzx edi, byte [rax + 0x43]
mov rcx, qword [rsp + 0x210]
mov r8, rbp
mov edx, r12d
mov r9d, edi
call sym.updateAccumulator
test edi, edi
je 0x1400d3c38
mov rax, qword [rbp + 0x28]
test rax, rax
je 0x1400d3c38
mov r9d, dword [rax + 0x14]
mov r8d, dword [rax + 0x10]
mov edx, edi
mov rcx, qword [rsp + 0x210]
call sym.fixDistinctOpenEph
test r12d, r12d
jne 0x1400d3cd2
cmp byte [rsp + 0x88], 0
jne 0x1400d3c79
mov rcx, rsi
call sym.sqlite3WhereEnd
mov rcx, qword [rsp + 0x210]
mov rdx, rbp
call sym.finalizeAggFunctions
jmp 0x1400d33c6
xor ecx, ecx
xor edi, edi
cmp edx, ecx
jne 0x1400d3b82
jmp 0x1400d3b28
test byte [rsi + 0x44], 4
je 0x1400d3c4b
cmp byte [rsi + 0x41], 0
je 0x1400d3c4b
movzx eax, byte [rsi + 0x40]
sub eax, 1
cdqe
jmp 0x1400d3cad
imul rcx, rax, 0x70
lea rdx, [rax - 1]
mov rcx, qword [rsi + rcx + 0x3c0]
test byte [rcx + 0x38], 4
jne 0x1400d3d3a
mov rax, rdx
cmp rax, 0xffffffffffffffff
jne 0x1400d3c90
xor edi, edi
mov r9d, dword [rsi + 0x34]
xor r8d, r8d
mov edx, 9
mov dword [rsp + 0x20], edi
mov rcx, r13
call sym.sqlite3VdbeAddOp3
jmp 0x1400d3c4b
xor eax, eax
mov r9d, r12d
mov r8d, 1
mov edx, 0x47
mov dword [rsp + 0x20], eax
mov rcx, r13
call sym.sqlite3VdbeAddOp3
jmp 0x1400d3c41
mov rax, qword [rbp + 0x28]
cmp dword [rbp + 0x24], 0
jne 0x1400d3b02
xor edi, edi
cmp dword [rax + 0x10], 0
js 0x1400d3b82
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x50], rax
neg rax
sbb di, di
and di, 0x500
jmp 0x1400d3b82
mov rdx, r14
call sym.resizeResolveLabel
mov rcx, qword [r14 + 0x18]
jmp 0x1400d1043
cdqe
xor r12d, r12d
xor r8d, r8d
mov edx, 9
imul rax, rax, 0x70
mov dword [rsp + 0x20], r12d
mov rcx, r13
mov r9d, dword [rsi + rax + 0x370]
call sym.sqlite3VdbeAddOp3
jmp 0x1400d3c4b
mov rax, qword [rbp + 0x28]
jmp 0x1400d3d01
lea rdx, [0x1401635e2]
call sym.sqlite3StrICmp
test eax, eax
jne 0x1400d1a20
mov r9d, 1
mov ebx, 2
jmp 0x1400d3943
mov r9d, dword [rsi]
mov rdx, qword [rsp + 0x50]
lea r8d, [r14 + 1]
mov rcx, rsi
mov dword [rsp + 0x78], r10d
call sym.isSelfJoinView
test rax, rax
jne 0x1400cfc7e
mov r10d, dword [rsp + 0x78]
mov r11d, 1
jmp 0x1400cfc48
mov r12d, 0xffff8000
jmp 0x1400d31f7
cmp dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x28]
jne 0x1400d3b02
jmp 0x1400d3d01