	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hardware_disable
_hardware_disable:                      ## @hardware_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	_vmm_exclusive@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_vmclear_local_vcpus
	xorl	%eax, %eax
	callq	_kvm_cpu_vmxoff
LBB0_2:
	xorl	%eax, %eax
	callq	_read_cr4
	movq	_X86_CR4_VMXE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	popq	%rbp
	jmp	_write_cr4                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vmm_exclusive,8,3              ## @vmm_exclusive
	.comm	_X86_CR4_VMXE,4,2               ## @X86_CR4_VMXE
	.no_dead_strip	_hardware_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hardware_disable
_hardware_disable:                      ; @hardware_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	x8, _vmm_exclusive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vmm_exclusive@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_vmclear_local_vcpus
	bl	_kvm_cpu_vmxoff
LBB0_2:
	bl	_read_cr4
Lloh3:
	adrp	x8, _X86_CR4_VMXE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X86_CR4_VMXE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_write_cr4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_vmm_exclusive,8,3              ; @vmm_exclusive
	.comm	_X86_CR4_VMXE,4,2               ; @X86_CR4_VMXE
	.no_dead_strip	_hardware_disable
.subsections_via_symbols
