	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vmx_cleanup
_vmx_cleanup:                           ## @vmx_cleanup
	.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	_pirvec@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_2
## %bb.1:
	callq	_lapic_ipi_free
LBB0_2:
	movq	_vpid_unr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_delete_unrhdr
	movq	$0, (%rbx)
LBB0_4:
	movq	_nmi_flush_l1d_sw@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_6
## %bb.5:
	movl	$0, (%rax)
LBB0_6:
	movq	_vmx_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_smp_rendezvous
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pirvec,8,3                     ## @pirvec
	.comm	_vpid_unr,8,3                   ## @vpid_unr
	.comm	_nmi_flush_l1d_sw,4,2           ## @nmi_flush_l1d_sw
	.comm	_vmx_disable,4,2                ## @vmx_disable
	.no_dead_strip	_vmx_cleanup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vmx_cleanup
_vmx_cleanup:                           ; @vmx_cleanup
	.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
Lloh0:
	adrp	x8, _pirvec@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pirvec@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_2
; %bb.1:
	bl	_lapic_ipi_free
LBB0_2:
Lloh3:
	adrp	x19, _vpid_unr@GOTPAGE
Lloh4:
	ldr	x19, [x19, _vpid_unr@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_delete_unrhdr
	str	xzr, [x19]
LBB0_4:
Lloh5:
	adrp	x8, _nmi_flush_l1d_sw@GOTPAGE
Lloh6:
	ldr	x8, [x8, _nmi_flush_l1d_sw@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_6
; %bb.5:
	str	wzr, [x8]
LBB0_6:
Lloh7:
	adrp	x8, _vmx_disable@GOTPAGE
Lloh8:
	ldr	x8, [x8, _vmx_disable@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, #0
	mov	x2, #0
	mov	x3, #0
	bl	_smp_rendezvous
	mov	w0, #0
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_pirvec,8,3                     ; @pirvec
	.comm	_vpid_unr,8,3                   ; @vpid_unr
	.comm	_nmi_flush_l1d_sw,4,2           ; @nmi_flush_l1d_sw
	.comm	_vmx_disable,4,2                ; @vmx_disable
	.no_dead_strip	_vmx_cleanup
.subsections_via_symbols
