	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcn10_enable_stream_timing
_dcn10_enable_stream_timing:            ## @dcn10_enable_stream_timing
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r12
	movl	$0, -40(%rbp)
	movq	_DC_OK@GOTPCREL(%rip), %r15
	cmpq	$0, 64(%rdi)
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	8(%rdi), %rax
	movl	$1, %esi
	callq	*40(%rax)
	movq	56(%rbx), %rdi
	movq	(%rdi), %rax
	leaq	16(%rbx), %rsi
	leaq	48(%rbx), %rdx
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	(%rbx), %rdi
	movq	24(%rbx), %rax
	movq	8(%rdi), %r10
	leaq	16(%r12), %rsi
	movl	44(%rbx), %edx
	movl	40(%rbx), %ecx
	movl	36(%rbx), %r8d
	movl	32(%rbx), %r9d
	movl	12(%rax), %eax
	pushq	$1
	pushq	%rax
	callq	*32(%r10)
	addq	$16, %rsp
	movl	(%r12), %esi
	leaq	-40(%rbp), %rdx
	movq	%r14, %rdi
	callq	_color_space_to_black_color
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
	movq	24(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsi
	callq	*%rcx
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
LBB0_4:
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	callq	*%rax
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
	movl	$1, %esi
	callq	*8(%rax)
	movq	(%rbx), %rdi
	callq	_hwss_wait_for_blank_complete
	movq	(%rbx), %rdx
	movq	24(%rbx), %rsi
	movq	%r14, %rdi
	callq	_false_optc_underflow_wa
LBB0_7:
	movq	(%rbx), %rdi
	movq	8(%rdi), %rax
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_9
LBB0_8:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
	movq	_DC_ERROR_UNEXPECTED@GOTPCREL(%rip), %r15
LBB0_9:
	movl	(%r15), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_OK,4,2                      ## @DC_OK
	.comm	_DC_ERROR_UNEXPECTED,4,2        ## @DC_ERROR_UNEXPECTED
	.comm	_inst_offset,4,2                ## @inst_offset
	.comm	_reg_offsets,8,3                ## @reg_offsets
	.no_dead_strip	_dcn10_enable_stream_timing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcn10_enable_stream_timing
_dcn10_enable_stream_timing:            ; @dcn10_enable_stream_timing
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x21, [x0, #24]
	str	wzr, [sp, #8]
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _DC_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_OK@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	mov	x20, x2
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #40]
	mov	w1, #1
	blr	x8
	ldr	x0, [x19, #56]
	ldr	x8, [x0]
	ldr	x8, [x8]
	add	x1, x19, #16
	add	x2, x19, #48
	blr	x8
	cbz	w0, LBB0_9
; %bb.3:
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #32]
	add	x1, x21, #16
	ldp	w3, w2, [x19, #40]
	ldp	w5, w4, [x19, #32]
	ldr	x9, [x19, #24]
	ldr	w6, [x9, #12]
	mov	w7, #1
	blr	x8
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x0, x20
	bl	_color_space_to_black_color
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_5
; %bb.4:
	add	x1, sp, #8
	blr	x9
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
LBB0_5:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_8
; %bb.6:
	blr	x8
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	ldr	x8, [x8, #8]
	mov	w1, #1
	blr	x8
	ldr	x0, [x19]
	bl	_hwss_wait_for_blank_complete
	ldr	x1, [x19, #24]
	ldr	x2, [x19]
	mov	x0, x20
	bl	_false_optc_underflow_wa
LBB0_8:
	ldr	x0, [x19]
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	blr	x8
	cbnz	w0, LBB0_1
LBB0_9:
	bl	_BREAK_TO_DEBUGGER
Lloh2:
	adrp	x8, _DC_ERROR_UNEXPECTED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DC_ERROR_UNEXPECTED@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_OK,4,2                      ; @DC_OK
	.comm	_DC_ERROR_UNEXPECTED,4,2        ; @DC_ERROR_UNEXPECTED
	.comm	_inst_offset,4,2                ; @inst_offset
	.comm	_reg_offsets,8,3                ; @reg_offsets
	.no_dead_strip	_dcn10_enable_stream_timing
.subsections_via_symbols
