	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esdhc_be_readl
_esdhc_be_readl:                        ## @esdhc_be_readl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_SDHCI_CAPABILITIES_1@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_ESDHC_CAPABILITIES_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_3
LBB0_1:
	movslq	%ebx, %rdi
LBB0_3:
	addq	(%r14), %rdi
	callq	_ioread32be
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_esdhc_readl_fixup              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_CAPABILITIES_1,4,2       ## @SDHCI_CAPABILITIES_1
	.comm	_ESDHC_CAPABILITIES_1,8,3       ## @ESDHC_CAPABILITIES_1
	.no_dead_strip	_esdhc_be_readl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esdhc_be_readl
_esdhc_be_readl:                        ; @esdhc_be_readl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SDHCI_CAPABILITIES_1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_CAPABILITIES_1@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x0]
	sxtw	x10, w19
Lloh3:
	adrp	x11, _ESDHC_CAPABILITIES_1@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ESDHC_CAPABILITIES_1@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	w8, w1
	csel	x8, x11, x10, eq
	add	x0, x9, x8
	bl	_ioread32be
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_esdhc_readl_fixup
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_CAPABILITIES_1,4,2       ; @SDHCI_CAPABILITIES_1
	.comm	_ESDHC_CAPABILITIES_1,8,3       ; @ESDHC_CAPABILITIES_1
	.no_dead_strip	_esdhc_be_readl
.subsections_via_symbols
