	.file	"extr_citrus_lookup.c_seq_next_db.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	seq_next_db, @function
seq_next_db:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8, rsi
	mov	r12, rdx
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rsi, QWORD PTR 40[rdi]
	test	rsi, rsi
	jne	.L14
	cmp	QWORD PTR 24[rdi], 0
	jne	.L4
	mov	rsi, QWORD PTR [rdi]
	mov	QWORD PTR 24[rbx], 0
	cmp	QWORD PTR 8[rbx], rsi
	jg	.L6
.L15:
	mov	eax, DWORD PTR ENOENT[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	QWORD PTR [rdi], 0
	mov	QWORD PTR 24[rbx], 0
	cmp	QWORD PTR 8[rbx], rsi
	jle	.L15
.L6:
	lea	rax, 1[rsi]
	mov	edi, DWORD PTR 16[rbx]
	mov	rcx, r12
	mov	rdx, r8
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	_db_get_entry@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	test	r8, r8
	je	.L3
	mov	edx, DWORD PTR 48[rdi]
	mov	rdi, r8
	call	_region_init@PLT
	mov	rsi, QWORD PTR 40[rbx]
.L3:
	mov	edi, DWORD PTR 16[rbx]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	lea	rcx, 32[rbx]
	mov	rdx, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	_db_lookup_by_s@PLT
	.cfi_endproc
.LFE0:
	.size	seq_next_db, .-seq_next_db
	.comm	ENOENT,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_citrus_lookup.c_seq_next_db.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	seq_next_db, %function
seq_next_db:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0, #20]
	push	{r4, r5, r6, lr}
	cmp	ip, #0
	mov	r4, r0
	mov	r5, r2
	mov	r0, r1
	bne	.L14
	mov	r2, #0
	ldr	r3, [r4, #12]
	str	r2, [r4, #12]
	cmp	r3, #0
	ldreq	ip, [r4]
	ldr	r3, [r4, #4]
	strne	ip, [r4]
	cmp	r3, ip
	bgt	.L6
	ldr	r3, .L15
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L6:
	add	r1, ip, #1
	str	r1, [r4]
	mov	r3, r5
	mov	r2, r0
	mov	r1, ip
	ldr	r0, [r4, #8]
	pop	{r4, r5, r6, lr}
	b	_db_get_entry
.L14:
	cmp	r1, #0
	beq	.L3
	mov	r1, ip
	ldr	r2, [r4, #24]
	bl	_region_init
	ldr	ip, [r4, #20]
.L3:
	mov	r2, r5
	ldr	r0, [r4, #8]
	add	r3, r4, #16
	mov	r1, ip
	pop	{r4, r5, r6, lr}
	b	_db_lookup_by_s
.L16:
	.align	2
.L15:
	.word	ENOENT
	.size	seq_next_db, .-seq_next_db
	.comm	ENOENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
