	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dce110_link_encoder_validate_hdmi_output
_dce110_link_encoder_validate_hdmi_output: ## @dce110_link_encoder_validate_hdmi_output
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	testl	%edx, %edx
	je	LBB0_12
## %bb.1:
	movl	(%rsi), %ecx
	cmpl	%ecx, 8(%rdi)
	jb	LBB0_12
## %bb.2:
	movslq	%ecx, %r8
	movq	_COLOR_DEPTH_888@GOTPCREL(%rip), %rcx
	cmpq	%r8, (%rcx)
	jg	LBB0_12
## %bb.3:
	movq	_TMDS_MIN_PIXEL_CLOCK@GOTPCREL(%rip), %rcx
	cmpl	%edx, (%rcx)
	jg	LBB0_12
## %bb.4:
	cmpl	%edx, 12(%rdi)
	jl	LBB0_12
## %bb.5:
	cmpl	$0, 20(%rdi)
	jne	LBB0_7
## %bb.6:
	movq	8(%rsi), %r8
	movq	_PIXEL_ENCODING_YCBCR420@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	je	LBB0_12
LBB0_7:
	cmpl	$300000, %edx                   ## imm = 0x493E0
	jl	LBB0_9
## %bb.8:
	cmpl	$0, 16(%rdi)
	jne	LBB0_9
LBB0_12:
	popq	%rbp
	retq
LBB0_9:
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	8(%rsi), %rcx
	movq	_PIXEL_ENCODING_YCBCR420@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_12
LBB0_11:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR_DEPTH_888,8,3            ## @COLOR_DEPTH_888
	.comm	_TMDS_MIN_PIXEL_CLOCK,4,2       ## @TMDS_MIN_PIXEL_CLOCK
	.comm	_PIXEL_ENCODING_YCBCR420,8,3    ## @PIXEL_ENCODING_YCBCR420
	.no_dead_strip	_dce110_link_encoder_validate_hdmi_output
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dce110_link_encoder_validate_hdmi_output
_dce110_link_encoder_validate_hdmi_output: ; @dce110_link_encoder_validate_hdmi_output
	.cfi_startproc
; %bb.0:
	mov	w8, #0
	cbz	w2, LBB0_9
; %bb.1:
	ldr	w9, [x0, #8]
	ldr	w10, [x1]
	sxtw	x11, w10
Lloh0:
	adrp	x12, _COLOR_DEPTH_888@GOTPAGE
Lloh1:
	ldr	x12, [x12, _COLOR_DEPTH_888@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x12]
Lloh3:
	adrp	x13, _TMDS_MIN_PIXEL_CLOCK@GOTPAGE
Lloh4:
	ldr	x13, [x13, _TMDS_MIN_PIXEL_CLOCK@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x13]
	cmp	w9, w10
	ccmp	x12, x11, #0, hs
	ccmp	w13, w2, #0, le
	b.gt	LBB0_9
; %bb.2:
	ldr	w8, [x0, #12]
	cmp	w8, w2
	b.ge	LBB0_4
; %bb.3:
	mov	w0, #0
	ret
LBB0_4:
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_7
; %bb.5:
	ldr	x8, [x1, #8]
Lloh6:
	adrp	x9, _PIXEL_ENCODING_YCBCR420@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PIXEL_ENCODING_YCBCR420@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
	mov	w8, #37856
	movk	w8, #4, lsl #16
	cmp	w2, w8
	b.lt	LBB0_10
; %bb.8:
	ldr	w8, [x0, #16]
	cbnz	w8, LBB0_10
LBB0_9:
	mov	x0, x8
	ret
LBB0_10:
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x1, #8]
Lloh9:
	adrp	x9, _PIXEL_ENCODING_YCBCR420@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PIXEL_ENCODING_YCBCR420@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	mov	w0, #0
	ret
LBB0_13:
	mov	w8, #1
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR_DEPTH_888,8,3            ; @COLOR_DEPTH_888
	.comm	_TMDS_MIN_PIXEL_CLOCK,4,2       ; @TMDS_MIN_PIXEL_CLOCK
	.comm	_PIXEL_ENCODING_YCBCR420,8,3    ; @PIXEL_ENCODING_YCBCR420
	.no_dead_strip	_dce110_link_encoder_validate_hdmi_output
.subsections_via_symbols
