Function at 0x140155280
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x140222080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
xor ebp, ebp
mov r13, qword [rsp + 0x118]
mov r14, r9
mov qword [rsp + 0x70], rax
mov r15, rcx
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov qword [rsp + 0x58], r9
mov qword [r11 - 0x68], rax
lea rax, str.Too_few_columns_for_an_rtree_table
mov qword [r11 - 0x60], rax
lea rax, str.Too_many_columns_for_an_rtree_table
mov qword [r11 - 0x58], rax
lea rax, str.Auxiliary_rtree_columns_must_be_last
mov qword [r11 - 0x50], rax
lea eax, [r8 - 6]
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r13
mov qword [r11 - 0x70], rbp
cmp eax, 0x61
ja 0x14015575b
mov edx, 1
mov qword [r11 + 0x10], rbx
mov r8d, edx
mov qword [r11 - 0x30], rdi
call fcn.140116280
mov rax, qword [r14 + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bpl
jne 0x140155336
mov rax, qword [r14 + 0x10]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], bpl
jne 0x140155350
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb0], r12
call fcn.14012f4e0
test eax, eax
jne 0x140155751
movsxd rax, edi
movsxd rsi, ebx
mov qword [rsp + 0x48], rax
lea r12, [rax + rsi]
lea rcx, [r12 + 0x3ca]
call fcn.140099f70
mov rbx, rax
test rax, rax
je 0x140155751
lea r8, [r12 + 0x3ca]
xor edx, edx
mov rcx, rax
call fcn.140177d50
mov r8, qword [rsp + 0x48]
lea r9, [rbx + 0x3c8]
lea rax, [0x140225440]
mov dword [rbx + 0x40], 1
mov qword [rbx], rax
lea eax, [rdi + 1]
movsxd rcx, eax
add rcx, r9
mov qword [rbx + 0x30], r9
cmp qword [rsp + 0x50], rbp
mov qword [rbx + 0x38], rcx
mov rcx, r9
setne al
mov byte [rbx + 0x26], al
mov rdx, qword [r14 + 8]
call fcn.1401778f0
mov rdx, qword [r14 + 0x10]
mov r8, rsi
mov rcx, qword [rbx + 0x38]
call fcn.1401778f0
mov rcx, r15
call fcn.14009c8a0
mov rcx, qword [r14 + 0x18]
lea rdx, [rsp + 0x48]
mov rsi, rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebp
call fcn.14012e080
mov r9, qword [r14 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.14009ccb0
movsxd rdi, dword [rsp + 0x40]
mov r12d, 4
mov rax, rdi
cmp rdi, r12
jle 0x1401554dc
mov r15, qword [rsp + 0x50]
mov esi, r12d
mov r13, r14
nop
mov rdi, qword [r13 + rsi*8]
movzx eax, byte [rbx + 0x29]
cmp byte [rdi], 0x2b
jne 0x14015547f
inc al
lea r14, str.__.s
mov byte [rbx + 0x29], al
inc rdi
jmp 0x14015548d
test al, al
jne 0x1401554c4
inc byte [rbx + 0x25]
lea r14, str.__.s_NUM
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], ebp
mov rcx, rdi
call fcn.14012e080
mov r9, rdi
mov r8d, eax
mov rdx, r14
mov rcx, r15
call fcn.14009ccb0
movsxd rdi, dword [rsp + 0x40]
inc r12d
inc rsi
mov rax, rdi
cmp rsi, rdi
jl 0x140155460
jmp 0x1401554c8
mov edi, dword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
lea rdx, [0x1401e10b4]
mov rcx, rsi
call fcn.14009ccb0
mov rcx, rsi
call fcn.14009c7b0
mov rsi, rax
test rax, rax
jne 0x140155500
lea edi, [rax + 7]
jmp 0x14015554b
cmp r12d, edi
jge 0x14015551f
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1401da1ac]
call fcn.14009caf0
mov edi, 1
jmp 0x140155547
mov rdx, rsi
mov rcx, r15
call fcn.1401158d0
mov edi, eax
test eax, eax
je 0x14015554b
mov rcx, r15
call fcn.140132190
mov rdx, rax
lea rcx, [0x1401da1ac]
call fcn.14009caf0
mov qword [r13], rax
mov rcx, rsi
call fcn.14009a1b0
test edi, edi
jne 0x14015559f
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x140155570
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x14015558a
cmp cl, 0xa
jbe 0x14015557e
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x14015558a
test cl, 1
je 0x1401555e8
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1401da1ac]
call fcn.14009caf0
mov qword [r13], rax
mov edi, 1
mov rcx, rbx
call fcn.14014fd40
mov eax, edi
mov rsi, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140158860
add rsp, 0xc8
pop r15
pop r14
pop r13
pop rbp
ret
mov r12d, dword [rsp + 0x120]
add cl, 2
mov rdx, qword [rbx + 0x30]
shl cl, 2
mov byte [rbx + 0x27], cl
test r12d, r12d
je 0x140155696
lea rcx, str.PRAGMA__Q.page_size
call fcn.14009caf0
mov rsi, rax
mov edi, 7
test rax, rax
je 0x140155679
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x79]
lea r8d, [rdi - 8]
mov qword [rsp + 0x20], rbp
mov rdx, rsi
mov qword [rsp + 0x50], rbp
mov rcx, r15
call fcn.140102330
mov edi, eax
test eax, eax
jne 0x140155679
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.1400c5090
cmp eax, 0x64
jne 0x14015566f
xor edx, edx
mov rcx, rdi
call fcn.1400c5ad0
mov ebp, eax
mov rcx, rdi
call fcn.1400c40b0
mov edi, eax
test edi, edi
jne 0x1401556be
movzx eax, byte [rbx + 0x27]
lea edx, [rbp - 0x40]
imul ecx, eax, 0x33
mov dword [rbx + 0x20], edx
add ecx, 4
cmp ecx, edx
jge 0x1401556f4
mov dword [rbx + 0x20], ecx
jmp 0x1401556f4
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.14009caf0
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.140155200
mov edi, eax
test eax, eax
je 0x1401556d2
mov rcx, r15
call fcn.140132190
mov rdx, rax
lea rcx, [0x1401da1ac]
jmp 0x1401556eb
cmp dword [rbx + 0x20], 0x1c0
jge 0x1401556f4
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.14009caf0
mov qword [r13], rax
mov rcx, rsi
call fcn.14009a1b0
test edi, edi
jne 0x14015559f
mov r9, qword [r14 + 0x10]
mov rdx, r15
mov r8, qword [r14 + 8]
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.140154b90
mov edi, eax
test eax, eax
je 0x140155742
mov rcx, r15
call fcn.140132190
mov rdx, rax
lea rcx, [0x1401da1ac]
call fcn.14009caf0
mov qword [r13], rax
jmp 0x14015559f
mov rax, qword [rsp + 0x70]
mov qword [rax], rbx
xor eax, eax
jmp 0x1401555a9
mov eax, 7
jmp 0x1401555a9
cmp r8d, 6
lea rcx, [0x1401da1ac]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x78]
call fcn.14009caf0
mov qword [r13], rax
mov eax, 1
jmp 0x1401555c9