	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aw_nmi_teardown_intr
_aw_nmi_teardown_intr:                  ## @aw_nmi_teardown_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	%rsi, %rbx
	callq	_device_get_softc
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_INTR_POLARITY_CONFORM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
	movq	_INTR_TRIGGER_CONFORM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movq	(%rax), %rcx
	movl	(%rcx), %esi
	movq	_NMI_IRQ_ENABLE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	$0, (%rcx)
	sete	%dl
	movq	%rax, %rdi
	callq	_SC_NMI_WRITE
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INTR_POLARITY_CONFORM,4,2      ## @INTR_POLARITY_CONFORM
	.comm	_INTR_TRIGGER_CONFORM,4,2       ## @INTR_TRIGGER_CONFORM
	.comm	_NMI_IRQ_ENABLE,4,2             ## @NMI_IRQ_ENABLE
	.no_dead_strip	_aw_nmi_teardown_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_teardown_intr
_aw_nmi_teardown_intr:                  ; @aw_nmi_teardown_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, x1
	bl	_device_get_softc
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _INTR_POLARITY_CONFORM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INTR_POLARITY_CONFORM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _INTR_TRIGGER_CONFORM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INTR_TRIGGER_CONFORM@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #8]
	ldr	x8, [x0]
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _NMI_IRQ_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NMI_IRQ_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #0
	cset	w2, eq
	bl	_SC_NMI_WRITE
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTR_POLARITY_CONFORM,4,2      ; @INTR_POLARITY_CONFORM
	.comm	_INTR_TRIGGER_CONFORM,4,2       ; @INTR_TRIGGER_CONFORM
	.comm	_NMI_IRQ_ENABLE,4,2             ; @NMI_IRQ_ENABLE
	.no_dead_strip	_aw_nmi_teardown_intr
.subsections_via_symbols
