	.file	"extr_diskio_sdmmc.c_ff_sdmmc_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"sdmmc_read_blocks failed (%d)"
	.text
	.p2align 4
	.globl	ff_sdmmc_read
	.type	ff_sdmmc_read, @function
ff_sdmmc_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, ecx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR s_cards[rip]
	mov	r14, QWORD PTR [rax+rdi*8]
	mov	rdi, r14
	call	assert@PLT
	mov	edx, r12d
	mov	ecx, r13d
	mov	rsi, rbp
	mov	rdi, r14
	call	sdmmc_read_sectors@PLT
	mov	rdx, rax
	cmp	QWORD PTR ESP_OK[rip], rdx
	mov	eax, DWORD PTR RES_OK[rip]
	jne	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR TAG[rip]
	lea	rsi, .LC0[rip]
	call	ESP_LOGE@PLT
	mov	eax, DWORD PTR RES_ERROR[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ff_sdmmc_read, .-ff_sdmmc_read
	.comm	s_cards,8,8
	.comm	TAG,4,4
	.comm	RES_OK,4,4
	.comm	RES_ERROR,4,4
	.comm	ESP_OK,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_diskio_sdmmc.c_ff_sdmmc_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"sdmmc_read_blocks failed (%d)\000"
	.text
	.align	2
	.global	ff_sdmmc_read
	.syntax unified
	.arm
	.fpu softvfp
	.type	ff_sdmmc_read, %function
ff_sdmmc_read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	mov	r5, r2
	mov	r6, r3
	ldr	ip, .L7
	ldr	r1, [ip]
	ldr	r7, [r1, r0, lsl #2]
	mov	r0, r7
	bl	assert
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	mov	r0, r7
	bl	sdmmc_read_sectors
	ldr	r3, .L7+4
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L6
	ldr	r3, .L7+8
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, .L7+12
	mov	r2, r0
	ldr	r1, .L7+16
	ldr	r0, [r3]
	bl	ESP_LOGE
	ldr	r3, .L7+20
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	s_cards
	.word	ESP_OK
	.word	RES_OK
	.word	TAG
	.word	.LC0
	.word	RES_ERROR
	.size	ff_sdmmc_read, .-ff_sdmmc_read
	.comm	s_cards,4,4
	.comm	TAG,4,4
	.comm	RES_OK,4,4
	.comm	RES_ERROR,4,4
	.comm	ESP_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
