	.file	"extr_diskio.c_ff_diskio_get_drive.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ff_diskio_get_drive
	.type	ff_diskio_get_drive, @function
ff_diskio_get_drive:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdx, QWORD PTR FF_VOLUMES[rip]
	test	rdx, rdx
	je	.L2
	mov	rcx, QWORD PTR s_impls[rip]
	xor	eax, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	add	rax, 1
	cmp	rax, rdx
	je	.L2
.L5:
	mov	esi, DWORD PTR [rcx+rax*4]
	test	esi, esi
	jne	.L3
	mov	QWORD PTR [rdi], rax
	mov	eax, DWORD PTR ESP_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR ESP_ERR_NOT_FOUND[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	ff_diskio_get_drive, .-ff_diskio_get_drive
	.comm	s_impls,8,8
	.comm	FF_VOLUMES,8,8
	.comm	ESP_OK,4,4
	.comm	ESP_ERR_NOT_FOUND,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_diskio.c_ff_diskio_get_drive.c"
	.text
	.align	2
	.global	ff_diskio_get_drive
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_diskio_get_drive, %function
ff_diskio_get_drive:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L11
	ldr	ip, [r3]
	cmp	ip, #0
	beq	.L2
	ldr	r2, .L11+4
	mov	r3, #0
	ldr	r2, [r2]
	sub	r2, r2, #4
	b	.L5
.L3:
	add	r3, r3, #1
	cmp	r3, ip
	beq	.L2
.L5:
	ldr	r1, [r2, #4]!
	cmp	r1, #0
	bne	.L3
	ldr	r2, .L11+8
	str	r3, [r0]
	ldr	r0, [r2]
	bx	lr
.L2:
	ldr	r3, .L11+12
	ldr	r0, [r3]
	bx	lr
.L12:
	.align	2
.L11:
	.word	FF_VOLUMES
	.word	s_impls
	.word	ESP_OK
	.word	ESP_ERR_NOT_FOUND
	.size	ff_diskio_get_drive, .-ff_diskio_get_drive
	.comm	s_impls,4,4
	.comm	FF_VOLUMES,4,4
	.comm	ESP_OK,4,4
	.comm	ESP_ERR_NOT_FOUND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
