	.file	"extr_uu_avl.c_uu_avl_nearest_next.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"outdated index"
.LC1:
	.string	"invalid index"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"uu_avl_nearest_next(%p, %p): %s\n"
	.text
	.p2align 4
	.globl	uu_avl_nearest_next
	.type	uu_avl_nearest_next, @function
uu_avl_nearest_next:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	QWORD PTR 8[rdi], 0
	mov	rbp, rdi
	jne	.L9
.L3:
	mov	r13d, DWORD PTR AVL_AFTER[rip]
	mov	rdi, r12
	call	INDEX_DECODE@PLT
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	mov	edx, r13d
	mov	esi, eax
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	avl_nearest@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	call	INDEX_VALID@PLT
	test	eax, eax
	jne	.L3
	mov	rdi, r12
	call	INDEX_CHECK@PLT
	lea	rcx, .LC0[rip]
	mov	rdx, r12
	mov	rsi, rbp
	test	rax, rax
	lea	rax, .LC1[rip]
	lea	rdi, .LC2[rip]
	cmove	rcx, rax
	call	uu_panic@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	uu_avl_nearest_next, .-uu_avl_nearest_next
	.comm	AVL_AFTER,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_uu_avl.c_uu_avl_nearest_next.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"outdated index\000"
	.align	2
.LC1:
	.ascii	"invalid index\000"
	.align	2
.LC2:
	.ascii	"uu_avl_nearest_next(%p, %p): %s\012\000"
	.text
	.align	2
	.global	uu_avl_nearest_next
	.syntax unified
	.arm
	.fpu softvfp
	.type	uu_avl_nearest_next, %function
uu_avl_nearest_next:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	bne	.L9
.L3:
	mov	r0, r5
	bl	INDEX_DECODE
	ldr	r3, .L10
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	avl_nearest
.L9:
	bl	INDEX_VALID
	cmp	r0, #0
	bne	.L3
	mov	r0, r5
	bl	INDEX_CHECK
	ldr	r1, .L10+4
	cmp	r0, #0
	ldr	r3, .L10+8
	mov	r2, r5
	moveq	r3, r1
	ldr	r0, .L10+12
	mov	r1, r4
	bl	uu_panic
	b	.L3
.L11:
	.align	2
.L10:
	.word	AVL_AFTER
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	uu_avl_nearest_next, .-uu_avl_nearest_next
	.comm	AVL_AFTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
