	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_omap_set_uhs_signaling
_sdhci_omap_set_uhs_signaling:          ## @sdhci_omap_set_uhs_signaling
	.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, %r15d
	movq	%rdi, %r14
	callq	_sdhci_priv
	movq	%rax, %rdi
	callq	_sdhci_pltfm_priv
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_sdhci_omap_stop_clock
	movq	_SDHCI_OMAP_CON@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sdhci_omap_readl
	movq	_MMC_TIMING_UHS_DDR50@GOTPCREL(%rip), %rcx
	movq	_MMC_TIMING_MMC_DDR52@GOTPCREL(%rip), %rsi
	movq	_CON_DDR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %edi
	orl	%eax, %edi
	notl	%edx
	andl	%eax, %edx
	cmpl	%r15d, (%rsi)
	cmovel	%edi, %edx
	cmpl	%r15d, (%rcx)
	cmovel	%edi, %edx
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_sdhci_omap_writel
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_sdhci_set_uhs_signaling
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdhci_omap_start_clock         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_OMAP_CON,4,2             ## @SDHCI_OMAP_CON
	.comm	_MMC_TIMING_UHS_DDR50,4,2       ## @MMC_TIMING_UHS_DDR50
	.comm	_MMC_TIMING_MMC_DDR52,4,2       ## @MMC_TIMING_MMC_DDR52
	.comm	_CON_DDR,4,2                    ## @CON_DDR
	.no_dead_strip	_sdhci_omap_set_uhs_signaling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_omap_set_uhs_signaling
_sdhci_omap_set_uhs_signaling:          ; @sdhci_omap_set_uhs_signaling
	.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	x19, x1
	mov	x20, x0
	bl	_sdhci_priv
	bl	_sdhci_pltfm_priv
	mov	x21, x0
	bl	_sdhci_omap_stop_clock
Lloh0:
	adrp	x22, _SDHCI_OMAP_CON@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SDHCI_OMAP_CON@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_sdhci_omap_readl
Lloh2:
	adrp	x8, _MMC_TIMING_UHS_DDR50@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MMC_TIMING_UHS_DDR50@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _MMC_TIMING_MMC_DDR52@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MMC_TIMING_MMC_DDR52@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w9, w19
Lloh8:
	adrp	x9, _CON_DDR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CON_DDR@GOTPAGEOFF]
	ccmp	w8, w19, #4, ne
Lloh10:
	ldr	w8, [x9]
	orr	w9, w8, w0
	bic	w8, w0, w8
	csel	w2, w9, w8, eq
	ldr	w1, [x22]
	mov	x0, x21
	bl	_sdhci_omap_writel
	mov	x0, x20
	mov	x1, x19
	bl	_sdhci_set_uhs_signaling
	mov	x0, x21
	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_omap_start_clock
	.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_OMAP_CON,4,2             ; @SDHCI_OMAP_CON
	.comm	_MMC_TIMING_UHS_DDR50,4,2       ; @MMC_TIMING_UHS_DDR50
	.comm	_MMC_TIMING_MMC_DDR52,4,2       ; @MMC_TIMING_MMC_DDR52
	.comm	_CON_DDR,4,2                    ; @CON_DDR
	.no_dead_strip	_sdhci_omap_set_uhs_signaling
.subsections_via_symbols
