	.file	"extr_sdhci-esdhc-imx.c_esdhc_readb_le.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	esdhc_readb_le, @function
esdhc_readb_le:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rdi, QWORD PTR [rdi]
	cmp	esi, 128
	je	.L9
	movsx	rsi, esi
	add	rdi, rsi
	jmp	readb@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	sub	rdi, -128
	call	readl@PLT
	mov	edx, DWORD PTR ESDHC_CTRL_8BITBUS[rip]
	mov	ecx, eax
	sar	eax, 5
	and	eax, DWORD PTR SDHCI_CTRL_DMA_MASK[rip]
	and	edx, ecx
	sal	edx, 3
	or	eax, edx
	mov	edx, DWORD PTR SDHCI_CTRL_LED[rip]
	or	edx, DWORD PTR ESDHC_CTRL_4BITBUS[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	and	edx, ecx
	or	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	esdhc_readb_le, .-esdhc_readb_le
	.comm	SDHCI_CTRL_LED,4,4
	.comm	SDHCI_CTRL_DMA_MASK,4,4
	.comm	ESDHC_CTRL_8BITBUS,4,4
	.comm	ESDHC_CTRL_4BITBUS,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_sdhci-esdhc-imx.c_esdhc_readb_le.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	esdhc_readb_le, %function
esdhc_readb_le:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #128
	ldr	r0, [r0]
	beq	.L9
	add	r0, r1, r0
	b	readb
.L9:
	push	{r4, lr}
	add	r0, r0, #128
	bl	readl
	ldr	r3, .L10
	ldr	r1, .L10+4
	ldr	r2, .L10+8
	ldr	ip, .L10+12
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	ldr	ip, [ip]
	and	r1, r1, r0
	and	r3, r3, r0, asr #5
	orr	r2, r2, ip
	orr	r3, r3, r1, lsl #3
	and	r0, r0, r2
	orr	r0, r3, r0
	pop	{r4, pc}
.L11:
	.align	2
.L10:
	.word	SDHCI_CTRL_DMA_MASK
	.word	ESDHC_CTRL_8BITBUS
	.word	SDHCI_CTRL_LED
	.word	ESDHC_CTRL_4BITBUS
	.size	esdhc_readb_le, .-esdhc_readb_le
	.comm	SDHCI_CTRL_LED,4,4
	.comm	SDHCI_CTRL_DMA_MASK,4,4
	.comm	ESDHC_CTRL_8BITBUS,4,4
	.comm	ESDHC_CTRL_4BITBUS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
