	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_validate_stream             ## -- Begin function dc_validate_stream
	.p2align	4, 0x90
_dc_validate_stream:                    ## @dc_validate_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	8(%rsi), %r14
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movq	_DC_OK@GOTPCREL(%rip), %r13
	movl	(%r13), %r15d
	movq	%rsi, %rdi
	callq	_calculate_phy_pix_clks
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_DC_FAIL_CONTROLLER_VALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_2:
	movl	(%r13), %eax
	cmpl	%eax, %r15d
	jne	LBB0_6
## %bb.3:
	movq	(%r14), %rdi
	movq	(%rdi), %rax
	movq	%r12, %rsi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_DC_FAIL_ENC_VALIDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_5:
	movl	(%r13), %eax
LBB0_6:
	cmpl	%eax, %r15d
	jne	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dc_link_validate_mode_timing   ## TAILCALL
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_OK,4,2                      ## @DC_OK
	.comm	_DC_FAIL_CONTROLLER_VALIDATE,4,2 ## @DC_FAIL_CONTROLLER_VALIDATE
	.comm	_DC_FAIL_ENC_VALIDATE,4,2       ## @DC_FAIL_ENC_VALIDATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dc_validate_stream             ; -- Begin function dc_validate_stream
	.p2align	2
_dc_validate_stream:                    ; @dc_validate_stream
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	ldr	x20, [x1, #8]
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x21, [x8]
Lloh0:
	adrp	x22, _DC_OK@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DC_OK@GOTPAGEOFF]
	ldr	w23, [x22]
	mov	x0, x1
	bl	_calculate_phy_pix_clks
	ldr	x8, [x21]
	ldr	x8, [x8]
	mov	x0, x21
	mov	x1, x19
	blr	x8
Lloh2:
	adrp	x8, _DC_FAIL_CONTROLLER_VALIDATE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DC_FAIL_CONTROLLER_VALIDATE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w21, w8, w23, eq
	ldr	w8, [x22]
	cmp	w21, w8
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x20]
	ldr	x8, [x0]
	ldr	x8, [x8]
	mov	x1, x19
	blr	x8
Lloh5:
	adrp	x8, _DC_FAIL_ENC_VALIDATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DC_FAIL_ENC_VALIDATE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w21, w8, w21, eq
	ldr	w8, [x22]
LBB0_2:
	cmp	w21, w8
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_dc_link_validate_mode_timing
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_OK,4,2                      ; @DC_OK
	.comm	_DC_FAIL_CONTROLLER_VALIDATE,4,2 ; @DC_FAIL_CONTROLLER_VALIDATE
	.comm	_DC_FAIL_ENC_VALIDATE,4,2       ; @DC_FAIL_ENC_VALIDATE
.subsections_via_symbols
