	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_nmi_intr
_aw_nmi_intr:                           ## @aw_nmi_intr
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	4(%rax), %esi
	callq	_SC_NMI_READ
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	16(%rbx), %rdi
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	callq	_intr_isrc_dispatch
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movq	_NMI_IRQ_ENABLE@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	cmpl	$0, (%rax)
	sete	%dl
	movq	%rbx, %rdi
	callq	_SC_NMI_WRITE
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	movl	(%rbx), %edi
	callq	_device_printf
LBB0_5:
	movq	_FILTER_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Spurious interrupt\n"

	.comm	_FILTER_HANDLED,4,2             ## @FILTER_HANDLED
	.comm	_curthread,8,3                  ## @curthread
	.comm	_NMI_IRQ_ENABLE,4,2             ## @NMI_IRQ_ENABLE
L_.str.1:                               ## @.str.1
	.asciz	"Stray interrupt, NMI disabled\n"

	.no_dead_strip	_aw_nmi_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aw_nmi_intr
_aw_nmi_intr:                           ; @aw_nmi_intr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w1, [x8, #4]
	bl	_SC_NMI_READ
	cbz	x0, LBB0_3
; %bb.1:
	add	x0, x19, #16
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_intr_isrc_dispatch
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _NMI_IRQ_ENABLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NMI_IRQ_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w2, eq
	mov	x0, x19
	bl	_SC_NMI_WRITE
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	ldr	w0, [x19]
	bl	_device_printf
LBB0_5:
Lloh10:
	adrp	x8, _FILTER_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FILTER_HANDLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Spurious interrupt\n"

	.comm	_FILTER_HANDLED,4,2             ; @FILTER_HANDLED
	.comm	_curthread,8,3                  ; @curthread
	.comm	_NMI_IRQ_ENABLE,4,2             ; @NMI_IRQ_ENABLE
l_.str.1:                               ; @.str.1
	.asciz	"Stray interrupt, NMI disabled\n"

	.no_dead_strip	_aw_nmi_intr
.subsections_via_symbols
