	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nix_setup_mce
_nix_setup_mce:                         ## @nix_setup_mce
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	movq	_NIX_AQ_CTYPE_MCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movl	%edx, -40(%rbp)
	movl	%esi, -80(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -56(%rbp)
	movl	%ecx, -68(%rbp)
	movl	%r8d, -64(%rbp)
	movq	$-1, -76(%rbp)
	leaq	-80(%rbp), %rsi
	xorl	%edx, %edx
	callq	_rvu_nix_aq_enq_inst
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %r14d
	movl	%ebx, %edi
	callq	_rvu_get_pf
	movq	_RVU_PFVF_FUNC_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	movl	%ebx, %ecx
	callq	_dev_err
LBB0_2:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIX_AQ_CTYPE_MCE,4,2           ## @NIX_AQ_CTYPE_MCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to setup Bcast MCE for PF%d:VF%d\n"

	.comm	_RVU_PFVF_FUNC_MASK,4,2         ## @RVU_PFVF_FUNC_MASK
	.no_dead_strip	_nix_setup_mce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nix_setup_mce
_nix_setup_mce:                         ; @nix_setup_mce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x3
	mov	x20, x0
	str	xzr, [sp, #56]
Lloh0:
	adrp	x8, _NIX_AQ_CTYPE_MCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIX_AQ_CTYPE_MCE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w2, w8, [sp, #48]
	str	w1, [sp, #8]
	stp	xzr, xzr, [sp, #32]
	stp	w3, w4, [sp, #20]
	mov	x8, #-1
	stur	x8, [sp, #12]
	add	x1, sp, #8
	mov	x2, #0
	bl	_rvu_nix_aq_enq_inst
	mov	x21, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w20, [x20]
	mov	x0, x19
	bl	_rvu_get_pf
	mov	x2, x0
Lloh3:
	adrp	x8, _RVU_PFVF_FUNC_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RVU_PFVF_FUNC_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w3, w8, w19
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
LBB0_2:
	mov	x0, x21
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NIX_AQ_CTYPE_MCE,4,2           ; @NIX_AQ_CTYPE_MCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to setup Bcast MCE for PF%d:VF%d\n"

	.comm	_RVU_PFVF_FUNC_MASK,4,2         ; @RVU_PFVF_FUNC_MASK
	.no_dead_strip	_nix_setup_mce
.subsections_via_symbols
