	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_dphy_ref_set_pll_cfg
_cdns_dphy_ref_set_pll_cfg:             ## @cdns_dphy_ref_set_pll_cfg
	.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
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %r15d
	movl	8(%rsi), %edi
	leal	3(%r15), %r13d
	testl	%r15d, %r15d
	cmovnsl	%r15d, %r13d
	sarl	$2, %r13d
	subl	%r13d, %r15d
	addl	$-2, %r13d
	movq	_DPHY_CMN_IPDIV_FROM_REG@GOTPCREL(%rip), %rax
	movq	_DPHY_CMN_OPDIV_FROM_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	callq	_DPHY_CMN_IPDIV
	movl	%eax, %ebx
	movl	4(%r12), %edi
	callq	_DPHY_CMN_OPDIV
	orl	%eax, %ebx
	orl	%r14d, %ebx
	movq	_DPHY_CMN_OPIPDIV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movq	_DPHY_CMN_FBDIV_FROM_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_DPHY_CMN_FBDIV_VAL
	orl	%eax, %ebx
	movq	_DPHY_CMN_FBDIV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	callq	_writel
	movl	$6, %edi
	callq	_DPHY_CMN_PWM_HIGH
	movl	%eax, %ebx
	movl	$257, %edi                      ## imm = 0x101
	callq	_DPHY_CMN_PWM_LOW
	orl	%eax, %ebx
	movl	$8, %edi
	callq	_DPHY_CMN_PWM_DIV
	orl	%eax, %ebx
	movq	_DPHY_CMN_PWM@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DPHY_CMN_IPDIV_FROM_REG,4,2    ## @DPHY_CMN_IPDIV_FROM_REG
	.comm	_DPHY_CMN_OPDIV_FROM_REG,4,2    ## @DPHY_CMN_OPDIV_FROM_REG
	.comm	_DPHY_CMN_OPIPDIV,8,3           ## @DPHY_CMN_OPIPDIV
	.comm	_DPHY_CMN_FBDIV_FROM_REG,4,2    ## @DPHY_CMN_FBDIV_FROM_REG
	.comm	_DPHY_CMN_FBDIV,8,3             ## @DPHY_CMN_FBDIV
	.comm	_DPHY_CMN_PWM,8,3               ## @DPHY_CMN_PWM
	.no_dead_strip	_cdns_dphy_ref_set_pll_cfg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_dphy_ref_set_pll_cfg
_cdns_dphy_ref_set_pll_cfg:             ; @cdns_dphy_ref_set_pll_cfg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	add	w9, w8, #3
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w9, w9, #2
	sub	w21, w9, #2
	sub	w22, w8, w9
Lloh0:
	adrp	x8, _DPHY_CMN_IPDIV_FROM_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DPHY_CMN_IPDIV_FROM_REG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DPHY_CMN_OPDIV_FROM_REG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DPHY_CMN_OPDIV_FROM_REG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w23, w9, w8
	ldr	w0, [x1, #8]
	bl	_DPHY_CMN_IPDIV
	orr	w23, w23, w0
	ldr	w0, [x20, #4]
	bl	_DPHY_CMN_OPDIV
	orr	w0, w23, w0
	ldr	x8, [x19]
Lloh6:
	adrp	x9, _DPHY_CMN_OPIPDIV@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DPHY_CMN_OPIPDIV@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh9:
	adrp	x8, _DPHY_CMN_FBDIV_FROM_REG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DPHY_CMN_FBDIV_FROM_REG@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_DPHY_CMN_FBDIV_VAL
	orr	w0, w0, w20
	ldr	x8, [x19]
Lloh12:
	adrp	x9, _DPHY_CMN_FBDIV@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DPHY_CMN_FBDIV@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #6
	bl	_DPHY_CMN_PWM_HIGH
	mov	x20, x0
	mov	w0, #257
	bl	_DPHY_CMN_PWM_LOW
	orr	w20, w0, w20
	mov	w0, #8
	bl	_DPHY_CMN_PWM_DIV
	orr	w0, w20, w0
	ldr	x8, [x19]
Lloh15:
	adrp	x9, _DPHY_CMN_PWM@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DPHY_CMN_PWM@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DPHY_CMN_IPDIV_FROM_REG,4,2    ; @DPHY_CMN_IPDIV_FROM_REG
	.comm	_DPHY_CMN_OPDIV_FROM_REG,4,2    ; @DPHY_CMN_OPDIV_FROM_REG
	.comm	_DPHY_CMN_OPIPDIV,8,3           ; @DPHY_CMN_OPIPDIV
	.comm	_DPHY_CMN_FBDIV_FROM_REG,4,2    ; @DPHY_CMN_FBDIV_FROM_REG
	.comm	_DPHY_CMN_FBDIV,8,3             ; @DPHY_CMN_FBDIV
	.comm	_DPHY_CMN_PWM,8,3               ; @DPHY_CMN_PWM
	.no_dead_strip	_cdns_dphy_ref_set_pll_cfg
.subsections_via_symbols
