	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _dpu_plane_color_fill
__dpu_plane_color_fill:                 ## @_dpu_plane_color_fill
	.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
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	callq	_to_dpu_plane_state
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_DPU_DEBUG_PLANE
	movq	_DRM_FORMAT_ABGR8888@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dpu_get_dpu_format
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	%rax, %r15
	movq	32(%rbx), %rdi
	movq	32(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	andl	$16777215, %r13d                ## imm = 0xFFFFFF
	shll	$24, %r12d
	orl	%r13d, %r12d
	movq	(%r14), %rdx
	movl	%r12d, %esi
	callq	*%rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movq	%rbx, %rdi
	callq	_drm_rect_width
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	callq	_drm_rect_height
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	__dpu_plane_setup_scaler
	movq	32(%rbx), %rdi
	movq	24(%rdi), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.3:
	movq	_DPU_SSPP_SOLID_FILL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%r14), %rcx
	movq	%r15, %rsi
	callq	*%r8
	movq	32(%rbx), %rdi
LBB0_4:
	movq	16(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	(%r14), %rdx
	movq	%rbx, %rsi
	callq	*%rcx
	movq	32(%rbx), %rdi
LBB0_6:
	movq	8(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_8
## %bb.7:
	leaq	12(%r14), %rsi
	callq	*%rcx
	movq	32(%rbx), %rdi
LBB0_8:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	(%r14), %rcx
	movq	_DPU_SSPP_RECT_1@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_11
## %bb.10:
	leaq	12(%r14), %rdx
	addq	$8, %r14
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	*%rax
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_DRM_FORMAT_ABGR8888,4,2        ## @DRM_FORMAT_ABGR8888
	.comm	_DPU_SSPP_SOLID_FILL,4,2        ## @DPU_SSPP_SOLID_FILL
	.comm	_DPU_SSPP_RECT_1,8,3            ## @DPU_SSPP_RECT_1
	.no_dead_strip	__dpu_plane_color_fill
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _dpu_plane_color_fill
__dpu_plane_color_fill:                 ; @_dpu_plane_color_fill
	.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	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	w0, [x0, #40]
	bl	_to_dpu_plane_state
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DPU_DEBUG_PLANE
Lloh2:
	adrp	x8, _DRM_FORMAT_ABGR8888@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DRM_FORMAT_ABGR8888@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_dpu_get_dpu_format
	cbz	x0, LBB0_11
; %bb.1:
	mov	x21, x0
	ldr	x0, [x19, #32]
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_11
; %bb.2:
	bfi	w22, w23, #24, #8
	ldr	x2, [x20]
	mov	x1, x22
	blr	x8
	stp	xzr, xzr, [x19, #16]
	mov	x0, x19
	bl	_drm_rect_width
	str	w0, [x19, #12]
	mov	x0, x19
	bl	_drm_rect_height
	str	w0, [x19, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w3, #1
	bl	__dpu_plane_setup_scaler
	ldr	x0, [x19, #32]
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _DPU_SSPP_SOLID_FILL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DPU_SSPP_SOLID_FILL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	ldr	x3, [x20]
	mov	x1, x21
	blr	x8
	ldr	x0, [x19, #32]
LBB0_4:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	x2, [x20]
	mov	x1, x19
	blr	x8
	ldr	x0, [x19, #32]
LBB0_6:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_8
; %bb.7:
	add	x1, x20, #12
	blr	x8
	ldr	x0, [x19, #32]
LBB0_8:
	ldr	x8, [x0]
	cbz	x8, LBB0_11
; %bb.9:
	ldr	x9, [x20]
Lloh8:
	adrp	x10, _DPU_SSPP_RECT_1@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DPU_SSPP_RECT_1@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_11
; %bb.10:
	add	x2, x20, #12
	add	x3, x20, #8
	mov	x1, x19
	blr	x8
LBB0_11:
	mov	w0, #0
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_DRM_FORMAT_ABGR8888,4,2        ; @DRM_FORMAT_ABGR8888
	.comm	_DPU_SSPP_SOLID_FILL,4,2        ; @DPU_SSPP_SOLID_FILL
	.comm	_DPU_SSPP_RECT_1,8,3            ; @DPU_SSPP_RECT_1
	.no_dead_strip	__dpu_plane_color_fill
.subsections_via_symbols
