	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_nmi_disable               ## -- Begin function acpi_nmi_disable
	.p2align	4, 0x90
_acpi_nmi_disable:                      ## @acpi_nmi_disable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_nmi_active@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_nmi_watchdog@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NMI_IO_APIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	___acpi_nmi_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	popq	%rbp
	jmp	_on_each_cpu                    ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nmi_active,4,2                 ## @nmi_active
	.comm	_nmi_watchdog,8,3               ## @nmi_watchdog
	.comm	_NMI_IO_APIC,8,3                ## @NMI_IO_APIC
	.comm	___acpi_nmi_disable,4,2         ## @__acpi_nmi_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_nmi_disable               ; -- Begin function acpi_nmi_disable
	.p2align	2
_acpi_nmi_disable:                      ; @acpi_nmi_disable
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _nmi_active@GOTPAGE
Lloh1:
	ldr	x0, [x0, _nmi_active@GOTPAGEOFF]
	bl	_atomic_read
	cbz	x0, LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _nmi_watchdog@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nmi_watchdog@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _NMI_IO_APIC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NMI_IO_APIC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, ___acpi_nmi_disable@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___acpi_nmi_disable@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_on_each_cpu
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_nmi_active,4,2                 ; @nmi_active
	.comm	_nmi_watchdog,8,3               ; @nmi_watchdog
	.comm	_NMI_IO_APIC,8,3                ; @NMI_IO_APIC
	.comm	___acpi_nmi_disable,4,2         ; @__acpi_nmi_disable
.subsections_via_symbols
