	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_init_erratum_383
_svm_init_erratum_383:                  ## @svm_init_erratum_383
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_boot_cpu_data@GOTPCREL(%rip), %rax
	cmpl	$16, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	_MSR_AMD64_DC_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	leaq	-28(%rbp), %rsi
	callq	_native_read_msr_safe
	cmpl	$0, -28(%rbp)
	jne	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	movabsq	$140737488355328, %rax          ## imm = 0x800000000000
	orq	%rax, %rbx
	movq	%rbx, %rdi
	callq	_lower_32_bits
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_upper_32_bits
	movl	(%r15), %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_native_write_msr_safe
	movq	_erratum_383_found@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_boot_cpu_data,4,2              ## @boot_cpu_data
	.comm	_MSR_AMD64_DC_CFG,4,2           ## @MSR_AMD64_DC_CFG
	.comm	_erratum_383_found,4,2          ## @erratum_383_found
	.no_dead_strip	_svm_init_erratum_383
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_init_erratum_383
_svm_init_erratum_383:                  ; @svm_init_erratum_383
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _boot_cpu_data@GOTPAGE
Lloh1:
	ldr	x8, [x8, _boot_cpu_data@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #16
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x21, _MSR_AMD64_DC_CFG@GOTPAGE
Lloh4:
	ldr	x21, [x21, _MSR_AMD64_DC_CFG@GOTPAGEOFF]
	ldr	w0, [x21]
	add	x1, sp, #12
	bl	_native_read_msr_safe
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_3
; %bb.2:
	orr	x19, x0, #0x800000000000
	mov	x0, x19
	bl	_lower_32_bits
	mov	x20, x0
	mov	x0, x19
	bl	_upper_32_bits
	mov	x2, x0
	ldr	w0, [x21]
	mov	x1, x20
	bl	_native_write_msr_safe
Lloh5:
	adrp	x8, _erratum_383_found@GOTPAGE
Lloh6:
	ldr	x8, [x8, _erratum_383_found@GOTPAGEOFF]
	mov	w9, #1
Lloh7:
	str	w9, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_boot_cpu_data,4,2              ; @boot_cpu_data
	.comm	_MSR_AMD64_DC_CFG,4,2           ; @MSR_AMD64_DC_CFG
	.comm	_erratum_383_found,4,2          ; @erratum_383_found
	.no_dead_strip	_svm_init_erratum_383
.subsections_via_symbols
