	.file	"extr_..utildarray.h_darray_find.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	darray_find, @function
darray_find:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	xor	edi, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR [rsi], rcx
	setnb	dil
	call	assert@PLT
	cmp	rbx, QWORD PTR 0[r13]
	jb	.L4
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	add	rbx, 1
	cmp	QWORD PTR 0[r13], rbx
	jbe	.L2
.L4:
	mov	rdx, rbx
	mov	rsi, r13
	mov	rdi, rbp
	call	darray_item@PLT
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, rax
	call	memcmp@PLT
	test	rax, rax
	jne	.L9
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, rbx
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR DARRAY_INVALID[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	darray_find, .-darray_find
	.comm	DARRAY_INVALID,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_..utildarray.h_darray_find.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	darray_find, %function
darray_find:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r3
	mov	r5, r1
	ldr	r3, [r1]
	mov	r6, r0
	cmp	r3, r4
	movcc	r0, #0
	movcs	r0, #1
	mov	r7, r2
	bl	assert
	ldr	r3, [r5]
	cmp	r4, r3
	bcc	.L4
	b	.L2
.L9:
	ldr	r3, [r5]
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L2
.L4:
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	darray_item
	mov	r2, r6
	mov	r1, r7
	bl	memcmp
	cmp	r0, #0
	bne	.L9
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r3, .L10
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	DARRAY_INVALID
	.size	darray_find, .-darray_find
	.comm	DARRAY_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
