	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function esdhc_readw_fixup
_esdhc_readw_fixup:                     ## @esdhc_readw_fixup
	.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	%edx, %r14d
	movl	%esi, %ebx
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	_SDHCI_HOST_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leal	(,%rbx,8), %ecx
	andb	$16, %cl
	xorl	%esi, %esi
	cmpl	%ebx, %edx
	movzbl	%cl, %ecx
	cmovel	%esi, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %r14d
	movq	%rax, %rcx
	movzwl	%r14w, %eax
	cmpl	%ebx, %edx
	jne	LBB0_3
## %bb.1:
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_VENDOR_V_23@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SDHCI_VENDOR_VER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_SDHCI_SPEC_200@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_HOST_VERSION,4,2         ## @SDHCI_HOST_VERSION
	.comm	_VENDOR_V_23,4,2                ## @VENDOR_V_23
	.comm	_SDHCI_VENDOR_VER_SHIFT,4,2     ## @SDHCI_VENDOR_VER_SHIFT
	.comm	_SDHCI_SPEC_200,4,2             ## @SDHCI_SPEC_200
	.no_dead_strip	_esdhc_readw_fixup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function esdhc_readw_fixup
_esdhc_readw_fixup:                     ; @esdhc_readw_fixup
	.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, x2
	mov	x20, x1
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	mov	x8, x0
Lloh0:
	adrp	x9, _SDHCI_HOST_VERSION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SDHCI_HOST_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w10, w20, #3
	and	w10, w10, #0x10
	cmp	w9, w20
	csel	w9, wzr, w10, eq
	asr	w9, w19, w9
	and	w0, w9, #0xffff
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _VENDOR_V_23@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VENDOR_V_23@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _SDHCI_VENDOR_VER_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SDHCI_VENDOR_VER_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh9:
	adrp	x9, _SDHCI_SPEC_200@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SDHCI_SPEC_200@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w0, w8, w9
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_HOST_VERSION,4,2         ; @SDHCI_HOST_VERSION
	.comm	_VENDOR_V_23,4,2                ; @VENDOR_V_23
	.comm	_SDHCI_VENDOR_VER_SHIFT,4,2     ; @SDHCI_VENDOR_VER_SHIFT
	.comm	_SDHCI_SPEC_200,4,2             ; @SDHCI_SPEC_200
	.no_dead_strip	_esdhc_readw_fixup
.subsections_via_symbols
