	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bxt_ddi_hdmi_pll_dividers
_bxt_ddi_hdmi_pll_dividers:             ## @bxt_ddi_hdmi_pll_dividers
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_intel_crtc
	movq	%rax, %r15
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bxt_find_best_dpll
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	-28(%rbp), %eax
	movl	%eax, 24(%r14)
	movl	-32(%rbp), %eax
	movl	%eax, 20(%r14)
	xorl	%edi, %edi
	cmpl	$2, -48(%rbp)
	setne	%dil
	callq	_WARN_ON
	movl	-36(%rbp), %eax
	movl	%eax, 16(%r14)
	movl	-44(%rbp), %eax
	movl	%eax, %ecx
	sarl	$22, %ecx
	movl	%ecx, (%r14)
	xorl	%ecx, %ecx
	andl	$4194303, %eax                  ## imm = 0x3FFFFF
	movl	%eax, 4(%r14)
	setne	%cl
	movl	%ecx, 8(%r14)
	movl	-40(%rbp), %eax
	movl	%eax, 12(%r14)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	movl	(%rbx), %ebx
	movl	(%r15), %edi
	callq	_pipe_name
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_DRM_DEBUG_DRIVER
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no PLL dividers found for clock %d pipe %c\n"

	.no_dead_strip	_bxt_ddi_hdmi_pll_dividers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bxt_ddi_hdmi_pll_dividers
_bxt_ddi_hdmi_pll_dividers:             ; @bxt_ddi_hdmi_pll_dividers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_intel_crtc
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_bxt_find_best_dpll
	cbz	w0, LBB0_2
; %bb.1:
	ldr	d0, [sp, #24]
	stur	d0, [x19, #20]
	ldr	w8, [sp, #8]
	cmp	w8, #2
	cset	w0, ne
	bl	_WARN_ON
	ldr	w8, [sp, #12]
	asr	w9, w8, #22
	ands	w8, w8, #0x3fffff
	stp	w9, w8, [x19]
	cset	w8, ne
	str	w8, [x19, #8]
	ldr	d0, [sp, #16]
	stur	d0, [x19, #12]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	ldr	w19, [x20]
	ldr	w0, [x21]
	bl	_pipe_name
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_DRM_DEBUG_DRIVER
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no PLL dividers found for clock %d pipe %c\n"

	.no_dead_strip	_bxt_ddi_hdmi_pll_dividers
.subsections_via_symbols
