	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esdhc_readb_le
_esdhc_readb_le:                        ## @esdhc_readb_le
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	cmpl	$128, %esi
	jne	LBB0_2
## %bb.1:
	subq	$-128, %rdi
	callq	_readl
	movq	_SDHCI_CTRL_LED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%eax, %edx
	sarl	$5, %edx
	movq	_SDHCI_CTRL_DMA_MASK@GOTPCREL(%rip), %rsi
	andl	(%rsi), %edx
	orl	%ecx, %edx
	movq	_ESDHC_CTRL_4BITBUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	orl	%edx, %ecx
	movq	_ESDHC_CTRL_8BITBUS@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	shll	$3, %eax
	orl	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	movslq	%esi, %rax
	addq	%rax, %rdi
	popq	%rbp
	jmp	_readb                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_CTRL_LED,4,2             ## @SDHCI_CTRL_LED
	.comm	_SDHCI_CTRL_DMA_MASK,4,2        ## @SDHCI_CTRL_DMA_MASK
	.comm	_ESDHC_CTRL_4BITBUS,4,2         ## @ESDHC_CTRL_4BITBUS
	.comm	_ESDHC_CTRL_8BITBUS,4,2         ## @ESDHC_CTRL_8BITBUS
	.no_dead_strip	_esdhc_readb_le
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esdhc_readb_le
_esdhc_readb_le:                        ; @esdhc_readb_le
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	cmp	w1, #128
	b.ne	LBB0_2
; %bb.1:
	add	x0, x8, #128
	bl	_readl
Lloh0:
	adrp	x8, _SDHCI_CTRL_LED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_CTRL_LED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh3:
	adrp	x9, _SDHCI_CTRL_DMA_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SDHCI_CTRL_DMA_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w0, asr #5
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _ESDHC_CTRL_4BITBUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ESDHC_CTRL_4BITBUS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w0
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _ESDHC_CTRL_8BITBUS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ESDHC_CTRL_8BITBUS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w9, w9, w0
	orr	w0, w8, w9, lsl #3
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	add	x0, x8, w1, sxtw
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_readb
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_CTRL_LED,4,2             ; @SDHCI_CTRL_LED
	.comm	_SDHCI_CTRL_DMA_MASK,4,2        ; @SDHCI_CTRL_DMA_MASK
	.comm	_ESDHC_CTRL_4BITBUS,4,2         ; @ESDHC_CTRL_4BITBUS
	.comm	_ESDHC_CTRL_8BITBUS,4,2         ; @ESDHC_CTRL_8BITBUS
	.no_dead_strip	_esdhc_readb_le
.subsections_via_symbols
