	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_init_mpcc_list_from_hw    ## -- Begin function mpc1_init_mpcc_list_from_hw
	.p2align	4, 0x90
_mpc1_init_mpcc_list_from_hw:           ## @mpc1_init_mpcc_list_from_hw
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_TO_DCN10_MPC
	movq	%rax, %r12
	movq	_MUX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_MPC_OUT_MUX@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-56(%rbp), %rdx
	callq	_REG_GET
	cmpl	$15, -56(%rbp)
	je	LBB0_15
## %bb.1:
	cmpl	$0, (%r12)
	jle	LBB0_15
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_15
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_MPCC_OPP_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rsi,%rbx,4), %edi
	leaq	-52(%rbp), %rdx
	callq	_REG_GET
	movq	_MPCC_TOP_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rsi,%rbx,4), %edi
	leaq	-44(%rbp), %rdx
	callq	_REG_GET
	movq	_MPCC_BOT_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rsi,%rbx,4), %edi
	leaq	-48(%rbp), %rdx
	callq	_REG_GET
	movl	-48(%rbp), %eax
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$15, -48(%rbp)
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	-52(%rbp), %eax
	cmpq	%rax, (%r15)
	jne	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$15, -44(%rbp)
	je	LBB0_14
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_mpc1_get_mpcc
	movq	%rax, %r13
	movl	-44(%rbp), %eax
	movl	$1, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	movl	%eax, (%r13)
	orl	%edx, 4(%r12)
	movl	-56(%rbp), %eax
	cmpq	%rax, %rbx
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, 8(%r15)
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	-48(%rbp), %r14
	cmpq	$15, %r14
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	(%r12), %r14d
	jae	LBB0_14
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_MPCC_OPP_ID@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rsi,%r14,4), %edi
	leaq	-52(%rbp), %rdx
	callq	_REG_GET
	movq	_MPCC_TOP_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%rsi,%r14,4), %edi
	leaq	-44(%rbp), %rdx
	callq	_REG_GET
	movl	-52(%rbp), %eax
	cmpq	%rax, (%r15)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$15, -44(%rbp)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_mpc1_get_mpcc
	movq	%rax, 8(%r13)
	jmp	LBB0_14
LBB0_15:
	addq	$24, %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,8,3                ## @MPC_OUT_MUX
	.comm	_MPCC_OPP_ID,8,3                ## @MPCC_OPP_ID
	.comm	_MPCC_TOP_SEL,8,3               ## @MPCC_TOP_SEL
	.comm	_MPCC_BOT_SEL,8,3               ## @MPCC_BOT_SEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc1_init_mpcc_list_from_hw    ; -- Begin function mpc1_init_mpcc_list_from_hw
	.p2align	2
_mpc1_init_mpcc_list_from_hw:           ; @mpc1_init_mpcc_list_from_hw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	bl	_TO_DCN10_MPC
	mov	x21, x0
Lloh0:
	adrp	x8, _MUX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MUX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19]
	ldr	w0, [x8, x9, lsl #2]
Lloh3:
	adrp	x8, _MPC_OUT_MUX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPC_OUT_MUX@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x2, sp
	bl	_REG_GET
	ldr	w8, [sp]
	cmp	w8, #15
	b.eq	LBB0_15
; %bb.1:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x22, #0
Lloh6:
	adrp	x25, _MPCC_OPP_ID@GOTPAGE
Lloh7:
	ldr	x25, [x25, _MPCC_OPP_ID@GOTPAGEOFF]
Lloh8:
	adrp	x26, _MPCC_TOP_SEL@GOTPAGE
Lloh9:
	ldr	x26, [x26, _MPCC_TOP_SEL@GOTPAGEOFF]
	mov	w27, #15
Lloh10:
	adrp	x28, _MPCC_BOT_SEL@GOTPAGE
Lloh11:
	ldr	x28, [x28, _MPCC_BOT_SEL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x25]
	lsl	x23, x22, #2
	ldr	w0, [x1, x23]
	add	x2, sp, #12
	bl	_REG_GET
	ldr	x1, [x26]
	ldr	w0, [x1, x23]
	add	x2, sp, #8
	bl	_REG_GET
	ldr	x1, [x28]
	ldr	w0, [x1, x23]
	add	x2, sp, #4
	bl	_REG_GET
	ldr	w8, [sp, #4]
	cmp	x22, x8
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w27, [sp, #4]
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #15
	b.eq	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_mpc1_get_mpcc
	mov	x23, x0
	ldr	w8, [sp, #8]
	str	w8, [x0]
	mov	w8, #1
	lsl	w8, w8, w22
	ldr	w9, [x21, #4]
	orr	w8, w9, w8
	str	w8, [x21, #4]
	ldr	w8, [sp]
	cmp	x22, x8
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x23, [x19, #8]
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x24, [sp, #4]
	cmp	w24, #15
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x21]
	cmp	w24, w8
	b.hs	LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [x25]
	lsl	x27, x24, #2
	ldr	w0, [x1, x27]
	add	x2, sp, #12
	bl	_REG_GET
	ldr	x1, [x26]
	ldr	w0, [x1, x27]
	mov	w27, #15
	add	x2, sp, #8
	bl	_REG_GET
	ldr	w8, [sp, #12]
	ldr	x9, [x19]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, #15
	b.eq	LBB0_3
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x24
	bl	_mpc1_get_mpcc
	str	x0, [x23, #8]
	b	LBB0_3
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MUX,8,3                        ; @MUX
	.comm	_MPC_OUT_MUX,8,3                ; @MPC_OUT_MUX
	.comm	_MPCC_OPP_ID,8,3                ; @MPCC_OPP_ID
	.comm	_MPCC_TOP_SEL,8,3               ; @MPCC_TOP_SEL
	.comm	_MPCC_BOT_SEL,8,3               ; @MPCC_BOT_SEL
.subsections_via_symbols
