	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_link_encoder_validate_dvi_output ## -- Begin function dce110_link_encoder_validate_dvi_output
	.p2align	4, 0x90
_dce110_link_encoder_validate_dvi_output: ## @dce110_link_encoder_validate_dvi_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	%rcx, %r8
	movq	_TMDS_MAX_PIXEL_CLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_SIGNAL_TYPE_DVI_DUAL_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	cmpl	%edx, %r9d
	sete	%cl
	movl	%r11d, %r10d
	shll	%cl, %r10d
	movq	_SIGNAL_TYPE_DVI_SINGLE_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%esi, %r9d
	je	LBB0_3
## %bb.1:
	cmpl	%esi, %ecx
	je	LBB0_3
## %bb.2:
	movl	(%rdi), %r10d
LBB0_3:
	movq	(%r8), %rdi
	movq	_PIXEL_ENCODING_RGB@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpq	(%rbx), %rdi
	jne	LBB0_13
## %bb.4:
	cmpl	%esi, %ecx
	sete	%cl
	movq	_SIGNAL_TYPE_HDMI_TYPE_A@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	cmpl	%esi, %edi
	sete	%bl
	orb	%cl, %bl
	movl	8(%r8), %ecx
	cmpb	$1, %bl
	jne	LBB0_7
## %bb.5:
	cmpl	%edx, %edi
	je	LBB0_7
## %bb.6:
	addl	%r11d, %r11d
	leal	(%r11,%r11,4), %esi
	cmpl	%esi, %ecx
	jg	LBB0_13
LBB0_7:
	movq	_TMDS_MIN_PIXEL_CLOCK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	addl	%esi, %esi
	leal	(%rsi,%rsi,4), %esi
	cmpl	%esi, %ecx
	jl	LBB0_13
## %bb.8:
	addl	%r10d, %r10d
	leal	(%r10,%r10,4), %esi
	cmpl	%esi, %ecx
	jg	LBB0_13
## %bb.9:
	movl	12(%r8), %ecx
	leal	-128(%rcx), %esi
	cmpl	$2, %esi
	jb	LBB0_12
## %bb.10:
	addl	$-130, %ecx
	cmpl	$1, %ecx
	ja	LBB0_13
## %bb.11:
	cmpl	%edx, %r9d
	jne	LBB0_13
LBB0_12:
	movl	$1, %eax
LBB0_13:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TMDS_MAX_PIXEL_CLOCK,4,2       ## @TMDS_MAX_PIXEL_CLOCK
	.comm	_SIGNAL_TYPE_DVI_DUAL_LINK,4,2  ## @SIGNAL_TYPE_DVI_DUAL_LINK
	.comm	_SIGNAL_TYPE_DVI_SINGLE_LINK,4,2 ## @SIGNAL_TYPE_DVI_SINGLE_LINK
	.comm	_PIXEL_ENCODING_RGB,8,3         ## @PIXEL_ENCODING_RGB
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,4,2    ## @SIGNAL_TYPE_HDMI_TYPE_A
	.comm	_TMDS_MIN_PIXEL_CLOCK,4,2       ## @TMDS_MIN_PIXEL_CLOCK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dce110_link_encoder_validate_dvi_output ; -- Begin function dce110_link_encoder_validate_dvi_output
	.p2align	2
_dce110_link_encoder_validate_dvi_output: ; @dce110_link_encoder_validate_dvi_output
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TMDS_MAX_PIXEL_CLOCK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TMDS_MAX_PIXEL_CLOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
Lloh3:
	adrp	x8, _SIGNAL_TYPE_DVI_DUAL_LINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIGNAL_TYPE_DVI_DUAL_LINK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w2
	cset	w10, eq
Lloh6:
	adrp	x11, _SIGNAL_TYPE_DVI_SINGLE_LINK@GOTPAGE
Lloh7:
	ldr	x11, [x11, _SIGNAL_TYPE_DVI_SINGLE_LINK@GOTPAGEOFF]
Lloh8:
	ldr	w11, [x11]
	cmp	w8, w1
	ccmp	w11, w1, #4, ne
	b.ne	LBB0_2
; %bb.1:
	lsl	w10, w9, w10
	b	LBB0_3
LBB0_2:
	ldr	w10, [x0]
LBB0_3:
	ldr	x12, [x3]
Lloh9:
	adrp	x13, _PIXEL_ENCODING_RGB@GOTPAGE
Lloh10:
	ldr	x13, [x13, _PIXEL_ENCODING_RGB@GOTPAGEOFF]
Lloh11:
	ldr	x13, [x13]
	cmp	x12, x13
	b.ne	LBB0_6
; %bb.4:
Lloh12:
	adrp	x12, _SIGNAL_TYPE_HDMI_TYPE_A@GOTPAGE
Lloh13:
	ldr	x12, [x12, _SIGNAL_TYPE_HDMI_TYPE_A@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	cmp	w12, w1
	ccmp	w11, w1, #4, ne
	ldr	w11, [x3, #8]
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	ccmp	w12, w2, #4, eq
	ccmp	w11, w9, #4, ne
	b.gt	LBB0_6
; %bb.5:
Lloh15:
	adrp	x9, _TMDS_MIN_PIXEL_CLOCK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _TMDS_MIN_PIXEL_CLOCK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #2
	add	w10, w10, w10, lsl #2
	lsl	w10, w10, #1
	cmp	w11, w9, lsl #1
	ccmp	w11, w10, #0, ge
	b.le	LBB0_7
LBB0_6:
	mov	w0, #0
	ret
LBB0_7:
	ldr	w9, [x3, #12]
	sub	w10, w9, #128
	cmp	w10, #2
	b.lo	LBB0_10
; %bb.8:
	sub	w9, w9, #130
	cmp	w9, #1
	b.hi	LBB0_6
; %bb.9:
	cmp	w8, w2
	b.ne	LBB0_6
LBB0_10:
	mov	w0, #1
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TMDS_MAX_PIXEL_CLOCK,4,2       ; @TMDS_MAX_PIXEL_CLOCK
	.comm	_SIGNAL_TYPE_DVI_DUAL_LINK,4,2  ; @SIGNAL_TYPE_DVI_DUAL_LINK
	.comm	_SIGNAL_TYPE_DVI_SINGLE_LINK,4,2 ; @SIGNAL_TYPE_DVI_SINGLE_LINK
	.comm	_PIXEL_ENCODING_RGB,8,3         ; @PIXEL_ENCODING_RGB
	.comm	_SIGNAL_TYPE_HDMI_TYPE_A,4,2    ; @SIGNAL_TYPE_HDMI_TYPE_A
	.comm	_TMDS_MIN_PIXEL_CLOCK,4,2       ; @TMDS_MIN_PIXEL_CLOCK
.subsections_via_symbols
