	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpic_unmask_irq_err
_mpic_unmask_irq_err:                   ## @mpic_unmask_irq_err
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_mv_mpic_sc@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_MPIC_ISE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MPIC_INT_ERR@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_MPIC_WRITE
	movl	(%r14), %edi
	movq	_MPIC_ICM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	callq	_MPIC_CPU_WRITE
	movq	_ERR_IRQ@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	(%r14), %edi
	movq	_MPIC_ERR_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_MPIC_CPU_READ
	btsl	%ebx, %eax
	movl	(%r14), %edi
	movl	(%r15), %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_MPIC_CPU_WRITE                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mv_mpic_sc,4,2                 ## @mv_mpic_sc
	.comm	_MPIC_ISE,4,2                   ## @MPIC_ISE
	.comm	_MPIC_INT_ERR,4,2               ## @MPIC_INT_ERR
	.comm	_MPIC_ICM,4,2                   ## @MPIC_ICM
	.comm	_ERR_IRQ,4,2                    ## @ERR_IRQ
	.comm	_MPIC_ERR_MASK,4,2              ## @MPIC_ERR_MASK
	.no_dead_strip	_mpic_unmask_irq_err
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpic_unmask_irq_err
_mpic_unmask_irq_err:                   ; @mpic_unmask_irq_err
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x20, _mv_mpic_sc@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mv_mpic_sc@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x8, _MPIC_ISE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MPIC_ISE@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x21, _MPIC_INT_ERR@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MPIC_INT_ERR@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_MPIC_WRITE
	ldr	w0, [x20]
Lloh7:
	adrp	x8, _MPIC_ICM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MPIC_ICM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	ldr	w2, [x21]
	bl	_MPIC_CPU_WRITE
Lloh10:
	adrp	x8, _ERR_IRQ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_IRQ@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	sub	w19, w19, w8
	ldr	w0, [x20]
Lloh13:
	adrp	x21, _MPIC_ERR_MASK@GOTPAGE
Lloh14:
	ldr	x21, [x21, _MPIC_ERR_MASK@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_MPIC_CPU_READ
	mov	w8, #1
	lsl	w8, w8, w19
	orr	w2, w0, w8
	ldr	w0, [x20]
	ldr	w1, [x21]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_MPIC_CPU_WRITE
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_mv_mpic_sc,4,2                 ; @mv_mpic_sc
	.comm	_MPIC_ISE,4,2                   ; @MPIC_ISE
	.comm	_MPIC_INT_ERR,4,2               ; @MPIC_INT_ERR
	.comm	_MPIC_ICM,4,2                   ; @MPIC_ICM
	.comm	_ERR_IRQ,4,2                    ; @ERR_IRQ
	.comm	_MPIC_ERR_MASK,4,2              ; @MPIC_ERR_MASK
	.no_dead_strip	_mpic_unmask_irq_err
.subsections_via_symbols
