	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disable_lapic_nmi_watchdog     ## -- Begin function disable_lapic_nmi_watchdog
	.p2align	4, 0x90
_disable_lapic_nmi_watchdog:            ## @disable_lapic_nmi_watchdog
	.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_watchdog@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NMI_LOCAL_APIC@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_BUG_ON
	movq	_nmi_active@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	jle	LBB0_4
## %bb.1:
	movq	_stop_apic_nmi_watchdog@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_on_each_cpu
	movq	_wd_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	*(%rcx)
LBB0_3:
	movq	_nmi_active@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	popq	%rbp
	jmp	_BUG_ON                         ## TAILCALL
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nmi_watchdog,8,3               ## @nmi_watchdog
	.comm	_NMI_LOCAL_APIC,8,3             ## @NMI_LOCAL_APIC
	.comm	_nmi_active,4,2                 ## @nmi_active
	.comm	_stop_apic_nmi_watchdog,4,2     ## @stop_apic_nmi_watchdog
	.comm	_wd_ops,8,3                     ## @wd_ops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_disable_lapic_nmi_watchdog     ; -- Begin function disable_lapic_nmi_watchdog
	.p2align	2
_disable_lapic_nmi_watchdog:            ; @disable_lapic_nmi_watchdog
	.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	x8, _nmi_watchdog@GOTPAGE
Lloh1:
	ldr	x8, [x8, _nmi_watchdog@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NMI_LOCAL_APIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NMI_LOCAL_APIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_BUG_ON
Lloh6:
	adrp	x0, _nmi_active@GOTPAGE
Lloh7:
	ldr	x0, [x0, _nmi_active@GOTPAGEOFF]
	bl	_atomic_read
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, _stop_apic_nmi_watchdog@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stop_apic_nmi_watchdog@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, #0
	mov	w2, #1
	bl	_on_each_cpu
Lloh11:
	adrp	x8, _wd_ops@GOTPAGE
Lloh12:
	ldr	x8, [x8, _wd_ops@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x8]
	blr	x8
LBB0_3:
Lloh14:
	adrp	x0, _nmi_active@GOTPAGE
Lloh15:
	ldr	x0, [x0, _nmi_active@GOTPAGEOFF]
	bl	_atomic_read
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_BUG_ON
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_nmi_watchdog,8,3               ; @nmi_watchdog
	.comm	_NMI_LOCAL_APIC,8,3             ; @NMI_LOCAL_APIC
	.comm	_nmi_active,4,2                 ; @nmi_active
	.comm	_stop_apic_nmi_watchdog,4,2     ; @stop_apic_nmi_watchdog
	.comm	_wd_ops,8,3                     ; @wd_ops
.subsections_via_symbols
