	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdmi_8996_pll_recalc_rate
_hdmi_8996_pll_recalc_rate:             ## @hdmi_8996_pll_recalc_rate
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_hw_clk_to_pll
	movq	%rax, %r12
	movq	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_hdmi_pll_read
	movl	%eax, %r15d
	movq	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_hdmi_pll_read
	movl	%eax, %ebx
	movq	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_hdmi_pll_read
	shll	$8, %ebx
	orl	%r15d, %ebx
	shll	$16, %eax
	orl	%eax, %ebx
	incl	%ebx
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_pll_cmp_to_fdata
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$10, %esi
	callq	_do_div
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0,4,2 ## @REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0
	.comm	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0,4,2 ## @REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0
	.comm	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0,4,2 ## @REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0
	.no_dead_strip	_hdmi_8996_pll_recalc_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdmi_8996_pll_recalc_rate
_hdmi_8996_pll_recalc_rate:             ; @hdmi_8996_pll_recalc_rate
	.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, x1
	bl	_hw_clk_to_pll
	mov	x20, x0
Lloh0:
	adrp	x8, _REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_hdmi_pll_read
	mov	x21, x0
Lloh3:
	adrp	x8, _REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_hdmi_pll_read
	mov	x22, x0
Lloh6:
	adrp	x8, _REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_hdmi_pll_read
	orr	w8, w21, w22, lsl #8
	orr	w8, w8, w0, lsl #16
	add	w0, w8, #1
	mov	x1, x19
	bl	_pll_cmp_to_fdata
	mov	x19, x0
	mov	w1, #10
	bl	_do_div
	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
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0,4,2 ; @REG_HDMI_PHY_QSERDES_COM_LOCK_CMP1_MODE0
	.comm	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0,4,2 ; @REG_HDMI_PHY_QSERDES_COM_LOCK_CMP2_MODE0
	.comm	_REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0,4,2 ; @REG_HDMI_PHY_QSERDES_COM_LOCK_CMP3_MODE0
	.no_dead_strip	_hdmi_8996_pll_recalc_rate
.subsections_via_symbols
