	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_init_blank               ## -- Begin function dcn20_init_blank
	.p2align	4, 0x90
_dcn20_init_blank:                      ## @dcn20_init_blank
	.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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	$0, -40(%rbp)
	movq	_COLOR_SPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-40(%rbp), %rdx
	callq	_color_space_to_black_color
	movq	(%rbx), %rax
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	(%rbx), %rax
	leaq	-80(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	-72(%rbp), %rax
	movq	(%r15), %rcx
	movq	8(%rcx), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setb	%dil
	callq	_ASSERT
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	-72(%rbp), %rdx
	movq	(%rcx,%rdx,8), %r14
	cmpq	$2, -80(%rbp)
	jne	LBB0_1
## %bb.2:
	shrq	-48(%rbp)
	movq	-64(%rbp), %rcx
	movq	8(%rax), %rax
	xorl	%edi, %edi
	cmpq	(%rax), %rcx
	setb	%dil
	callq	_ASSERT
	movq	(%r15), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx
	movq	(%rax,%rcx,8), %rbx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	(%r14), %rax
	movq	_CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_COLOR_DEPTH_UNDEFINED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	-48(%rbp), %r8
	movq	-56(%rbp), %r9
	leaq	-40(%rbp), %rcx
	movq	%r14, %rdi
	callq	*(%rax)
	cmpq	$2, -80(%rbp)
	jne	LBB0_5
## %bb.4:
	movq	(%rbx), %rax
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	-48(%rbp), %r8
	movq	-56(%rbp), %r9
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%rax)
LBB0_5:
	movq	%r14, %rdi
	callq	_dcn20_hwss_wait_for_blank_complete
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COLOR_SPACE_SRGB,4,2           ## @COLOR_SPACE_SRGB
	.comm	_CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR,4,2 ## @CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR
	.comm	_COLOR_DEPTH_UNDEFINED,4,2      ## @COLOR_DEPTH_UNDEFINED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dcn20_init_blank               ; -- Begin function dcn20_init_blank
	.p2align	2
_dcn20_init_blank:                      ; @dcn20_init_blank
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	str	wzr, [sp, #40]
Lloh0:
	adrp	x8, _COLOR_SPACE_SRGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COLOR_SPACE_SRGB@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #40
	bl	_color_space_to_black_color
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x19
	blr	x8
	ldr	x8, [x19]
	ldr	x8, [x8]
	add	x1, sp, #32
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x0, x19
	blr	x8
	ldr	x8, [sp, #24]
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, lo
	bl	_ASSERT
	ldr	x8, [x20]
	ldr	x9, [x8]
	ldr	x10, [sp, #24]
	ldr	x19, [x9, x10, lsl #3]
	ldr	x9, [sp, #32]
	cmp	x9, #2
	b.ne	LBB0_2
; %bb.1:
	ldr	x9, [sp, #8]
	lsr	x9, x9, #1
	str	x9, [sp, #8]
	ldr	x9, [sp, #16]
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w0, lo
	bl	_ASSERT
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	x9, [sp, #16]
	ldr	x20, [x8, x9, lsl #3]
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	ldr	x8, [x19]
	ldr	x8, [x8]
Lloh3:
	adrp	x21, _CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh5:
	adrp	x22, _COLOR_DEPTH_UNDEFINED@GOTPAGE
Lloh6:
	ldr	x22, [x22, _COLOR_DEPTH_UNDEFINED@GOTPAGEOFF]
	ldr	w2, [x22]
	ldp	x5, x4, [sp]
	add	x3, sp, #40
	mov	x0, x19
	blr	x8
	ldr	x8, [sp, #32]
	cmp	x8, #2
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w1, [x21]
	ldr	w2, [x22]
	ldp	x5, x4, [sp]
	add	x3, sp, #40
	mov	x0, x20
	blr	x8
LBB0_5:
	mov	x0, x19
	bl	_dcn20_hwss_wait_for_blank_complete
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_COLOR_SPACE_SRGB,4,2           ; @COLOR_SPACE_SRGB
	.comm	_CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR,4,2 ; @CONTROLLER_DP_TEST_PATTERN_SOLID_COLOR
	.comm	_COLOR_DEPTH_UNDEFINED,4,2      ; @COLOR_DEPTH_UNDEFINED
.subsections_via_symbols
