	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esdhc_readw_le
_esdhc_readw_le:                        ## @esdhc_readw_le
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %r15
	movq	_SDHCI_HOST_VERSION@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r15, %rdi
	callq	_esdhc_is_usdhc
	testq	%rax, %rax
	je	LBB0_2
## %bb.23:
	movq	_SDHCI_SPEC_300@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_24
LBB0_2:
	xorl	$2, %ebx
LBB0_3:
	movq	_SDHCI_HOST_CONTROL2@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	_ESDHC_VENDOR_SPEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
	movq	_ESDHC_VENDOR_SPEC_VSELECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%ebx, %r12d
	je	LBB0_6
## %bb.5:
	movq	_SDHCI_CTRL_VDD_180@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_6:
	movq	%r15, %rdi
	callq	_esdhc_is_usdhc
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	(%r15), %rax
	movl	(%rax), %eax
	movq	_ESDHC_FLAG_MAN_TUNING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_ESDHC_MIX_CTRL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_17:
	movq	_SDHCI_TRANSFER_MODE@GOTPCREL(%rip), %r12
	xorl	%edi, %edi
	cmpl	(%r12), %ebx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	movq	%r15, %rdi
	callq	_esdhc_is_usdhc
	movq	(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	_ESDHC_MIX_CTRL@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_readl
	movl	%eax, %ecx
	movq	_ESDHC_MIX_CTRL_SDHCI_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%ecx, %edx
	movq	_ESDHC_MIX_CTRL_AC23EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, %eax
	notl	%eax
	andl	%edx, %eax
	movq	_SDHCI_TRNS_AUTO_CMD23@GOTPCREL(%rip), %rdi
	orl	(%rdi), %eax
	testl	%ecx, %esi
	cmovel	%edx, %eax
	jmp	LBB0_24
LBB0_9:
	movq	_ESDHC_FLAG_STD_TUNING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.10:
	movq	_SDHCI_AUTO_CMD_STATUS@GOTPCREL(%rip), %rax
LBB0_11:
	movq	(%rax), %rdi
	addq	(%r14), %rdi
	callq	_readl
	movl	%eax, %ebx
LBB0_12:
	movq	_ESDHC_MIX_CTRL_EXE_TUNE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%ebx, %ecx
	je	LBB0_14
## %bb.13:
	movq	_SDHCI_CTRL_EXEC_TUNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_14:
	orl	%r12d, %ecx
	movq	_ESDHC_MIX_CTRL_SMPCLK_SEL@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	je	LBB0_16
## %bb.15:
	movq	_SDHCI_CTRL_TUNED_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	orl	%ebx, %ecx
	movq	_SDHCI_CTRL_PRESET_VAL_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
LBB0_24:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movslq	%ebx, %rdi
	addq	(%r14), %rdi
	jmp	LBB0_21
LBB0_20:
	movslq	(%r12), %rax
	addq	%rax, %rdi
LBB0_21:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_readw                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_HOST_VERSION,4,2         ## @SDHCI_HOST_VERSION
	.comm	_SDHCI_SPEC_300,4,2             ## @SDHCI_SPEC_300
	.comm	_SDHCI_HOST_CONTROL2,4,2        ## @SDHCI_HOST_CONTROL2
	.comm	_ESDHC_VENDOR_SPEC,8,3          ## @ESDHC_VENDOR_SPEC
	.comm	_ESDHC_VENDOR_SPEC_VSELECT,4,2  ## @ESDHC_VENDOR_SPEC_VSELECT
	.comm	_SDHCI_CTRL_VDD_180,4,2         ## @SDHCI_CTRL_VDD_180
	.comm	_ESDHC_FLAG_MAN_TUNING,4,2      ## @ESDHC_FLAG_MAN_TUNING
	.comm	_ESDHC_MIX_CTRL,8,3             ## @ESDHC_MIX_CTRL
	.comm	_ESDHC_FLAG_STD_TUNING,4,2      ## @ESDHC_FLAG_STD_TUNING
	.comm	_SDHCI_AUTO_CMD_STATUS,8,3      ## @SDHCI_AUTO_CMD_STATUS
	.comm	_ESDHC_MIX_CTRL_EXE_TUNE,4,2    ## @ESDHC_MIX_CTRL_EXE_TUNE
	.comm	_SDHCI_CTRL_EXEC_TUNING,4,2     ## @SDHCI_CTRL_EXEC_TUNING
	.comm	_ESDHC_MIX_CTRL_SMPCLK_SEL,4,2  ## @ESDHC_MIX_CTRL_SMPCLK_SEL
	.comm	_SDHCI_CTRL_TUNED_CLK,4,2       ## @SDHCI_CTRL_TUNED_CLK
	.comm	_SDHCI_CTRL_PRESET_VAL_ENABLE,4,2 ## @SDHCI_CTRL_PRESET_VAL_ENABLE
	.comm	_SDHCI_TRANSFER_MODE,4,2        ## @SDHCI_TRANSFER_MODE
	.comm	_ESDHC_MIX_CTRL_SDHCI_MASK,4,2  ## @ESDHC_MIX_CTRL_SDHCI_MASK
	.comm	_ESDHC_MIX_CTRL_AC23EN,4,2      ## @ESDHC_MIX_CTRL_AC23EN
	.comm	_SDHCI_TRNS_AUTO_CMD23,4,2      ## @SDHCI_TRNS_AUTO_CMD23
	.no_dead_strip	_esdhc_readw_le
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esdhc_readw_le
_esdhc_readw_le:                        ; @esdhc_readw_le
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	mov	x20, x0
Lloh0:
	adrp	x8, _SDHCI_HOST_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDHCI_HOST_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	bl	_esdhc_is_usdhc
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _SDHCI_SPEC_300@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SDHCI_SPEC_300@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_15
LBB0_3:
	eor	w21, w21, #0x2
LBB0_4:
Lloh6:
	adrp	x8, _SDHCI_HOST_CONTROL2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SDHCI_HOST_CONTROL2@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _ESDHC_VENDOR_SPEC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ESDHC_VENDOR_SPEC@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
Lloh12:
	adrp	x8, _ESDHC_VENDOR_SPEC_VSELECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ESDHC_VENDOR_SPEC_VSELECT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SDHCI_CTRL_VDD_180@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SDHCI_CTRL_VDD_180@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w22, wzr, w9, eq
	mov	x0, x20
	bl	_esdhc_is_usdhc
	cbz	x0, LBB0_14
; %bb.6:
	ldr	x8, [x20]
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _ESDHC_FLAG_MAN_TUNING@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ESDHC_FLAG_MAN_TUNING@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.7:
Lloh21:
	adrp	x8, _ESDHC_MIX_CTRL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ESDHC_MIX_CTRL@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh23:
	adrp	x22, _SDHCI_TRANSFER_MODE@GOTPAGE
Lloh24:
	ldr	x22, [x22, _SDHCI_TRANSFER_MODE@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w21, w8
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_16
; %bb.9:
	mov	x0, x20
	bl	_esdhc_is_usdhc
	ldr	x8, [x19]
	cbz	x0, LBB0_17
; %bb.10:
Lloh25:
	adrp	x9, _ESDHC_MIX_CTRL@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ESDHC_MIX_CTRL@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh28:
	adrp	x8, _ESDHC_MIX_CTRL_SDHCI_MASK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ESDHC_MIX_CTRL_SDHCI_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh31:
	adrp	x9, _ESDHC_MIX_CTRL_AC23EN@GOTPAGE
Lloh32:
	ldr	x9, [x9, _ESDHC_MIX_CTRL_AC23EN@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	bic	w10, w8, w9
Lloh34:
	adrp	x11, _SDHCI_TRNS_AUTO_CMD23@GOTPAGE
Lloh35:
	ldr	x11, [x11, _SDHCI_TRNS_AUTO_CMD23@GOTPAGEOFF]
Lloh36:
	ldr	w11, [x11]
	orr	w10, w10, w11
	tst	w9, w0
	csel	w0, w8, w10, eq
	b	LBB0_15
LBB0_11:
Lloh37:
	adrp	x9, _ESDHC_FLAG_STD_TUNING@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ESDHC_FLAG_STD_TUNING@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
Lloh40:
	adrp	x8, _SDHCI_AUTO_CMD_STATUS@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SDHCI_AUTO_CMD_STATUS@GOTPAGEOFF]
LBB0_13:
	ldr	x9, [x19]
	ldr	x8, [x8]
	add	x0, x8, x9
	bl	_readl
	mov	x21, x0
LBB0_14:
Lloh42:
	adrp	x8, _ESDHC_MIX_CTRL_EXE_TUNE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ESDHC_MIX_CTRL_EXE_TUNE@GOTPAGEOFF]
Lloh44:
	adrp	x9, _SDHCI_CTRL_EXEC_TUNING@GOTPAGE
Lloh45:
	ldr	x9, [x9, _SDHCI_CTRL_EXEC_TUNING@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
Lloh47:
	ldr	w9, [x9]
	tst	w8, w21
	csel	w8, wzr, w9, eq
Lloh48:
	adrp	x9, _ESDHC_MIX_CTRL_SMPCLK_SEL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _ESDHC_MIX_CTRL_SMPCLK_SEL@GOTPAGEOFF]
	orr	w8, w8, w22
Lloh50:
	ldr	w9, [x9]
Lloh51:
	adrp	x10, _SDHCI_CTRL_TUNED_CLK@GOTPAGE
Lloh52:
	ldr	x10, [x10, _SDHCI_CTRL_TUNED_CLK@GOTPAGEOFF]
Lloh53:
	ldr	w10, [x10]
	tst	w9, w21
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh54:
	adrp	x9, _SDHCI_CTRL_PRESET_VAL_ENABLE@GOTPAGE
Lloh55:
	ldr	x9, [x9, _SDHCI_CTRL_PRESET_VAL_ENABLE@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	bic	w0, w8, w9
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_16:
	ldr	x8, [x19]
	add	x0, x8, w21, sxtw
	b	LBB0_18
LBB0_17:
	ldrsw	x9, [x22]
	add	x0, x8, x9
LBB0_18:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_readw
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_HOST_VERSION,4,2         ; @SDHCI_HOST_VERSION
	.comm	_SDHCI_SPEC_300,4,2             ; @SDHCI_SPEC_300
	.comm	_SDHCI_HOST_CONTROL2,4,2        ; @SDHCI_HOST_CONTROL2
	.comm	_ESDHC_VENDOR_SPEC,8,3          ; @ESDHC_VENDOR_SPEC
	.comm	_ESDHC_VENDOR_SPEC_VSELECT,4,2  ; @ESDHC_VENDOR_SPEC_VSELECT
	.comm	_SDHCI_CTRL_VDD_180,4,2         ; @SDHCI_CTRL_VDD_180
	.comm	_ESDHC_FLAG_MAN_TUNING,4,2      ; @ESDHC_FLAG_MAN_TUNING
	.comm	_ESDHC_MIX_CTRL,8,3             ; @ESDHC_MIX_CTRL
	.comm	_ESDHC_FLAG_STD_TUNING,4,2      ; @ESDHC_FLAG_STD_TUNING
	.comm	_SDHCI_AUTO_CMD_STATUS,8,3      ; @SDHCI_AUTO_CMD_STATUS
	.comm	_ESDHC_MIX_CTRL_EXE_TUNE,4,2    ; @ESDHC_MIX_CTRL_EXE_TUNE
	.comm	_SDHCI_CTRL_EXEC_TUNING,4,2     ; @SDHCI_CTRL_EXEC_TUNING
	.comm	_ESDHC_MIX_CTRL_SMPCLK_SEL,4,2  ; @ESDHC_MIX_CTRL_SMPCLK_SEL
	.comm	_SDHCI_CTRL_TUNED_CLK,4,2       ; @SDHCI_CTRL_TUNED_CLK
	.comm	_SDHCI_CTRL_PRESET_VAL_ENABLE,4,2 ; @SDHCI_CTRL_PRESET_VAL_ENABLE
	.comm	_SDHCI_TRANSFER_MODE,4,2        ; @SDHCI_TRANSFER_MODE
	.comm	_ESDHC_MIX_CTRL_SDHCI_MASK,4,2  ; @ESDHC_MIX_CTRL_SDHCI_MASK
	.comm	_ESDHC_MIX_CTRL_AC23EN,4,2      ; @ESDHC_MIX_CTRL_AC23EN
	.comm	_SDHCI_TRNS_AUTO_CMD23,4,2      ; @SDHCI_TRNS_AUTO_CMD23
	.no_dead_strip	_esdhc_readw_le
.subsections_via_symbols
