	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dr_interception
_dr_interception:                       ## @dr_interception
	.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	%rdi, %r14
	movl	$0, -28(%rbp)
	movq	_SVM_FEATURE_DECODE_ASSIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_svm_has
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	movq	8(%r14), %rax
	movq	_SVM_EXITINFO_REG_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
	andl	(%rax), %r15d
	movl	4(%rax), %ebx
	movq	_SVM_EXIT_READ_DR0@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movq	%r14, %rdi
	cmpl	$16, %ebx
	jl	LBB0_3
## %bb.2:
	movl	%r15d, %esi
	callq	_kvm_register_read
	addl	$-16, %ebx
	leaq	-28(%rbp), %rcx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_svm_set_dr
	jmp	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_emulate_on_interception        ## TAILCALL
LBB0_3:
	movl	%ebx, %esi
	callq	_svm_get_dr
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_kvm_register_write
LBB0_4:
	movq	%r14, %rdi
	callq	_skip_emulated_instruction
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SVM_FEATURE_DECODE_ASSIST,4,2  ## @SVM_FEATURE_DECODE_ASSIST
	.comm	_SVM_EXITINFO_REG_MASK,4,2      ## @SVM_EXITINFO_REG_MASK
	.comm	_SVM_EXIT_READ_DR0,4,2          ## @SVM_EXIT_READ_DR0
	.no_dead_strip	_dr_interception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dr_interception
_dr_interception:                       ; @dr_interception
	.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
	mov	x19, x0
	str	wzr, [sp, #12]
Lloh0:
	adrp	x8, _SVM_FEATURE_DECODE_ASSIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVM_FEATURE_DECODE_ASSIST@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_svm_has
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _SVM_EXITINFO_REG_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SVM_EXITINFO_REG_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w10, w8, [x8]
	and	w20, w9, w10
Lloh6:
	adrp	x9, _SVM_EXIT_READ_DR0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SVM_EXIT_READ_DR0@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sub	w1, w8, w9
	mov	x0, x19
	subs	w21, w1, #16
	b.lt	LBB0_4
; %bb.2:
	mov	x1, x20
	bl	_kvm_register_read
	mov	x2, x0
	add	x3, sp, #12
	mov	x0, x19
	mov	x1, x21
	bl	_svm_set_dr
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	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
	b	_emulate_on_interception
LBB0_4:
	bl	_svm_get_dr
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_kvm_register_write
LBB0_5:
	mov	x0, x19
	bl	_skip_emulated_instruction
	mov	w0, #1
	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 AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SVM_FEATURE_DECODE_ASSIST,4,2  ; @SVM_FEATURE_DECODE_ASSIST
	.comm	_SVM_EXITINFO_REG_MASK,4,2      ; @SVM_EXITINFO_REG_MASK
	.comm	_SVM_EXIT_READ_DR0,4,2          ; @SVM_EXIT_READ_DR0
	.no_dead_strip	_dr_interception
.subsections_via_symbols
