	.file	"extr_rtree.c_rtreeInsertCell.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rtreeInsertCell, @function
rtreeInsertCell:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	ecx, ecx
	jg	.L15
.L3:
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	call	nodeInsertCell@PLT
	test	rax, rax
	je	.L5
	cmp	DWORD PTR 0[rbp], r13d
	jge	.L6
	cmp	DWORD PTR [r12], 1
	je	.L6
	mov	DWORD PTR 0[rbp], r13d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r13d
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	Reinsert@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r13d
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	SplitNode@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	esi, DWORD PTR [rdx]
	call	nodeHashLookup@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L3
	mov	rsi, QWORD PTR 8[rax]
	mov	rdi, rbp
	call	nodeRelease@PLT
	mov	rdi, r12
	call	nodeReference@PLT
	mov	QWORD PTR 8[rbx], r12
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdx, r14
	mov	rsi, r12
	mov	rdi, rbp
	call	AdjustTree@PLT
	cmp	DWORD PTR SQLITE_OK[rip], eax
	je	.L16
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	edx, DWORD PTR [r12]
	mov	esi, DWORD PTR [r14]
	mov	rdi, rbp
	test	r13d, r13d
	jne	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	rowidWrite@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	parentWrite@PLT
	.cfi_endproc
.LFE0:
	.size	rtreeInsertCell, .-rtreeInsertCell
	.comm	SQLITE_OK,4,4
	.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_rtreeInsertCell.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtreeInsertCell, %function
rtreeInsertCell:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r7, r3, #0
	mov	r6, r1
	mov	r8, r2
	mov	r4, r0
	bgt	.L15
.L3:
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	bl	nodeInsertCell
	cmp	r0, #0
	beq	.L5
	ldr	r3, [r4]
	cmp	r3, r7
	bge	.L6
	ldr	r3, [r6]
	cmp	r3, #1
	beq	.L6
	mov	r3, r7
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	str	r7, [r4]
	pop	{r4, r5, r6, r7, r8, lr}
	b	Reinsert
.L6:
	mov	r3, r7
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	SplitNode
.L15:
	ldr	r1, [r2]
	bl	nodeHashLookup
	subs	r5, r0, #0
	beq	.L3
	ldr	r1, [r5, #4]
	mov	r0, r4
	bl	nodeRelease
	mov	r0, r6
	bl	nodeReference
	str	r6, [r5, #4]
	b	.L3
.L5:
	mov	r2, r8
	mov	r1, r6
	mov	r0, r4
	bl	AdjustTree
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, r0
	popne	{r4, r5, r6, r7, r8, pc}
	cmp	r7, #0
	mov	r0, r4
	ldr	r1, [r8]
	ldr	r2, [r6]
	bne	.L9
	pop	{r4, r5, r6, r7, r8, lr}
	b	rowidWrite
.L9:
	pop	{r4, r5, r6, r7, r8, lr}
	b	parentWrite
.L17:
	.align	2
.L16:
	.word	SQLITE_OK
	.size	rtreeInsertCell, .-rtreeInsertCell
	.comm	SQLITE_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
