	.file	"extr_sqlite3.c_btreeHeapInsert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	btreeHeapInsert, @function
btreeHeapInsert:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	lea	r8, 1[rax]
	mov	rax, r8
	mov	QWORD PTR [rdi], r8
	shr	rax
	mov	QWORD PTR [rdi+r8*8], rsi
	cmp	r8, 1
	ja	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	mov	QWORD PTR [rdx], rsi
	mov	QWORD PTR [r8], rcx
	mov	rcx, rax
	shr	rcx
	cmp	rax, 1
	jbe	.L1
	mov	rsi, QWORD PTR [rdx]
	mov	r8, rax
	mov	rax, rcx
.L2:
	lea	rdx, [rdi+rax*8]
	lea	r8, [rdi+r8*8]
	mov	rcx, QWORD PTR [rdx]
	cmp	rcx, rsi
	ja	.L4
.L1:
	ret
.L7:
	ret
	.cfi_endproc
.LFE0:
	.size	btreeHeapInsert, .-btreeHeapInsert
	.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_sqlite3.c_btreeHeapInsert.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	btreeHeapInsert, %function
btreeHeapInsert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	add	ip, ip, #1
	cmp	ip, #1
	str	ip, [r0]
	str	r1, [r0, ip, lsl #2]
	bxls	lr
	str	lr, [sp, #-4]!
	lsr	r3, ip, #1
.L2:
	ldr	r2, [r0, r3, lsl #2]
	lsl	lr, r3, #2
	cmp	r2, r1
	ldrls	pc, [sp], #4
	cmp	r3, #1
	str	r1, [r0, r3, lsl #2]
	lsr	r1, r3, #1
	str	r2, [r0, ip, lsl #2]
	ldrls	pc, [sp], #4
	mov	ip, r3
	mov	r3, r1
	ldr	r1, [r0, lr]
	b	.L2
	.size	btreeHeapInsert, .-btreeHeapInsert
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
