	.file	"extr_rtree.c_rtreeColumn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtreeColumn, @function
rtreeColumn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r14, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	rtreeSearchPointFirst@PLT
	lea	rsi, 12[rsp]
	mov	rdi, rbx
	mov	r12, rax
	mov	eax, DWORD PTR SQLITE_OK[rip]
	mov	DWORD PTR 12[rsp], eax
	call	rtreeNodeOfFirstSearchPoint@PLT
	mov	r15, rax
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L1
	test	r12, r12
	je	.L5
	test	ebp, ebp
	je	.L18
	mov	eax, DWORD PTR [r14]
	cmp	eax, ebp
	jge	.L19
	mov	edx, DWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rbx]
	test	edx, edx
	jne	.L8
	test	rdi, rdi
	jne	.L12
	mov	esi, DWORD PTR 16[r14]
	mov	edi, DWORD PTR 20[r14]
	xor	r9d, r9d
	lea	r8, 8[rbx]
	xor	ecx, ecx
	mov	edx, -1
	call	sqlite3_prepare_v3@PLT
	mov	DWORD PTR 12[rsp], eax
	test	eax, eax
	jne	.L1
.L12:
	mov	edx, DWORD PTR [r12]
	mov	rsi, r15
	mov	rdi, r14
	call	nodeGetRowid@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	esi, 1
	mov	edx, eax
	call	sqlite3_bind_int64@PLT
	mov	rdi, QWORD PTR 8[rbx]
	call	sqlite3_step@PLT
	cmp	eax, DWORD PTR SQLITE_ROW[rip]
	mov	DWORD PTR 12[rsp], eax
	jne	.L20
	mov	eax, DWORD PTR [r14]
	mov	rdi, QWORD PTR 8[rbx]
	mov	DWORD PTR [rbx], 1
.L8:
	sub	ebp, eax
	lea	esi, 1[rbp]
	call	sqlite3_column_value@PLT
	mov	rdi, r13
	mov	esi, eax
	call	sqlite3_result_value@PLT
.L5:
	mov	eax, DWORD PTR SQLITE_OK[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	edx, DWORD PTR [r12]
	mov	rsi, r15
	mov	rdi, r14
	call	nodeGetRowid@PLT
	mov	rdi, r13
	mov	esi, eax
	call	sqlite3_result_int64@PLT
	mov	eax, DWORD PTR SQLITE_OK[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edx, DWORD PTR [r12]
	lea	ecx, -1[rbp]
	lea	r8, 16[rsp]
	mov	rsi, r15
	mov	rdi, r14
	call	nodeGetCoord@PLT
	mov	rax, QWORD PTR 8[r14]
	cmp	rax, QWORD PTR RTREE_COORD_REAL32[rip]
	je	.L22
	xor	edi, edi
	cmp	QWORD PTR RTREE_COORD_INT32[rip], rax
	sete	dil
	call	assert@PLT
	mov	esi, DWORD PTR 16[rsp]
	mov	rdi, r13
	call	sqlite3_result_int@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, QWORD PTR 8[rbx]
	call	sqlite3_reset@PLT
	mov	eax, DWORD PTR 12[rsp]
	cmp	eax, DWORD PTR SQLITE_DONE[rip]
	jne	.L1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L22:
	mov	esi, DWORD PTR 20[rsp]
	mov	rdi, r13
	call	sqlite3_result_double@PLT
	jmp	.L5
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtreeColumn, .-rtreeColumn
	.comm	SQLITE_ROW,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_DONE,4,4
	.comm	RTREE_COORD_REAL32,8,8
	.comm	RTREE_COORD_INT32,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rtree.c_rtreeColumn.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtreeColumn, %function
rtreeColumn:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L19
	sub	sp, sp, #28
	mov	r4, r0
	mov	r7, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r10, [r0]
	bl	rtreeSearchPointFirst
	ldr	r9, .L19+4
	mov	r6, r0
	ldr	r3, [r9]
	mov	r0, r4
	add	r1, sp, #8
	str	r3, [sp, #8]
	bl	rtreeNodeOfFirstSearchPoint
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L1
	cmp	r6, #0
	beq	.L5
	cmp	r5, #0
	mov	r8, r0
	beq	.L15
	ldr	r1, [r10]
	cmp	r1, r5
	bge	.L16
	ldm	r4, {r3, fp}
	cmp	r3, #0
	bne	.L8
	cmp	fp, #0
	bne	.L9
	add	r2, r4, #4
	ldr	r1, [r10, #8]
	ldr	r0, [r10, #12]
	mov	r3, fp
	str	r2, [sp]
	str	fp, [sp, #4]
	mvn	r2, #0
	bl	sqlite3_prepare_v3
	cmp	r0, #0
	mov	r3, r0
	str	r0, [sp, #8]
	bne	.L1
	ldr	fp, [r4, #4]
.L9:
	mov	r1, r8
	ldr	r2, [r6]
	mov	r0, r10
	bl	nodeGetRowid
	mov	r1, #1
	mov	r2, r0
	mov	r0, fp
	bl	sqlite3_bind_int64
	ldr	r0, [r4, #4]
	bl	sqlite3_step
	ldr	r3, .L19+8
	str	r0, [sp, #8]
	ldr	r3, [r3]
	cmp	r0, r3
	bne	.L10
	mov	r3, #1
	ldr	fp, [r4, #4]
	ldr	r1, [r10]
	str	r3, [r4]
.L8:
	sub	r1, r5, r1
	add	r1, r1, #1
	mov	r0, fp
	bl	sqlite3_column_value
	mov	r1, r0
	mov	r0, r7
	bl	sqlite3_result_value
.L5:
	ldr	r3, [r9]
.L1:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [sp, #20]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L17
	mov	r0, r3
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r1, r0
	ldr	r2, [r6]
	mov	r0, r10
	bl	nodeGetRowid
	mov	r1, r0
	mov	r0, r7
	bl	sqlite3_result_int64
	ldr	r3, [r9]
	b	.L1
.L16:
	add	r0, sp, #12
	ldr	r2, [r6]
	sub	r3, r5, #1
	str	r0, [sp]
	mov	r1, r8
	mov	r0, r10
	bl	nodeGetCoord
	ldr	r2, .L19+12
	ldr	r3, [r10, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L18
	ldr	r2, .L19+16
	ldr	r0, [r2]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r7
	ldr	r1, [sp, #12]
	bl	sqlite3_result_int
	b	.L5
.L10:
	ldr	r0, [r4, #4]
	bl	sqlite3_reset
	ldr	r2, .L19+20
	ldr	r3, [sp, #8]
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L1
	b	.L5
.L18:
	mov	r0, r7
	ldr	r1, [sp, #16]
	bl	sqlite3_result_double
	b	.L5
.L17:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	SQLITE_OK
	.word	SQLITE_ROW
	.word	RTREE_COORD_REAL32
	.word	RTREE_COORD_INT32
	.word	SQLITE_DONE
	.size	rtreeColumn, .-rtreeColumn
	.comm	SQLITE_ROW,4,4
	.comm	SQLITE_OK,4,4
	.comm	SQLITE_DONE,4,4
	.comm	RTREE_COORD_REAL32,4,4
	.comm	RTREE_COORD_INT32,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
