	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc2_update_blending           ## -- Begin function mpc2_update_blending
	.p2align	4, 0x90
_mpc2_update_blending:                  ## @mpc2_update_blending
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_TO_DCN20_MPC
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_mpc1_get_mpcc
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_MPCC_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r12d, %r12
	movl	(%rax,%r12,4), %edi
	movq	_MPCC_ALPHA_BLND_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	40(%rbx), %edx
	movq	_MPCC_ALPHA_MULTIPLIED_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	36(%rbx), %r8d
	movq	_MPCC_BLND_ACTIVE_OVERLAP_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	32(%rbx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_MPCC_GLOBAL_ALPHA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_MPCC_GLOBAL_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MPCC_BG_BPC@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_MPCC_BOT_GAIN_MODE@GOTPCREL(%rip), %r10
	movl	(%r10), %r10d
	movl	28(%rbx), %r13d
	movl	24(%rbx), %r14d
	movl	16(%rbx), %eax
	movl	20(%rbx), %r11d
	subq	$8, %rsp
	pushq	%rax
	pushq	%r10
	pushq	%r11
	pushq	%r15
	pushq	%r14
	pushq	-48(%rbp)                       ## 8-byte Folded Reload
	pushq	%r13
	pushq	-56(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	callq	_REG_UPDATE_7
	addq	$80, %rsp
	movq	_MPCC_TOP_GAIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r12,4), %edi
	movl	12(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_MPCC_BOT_GAIN_INSIDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r12,4), %edi
	movl	8(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	_MPCC_BOT_GAIN_OUTSIDE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r12,4), %edi
	movl	4(%rbx), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_mpc1_set_bg_color
	movups	(%rbx), %xmm0
	movups	16(%rbx), %xmm1
	movups	28(%rbx), %xmm2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movups	%xmm0, (%rax)
	movups	%xmm1, 16(%rax)
	movups	%xmm2, 28(%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCC_CONTROL,8,3               ## @MPCC_CONTROL
	.comm	_MPCC_ALPHA_BLND_MODE,4,2       ## @MPCC_ALPHA_BLND_MODE
	.comm	_MPCC_ALPHA_MULTIPLIED_MODE,4,2 ## @MPCC_ALPHA_MULTIPLIED_MODE
	.comm	_MPCC_BLND_ACTIVE_OVERLAP_ONLY,4,2 ## @MPCC_BLND_ACTIVE_OVERLAP_ONLY
	.comm	_MPCC_GLOBAL_ALPHA,4,2          ## @MPCC_GLOBAL_ALPHA
	.comm	_MPCC_GLOBAL_GAIN,4,2           ## @MPCC_GLOBAL_GAIN
	.comm	_MPCC_BG_BPC,4,2                ## @MPCC_BG_BPC
	.comm	_MPCC_BOT_GAIN_MODE,4,2         ## @MPCC_BOT_GAIN_MODE
	.comm	_MPCC_TOP_GAIN,8,3              ## @MPCC_TOP_GAIN
	.comm	_MPCC_BOT_GAIN_INSIDE,8,3       ## @MPCC_BOT_GAIN_INSIDE
	.comm	_MPCC_BOT_GAIN_OUTSIDE,8,3      ## @MPCC_BOT_GAIN_OUTSIDE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc2_update_blending           ; -- Begin function mpc2_update_blending
	.p2align	2
_mpc2_update_blending:                  ; @mpc2_update_blending
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	bl	_TO_DCN20_MPC
	mov	x0, x21
	mov	x1, x20
	bl	_mpc1_get_mpcc
	mov	x22, x0
Lloh0:
	adrp	x8, _MPCC_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPCC_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sbfiz	x23, x20, #2, #32
	ldr	w0, [x8, x23]
Lloh3:
	adrp	x8, _MPCC_ALPHA_BLND_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPCC_ALPHA_BLND_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w4, w2, [x19, #36]
Lloh6:
	adrp	x8, _MPCC_ALPHA_MULTIPLIED_MODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPCC_ALPHA_MULTIPLIED_MODE@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
Lloh9:
	adrp	x8, _MPCC_BLND_ACTIVE_OVERLAP_ONLY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPCC_BLND_ACTIVE_OVERLAP_ONLY@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x8, _MPCC_GLOBAL_ALPHA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPCC_GLOBAL_ALPHA@GOTPAGEOFF]
Lloh14:
	adrp	x9, _MPCC_GLOBAL_GAIN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MPCC_GLOBAL_GAIN@GOTPAGEOFF]
Lloh16:
	ldr	w7, [x8]
Lloh17:
	ldr	w8, [x9]
	ldp	w9, w6, [x19, #28]
	ldp	w13, w10, [x19, #20]
Lloh18:
	adrp	x11, _MPCC_BG_BPC@GOTPAGE
Lloh19:
	ldr	x11, [x11, _MPCC_BG_BPC@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
Lloh21:
	adrp	x12, _MPCC_BOT_GAIN_MODE@GOTPAGE
Lloh22:
	ldr	x12, [x12, _MPCC_BOT_GAIN_MODE@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	ldr	w14, [x19, #16]
	stp	w12, w14, [sp, #20]
	stp	w11, w13, [sp, #12]
	stp	w8, w10, [sp, #4]
	str	w9, [sp]
	bl	_REG_UPDATE_7
Lloh24:
	adrp	x8, _MPCC_TOP_GAIN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MPCC_TOP_GAIN@GOTPAGEOFF]
Lloh26:
	ldr	x2, [x8]
	ldr	w0, [x2, x23]
	ldr	w3, [x19, #12]
	mov	w1, #0
	bl	_REG_SET
Lloh27:
	adrp	x8, _MPCC_BOT_GAIN_INSIDE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MPCC_BOT_GAIN_INSIDE@GOTPAGEOFF]
Lloh29:
	ldr	x2, [x8]
	ldr	w0, [x2, x23]
	ldr	w3, [x19, #8]
	mov	w1, #0
	bl	_REG_SET
Lloh30:
	adrp	x8, _MPCC_BOT_GAIN_OUTSIDE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MPCC_BOT_GAIN_OUTSIDE@GOTPAGEOFF]
Lloh32:
	ldr	x2, [x8]
	ldr	w0, [x2, x23]
	ldr	w3, [x19, #4]
	mov	w1, #0
	bl	_REG_SET
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_mpc1_set_bg_color
	ldur	q0, [x19, #28]
	ldp	q2, q1, [x19]
	stp	q2, q1, [x22]
	stur	q0, [x22, #28]
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCC_CONTROL,8,3               ; @MPCC_CONTROL
	.comm	_MPCC_ALPHA_BLND_MODE,4,2       ; @MPCC_ALPHA_BLND_MODE
	.comm	_MPCC_ALPHA_MULTIPLIED_MODE,4,2 ; @MPCC_ALPHA_MULTIPLIED_MODE
	.comm	_MPCC_BLND_ACTIVE_OVERLAP_ONLY,4,2 ; @MPCC_BLND_ACTIVE_OVERLAP_ONLY
	.comm	_MPCC_GLOBAL_ALPHA,4,2          ; @MPCC_GLOBAL_ALPHA
	.comm	_MPCC_GLOBAL_GAIN,4,2           ; @MPCC_GLOBAL_GAIN
	.comm	_MPCC_BG_BPC,4,2                ; @MPCC_BG_BPC
	.comm	_MPCC_BOT_GAIN_MODE,4,2         ; @MPCC_BOT_GAIN_MODE
	.comm	_MPCC_TOP_GAIN,8,3              ; @MPCC_TOP_GAIN
	.comm	_MPCC_BOT_GAIN_INSIDE,8,3       ; @MPCC_BOT_GAIN_INSIDE
	.comm	_MPCC_BOT_GAIN_OUTSIDE,8,3      ; @MPCC_BOT_GAIN_OUTSIDE
.subsections_via_symbols
