	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdhci_msm_set_cdr
_sdhci_msm_set_cdr:                     ## @sdhci_msm_set_cdr
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_sdhci_priv_msm_offset
	movq	%rax, %r14
	movq	(%rax), %rdi
	addq	(%rbx), %rdi
	callq	_readl_relaxed
	movq	_CORE_CDR_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	orl	%eax, %ecx
	movq	_CORE_CDR_EXT_EN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	notl	%edi
	andl	%ecx, %edi
	cmpl	%eax, %edi
	jne	LBB0_5
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	notl	%ecx
	andl	%eax, %ecx
	movq	_CORE_CDR_EXT_EN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, %edi
	cmpl	%eax, %edi
	je	LBB0_4
LBB0_5:
	movq	(%r14), %rsi
	addq	(%rbx), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CORE_CDR_EN,4,2                ## @CORE_CDR_EN
	.comm	_CORE_CDR_EXT_EN,4,2            ## @CORE_CDR_EXT_EN
	.no_dead_strip	_sdhci_msm_set_cdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdhci_msm_set_cdr
_sdhci_msm_set_cdr:                     ; @sdhci_msm_set_cdr
	.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_msm_offset
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x9, [x0]
	add	x0, x9, x8
	bl	_readl_relaxed
Lloh0:
	adrp	x8, _CORE_CDR_EN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CORE_CDR_EN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w21, LBB0_3
; %bb.1:
	orr	w8, w8, w0
Lloh3:
	adrp	x9, _CORE_CDR_EXT_EN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CORE_CDR_EXT_EN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	bic	w8, w8, w9
	cmp	w8, w0
	b.ne	LBB0_4
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
LBB0_3:
	bic	w8, w0, w8
Lloh6:
	adrp	x9, _CORE_CDR_EXT_EN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CORE_CDR_EXT_EN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
	cmp	w8, w0
	b.eq	LBB0_2
LBB0_4:
	ldr	x9, [x19]
	ldr	x10, [x20]
	add	x1, x10, x9
	mov	x0, x8
	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	_writel_relaxed
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CORE_CDR_EN,4,2                ; @CORE_CDR_EN
	.comm	_CORE_CDR_EXT_EN,4,2            ; @CORE_CDR_EXT_EN
	.no_dead_strip	_sdhci_msm_set_cdr
.subsections_via_symbols
