	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_hardware_disable
_svm_hardware_disable:                  ## @svm_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	_SVM_FEATURE_TSC_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_svm_has
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_MSR_AMD64_TSC_RATIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TSC_RATIO_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wrmsrl
LBB0_2:
	xorl	%eax, %eax
	callq	_cpu_svm_disable
	xorl	%eax, %eax
	popq	%rbp
	jmp	_amd_pmu_disable_virt           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVM_FEATURE_TSC_RATE,4,2       ## @SVM_FEATURE_TSC_RATE
	.comm	_MSR_AMD64_TSC_RATIO,4,2        ## @MSR_AMD64_TSC_RATIO
	.comm	_TSC_RATIO_DEFAULT,4,2          ## @TSC_RATIO_DEFAULT
	.no_dead_strip	_svm_hardware_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_hardware_disable
_svm_hardware_disable:                  ; @svm_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, _SVM_FEATURE_TSC_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVM_FEATURE_TSC_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_svm_has
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MSR_AMD64_TSC_RATIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSR_AMD64_TSC_RATIO@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _TSC_RATIO_DEFAULT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TSC_RATIO_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_wrmsrl
LBB0_2:
	bl	_cpu_svm_disable
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_amd_pmu_disable_virt
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVM_FEATURE_TSC_RATE,4,2       ; @SVM_FEATURE_TSC_RATE
	.comm	_MSR_AMD64_TSC_RATIO,4,2        ; @MSR_AMD64_TSC_RATIO
	.comm	_TSC_RATIO_DEFAULT,4,2          ; @TSC_RATIO_DEFAULT
	.no_dead_strip	_svm_hardware_disable
.subsections_via_symbols
