	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_sprd_hs400_enhanced_strobe
_sdhci_sprd_hs400_enhanced_strobe:      ## @sdhci_sprd_hs400_enhanced_strobe
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_mmc_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TO_SPRD_HOST
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	(%rax), %r14
	movq	%rbx, %rdi
	callq	_sdhci_sprd_sd_clk_off
	movq	_SDHCI_HOST_CONTROL2@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_sdhci_readw
	movq	_SDHCI_CTRL_UHS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_SDHCI_SPRD_CTRL_HS400ES@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_sdhci_writew
	movq	%rbx, %rdi
	callq	_sdhci_sprd_sd_clk_on
	movq	_MMC_TIMING_MMC_HS400@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	4(%r14,%rax,4), %esi
	movq	_SDHCI_SPRD_REG_32_DLL_DLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdhci_writel                   ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_HOST_CONTROL2,4,2        ## @SDHCI_HOST_CONTROL2
	.comm	_SDHCI_CTRL_UHS_MASK,4,2        ## @SDHCI_CTRL_UHS_MASK
	.comm	_SDHCI_SPRD_CTRL_HS400ES,4,2    ## @SDHCI_SPRD_CTRL_HS400ES
	.comm	_MMC_TIMING_MMC_HS400,4,2       ## @MMC_TIMING_MMC_HS400
	.comm	_SDHCI_SPRD_REG_32_DLL_DLY,4,2  ## @SDHCI_SPRD_REG_32_DLL_DLY
	.no_dead_strip	_sdhci_sprd_hs400_enhanced_strobe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_sprd_hs400_enhanced_strobe
_sdhci_sprd_hs400_enhanced_strobe:      ; @sdhci_sprd_hs400_enhanced_strobe
	.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	x20, x1
	bl	_mmc_priv
	mov	x19, x0
	bl	_TO_SPRD_HOST
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x20, [x0]
	mov	x0, x19
	bl	_sdhci_sprd_sd_clk_off
Lloh0:
	adrp	x21, _SDHCI_HOST_CONTROL2@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SDHCI_HOST_CONTROL2@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sdhci_readw
Lloh2:
	adrp	x8, _SDHCI_CTRL_UHS_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SDHCI_CTRL_UHS_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _SDHCI_SPRD_CTRL_HS400ES@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SDHCI_SPRD_CTRL_HS400ES@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w2, [x21]
	mov	x0, x19
	bl	_sdhci_writew
	mov	x0, x19
	bl	_sdhci_sprd_sd_clk_on
Lloh8:
	adrp	x8, _MMC_TIMING_MMC_HS400@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MMC_TIMING_MMC_HS400@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	add	x8, x20, x8, lsl #2
	ldr	w1, [x8, #4]
Lloh11:
	adrp	x8, _SDHCI_SPRD_REG_32_DLL_DLY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SDHCI_SPRD_REG_32_DLL_DLY@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x19
	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	_sdhci_writel
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_HOST_CONTROL2,4,2        ; @SDHCI_HOST_CONTROL2
	.comm	_SDHCI_CTRL_UHS_MASK,4,2        ; @SDHCI_CTRL_UHS_MASK
	.comm	_SDHCI_SPRD_CTRL_HS400ES,4,2    ; @SDHCI_SPRD_CTRL_HS400ES
	.comm	_MMC_TIMING_MMC_HS400,4,2       ; @MMC_TIMING_MMC_HS400
	.comm	_SDHCI_SPRD_REG_32_DLL_DLY,4,2  ; @SDHCI_SPRD_REG_32_DLL_DLY
	.no_dead_strip	_sdhci_sprd_hs400_enhanced_strobe
.subsections_via_symbols
