	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pll_get_integloop_gain
_pll_get_integloop_gain:                ## @pll_get_integloop_gain
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HDMI_DIG_FREQ_BIT_CLK_THRESHOLD@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.3:
	movl	%edx, %eax
	shll	$10, %eax
	subl	%edx, %eax
	subl	%edx, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$37, %rax
	addl	%ecx, %eax
	jmp	LBB0_4
LBB0_2:
	shll	$6, %edx
	movq	_HDMI_DEFAULT_REF_CLOCK@GOTPCREL(%rip), %rcx
	movl	%edx, %eax
	cltd
	idivl	(%rcx)
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	movslq	%eax, %rdx
	cmpq	%rsi, %r8
	setg	%cl
	incb	%cl
	shlq	%cl, %rdx
	cmpq	$2046, %rdx                     ## imm = 0x7FE
	movl	$2046, %eax                     ## imm = 0x7FE
	cmovlq	%rdx, %rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDMI_DIG_FREQ_BIT_CLK_THRESHOLD,8,3 ## @HDMI_DIG_FREQ_BIT_CLK_THRESHOLD
	.comm	_HDMI_DEFAULT_REF_CLOCK,4,2     ## @HDMI_DEFAULT_REF_CLOCK
	.no_dead_strip	_pll_get_integloop_gain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pll_get_integloop_gain
_pll_get_integloop_gain:                ; @pll_get_integloop_gain
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HDMI_DIG_FREQ_BIT_CLK_THRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDMI_DIG_FREQ_BIT_CLK_THRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x0, LBB0_3
; %bb.1:
	cbnz	w3, LBB0_3
; %bb.2:
	mov	w9, #1022
	mul	w9, w2, w9
	mov	w10, #34079
	movk	w10, #20971, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #37
	add	w9, w9, w10
	b	LBB0_4
LBB0_3:
	lsl	w9, w2, #6
Lloh3:
	adrp	x10, _HDMI_DEFAULT_REF_CLOCK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _HDMI_DEFAULT_REF_CLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	sdiv	w9, w9, w10
LBB0_4:
	sxtw	x9, w9
	cmp	x8, x1
	mov	w8, #1
	cinc	x8, x8, gt
	lsl	x8, x9, x8
	mov	w9, #2046
	cmp	x8, #2046
	csel	x0, x8, x9, lt
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HDMI_DIG_FREQ_BIT_CLK_THRESHOLD,8,3 ; @HDMI_DIG_FREQ_BIT_CLK_THRESHOLD
	.comm	_HDMI_DEFAULT_REF_CLOCK,4,2     ; @HDMI_DEFAULT_REF_CLOCK
	.no_dead_strip	_pll_get_integloop_gain
.subsections_via_symbols
