	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_mpc_init                  ## -- Begin function mpc1_mpc_init
	.p2align	4, 0x90
_mpc1_mpc_init:                         ## @mpc1_mpc_init
	.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	%rdi, %r14
	callq	_TO_DCN10_MPC
	movq	$0, 8(%rax)
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movq	%rax, %r15
	xorl	%ebx, %ebx
	movq	_MPCC_OPP_ID@GOTPCREL(%rip), %r13
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MPCC_TOP_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rbx), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	_MPCC_BOT_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	(%rdx,%rbx), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	(%r13), %rdx
	movl	(%rdx,%rbx), %edi
	xorl	%esi, %esi
	movl	$15, %ecx
	callq	_REG_SET
	movq	(%r14), %rdi
	addq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_mpc1_init_mpcc
	incq	%r12
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_2
LBB0_3:
	movq	_MAX_OPP@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	movq	_MUX@GOTPCREL(%rip), %r15
	movq	_MPC_OUT_MUX@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_REG
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r12), %esi
	movl	$15, %edx
	callq	_REG_UPDATE
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCC_TOP_SEL,8,3               ## @MPCC_TOP_SEL
	.comm	_MPCC_BOT_SEL,8,3               ## @MPCC_BOT_SEL
	.comm	_MPCC_OPP_ID,8,3                ## @MPCC_OPP_ID
	.comm	_MAX_OPP,4,2                    ## @MAX_OPP
	.comm	_MUX,8,3                        ## @MUX
	.comm	_MPC_OUT_MUX,4,2                ## @MPC_OUT_MUX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_mpc_init                  ; -- Begin function mpc1_mpc_init
	.p2align	2
_mpc1_mpc_init:                         ; @mpc1_mpc_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	bl	_TO_DCN10_MPC
	str	xzr, [x0, #8]
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x0
	mov	x22, #0
	mov	x21, #0
Lloh0:
	adrp	x23, _MPCC_TOP_SEL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MPCC_TOP_SEL@GOTPAGEOFF]
Lloh2:
	adrp	x24, _MPCC_BOT_SEL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MPCC_BOT_SEL@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MPCC_OPP_ID@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MPCC_OPP_ID@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x2, [x23]
	ldr	w0, [x2, x22]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
	ldr	x2, [x24]
	ldr	w0, [x2, x22]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
	ldr	x2, [x25]
	ldr	w0, [x2, x22]
	mov	w1, #0
	mov	w3, #15
	bl	_REG_SET
	ldr	x8, [x19]
	add	x0, x8, x22
	mov	x1, x21
	bl	_mpc1_init_mpcc
	add	x21, x21, #1
	ldrsw	x8, [x20]
	add	x22, x22, #4
	cmp	x21, x8
	b.lt	LBB0_2
LBB0_3:
Lloh6:
	adrp	x19, _MAX_OPP@GOTPAGE
Lloh7:
	ldr	x19, [x19, _MAX_OPP@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x20, #0
Lloh8:
	adrp	x21, _MUX@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MUX@GOTPAGEOFF]
Lloh10:
	adrp	x22, _MPC_OUT_MUX@GOTPAGE
Lloh11:
	ldr	x22, [x22, _MPC_OUT_MUX@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x20, lsl #2]
	bl	_REG
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21]
	ldr	w0, [x8, x20, lsl #2]
	ldr	w1, [x22]
	mov	w2, #15
	bl	_REG_UPDATE
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MPCC_TOP_SEL,8,3               ; @MPCC_TOP_SEL
	.comm	_MPCC_BOT_SEL,8,3               ; @MPCC_BOT_SEL
	.comm	_MPCC_OPP_ID,8,3                ; @MPCC_OPP_ID
	.comm	_MAX_OPP,4,2                    ; @MAX_OPP
	.comm	_MUX,8,3                        ; @MUX
	.comm	_MPC_OUT_MUX,4,2                ; @MPC_OUT_MUX
.subsections_via_symbols
