	.file	"extr_aio-cpu.c_find_volume.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	find_volume, @function
find_volume:
.LFB0:
	.cfi_startproc
	endbr64
	mov	edx, DWORD PTR [rdi]
	test	edx, edx
	jle	.L5
	mov	rax, QWORD PTR 8[rdi]
	sub	edx, 1
	lea	rcx, 8[rax+rdx*8]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	r8, QWORD PTR [rax]
	mov	rdx, QWORD PTR [r8]
	test	rdx, rdx
	je	.L3
	cmp	DWORD PTR [rdx], esi
	je	.L1
.L3:
	add	rax, 8
	cmp	rax, rcx
	jne	.L4
.L5:
	xor	r8d, r8d
.L1:
	mov	rax, r8
	ret
	.cfi_endproc
.LFE0:
	.size	find_volume, .-find_volume
	.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_aio-cpu.c_find_volume.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_volume, %function
find_volume:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	str	lr, [sp, #-4]!
	ldr	lr, [r0]
	cmp	lr, #0
	ble	.L5
	mov	r3, #0
	ldr	ip, [r0, #4]
	sub	ip, ip, #4
.L4:
	ldr	r0, [ip, #4]!
	add	r3, r3, #1
	ldr	r2, [r0]
	cmp	r2, #0
	beq	.L3
	ldr	r2, [r2]
	cmp	r2, r1
	ldreq	pc, [sp], #4
.L3:
	cmp	lr, r3
	bne	.L4
.L5:
	mov	r0, #0
	ldr	pc, [sp], #4
	.size	find_volume, .-find_volume
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
