	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_set_bg_color              ## -- Begin function mpc1_set_bg_color
	.p2align	4, 0x90
_mpc1_set_bg_color:                     ## @mpc1_set_bg_color
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	callq	_TO_DCN10_MPC
	movl	(%rbx), %ecx
	movl	4(%rbx), %r15d
	shll	$2, %ecx
	shll	$2, %r15d
	movl	8(%rbx), %r12d
	shll	$2, %r12d
	movq	_MPCC_BG_R_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	%r14d, %rbx
	movl	(%rdx,%rbx,4), %edi
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_MPCC_BG_G_Y@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rbx,4), %edi
	xorl	%esi, %esi
	movl	%r15d, %ecx
	callq	_REG_SET
	movq	_MPCC_BG_B_CB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rbx,4), %edi
	xorl	%esi, %esi
	movl	%r12d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_SET                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCC_BG_R_CR,8,3               ## @MPCC_BG_R_CR
	.comm	_MPCC_BG_G_Y,8,3                ## @MPCC_BG_G_Y
	.comm	_MPCC_BG_B_CB,8,3               ## @MPCC_BG_B_CB
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_set_bg_color              ; -- Begin function mpc1_set_bg_color
	.p2align	2
_mpc1_set_bg_color:                     ; @mpc1_set_bg_color
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x2
	mov	x20, x1
	bl	_TO_DCN10_MPC
	ldp	w8, w9, [x20]
	lsl	w3, w8, #2
	lsl	w21, w9, #2
	ldr	w8, [x20, #8]
	lsl	w20, w8, #2
Lloh0:
	adrp	x8, _MPCC_BG_R_CR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPCC_BG_R_CR@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	sbfiz	x19, x19, #2, #32
	ldr	w0, [x2, x19]
	mov	w1, #0
	bl	_REG_SET
Lloh3:
	adrp	x8, _MPCC_BG_G_Y@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPCC_BG_G_Y@GOTPAGEOFF]
Lloh5:
	ldr	x2, [x8]
	ldr	w0, [x2, x19]
	mov	w1, #0
	mov	x3, x21
	bl	_REG_SET
Lloh6:
	adrp	x8, _MPCC_BG_B_CB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPCC_BG_B_CB@GOTPAGEOFF]
Lloh8:
	ldr	x2, [x8]
	ldr	w0, [x2, x19]
	mov	w1, #0
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_REG_SET
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCC_BG_R_CR,8,3               ; @MPCC_BG_R_CR
	.comm	_MPCC_BG_G_Y,8,3                ; @MPCC_BG_G_Y
	.comm	_MPCC_BG_B_CB,8,3               ; @MPCC_BG_B_CB
.subsections_via_symbols
