Function at 0x180116400
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x180191008]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x100]
xor r14d, r14d
mov rbp, qword [rsp + 0x108]
mov r13, r9
mov qword [rsp + 0x68], rax
mov r15, rcx
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov dword [rsp + 0x48], r8d
mov qword [r11 - 0x60], rax
lea rax, str.Too_few_columns_for_an_rtree_table
mov qword [r11 - 0x58], rax
lea rax, str.Too_many_columns_for_an_rtree_table
mov qword [r11 - 0x50], rax
lea rax, str.Auxiliary_rtree_columns_must_be_last
mov qword [r11 - 0x48], rax
lea eax, [r8 - 6]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], rbp
mov qword [r11 - 0x68], r14
cmp eax, 0x61
ja 0x1801169c1
mov edx, 1
mov qword [r11 + 0x10], rbx
mov r8d, edx
mov qword [r11 - 0x28], rsi
call fcn.1800c7780
lea edx, [r14 + 2]
mov rcx, r15
call fcn.1800c7780
mov rax, qword [r13 + 8]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], r14b
jne 0x1801164c0
mov rax, qword [r13 + 0x10]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], r14b
jne 0x1801164d4
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xa0], r12
call fcn.1800e74e0
test eax, eax
jne 0x1801169b7
movsxd rcx, ebx
lea eax, [rsi + rsi]
movsxd r12, eax
add r12, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [r12 + 0x3d0]
call fcn.18002a230
mov rdi, rax
test rax, rax
je 0x1801169b7
lea r8, [r12 + 0x3d0]
xor edx, edx
mov rcx, rax
call fcn.18013d7a0
mov r8, qword [rsp + 0x40]
lea r9, [rdi + 0x3c8]
lea rax, [0x180195170]
mov dword [rdi + 0x48], 1
mov qword [rdi], rax
lea eax, [rbx + 1]
movsxd rdx, eax
lea eax, [rsi + 1]
add rdx, r9
movsxd rcx, eax
add rcx, rdx
mov qword [rdi + 0x30], r9
cmp qword [rsp + 0x58], r14
mov qword [rdi + 0x40], rcx
mov rcx, r9
setne al
mov qword [rdi + 0x38], rdx
mov byte [rdi + 0x26], al
mov rdx, qword [r13 + 8]
call fcn.18013fe80
mov rdx, qword [r13 + 0x10]
mov rcx, qword [rdi + 0x38]
movsxd rbx, esi
mov r8, rbx
call fcn.18013fe80
mov rdx, qword [r13 + 0x10]
mov r8, rbx
mov rcx, qword [rdi + 0x40]
call fcn.18013fe80
mov eax, dword [str._node]
mov rcx, qword [rdi + 0x40]
mov dword [rcx + rbx], eax
movzx eax, word [0x180178b8c]
mov word [rcx + rbx + 4], ax
call fcn.1800e74e0
test eax, eax
jne 0x180116609
lea ecx, [rax + 0x20]
call fcn.18002a230
mov rsi, rax
test rax, rax
je 0x180116609
test r15, r15
je 0x1801165eb
mov eax, dword [r15 + 0x88]
jmp 0x1801165f0
mov eax, 0x3b9aca00
mov qword [rsi + 8], r14
mov qword [rsi], r14
mov dword [rsi + 0x10], r14d
mov dword [rsi + 0x14], eax
mov dword [rsi + 0x18], r14d
mov word [rsi + 0x1c], r14w
jmp 0x180116610
lea rsi, [0x180195b48]
mov rcx, qword [r13 + 0x18]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call fcn.1800e60c0
mov r9, qword [r13 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.18002d490
movsxd rbx, dword [rsp + 0x48]
mov r12d, 4
cmp rbx, r12
jle 0x1801166f3
mov ebp, r12d
mov r15, rbx
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [r13 + rbp*8]
movzx eax, byte [rdi + 0x29]
cmp byte [rbx], 0x2b
jne 0x180116696
inc al
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov byte [rdi + 0x29], al
lea rcx, [rbx + 1]
call fcn.1800e60c0
mov r8d, eax
lea r9, [rbx + 1]
lea rdx, str.__.s
jmp 0x1801166ce
test al, al
jne 0x1801166e5
inc byte [rdi + 0x25]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], r14d
call fcn.1800e60c0
mov rcx, qword [rsp + 0x58]
mov r8d, eax
neg rcx
lea rax, str.__.s_REAL
mov r9, rbx
sbb rdx, rdx
and edx, 8
mov rdx, qword [rdx + rax]
mov rcx, rsi
call fcn.18002d490
inc r12d
inc rbp
cmp rbp, r15
jl 0x180116660
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov ebx, dword [rsp + 0x48]
lea rdx, [0x180178bcc]
mov rcx, rsi
call fcn.18002d490
mov rcx, rsi
call fcn.18002cf60
mov rsi, rax
test rax, rax
jne 0x180116766
lea ebx, [rax + 7]
mov rcx, rsi
call fcn.18002a420
mov rcx, rdi
call fcn.1801110b0
mov eax, ebx
mov rdi, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xe8]
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.18013b850
add rsp, 0xb8
pop r15
pop r14
pop r13
pop rbp
ret
cmp r12d, ebx
jge 0x180116789
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x180170ce0]
call fcn.18002d2d0
mov qword [rbp], rax
mov ebx, 1
jmp 0x180116715
mov rdx, rsi
mov rcx, r15
call fcn.1800c6aa0
mov ebx, eax
test eax, eax
je 0x1801167ba
mov rcx, r15
call fcn.1800ea6b0
mov rdx, rax
lea rcx, [0x180170ce0]
call fcn.18002d2d0
mov qword [rbp], rax
jmp 0x180116715
mov rcx, rsi
call fcn.18002a420
movzx ecx, byte [rdi + 0x25]
movzx eax, cl
shr al, 1
mov byte [rdi + 0x24], al
cmp al, 1
jae 0x1801167db
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x1801167f5
cmp cl, 0xa
jbe 0x1801167e9
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x1801167f5
test cl, 1
je 0x18011680f
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x180170ce0]
call fcn.18002d2d0
mov qword [rbp], rax
mov ebx, 1
jmp 0x18011671d
mov r12d, dword [rsp + 0x110]
add cl, 2
mov rdx, qword [rdi + 0x30]
shl cl, 2
mov byte [rdi + 0x27], cl
test r12d, r12d
je 0x1801168d0
lea rcx, str.PRAGMA__Q.page_size
call fcn.18002d2d0
mov rbp, rax
mov esi, 7
test rax, rax
je 0x1801168a1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea r9d, [rsi + 0x79]
lea r8d, [rsi - 8]
mov qword [rsp + 0x20], r14
mov rdx, rbp
mov qword [rsp + 0x58], r14
mov rcx, r15
call fcn.1800aba20
mov esi, eax
test eax, eax
jne 0x1801168a1
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.18005aa50
cmp eax, 0x64
jne 0x180116897
xor edx, edx
mov rcx, rbx
call fcn.18005b540
mov r14d, eax
mov rcx, rbx
call fcn.180059a80
mov esi, eax
mov ebx, esi
test esi, esi
jne 0x1801168fa
movzx eax, byte [rdi + 0x27]
lea edx, [r14 - 0x40]
imul ecx, eax, 0x33
mov dword [rdi + 0x20], edx
add ecx, 4
cmp ecx, edx
jge 0x180116954
mov dword [rdi + 0x20], ecx
mov rcx, rbp
call fcn.18002a420
jmp 0x180116966
mov r8, qword [rdi + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.18002d2d0
lea r8, [rdi + 0x20]
mov rdx, rax
mov rcx, r15
mov rbp, rax
call fcn.180116380
mov esi, eax
mov ebx, eax
test eax, eax
je 0x180116921
mov rcx, r15
call fcn.1800ea6b0
mov rdx, rax
lea rcx, [0x180170ce0]
call fcn.18002d2d0
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rcx, rbp
jmp 0x180116718
cmp dword [rdi + 0x20], 0x1c0
jge 0x180116954
mov rdx, qword [rdi + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
call fcn.18002d2d0
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
mov rcx, rbp
call fcn.18002a420
mov ebx, 0x10b
jmp 0x18011671d
mov rcx, rbp
call fcn.18002a420
mov ebx, esi
test esi, esi
jne 0x18011671d
mov r9, qword [r13 + 0x10]
mov rdx, r15
mov r8, qword [r13 + 8]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.180115d20
mov ebx, eax
test eax, eax
je 0x1801169a8
mov rcx, r15
call fcn.1800ea6b0
mov rdx, rax
lea rcx, [0x180170ce0]
call fcn.18002d2d0
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
jmp 0x18011671d
mov rax, qword [rsp + 0x68]
mov qword [rax], rdi
xor eax, eax
jmp 0x180116727
mov eax, 7
jmp 0x180116727
cmp r8d, 6
lea rcx, [0x180170ce0]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x70]
call fcn.18002d2d0
mov qword [rbp], rax
mov eax, 1
jmp 0x180116747