	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function svm_dr_enter_guest
_svm_dr_enter_guest:                    ## @svm_dr_enter_guest
	.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	%rdi, %rbx
	xorl	%eax, %eax
	callq	_rdr7
	movl	%eax, 40(%rbx)
	movq	_MSR_DEBUGCTLMSR@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_rdmsr
	movl	%eax, 36(%rbx)
	xorl	%edi, %edi
	callq	_load_dr7
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_wrmsr
	xorl	%eax, %eax
	callq	_rdr0
	movl	%eax, 32(%rbx)
	xorl	%eax, %eax
	callq	_rdr1
	movl	%eax, 28(%rbx)
	xorl	%eax, %eax
	callq	_rdr2
	movl	%eax, 24(%rbx)
	xorl	%eax, %eax
	callq	_rdr3
	movl	%eax, 20(%rbx)
	xorl	%eax, %eax
	callq	_rdr6
	movl	%eax, 16(%rbx)
	movl	12(%rbx), %edi
	callq	_load_dr0
	movl	8(%rbx), %edi
	callq	_load_dr1
	movl	4(%rbx), %edi
	callq	_load_dr2
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_load_dr3                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_DEBUGCTLMSR,4,2            ## @MSR_DEBUGCTLMSR
	.no_dead_strip	_svm_dr_enter_guest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function svm_dr_enter_guest
_svm_dr_enter_guest:                    ; @svm_dr_enter_guest
	.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	x19, x0
	bl	_rdr7
	str	w0, [x19, #40]
Lloh0:
	adrp	x20, _MSR_DEBUGCTLMSR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MSR_DEBUGCTLMSR@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rdmsr
	str	w0, [x19, #36]
	mov	w0, #0
	bl	_load_dr7
	ldr	w0, [x20]
	mov	w1, #0
	bl	_wrmsr
	bl	_rdr0
	str	w0, [x19, #32]
	bl	_rdr1
	str	w0, [x19, #28]
	bl	_rdr2
	str	w0, [x19, #24]
	bl	_rdr3
	str	w0, [x19, #20]
	bl	_rdr6
	str	w0, [x19, #16]
	ldr	w0, [x19, #12]
	bl	_load_dr0
	ldr	w0, [x19, #8]
	bl	_load_dr1
	ldr	w0, [x19, #4]
	bl	_load_dr2
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_load_dr3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_DEBUGCTLMSR,4,2            ; @MSR_DEBUGCTLMSR
	.no_dead_strip	_svm_dr_enter_guest
.subsections_via_symbols
