	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc2_assert_mpcc_idle_before_connect ## -- Begin function mpc2_assert_mpcc_idle_before_connect
	.p2align	4, 0x90
_mpc2_assert_mpcc_idle_before_connect:  ## @mpc2_assert_mpcc_idle_before_connect
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_TO_DCN20_MPC
	movq	_MPCC_TOP_SEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movslq	%ebx, %rbx
	movl	(%rsi,%rbx,4), %edi
	leaq	-24(%rbp), %rdx
	callq	_REG_GET
	movq	_MPCC_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	movq	_MPCC_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPCC_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MPCC_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-12(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	-20(%rbp), %rdx
	leaq	-16(%rbp), %r8
	callq	_REG_GET_3
	cmpl	$15, -24(%rbp)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpl	$0, -20(%rbp)
	sete	%dil
	callq	_ASSERT
	movl	-16(%rbp), %edi
	callq	_ASSERT
	movl	-12(%rbp), %edi
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	cmpl	$0, -12(%rbp)
	sete	%dil
	callq	_ASSERT
	xorl	%edi, %edi
	cmpl	$0, -16(%rbp)
	sete	%dil
LBB0_3:
	callq	_ASSERT
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPCC_TOP_SEL,8,3               ## @MPCC_TOP_SEL
	.comm	_MPCC_STATUS,8,3                ## @MPCC_STATUS
	.comm	_MPCC_BUSY,4,2                  ## @MPCC_BUSY
	.comm	_MPCC_IDLE,4,2                  ## @MPCC_IDLE
	.comm	_MPCC_DISABLED,4,2              ## @MPCC_DISABLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mpc2_assert_mpcc_idle_before_connect ; -- Begin function mpc2_assert_mpcc_idle_before_connect
	.p2align	2
_mpc2_assert_mpcc_idle_before_connect:  ; @mpc2_assert_mpcc_idle_before_connect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_TO_DCN20_MPC
Lloh0:
	adrp	x8, _MPCC_TOP_SEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPCC_TOP_SEL@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	sbfiz	x19, x19, #2, #32
	ldr	w0, [x1, x19]
	add	x2, sp, #12
	bl	_REG_GET
Lloh3:
	adrp	x8, _MPCC_STATUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPCC_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w0, [x8, x19]
Lloh6:
	adrp	x8, _MPCC_BUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPCC_BUSY@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _MPCC_IDLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MPCC_IDLE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _MPCC_DISABLED@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPCC_DISABLED@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
	add	x2, sp, #8
	add	x4, sp, #4
	mov	x6, sp
	bl	_REG_GET_3
	ldr	w8, [sp, #12]
	cmp	w8, #15
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #0
	cset	w0, eq
	bl	_ASSERT
	ldr	w0, [sp, #4]
	bl	_ASSERT
	ldr	w0, [sp]
	b	LBB0_3
LBB0_2:
	ldr	w8, [sp]
	cmp	w8, #0
	cset	w0, eq
	bl	_ASSERT
	ldr	w8, [sp, #4]
	cmp	w8, #0
	cset	w0, eq
LBB0_3:
	bl	_ASSERT
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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_TOP_SEL,8,3               ; @MPCC_TOP_SEL
	.comm	_MPCC_STATUS,8,3                ; @MPCC_STATUS
	.comm	_MPCC_BUSY,4,2                  ; @MPCC_BUSY
	.comm	_MPCC_IDLE,4,2                  ; @MPCC_IDLE
	.comm	_MPCC_DISABLED,4,2              ; @MPCC_DISABLED
.subsections_via_symbols
