	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function pll_calculate
LCPI0_0:
	.long	255                             ## 0xff
	.long	15                              ## 0xf
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_1:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	3                               ## 0x3
LCPI0_2:
	.long	37                              ## 0x25
	.long	37                              ## 0x25
	.long	37                              ## 0x25
	.long	34                              ## 0x22
LCPI0_3:
	.long	35                              ## 0x23
	.long	35                              ## 0x23
	.long	35                              ## 0x23
	.long	39                              ## 0x27
LCPI0_4:
	.long	13                              ## 0xd
	.long	13                              ## 0xd
	.long	13                              ## 0xd
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_pll_calculate:                         ## @pll_calculate
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	leal	(%rdi,%rdi), %eax
	leal	(%rax,%rax,4), %r12d
	movq	_HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-72(%rbp), %rdi
	movl	%r12d, %esi
	callq	_pll_get_post_div
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	jne	LBB0_18
## %bb.1:
	movq	%r14, %rax
	shrq	$2, %rax
	cmpl	%r15d, %r12d
	cmovlel	%r14d, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	-72(%rbp), %edi
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	leal	(,%r13,4), %r12d
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movl	%edi, %r13d
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movl	%r12d, %esi
	callq	_do_div
	movl	-72(%rbp), %r15d
	movl	%r15d, %edi
	shll	$20, %edi
	movl	%r12d, %esi
	callq	_do_div
	subl	%r13d, %r15d
	shll	$20, %r15d
	sarl	%r12d
	cmpl	%r12d, %eax
	movl	$0, %eax
	setg	%al
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	orl	%eax, %r15d
	movl	%r15d, %edi
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_pll_get_cpctrl
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_pll_get_rctrl
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_pll_get_cctrl
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_pll_get_integloop_gain
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	-72(%rbp), %r12d
	movl	-68(%rbp), %esi
	movl	%r12d, %edi
	callq	_do_div
	movl	%r12d, %edi
	movq	%r13, %rsi
	callq	_pll_get_pll_cmp
	movl	%eax, %r13d
	movl	-72(%rbp), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.3(%rip), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	xorl	%eax, %eax
	callq	_DBG
	movl	-64(%rbp), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.5(%rip), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.6(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.7(%rip), %rdi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.8(%rip), %rdi
	movl	-80(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.9(%rip), %rdi
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.10(%rip), %rdi
	movl	-76(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_DBG
	movl	-60(%rbp), %esi
	leaq	L_.str.11(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	leaq	L_.str.12(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_DBG
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	_HDMI_DIG_FREQ_BIT_CLK_THRESHOLD@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	(%rax), %edi
	setg	%cl
	movl	$2, %eax
	subl	%ecx, %eax
	movl	%eax, (%rbx)
	movl	-64(%rbp), %eax
	orl	$32, %eax
	movl	%eax, 4(%rbx)
	movl	%r14d, 8(%rbx)
	movl	%r12d, 12(%rbx)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rbx)
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rbx)
	movl	%r13d, %eax
	shrl	$8, %eax
	movd	%r15d, %xmm0
	shrl	$8, %r15d
	pinsrd	$1, %r15d, %xmm0
	pinsrd	$2, %r13d, %xmm0
	pinsrd	$3, %eax, %xmm0
	movq	$0, 28(%rbx)
	pand	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 36(%rbx)
	shrl	$16, %r13d
	andl	$3, %r13d
	movl	%r13d, 52(%rbx)
	movabsq	$188978561024, %rax             ## imm = 0x2C00000000
	movq	%rax, 56(%rbx)
	movq	_HDMI_CORECLK_DIV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 128(%rbx)
	xorl	%eax, %eax
	movq	_HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %edi
	setg	%al
	shll	$4, %eax
	movl	%eax, 64(%rbx)
	movl	$0, 68(%rbx)
	movq	72(%rbx), %rax
	movl	$67, 8(%rax)
	movl	$67, (%rax)
	movq	80(%rbx), %rax
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [12,12,12,3]
	movups	%xmm0, (%rax)
	movq	_HDMI_NUM_TX_CHANNEL@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_4
## %bb.2:
	movq	88(%rbx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	-60(%rbp), %eax
	addl	$4, %eax
	movl	%eax, (%rcx,%rdx,4)
	incq	%rdx
	movslq	(%r13), %rax
	cmpq	%rax, %rdx
	jl	LBB0_3
LBB0_4:
	cmpl	(%rsi), %edi
	jle	LBB0_6
## %bb.5:
	movq	96(%rbx), %rax
	movaps	LCPI0_2(%rip), %xmm0            ## xmm0 = [37,37,37,34]
	movups	%xmm0, (%rax)
	movq	104(%rbx), %rax
	movaps	LCPI0_3(%rip), %xmm0            ## xmm0 = [35,35,35,39]
	movups	%xmm0, (%rax)
	movq	112(%rbx), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	jmp	LBB0_13
LBB0_6:
	movq	_HDMI_MID_FREQ_BIT_CLK_THRESHOLD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edi
	jle	LBB0_7
## %bb.10:
	testl	%eax, %eax
	jle	LBB0_13
## %bb.11:
	movq	96(%rbx), %rax
	movq	104(%rbx), %rcx
	movq	112(%rbx), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	$37, (%rax,%rsi,4)
	movl	$35, (%rcx,%rsi,4)
	movl	$0, (%rdx,%rsi,4)
	incq	%rsi
	movslq	(%r13), %rdi
	cmpq	%rdi, %rsi
	jl	LBB0_12
LBB0_13:
	movq	120(%rbx), %rax
	movaps	LCPI0_4(%rip), %xmm0            ## xmm0 = [13,13,13,0]
	movups	%xmm0, (%rax)
LBB0_14:
	movl	(%rbx), %esi
	leaq	L_.str.13(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	4(%rbx), %esi
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	56(%rbx), %esi
	leaq	L_.str.15(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	8(%rbx), %esi
	leaq	L_.str.16(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	12(%rbx), %esi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	16(%rbx), %esi
	leaq	L_.str.18(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	20(%rbx), %esi
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	24(%rbx), %esi
	leaq	L_.str.20(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	28(%rbx), %esi
	leaq	L_.str.21(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	32(%rbx), %esi
	leaq	L_.str.22(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	36(%rbx), %esi
	leaq	L_.str.23(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	40(%rbx), %esi
	leaq	L_.str.24(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	44(%rbx), %esi
	leaq	L_.str.25(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	48(%rbx), %esi
	leaq	L_.str.26(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	52(%rbx), %esi
	leaq	L_.str.27(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	60(%rbx), %esi
	leaq	L_.str.28(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	128(%rbx), %esi
	leaq	L_.str.29(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movl	64(%rbx), %esi
	leaq	L_.str.30(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	72(%rbx), %rax
	movl	(%rax), %esi
	leaq	L_.str.31(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	movq	72(%rbx), %rax
	movl	8(%rax), %esi
	leaq	L_.str.32(%rip), %rdi
	xorl	%eax, %eax
	callq	_DBG
	xorl	%eax, %eax
	cmpl	$0, (%r13)
	jle	LBB0_18
## %bb.15:
	leaq	L_.str.36(%rip), %r15
	leaq	L_.str.37(%rip), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	88(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	leaq	L_.str.33(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	movq	96(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	leaq	L_.str.34(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	movq	104(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	leaq	L_.str.35(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	movq	112(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	movq	%r15, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	movq	120(%rbx), %rax
	movl	(%rax,%r12,4), %edx
	movq	%r14, %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_DBG
	incq	%r12
	movslq	(%r13), %rax
	cmpq	%rax, %r12
	jl	LBB0_16
## %bb.17:
	xorl	%eax, %eax
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%eax, %eax
	jle	LBB0_14
## %bb.8:
	movq	96(%rbx), %r8
	movq	104(%rbx), %rcx
	movq	112(%rbx), %rdx
	movq	120(%rbx), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	$32, (%r8,%rdi,4)
	movl	$32, (%rcx,%rdi,4)
	movl	$0, (%rdx,%rdi,4)
	movl	$14, (%rsi,%rdi,4)
	incq	%rdi
	movslq	(%r13), %rax
	cmpq	%rax, %rdi
	jl	LBB0_9
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD,4,2 ## @HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VCO freq: %llu"

L_.str.1:                               ## @.str.1
	.asciz	"fdata: %llu"

L_.str.2:                               ## @.str.2
	.asciz	"pix_clk: %lu"

L_.str.3:                               ## @.str.3
	.asciz	"tmds clk: %llu"

L_.str.4:                               ## @.str.4
	.asciz	"HSCLK_SEL: %d"

L_.str.5:                               ## @.str.5
	.asciz	"DEC_START: %llu"

L_.str.6:                               ## @.str.6
	.asciz	"DIV_FRAC_START: %llu"

L_.str.7:                               ## @.str.7
	.asciz	"PLL_CPCTRL: %u"

L_.str.8:                               ## @.str.8
	.asciz	"PLL_RCTRL: %u"

L_.str.9:                               ## @.str.9
	.asciz	"PLL_CCTRL: %u"

L_.str.10:                              ## @.str.10
	.asciz	"INTEGLOOP_GAIN: %u"

L_.str.11:                              ## @.str.11
	.asciz	"TX_BAND: %d"

L_.str.12:                              ## @.str.12
	.asciz	"PLL_CMP: %u"

	.comm	_HDMI_DIG_FREQ_BIT_CLK_THRESHOLD,4,2 ## @HDMI_DIG_FREQ_BIT_CLK_THRESHOLD
	.comm	_HDMI_CORECLK_DIV,4,2           ## @HDMI_CORECLK_DIV
	.comm	_HDMI_NUM_TX_CHANNEL,4,2        ## @HDMI_NUM_TX_CHANNEL
	.comm	_HDMI_MID_FREQ_BIT_CLK_THRESHOLD,4,2 ## @HDMI_MID_FREQ_BIT_CLK_THRESHOLD
L_.str.13:                              ## @.str.13
	.asciz	"com_svs_mode_clk_sel = 0x%x"

L_.str.14:                              ## @.str.14
	.asciz	"com_hsclk_sel = 0x%x"

L_.str.15:                              ## @.str.15
	.asciz	"com_lock_cmp_en = 0x%x"

L_.str.16:                              ## @.str.16
	.asciz	"com_pll_cctrl_mode0 = 0x%x"

L_.str.17:                              ## @.str.17
	.asciz	"com_pll_rctrl_mode0 = 0x%x"

L_.str.18:                              ## @.str.18
	.asciz	"com_cp_ctrl_mode0 = 0x%x"

L_.str.19:                              ## @.str.19
	.asciz	"com_dec_start_mode0 = 0x%x"

L_.str.20:                              ## @.str.20
	.asciz	"com_div_frac_start1_mode0 = 0x%x"

L_.str.21:                              ## @.str.21
	.asciz	"com_div_frac_start2_mode0 = 0x%x"

L_.str.22:                              ## @.str.22
	.asciz	"com_div_frac_start3_mode0 = 0x%x"

L_.str.23:                              ## @.str.23
	.asciz	"com_integloop_gain0_mode0 = 0x%x"

L_.str.24:                              ## @.str.24
	.asciz	"com_integloop_gain1_mode0 = 0x%x"

L_.str.25:                              ## @.str.25
	.asciz	"com_lock_cmp1_mode0 = 0x%x"

L_.str.26:                              ## @.str.26
	.asciz	"com_lock_cmp2_mode0 = 0x%x"

L_.str.27:                              ## @.str.27
	.asciz	"com_lock_cmp3_mode0 = 0x%x"

L_.str.28:                              ## @.str.28
	.asciz	"com_core_clk_en = 0x%x"

L_.str.29:                              ## @.str.29
	.asciz	"com_coreclk_div = 0x%x"

L_.str.30:                              ## @.str.30
	.asciz	"phy_mode = 0x%x"

L_.str.31:                              ## @.str.31
	.asciz	"tx_l0_lane_mode = 0x%x"

L_.str.32:                              ## @.str.32
	.asciz	"tx_l2_lane_mode = 0x%x"

L_.str.33:                              ## @.str.33
	.asciz	"tx_l%d_tx_band = 0x%x"

L_.str.34:                              ## @.str.34
	.asciz	"tx_l%d_tx_drv_lvl = 0x%x"

L_.str.35:                              ## @.str.35
	.asciz	"tx_l%d_tx_emp_post1_lvl = 0x%x"

L_.str.36:                              ## @.str.36
	.asciz	"tx_l%d_vmode_ctrl1 = 0x%x"

L_.str.37:                              ## @.str.37
	.asciz	"tx_l%d_vmode_ctrl2 = 0x%x"

	.no_dead_strip	_pll_calculate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function pll_calculate
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
lCPI0_1:
	.long	255                             ; 0xff
	.long	3                               ; 0x3
lCPI0_2:
	.long	0                               ; 0x0
	.long	44                              ; 0x2c
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
lCPI0_3:
	.long	12                              ; 0xc
	.long	12                              ; 0xc
	.long	12                              ; 0xc
	.long	3                               ; 0x3
lCPI0_4:
	.long	37                              ; 0x25
	.long	37                              ; 0x25
	.long	37                              ; 0x25
	.long	34                              ; 0x22
lCPI0_5:
	.long	35                              ; 0x23
	.long	35                              ; 0x23
	.long	35                              ; 0x23
	.long	39                              ; 0x27
lCPI0_6:
	.long	13                              ; 0xd
	.long	13                              ; 0xd
	.long	13                              ; 0xd
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_pll_calculate:                         ; @pll_calculate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x26, x1
	mov	x27, x0
	add	w8, w27, w27, lsl #2
	lsl	w20, w8, #1
Lloh0:
	adrp	x8, _HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	add	x0, sp, #32
	mov	x1, x20
	bl	_pll_get_post_div
	cbnz	w0, LBB0_15
; %bb.1:
	lsr	x8, x27, #2
	cmp	w20, w21
	csel	w8, w8, w27, gt
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	w21, [sp, #32]
	lsl	w22, w26, #2
	mov	x0, x21
	mov	x1, x22
	bl	_do_div
	ldr	w23, [sp, #32]
	lsl	w0, w23, #20
	mov	x1, x22
	bl	_do_div
	sub	w8, w23, w21
	cmp	w0, w22, asr #1
	cset	w28, gt
	str	w28, [sp, #28]                  ; 4-byte Folded Spill
	bfi	w28, w8, #20, #12
	mov	x0, x28
	mov	x1, x26
	mov	w2, #0
	bl	_pll_get_cpctrl
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
	mov	x0, x28
	mov	w1, #0
	bl	_pll_get_rctrl
	mov	x23, x0
	mov	x0, x28
	mov	w1, #0
	bl	_pll_get_cctrl
	mov	x25, x0
	mov	x0, x28
	mov	x1, x20
	mov	x2, x26
	mov	w3, #0
	bl	_pll_get_integloop_gain
	mov	x24, x0
	ldp	w22, w1, [sp, #32]
	mov	x0, x22
	bl	_do_div
	mov	x0, x22
	mov	x1, x26
	bl	_pll_get_pll_cmp
	mov	x26, x0
	ldr	w1, [sp, #32]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DBG
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
Lloh7:
	adrp	x22, _HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD@GOTPAGEOFF]
	bl	_DBG
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x27
	bl	_DBG
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	ldr	w1, [sp, #24]                   ; 4-byte Folded Reload
	bl	_DBG
	ldr	w1, [sp, #40]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_DBG
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x21
	bl	_DBG
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x28
	bl	_DBG
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	ldr	w27, [sp, #20]                  ; 4-byte Folded Reload
	mov	x1, x27
	bl	_DBG
Lloh21:
	adrp	x0, l_.str.8@PAGE
Lloh22:
	add	x0, x0, l_.str.8@PAGEOFF
	mov	x1, x23
	bl	_DBG
Lloh23:
	adrp	x0, l_.str.9@PAGE
Lloh24:
	add	x0, x0, l_.str.9@PAGEOFF
	mov	x1, x25
	bl	_DBG
Lloh25:
	adrp	x0, l_.str.10@PAGE
Lloh26:
	add	x0, x0, l_.str.10@PAGEOFF
	mov	x1, x24
	bl	_DBG
	ldr	w1, [sp, #44]
Lloh27:
	adrp	x0, l_.str.11@PAGE
Lloh28:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_DBG
Lloh29:
	adrp	x0, l_.str.12@PAGE
Lloh30:
	add	x0, x0, l_.str.12@PAGEOFF
	mov	x1, x26
	bl	_DBG
Lloh31:
	adrp	x8, _HDMI_DIG_FREQ_BIT_CLK_THRESHOLD@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HDMI_DIG_FREQ_BIT_CLK_THRESHOLD@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cmp	w20, w8
	mov	w8, #1
	cinc	w8, w8, le
	ldr	w9, [sp, #40]
	orr	w9, w9, #0x20
	stp	w8, w9, [x19]
	ldr	w8, [x22]
	cmp	w20, w8
	cset	w8, gt
	stp	w25, w23, [x19, #8]
	stp	w27, w21, [x19, #16]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	stp	w9, wzr, [x19, #24]
	and	w9, w24, #0xff
	stp	wzr, w9, [x19, #32]
	ubfx	w9, w24, #8, #4
	and	w10, w26, #0xff
	dup.2s	v0, w26
	stp	w9, w10, [x19, #40]
Lloh34:
	adrp	x9, lCPI0_0@PAGE
Lloh35:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
Lloh36:
	adrp	x9, lCPI0_1@PAGE
Lloh37:
	ldr	d1, [x9, lCPI0_1@PAGEOFF]
	and.8b	v0, v0, v1
Lloh38:
	adrp	x9, lCPI0_2@PAGE
Lloh39:
	ldr	d1, [x9, lCPI0_2@PAGEOFF]
Lloh40:
	adrp	x9, _HDMI_CORECLK_DIV@GOTPAGE
Lloh41:
	ldr	x9, [x9, _HDMI_CORECLK_DIV@GOTPAGEOFF]
	stp	d0, d1, [x19, #48]
Lloh42:
	ldr	w9, [x9]
	str	w9, [x19, #128]
	lsl	w8, w8, #4
	stp	w8, wzr, [x19, #64]
	ldr	x8, [x19, #72]
	mov	w9, #67
	str	w9, [x8, #8]
	str	w9, [x8]
	ldr	x8, [x19, #80]
Lloh43:
	adrp	x9, lCPI0_3@PAGE
Lloh44:
	ldr	q0, [x9, lCPI0_3@PAGEOFF]
	str	q0, [x8]
Lloh45:
	adrp	x26, _HDMI_NUM_TX_CHANNEL@GOTPAGE
Lloh46:
	ldr	x26, [x26, _HDMI_NUM_TX_CHANNEL@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x9, #0
	ldr	x10, [x19, #88]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #44]
	add	w8, w8, #4
	str	w8, [x10, x9, lsl #2]
	add	x9, x9, #1
	ldrsw	x8, [x26]
	cmp	x9, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	w9, [x22]
	cmp	w20, w9
	b.le	LBB0_6
; %bb.5:
	ldr	x8, [x19, #96]
Lloh47:
	adrp	x9, lCPI0_4@PAGE
Lloh48:
	ldr	q0, [x9, lCPI0_4@PAGEOFF]
	str	q0, [x8]
	ldr	x8, [x19, #104]
Lloh49:
	adrp	x9, lCPI0_5@PAGE
Lloh50:
	ldr	q0, [x9, lCPI0_5@PAGEOFF]
	str	q0, [x8]
	ldr	x8, [x19, #112]
	stp	xzr, xzr, [x8]
	b	LBB0_10
LBB0_6:
Lloh51:
	adrp	x9, _HDMI_MID_FREQ_BIT_CLK_THRESHOLD@GOTPAGE
Lloh52:
	ldr	x9, [x9, _HDMI_MID_FREQ_BIT_CLK_THRESHOLD@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	cmp	w20, w9
	b.le	LBB0_16
; %bb.7:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x8, #0
	ldp	x9, x10, [x19, #96]
	mov	w11, #37
	mov	w12, #35
	ldr	x13, [x19, #112]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x14, x8, #2
	str	w11, [x9, x14]
	str	w12, [x10, x14]
	str	wzr, [x13, x14]
	add	x8, x8, #1
	ldrsw	x14, [x26]
	cmp	x8, x14
	b.lt	LBB0_9
LBB0_10:
	ldr	x8, [x19, #120]
Lloh54:
	adrp	x9, lCPI0_6@PAGE
Lloh55:
	ldr	q0, [x9, lCPI0_6@PAGEOFF]
	str	q0, [x8]
LBB0_11:
	ldr	w1, [x19]
Lloh56:
	adrp	x0, l_.str.13@PAGE
Lloh57:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #4]
Lloh58:
	adrp	x0, l_.str.14@PAGE
Lloh59:
	add	x0, x0, l_.str.14@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #56]
Lloh60:
	adrp	x0, l_.str.15@PAGE
Lloh61:
	add	x0, x0, l_.str.15@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #8]
Lloh62:
	adrp	x0, l_.str.16@PAGE
Lloh63:
	add	x0, x0, l_.str.16@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #12]
Lloh64:
	adrp	x0, l_.str.17@PAGE
Lloh65:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #16]
Lloh66:
	adrp	x0, l_.str.18@PAGE
Lloh67:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #20]
Lloh68:
	adrp	x0, l_.str.19@PAGE
Lloh69:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #24]
Lloh70:
	adrp	x0, l_.str.20@PAGE
Lloh71:
	add	x0, x0, l_.str.20@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #28]
Lloh72:
	adrp	x0, l_.str.21@PAGE
Lloh73:
	add	x0, x0, l_.str.21@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #32]
Lloh74:
	adrp	x0, l_.str.22@PAGE
Lloh75:
	add	x0, x0, l_.str.22@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #36]
Lloh76:
	adrp	x0, l_.str.23@PAGE
Lloh77:
	add	x0, x0, l_.str.23@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #40]
Lloh78:
	adrp	x0, l_.str.24@PAGE
Lloh79:
	add	x0, x0, l_.str.24@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #44]
Lloh80:
	adrp	x0, l_.str.25@PAGE
Lloh81:
	add	x0, x0, l_.str.25@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #48]
Lloh82:
	adrp	x0, l_.str.26@PAGE
Lloh83:
	add	x0, x0, l_.str.26@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #52]
Lloh84:
	adrp	x0, l_.str.27@PAGE
Lloh85:
	add	x0, x0, l_.str.27@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #60]
Lloh86:
	adrp	x0, l_.str.28@PAGE
Lloh87:
	add	x0, x0, l_.str.28@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #128]
Lloh88:
	adrp	x0, l_.str.29@PAGE
Lloh89:
	add	x0, x0, l_.str.29@PAGEOFF
	bl	_DBG
	ldr	w1, [x19, #64]
Lloh90:
	adrp	x0, l_.str.30@PAGE
Lloh91:
	add	x0, x0, l_.str.30@PAGEOFF
	bl	_DBG
	ldr	x8, [x19, #72]
	ldr	w1, [x8]
Lloh92:
	adrp	x0, l_.str.31@PAGE
Lloh93:
	add	x0, x0, l_.str.31@PAGEOFF
	bl	_DBG
	ldr	x8, [x19, #72]
	ldr	w1, [x8, #8]
Lloh94:
	adrp	x0, l_.str.32@PAGE
Lloh95:
	add	x0, x0, l_.str.32@PAGEOFF
	bl	_DBG
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x20, #0
Lloh96:
	adrp	x21, l_.str.33@PAGE
Lloh97:
	add	x21, x21, l_.str.33@PAGEOFF
Lloh98:
	adrp	x22, l_.str.34@PAGE
Lloh99:
	add	x22, x22, l_.str.34@PAGEOFF
Lloh100:
	adrp	x23, l_.str.35@PAGE
Lloh101:
	add	x23, x23, l_.str.35@PAGEOFF
Lloh102:
	adrp	x24, l_.str.36@PAGE
Lloh103:
	add	x24, x24, l_.str.36@PAGEOFF
Lloh104:
	adrp	x25, l_.str.37@PAGE
Lloh105:
	add	x25, x25, l_.str.37@PAGEOFF
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #88]
	lsl	x27, x20, #2
	ldr	w8, [x8, x27]
	str	x8, [sp]
	mov	x0, x21
	mov	x1, x20
	bl	_DBG
	ldr	x8, [x19, #96]
	ldr	w8, [x8, x27]
	str	x8, [sp]
	mov	x0, x22
	mov	x1, x20
	bl	_DBG
	ldr	x8, [x19, #104]
	ldr	w8, [x8, x27]
	str	x8, [sp]
	mov	x0, x23
	mov	x1, x20
	bl	_DBG
	ldr	x8, [x19, #112]
	ldr	w8, [x8, x27]
	str	x8, [sp]
	mov	x0, x24
	mov	x1, x20
	bl	_DBG
	ldr	x8, [x19, #120]
	ldr	w8, [x8, x27]
	str	x8, [sp]
	mov	x0, x25
	mov	x1, x20
	bl	_DBG
	add	x20, x20, #1
	ldrsw	x8, [x26]
	cmp	x20, x8
	b.lt	LBB0_13
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_16:
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.17:
	mov	x8, #0
	ldp	x9, x10, [x19, #96]
	mov	w11, #32
	mov	w12, #14
	ldp	x13, x14, [x19, #112]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	lsl	x15, x8, #2
	str	w11, [x9, x15]
	str	w11, [x10, x15]
	str	wzr, [x13, x15]
	str	w12, [x14, x15]
	add	x8, x8, #1
	ldrsw	x15, [x26]
	cmp	x8, x15
	b.lt	LBB0_18
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdr	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdrp	Lloh38, Lloh40
	.loh AdrpLdr	Lloh38, Lloh39
	.loh AdrpAdrp	Lloh36, Lloh38
	.loh AdrpLdr	Lloh36, Lloh37
	.loh AdrpAdrp	Lloh34, Lloh36
	.loh AdrpLdr	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdr	Lloh49, Lloh50
	.loh AdrpAdrp	Lloh47, Lloh49
	.loh AdrpLdr	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdr	Lloh54, Lloh55
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh96, Lloh97
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD,4,2 ; @HDMI_HIGH_FREQ_BIT_CLK_THRESHOLD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VCO freq: %llu"

l_.str.1:                               ; @.str.1
	.asciz	"fdata: %llu"

l_.str.2:                               ; @.str.2
	.asciz	"pix_clk: %lu"

l_.str.3:                               ; @.str.3
	.asciz	"tmds clk: %llu"

l_.str.4:                               ; @.str.4
	.asciz	"HSCLK_SEL: %d"

l_.str.5:                               ; @.str.5
	.asciz	"DEC_START: %llu"

l_.str.6:                               ; @.str.6
	.asciz	"DIV_FRAC_START: %llu"

l_.str.7:                               ; @.str.7
	.asciz	"PLL_CPCTRL: %u"

l_.str.8:                               ; @.str.8
	.asciz	"PLL_RCTRL: %u"

l_.str.9:                               ; @.str.9
	.asciz	"PLL_CCTRL: %u"

l_.str.10:                              ; @.str.10
	.asciz	"INTEGLOOP_GAIN: %u"

l_.str.11:                              ; @.str.11
	.asciz	"TX_BAND: %d"

l_.str.12:                              ; @.str.12
	.asciz	"PLL_CMP: %u"

	.comm	_HDMI_DIG_FREQ_BIT_CLK_THRESHOLD,4,2 ; @HDMI_DIG_FREQ_BIT_CLK_THRESHOLD
	.comm	_HDMI_CORECLK_DIV,4,2           ; @HDMI_CORECLK_DIV
	.comm	_HDMI_NUM_TX_CHANNEL,4,2        ; @HDMI_NUM_TX_CHANNEL
	.comm	_HDMI_MID_FREQ_BIT_CLK_THRESHOLD,4,2 ; @HDMI_MID_FREQ_BIT_CLK_THRESHOLD
l_.str.13:                              ; @.str.13
	.asciz	"com_svs_mode_clk_sel = 0x%x"

l_.str.14:                              ; @.str.14
	.asciz	"com_hsclk_sel = 0x%x"

l_.str.15:                              ; @.str.15
	.asciz	"com_lock_cmp_en = 0x%x"

l_.str.16:                              ; @.str.16
	.asciz	"com_pll_cctrl_mode0 = 0x%x"

l_.str.17:                              ; @.str.17
	.asciz	"com_pll_rctrl_mode0 = 0x%x"

l_.str.18:                              ; @.str.18
	.asciz	"com_cp_ctrl_mode0 = 0x%x"

l_.str.19:                              ; @.str.19
	.asciz	"com_dec_start_mode0 = 0x%x"

l_.str.20:                              ; @.str.20
	.asciz	"com_div_frac_start1_mode0 = 0x%x"

l_.str.21:                              ; @.str.21
	.asciz	"com_div_frac_start2_mode0 = 0x%x"

l_.str.22:                              ; @.str.22
	.asciz	"com_div_frac_start3_mode0 = 0x%x"

l_.str.23:                              ; @.str.23
	.asciz	"com_integloop_gain0_mode0 = 0x%x"

l_.str.24:                              ; @.str.24
	.asciz	"com_integloop_gain1_mode0 = 0x%x"

l_.str.25:                              ; @.str.25
	.asciz	"com_lock_cmp1_mode0 = 0x%x"

l_.str.26:                              ; @.str.26
	.asciz	"com_lock_cmp2_mode0 = 0x%x"

l_.str.27:                              ; @.str.27
	.asciz	"com_lock_cmp3_mode0 = 0x%x"

l_.str.28:                              ; @.str.28
	.asciz	"com_core_clk_en = 0x%x"

l_.str.29:                              ; @.str.29
	.asciz	"com_coreclk_div = 0x%x"

l_.str.30:                              ; @.str.30
	.asciz	"phy_mode = 0x%x"

l_.str.31:                              ; @.str.31
	.asciz	"tx_l0_lane_mode = 0x%x"

l_.str.32:                              ; @.str.32
	.asciz	"tx_l2_lane_mode = 0x%x"

l_.str.33:                              ; @.str.33
	.asciz	"tx_l%d_tx_band = 0x%x"

l_.str.34:                              ; @.str.34
	.asciz	"tx_l%d_tx_drv_lvl = 0x%x"

l_.str.35:                              ; @.str.35
	.asciz	"tx_l%d_tx_emp_post1_lvl = 0x%x"

l_.str.36:                              ; @.str.36
	.asciz	"tx_l%d_vmode_ctrl1 = 0x%x"

l_.str.37:                              ; @.str.37
	.asciz	"tx_l%d_vmode_ctrl2 = 0x%x"

	.no_dead_strip	_pll_calculate
.subsections_via_symbols
