	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msm_cm_dll_set_freq
_msm_cm_dll_set_freq:                   ## @msm_cm_dll_set_freq
	.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	%rdi, %r15
	callq	_sdhci_priv_msm_offset
	movq	%rax, %r14
	movl	(%r15), %eax
	xorl	%ebx, %ebx
	cmpl	$112000001, %eax                ## imm = 0x6ACFC01
	jl	LBB0_8
## %bb.1:
	movl	$1, %ebx
	cmpl	$125000001, %eax                ## imm = 0x7735941
	jb	LBB0_8
## %bb.2:
	movl	$2, %ebx
	cmpl	$137000001, %eax                ## imm = 0x82A7441
	jb	LBB0_8
## %bb.3:
	movl	$3, %ebx
	cmpl	$150000001, %eax                ## imm = 0x8F0D181
	jb	LBB0_8
## %bb.4:
	movl	$4, %ebx
	cmpl	$162000001, %eax                ## imm = 0x9A7EC81
	jb	LBB0_8
## %bb.5:
	movl	$5, %ebx
	cmpl	$175000001, %eax                ## imm = 0xA6E49C1
	jb	LBB0_8
## %bb.6:
	movl	$6, %ebx
	cmpl	$187000001, %eax                ## imm = 0xB2564C1
	jb	LBB0_8
## %bb.7:
	xorl	%ecx, %ecx
	cmpl	$200000001, %eax                ## imm = 0xBEBC201
	movl	$7, %ebx
	cmovael	%ecx, %ebx
LBB0_8:
	movq	(%r14), %rdi
	addq	8(%r15), %rdi
	callq	_readl_relaxed
	movq	_CMUX_SHIFT_PHASE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	_CMUX_SHIFT_PHASE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %ebx
	orl	%edx, %ebx
	movq	(%r14), %rsi
	addq	8(%r15), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel_relaxed                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMUX_SHIFT_PHASE_MASK,4,2      ## @CMUX_SHIFT_PHASE_MASK
	.comm	_CMUX_SHIFT_PHASE_SHIFT,4,2     ## @CMUX_SHIFT_PHASE_SHIFT
	.no_dead_strip	_msm_cm_dll_set_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msm_cm_dll_set_freq
_msm_cm_dll_set_freq:                   ; @msm_cm_dll_set_freq
	.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, x0
	bl	_sdhci_priv_msm_offset
	mov	x20, x0
	ldr	w8, [x19]
	mov	w9, #64513
	movk	w9, #1708, lsl #16
	cmp	w8, w9
	b.ge	LBB0_2
; %bb.1:
	mov	w21, #0
	b	LBB0_5
LBB0_2:
	mov	w9, #22849
	movk	w9, #1907, lsl #16
	cmp	w8, w9
	b.hs	LBB0_4
; %bb.3:
	mov	w21, #1
	b	LBB0_5
LBB0_4:
	mov	w9, #2
	mov	w10, #29761
	movk	w10, #2090, lsl #16
	mov	w11, #3
	mov	w12, #53633
	movk	w12, #2288, lsl #16
	mov	w13, #4
	mov	w14, #60545
	movk	w14, #2471, lsl #16
	mov	w15, #5
	mov	w16, #18881
	movk	w16, #2670, lsl #16
	mov	w17, #6
	mov	w0, #25793
	movk	w0, #2853, lsl #16
	mov	w1, #49665
	movk	w1, #3051, lsl #16
	mov	w2, #7
	cmp	w8, w1
	csel	w1, w2, wzr, lo
	cmp	w8, w0
	csel	w17, w17, w1, lo
	cmp	w8, w16
	csel	w15, w15, w17, lo
	cmp	w8, w14
	csel	w13, w13, w15, lo
	cmp	w8, w12
	csel	w11, w11, w13, lo
	cmp	w8, w10
	csel	w21, w9, w11, lo
LBB0_5:
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x0, x9, x8
	bl	_readl_relaxed
Lloh0:
	adrp	x8, _CMUX_SHIFT_PHASE_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMUX_SHIFT_PHASE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh3:
	adrp	x9, _CMUX_SHIFT_PHASE_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CMUX_SHIFT_PHASE_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w21, w9
	orr	w0, w9, w8
	ldr	x8, [x19, #8]
	ldr	x9, [x20]
	add	x1, x9, 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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CMUX_SHIFT_PHASE_MASK,4,2      ; @CMUX_SHIFT_PHASE_MASK
	.comm	_CMUX_SHIFT_PHASE_SHIFT,4,2     ; @CMUX_SHIFT_PHASE_SHIFT
	.no_dead_strip	_msm_cm_dll_set_freq
.subsections_via_symbols
