	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_link_encoder_validate_output_with_stream ## -- Begin function dcn10_link_encoder_validate_output_with_stream
	.p2align	4, 0x90
_dcn10_link_encoder_validate_output_with_stream: ## @dcn10_link_encoder_validate_output_with_stream
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_TO_DCN10_LINK_ENC
	movl	(%rbx), %edx
	leal	-128(%rdx), %esi
	cmpl	$6, %esi
	ja	LBB0_6
## %bb.1:
	movl	$1, %ecx
	leaq	LJTI0_0(%rip), %rdi
	movslq	(%rdi,%rsi,4), %rsi
	addq	%rdi, %rsi
	jmpq	*%rsi
LBB0_2:
	movq	16(%rbx), %rcx
	movl	(%rcx), %esi
	addq	$8, %rbx
	movq	%rax, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dcn10_link_encoder_validate_dvi_output ## TAILCALL
LBB0_4:
	addq	$8, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dcn10_link_encoder_validate_dp_output ## TAILCALL
LBB0_6:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_3:
	movl	4(%rbx), %ecx
	addq	$8, %rbx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dcn10_link_encoder_validate_hdmi_output ## TAILCALL
LBB0_5:
	movl	8(%rbx), %eax
	movq	_PIXEL_ENCODING_RGB@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	sete	%cl
LBB0_7:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_PIXEL_ENCODING_RGB,4,2         ## @PIXEL_ENCODING_RGB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn10_link_encoder_validate_output_with_stream ; -- Begin function dcn10_link_encoder_validate_output_with_stream
	.p2align	2
_dcn10_link_encoder_validate_output_with_stream: ; @dcn10_link_encoder_validate_output_with_stream
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_TO_DCN10_LINK_ENC
	ldr	w2, [x19]
	sub	w9, w2, #128
	cmp	w9, #6
	b.hi	LBB0_4
; %bb.1:
	mov	w8, #1
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	x8, [x19, #16]
	ldr	w1, [x8]
	add	x3, x19, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dcn10_link_encoder_validate_dvi_output
LBB0_3:
	add	x1, x19, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dcn10_link_encoder_validate_dp_output
LBB0_4:
	mov	w8, #0
	b	LBB0_7
LBB0_5:
	add	x1, x19, #8
	ldr	w8, [x19, #4]
	add	w8, w8, w8, lsl #2
	lsl	w2, w8, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dcn10_link_encoder_validate_hdmi_output
LBB0_6:
	ldr	w8, [x19, #8]
Lloh2:
	adrp	x9, _PIXEL_ENCODING_RGB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PIXEL_ENCODING_RGB@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
LBB0_7:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
                                        ; -- End function
	.comm	_PIXEL_ENCODING_RGB,4,2         ; @PIXEL_ENCODING_RGB
.subsections_via_symbols
