	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_omap_set_dll
_sdhci_omap_set_dll:                    ## @sdhci_omap_set_dll
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	_SDHCI_OMAP_DLL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_sdhci_omap_readl
	movq	_DLL_FORCE_VALUE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DLL_FORCE_SR_C_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_DLL_FORCE_SR_C_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	shll	%cl, %r14d
	notl	%edx
	andl	%eax, %edx
	orl	%edx, %r14d
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_sdhci_omap_writel
	movq	_DLL_CALIB@GOTPCREL(%rip), %r12
	orl	(%r12), %r14d
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_sdhci_omap_writel
	movl	$999, %ebx                      ## imm = 0x3E7
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %esi
	movq	%r13, %rdi
	callq	_sdhci_omap_readl
	movl	(%r12), %ecx
	subl	$1, %ebx
	setb	%dl
	testl	%eax, %ecx
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%dl, %dl
	je	LBB0_1
LBB0_3:
	notl	%ecx
	andl	%ecx, %eax
	movl	(%r15), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdhci_omap_writel              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_OMAP_DLL,4,2             ## @SDHCI_OMAP_DLL
	.comm	_DLL_FORCE_VALUE,4,2            ## @DLL_FORCE_VALUE
	.comm	_DLL_FORCE_SR_C_MASK,4,2        ## @DLL_FORCE_SR_C_MASK
	.comm	_DLL_FORCE_SR_C_SHIFT,4,2       ## @DLL_FORCE_SR_C_SHIFT
	.comm	_DLL_CALIB,4,2                  ## @DLL_CALIB
	.no_dead_strip	_sdhci_omap_set_dll
.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_dll
_sdhci_omap_set_dll:                    ; @sdhci_omap_set_dll
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _SDHCI_OMAP_DLL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SDHCI_OMAP_DLL@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_sdhci_omap_readl
Lloh2:
	adrp	x8, _DLL_FORCE_VALUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DLL_FORCE_VALUE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh5:
	adrp	x9, _DLL_FORCE_SR_C_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DLL_FORCE_SR_C_MASK@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	bic	w8, w8, w9
Lloh8:
	adrp	x9, _DLL_FORCE_SR_C_SHIFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DLL_FORCE_SR_C_SHIFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	lsl	w9, w20, w9
	orr	w20, w9, w8
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_sdhci_omap_writel
Lloh11:
	adrp	x22, _DLL_CALIB@GOTPAGE
Lloh12:
	ldr	x22, [x22, _DLL_CALIB@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w2, w8, w20
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sdhci_omap_writel
	mov	w20, #999
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_sdhci_omap_readl
	ldr	w8, [x22]
	and	w9, w8, w0
	cmp	w9, #0
	ccmp	w20, #0, #4, eq
	sub	w20, w20, #1
	b.ne	LBB0_1
; %bb.2:
	bic	w2, w0, w8
	ldr	w1, [x21]
	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_omap_writel
	.loh AdrpLdrGot	Lloh11, Lloh12
	.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_DLL,4,2             ; @SDHCI_OMAP_DLL
	.comm	_DLL_FORCE_VALUE,4,2            ; @DLL_FORCE_VALUE
	.comm	_DLL_FORCE_SR_C_MASK,4,2        ; @DLL_FORCE_SR_C_MASK
	.comm	_DLL_FORCE_SR_C_SHIFT,4,2       ; @DLL_FORCE_SR_C_SHIFT
	.comm	_DLL_CALIB,4,2                  ; @DLL_CALIB
	.no_dead_strip	_sdhci_omap_set_dll
.subsections_via_symbols
