	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce112_program_pix_clk
_dce112_program_pix_clk:                ## @dce112_program_pix_clk
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	callq	_TO_DCE110_CLK_SRC
	movq	%rax, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movq	(%r15), %rax
	movq	_CLOCK_SOURCE_ID_EXTERNAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.1:
	movl	12(%r13), %edi
	callq	_dc_is_dp_signal
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	_DCE_VERSION_11_0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_disable_spread_spectrum
LBB0_4:
	movl	(%r13), %eax
	movl	%eax, -96(%rbp)
	movq	(%r15), %rax
	movq	%rax, -88(%rbp)
	movl	(%r12), %ecx
	movl	%ecx, -80(%rbp)
	movl	16(%r13), %ecx
	movl	%ecx, -60(%rbp)
	movl	12(%r13), %ecx
	movl	%ecx, -64(%rbp)
	movq	_CLOCK_SOURCE_ID_DP_DTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.5:
	movl	4(%r12), %eax
	movl	%eax, -68(%rbp)
	xorl	%ecx, %ecx
	testl	%eax, %eax
	sete	%cl
	movl	%ecx, -76(%rbp)
	cmpl	$0, 4(%r13)
	je	LBB0_7
## %bb.6:
	movl	$1, -72(%rbp)
LBB0_7:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	leaq	-96(%rbp), %rsi
	callq	*(%rax)
	movq	_BP_RESULT_OK@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.8:
	movq	(%r15), %rax
	movl	$1, %ebx
	movq	_CLOCK_SOURCE_ID_DP_DTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	movl	12(%r13), %esi
	movl	4(%r13), %ecx
	movl	8(%r13), %edx
	movq	%r14, %rdi
	callq	_dce112_program_pixel_clk_resync
LBB0_10:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOCK_SOURCE_ID_EXTERNAL,8,3   ## @CLOCK_SOURCE_ID_EXTERNAL
	.comm	_DCE_VERSION_11_0,8,3           ## @DCE_VERSION_11_0
	.comm	_CLOCK_SOURCE_ID_DP_DTO,8,3     ## @CLOCK_SOURCE_ID_DP_DTO
	.comm	_BP_RESULT_OK,8,3               ## @BP_RESULT_OK
	.comm	_CONTROLLER_ID_D0,4,2           ## @CONTROLLER_ID_D0
	.comm	_DP_DTO0_ENABLE,4,2             ## @DP_DTO0_ENABLE
	.comm	_MODULO,8,3                     ## @MODULO
	.comm	_PHASE,8,3                      ## @PHASE
	.comm	_PIXEL_RATE_CNTL,8,3            ## @PIXEL_RATE_CNTL
	.no_dead_strip	_dce112_program_pix_clk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce112_program_pix_clk
_dce112_program_pix_clk:                ; @dce112_program_pix_clk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	bl	_TO_DCE110_CLK_SRC
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #16]
	str	q0, [sp]
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _CLOCK_SOURCE_ID_EXTERNAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLOCK_SOURCE_ID_EXTERNAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_dc_is_dp_signal
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DCE_VERSION_11_0@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DCE_VERSION_11_0@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_disable_spread_spectrum
LBB0_4:
	ldr	w8, [x19]
	str	w8, [sp]
	ldr	x8, [x21]
	str	x8, [sp, #8]
	ldr	w9, [x22]
	str	w9, [sp, #16]
	ldur	d0, [x19, #12]
	str	d0, [sp, #32]
Lloh6:
	adrp	x23, _CLOCK_SOURCE_ID_DP_DTO@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CLOCK_SOURCE_ID_DP_DTO@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_7
; %bb.5:
	ldr	w8, [x22, #4]
	cmp	w8, #0
	cset	w9, eq
	str	w8, [sp, #28]
	str	w9, [sp, #20]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_7
; %bb.6:
	mov	w8, #1
	str	w8, [sp, #24]
LBB0_7:
	ldr	x0, [x20]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, sp
	blr	x8
Lloh8:
	adrp	x8, _BP_RESULT_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BP_RESULT_OK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.8:
	ldr	x8, [x21]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:
	ldp	w2, w1, [x19, #8]
	ldr	w3, [x19, #4]
	mov	x0, x20
	bl	_dce112_program_pixel_clk_resync
LBB0_10:
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOCK_SOURCE_ID_EXTERNAL,8,3   ; @CLOCK_SOURCE_ID_EXTERNAL
	.comm	_DCE_VERSION_11_0,8,3           ; @DCE_VERSION_11_0
	.comm	_CLOCK_SOURCE_ID_DP_DTO,8,3     ; @CLOCK_SOURCE_ID_DP_DTO
	.comm	_BP_RESULT_OK,8,3               ; @BP_RESULT_OK
	.comm	_CONTROLLER_ID_D0,4,2           ; @CONTROLLER_ID_D0
	.comm	_DP_DTO0_ENABLE,4,2             ; @DP_DTO0_ENABLE
	.comm	_MODULO,8,3                     ; @MODULO
	.comm	_PHASE,8,3                      ; @PHASE
	.comm	_PIXEL_RATE_CNTL,8,3            ; @PIXEL_RATE_CNTL
	.no_dead_strip	_dce112_program_pix_clk
.subsections_via_symbols
