	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_set_cr0
_svm_set_cr0:                           ## @svm_set_cr0
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_to_svm
	movq	_npt_enabled@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_3
## %bb.1:
	movq	%rbx, 16(%r14)
	movq	_X86_CR0_PG@GOTPCREL(%rip), %rcx
	movq	_X86_CR0_WP@GOTPCREL(%rip), %rdx
	orq	(%rcx), %rbx
	orq	(%rdx), %rbx
	cmpl	$0, (%r14)
	jne	LBB0_3
## %bb.2:
	movq	_X86_CR0_TS@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rbx
LBB0_3:
	movq	_X86_CR0_CD@GOTPCREL(%rip), %rcx
	movq	_X86_CR0_NW@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	orq	(%rcx), %rdx
	notq	%rdx
	andq	%rbx, %rdx
	movq	(%rax), %rax
	movq	%rdx, 8(%rax)
	movq	%r14, %rdi
	callq	_to_svm
	movq	(%rax), %rdi
	movq	_VMCB_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mark_dirty                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_npt_enabled,8,3                ## @npt_enabled
	.comm	_X86_CR0_PG,8,3                 ## @X86_CR0_PG
	.comm	_X86_CR0_WP,8,3                 ## @X86_CR0_WP
	.comm	_X86_CR0_TS,8,3                 ## @X86_CR0_TS
	.comm	_X86_CR0_CD,8,3                 ## @X86_CR0_CD
	.comm	_X86_CR0_NW,8,3                 ## @X86_CR0_NW
	.comm	_VMCB_CR,4,2                    ## @VMCB_CR
	.comm	_EFER_LMA,4,2                   ## @EFER_LMA
	.comm	_EFER_LME,4,2                   ## @EFER_LME
	.no_dead_strip	_svm_set_cr0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_set_cr0
_svm_set_cr0:                           ; @svm_set_cr0
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_to_svm
Lloh0:
	adrp	x8, _npt_enabled@GOTPAGE
Lloh1:
	ldr	x8, [x8, _npt_enabled@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.1:
	str	x20, [x19, #16]
Lloh3:
	adrp	x8, _X86_CR0_PG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X86_CR0_PG@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _X86_CR0_WP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _X86_CR0_WP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	orr	x8, x8, x20
	orr	x20, x8, x9
	ldr	w8, [x19]
	cbnz	w8, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _X86_CR0_TS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _X86_CR0_TS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	orr	x20, x8, x20
LBB0_3:
Lloh12:
	adrp	x8, _X86_CR0_CD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _X86_CR0_CD@GOTPAGEOFF]
Lloh14:
	adrp	x9, _X86_CR0_NW@GOTPAGE
Lloh15:
	ldr	x9, [x9, _X86_CR0_NW@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	ldr	x9, [x9]
	orr	x8, x9, x8
	bic	x8, x20, x8
	ldr	x9, [x0]
	str	x8, [x9, #8]
	mov	x0, x19
	bl	_to_svm
	ldr	x0, [x0]
Lloh18:
	adrp	x8, _VMCB_CR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _VMCB_CR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mark_dirty
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_npt_enabled,8,3                ; @npt_enabled
	.comm	_X86_CR0_PG,8,3                 ; @X86_CR0_PG
	.comm	_X86_CR0_WP,8,3                 ; @X86_CR0_WP
	.comm	_X86_CR0_TS,8,3                 ; @X86_CR0_TS
	.comm	_X86_CR0_CD,8,3                 ; @X86_CR0_CD
	.comm	_X86_CR0_NW,8,3                 ; @X86_CR0_NW
	.comm	_VMCB_CR,4,2                    ; @VMCB_CR
	.comm	_EFER_LMA,4,2                   ; @EFER_LMA
	.comm	_EFER_LME,4,2                   ; @EFER_LME
	.no_dead_strip	_svm_set_cr0
.subsections_via_symbols
