Function at 0x1400bfba0
Capabilities:
Reference sql statements

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140300b88]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
mov r14, r9
mov r12, qword [rsp + 0xd8]
mov r15, rcx
mov qword [rsp + 0x40], rax
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov qword [rsp + 0x50], rax
lea rax, str.Too_few_columns_for_an_rtree_table
mov qword [rsp + 0x58], rax
lea rax, str.Too_many_columns_for_an_rtree_table
movsxd r13, r8d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x48], 0
cmp r13d, 6
jge 0x1400bfc1b
mov eax, 2
jmp 0x1400bfc2d
mov eax, r13d
mov ecx, 3
and eax, 1
cmp r13d, 0xe
cmovg eax, ecx
mov rdx, qword [rsp + rax*8 + 0x48]
test rdx, rdx
je 0x1400bfc51
lea rcx, [0x140253144]
call fcn.140061bf0
mov qword [r12], rax
mov eax, 1
jmp 0x1400c016a
mov edx, 1
mov qword [rsp + 0xb8], rbx
mov r8d, edx
mov qword [rsp + 0x80], rbp
mov rcx, r15
mov qword [rsp + 0x70], rdi
call fcn.14006c320
mov rax, qword [r14 + 8]
mov rbx, 0xffffffffffffffff
mov rbp, rbx
inc rbp
cmp byte [rax + rbp], 0
jne 0x1400bfc84
mov rax, qword [r14 + 0x10]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400bfc91
lea edi, [rbp + 0x3b2]
mov qword [rsp + 0x78], rsi
add edi, ebx
call fcn.140119630
test eax, eax
jne 0x1400c014b
test edi, edi
jle 0x1400c014b
movsxd rcx, edi
call fcn.1400f1360
mov rsi, rax
test rax, rax
je 0x1400c014b
movsxd rdi, ebx
xor edx, edx
movsxd rbx, ebp
mov rcx, rax
lea r8, [rdi + 0x3b2]
add r8, rbx
call fcn.14020dff0
lea r9, [rsi + 0x3b0]
mov dword [rsi + 0x40], 1
lea rax, [0x1402fef50]
mov qword [rsi + 0x30], r9
mov qword [rsi], rax
mov r8, rbx
lea eax, [rbp + 1]
movsxd rcx, eax
lea eax, [r13 - 4]
cdq
add rcx, r9
sub eax, edx
mov qword [rsi + 0x38], rcx
sar eax, 1
mov rcx, r9
mov byte [rsi + 0x24], al
inc al
shl al, 3
cmp qword [rsp + 0x30], 0
mov byte [rsi + 0x26], al
setne al
mov byte [rsi + 0x25], al
mov rdx, qword [r14 + 8]
call fcn.14020d920
mov rdx, qword [r14 + 0x10]
mov r8, rdi
mov rcx, qword [rsi + 0x38]
call fcn.14020d920
mov ebp, dword [rsp + 0xe0]
mov rdx, qword [rsi + 0x30]
test ebp, ebp
je 0x1400bfdaf
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0x30], 0
call fcn.140061bf0
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.1400a9620
mov edi, eax
test eax, eax
jne 0x1400bfdd7
movzx ecx, byte [rsi + 0x26]
mov r8d, dword [rsp + 0x30]
imul edx, ecx, 0x33
add r8d, 0xffffffc0
mov dword [rsi + 0x20], r8d
add edx, 4
cmp edx, r8d
jge 0x1400bfdf2
mov dword [rsi + 0x20], edx
jmp 0x1400bfdf2
mov r8, qword [rsi + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.140061bf0
lea r8, [rsi + 0x20]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.1400a9620
mov edi, eax
test eax, eax
je 0x1400bfdf2
mov rcx, r15
call fcn.140062f00
mov rdx, rax
lea rcx, [0x140253144]
call fcn.140061bf0
mov qword [r12], rax
test rbx, rbx
je 0x1400bfe52
cmp dword [0x1402fd010], 0
je 0x1400bfe49
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400bfe12
call qword [0x1402fd098]
mov rcx, rbx
call qword [0x1402fd050]
dec qword [0x140303428]
movsxd rcx, eax
sub qword [0x1403033e0], rcx
mov rcx, rbx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400bfe52
call qword [0x1402fd0a8]
jmp 0x1400bfe52
mov rcx, rbx
call qword [0x1402fd040]
test edi, edi
jne 0x1400bfe92
mov r9, qword [r14 + 0x10]
mov rdx, r15
mov r8, qword [r14 + 8]
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.1400c0950
mov edi, eax
test eax, eax
je 0x1400bff5b
mov rcx, r15
call fcn.140062f00
mov rdx, rax
lea rcx, [0x140253144]
call fcn.140061bf0
mov qword [r12], rax
sub dword [rsi + 0x40], 1
jne 0x1400c0147
mov rcx, qword [rsi + 0x60]
call fcn.1400654c0
mov rcx, qword [rsi + 0x68]
call fcn.1400654c0
mov rcx, qword [rsi + 0x70]
call fcn.1400654c0
mov rcx, qword [rsi + 0x78]
call fcn.1400654c0
mov rcx, qword [rsi + 0x80]
call fcn.1400654c0
mov rcx, qword [rsi + 0x88]
call fcn.1400654c0
mov rcx, qword [rsi + 0x90]
call fcn.1400654c0
mov rcx, qword [rsi + 0x98]
call fcn.1400654c0
mov rcx, qword [rsi + 0xa0]
call fcn.1400654c0
cmp dword [0x1402fd010], 0
je 0x1400c013e
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400bff1b
call qword [0x1402fd098]
mov rcx, rsi
call qword [0x1402fd050]
dec qword [0x140303428]
movsxd rcx, eax
sub qword [0x1403033e0], rcx
mov rcx, rsi
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400c0147
call qword [0x1402fd0a8]
mov eax, edi
jmp 0x1400c0150
mov rdx, qword [r14 + 0x18]
lea rcx, str.CREATE_TABLE_x__s
call fcn.140061bf0
mov rbx, rax
test rax, rax
je 0x1400c000e
mov ebp, 4
nop dword [rax]
mov rdi, rbx
mov rdx, rbx
cmp rbp, r13
jge 0x1400c0079
mov r8, qword [r14 + rbp*8]
lea rcx, str._s___s
call fcn.140061bf0
mov rbx, rax
test rdi, rdi
je 0x1400c0002
cmp dword [0x1402fd010], 0
je 0x1400bfff9
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400bffc2
call qword [0x1402fd098]
mov rcx, rdi
call qword [0x1402fd050]
dec qword [0x140303428]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x1403033e0], rdx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400c0002
call qword [0x1402fd0a8]
jmp 0x1400c0002
mov rcx, rdi
call qword [0x1402fd040]
inc rbp
test rbx, rbx
jne 0x1400bff80
mov edi, 7
test rbx, rbx
je 0x1400bfe92
cmp dword [0x1402fd010], 0
je 0x1400c0121
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400c003b
call qword [0x1402fd098]
mov rcx, rbx
call qword [0x1402fd050]
dec qword [0x140303428]
movsxd rcx, eax
sub qword [0x1403033e0], rcx
mov rcx, rbx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400c012a
call qword [0x1402fd0a8]
jmp 0x1400c012a
lea rcx, [0x14025860c]
call fcn.140061bf0
cmp dword [0x1402fd010], 0
mov rbx, rax
je 0x1400c00da
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400c00a3
call qword [0x1402fd098]
mov rcx, rdi
call qword [0x1402fd050]
dec qword [0x140303428]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x1403033e0], rdx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400c00e3
call qword [0x1402fd0a8]
jmp 0x1400c00e3
mov rcx, rdi
call qword [0x1402fd040]
test rbx, rbx
je 0x1400c000e
mov rdx, rbx
mov rcx, r15
call fcn.140068d30
mov edi, eax
test eax, eax
je 0x1400c001c
mov rcx, r15
call fcn.140062f00
mov rdx, rax
lea rcx, [0x140253144]
call fcn.140061bf0
mov qword [r12], rax
jmp 0x1400c001c
mov rcx, rbx
call qword [0x1402fd040]
test edi, edi
jne 0x1400bfe92
mov rax, qword [rsp + 0x40]
mov qword [rax], rsi
mov eax, edi
jmp 0x1400c0150
mov rcx, rsi
call qword [0x1402fd040]
mov eax, edi
jmp 0x1400c0150
mov eax, 7
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140208e10
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
ret