	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_remove_mpcc               ## -- Begin function mpc1_remove_mpcc
	.p2align	4, 0x90
_mpc1_remove_mpcc:                      ## @mpc1_remove_mpcc
	.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
	movq	%rdx, %r13
	movq	%rsi, %r12
	callq	_TO_DCN10_MPC
	movq	%rax, %r15
	movslq	(%r13), %r14
	movq	8(%r12), %rax
	cmpq	%r13, %rax
	je	LBB0_1
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	8(%rax), %rax
	cmpq	%r13, %rax
	jne	LBB0_4
## %bb.6:
	movq	8(%r13), %rax
	movq	%rax, 8(%rbx)
	movq	8(%r13), %rax
	movq	_MPCC_BOT_SEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movslq	(%rbx), %rcx
	movl	(%rdx,%rcx,4), %edi
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%rax), %ecx
	xorl	%esi, %esi
	callq	_REG_SET
	jmp	LBB0_11
LBB0_1:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, 8(%r12)
	movq	_MUX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%r12), %rdx
	movl	(%rcx,%rdx,4), %edi
	movq	_MPC_OUT_MUX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	jmp	LBB0_9
LBB0_12:
	movq	_MPCC_TOP_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r14,4), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	_MPCC_BOT_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r14,4), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	_MPCC_OPP_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r14,4), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_SET                        ## TAILCALL
LBB0_3:
	movq	$0, 8(%r12)
	movq	_MUX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_MPC_OUT_MUX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edx
	jmp	LBB0_10
LBB0_8:
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	_MPCC_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_MPCC_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edx
LBB0_10:
	callq	_REG_UPDATE
LBB0_11:
	movq	_MPCC_TOP_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r14,4), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	_MPCC_BOT_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r14,4), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	_MPCC_OPP_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%r14,4), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movl	$-2, %eax
	movl	%r14d, %ecx
	roll	%cl, %eax
	andl	%eax, (%r15)
	movl	$15, 4(%r13)
	movq	$0, 8(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MUX,8,3                        ## @MUX
	.comm	_MPC_OUT_MUX,4,2                ## @MPC_OUT_MUX
	.comm	_MPCC_BOT_SEL,8,3               ## @MPCC_BOT_SEL
	.comm	_MPCC_CONTROL,8,3               ## @MPCC_CONTROL
	.comm	_MPCC_MODE,4,2                  ## @MPCC_MODE
	.comm	_MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH,4,2 ## @MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH
	.comm	_MPCC_TOP_SEL,8,3               ## @MPCC_TOP_SEL
	.comm	_MPCC_OPP_ID,8,3                ## @MPCC_OPP_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_remove_mpcc               ; -- Begin function mpc1_remove_mpcc
	.p2align	2
_mpc1_remove_mpcc:                      ; @mpc1_remove_mpcc
	.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	x19, x2
	mov	x21, x1
	bl	_TO_DCN10_MPC
	mov	x20, x0
	ldrsw	x22, [x19]
	ldr	x8, [x21, #8]
	cmp	x8, x19
	b.eq	LBB0_5
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x8, LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x21, x8
	ldr	x8, [x8, #8]
	cmp	x8, x19
	b.ne	LBB0_1
; %bb.3:
	ldr	x8, [x19, #8]
	str	x8, [x21, #8]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _MPCC_BOT_SEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MPCC_BOT_SEL@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x9]
	ldrsw	x9, [x21]
	ldr	w0, [x2, x9, lsl #2]
	cbz	x8, LBB0_9
; %bb.4:
	ldr	w3, [x8]
	mov	w1, #0
	bl	_REG_SET
	b	LBB0_12
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_8
; %bb.6:
	str	x8, [x21, #8]
Lloh3:
	adrp	x9, _MUX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MUX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldr	x10, [x21]
	ldr	w0, [x9, x10, lsl #2]
Lloh6:
	adrp	x9, _MPC_OUT_MUX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MPC_OUT_MUX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x9]
	b	LBB0_10
LBB0_7:
Lloh9:
	adrp	x8, _MPCC_TOP_SEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPCC_TOP_SEL@GOTPAGEOFF]
Lloh11:
	ldr	x2, [x8]
	lsl	x19, x22, #2
	ldr	w0, [x2, x19]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
Lloh12:
	adrp	x8, _MPCC_BOT_SEL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPCC_BOT_SEL@GOTPAGEOFF]
Lloh14:
	ldr	x2, [x8]
	ldr	w0, [x2, x19]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
Lloh15:
	adrp	x8, _MPCC_OPP_ID@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MPCC_OPP_ID@GOTPAGEOFF]
Lloh17:
	ldr	x2, [x8]
	ldr	w0, [x2, x19]
	mov	w1, #0
	mov	w3, #15
	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
	b	_REG_SET
LBB0_8:
	str	xzr, [x21, #8]
Lloh18:
	adrp	x8, _MUX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MUX@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh21:
	adrp	x8, _MPC_OUT_MUX@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MPC_OUT_MUX@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #15
	b	LBB0_11
LBB0_9:
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
Lloh24:
	adrp	x8, _MPCC_CONTROL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MPCC_CONTROL@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	ldrsw	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
Lloh27:
	adrp	x8, _MPCC_MODE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _MPCC_MODE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH@GOTPAGEOFF]
LBB0_10:
	ldr	w2, [x8]
LBB0_11:
	bl	_REG_UPDATE
LBB0_12:
Lloh32:
	adrp	x8, _MPCC_TOP_SEL@GOTPAGE
Lloh33:
	ldr	x8, [x8, _MPCC_TOP_SEL@GOTPAGEOFF]
Lloh34:
	ldr	x2, [x8]
	lsl	x21, x22, #2
	ldr	w0, [x2, x21]
	mov	w23, #15
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
Lloh35:
	adrp	x8, _MPCC_BOT_SEL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MPCC_BOT_SEL@GOTPAGEOFF]
Lloh37:
	ldr	x2, [x8]
	ldr	w0, [x2, x21]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
Lloh38:
	adrp	x8, _MPCC_OPP_ID@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MPCC_OPP_ID@GOTPAGEOFF]
Lloh40:
	ldr	x2, [x8]
	ldr	w0, [x2, x21]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
	mov	w8, #1
	lsl	w8, w8, w22
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	str	w23, [x19, #4]
	str	xzr, [x19, #8]
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MUX,8,3                        ; @MUX
	.comm	_MPC_OUT_MUX,4,2                ; @MPC_OUT_MUX
	.comm	_MPCC_BOT_SEL,8,3               ; @MPCC_BOT_SEL
	.comm	_MPCC_CONTROL,8,3               ; @MPCC_CONTROL
	.comm	_MPCC_MODE,4,2                  ; @MPCC_MODE
	.comm	_MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH,4,2 ; @MPCC_BLEND_MODE_TOP_LAYER_PASSTHROUGH
	.comm	_MPCC_TOP_SEL,8,3               ; @MPCC_TOP_SEL
	.comm	_MPCC_OPP_ID,8,3                ; @MPCC_OPP_ID
.subsections_via_symbols
