	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emulator_set_dr                ## -- Begin function emulator_set_dr
	.p2align	4, 0x90
_emulator_set_dr:                       ## @emulator_set_dr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_kvm_x86_ops@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %r8
	testq	%r8, %r8
	je	LBB0_4
## %bb.1:
	movq	_X86EMUL_MODE_PROT64@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%eax, %eax
	cmpq	%rcx, (%rdi)
	setne	%al
	shlq	$32, %rax
	decq	%rax
	movl	8(%rdi), %edi
	andq	%rdx, %rax
	leaq	-4(%rbp), %rcx
	movq	%rax, %rdx
	callq	*%r8
	cmpl	$0, -4(%rbp)
	jne	LBB0_4
## %bb.2:
	movq	_X86EMUL_CONTINUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_X86EMUL_UNHANDLEABLE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_X86EMUL_MODE_PROT64,8,3        ## @X86EMUL_MODE_PROT64
	.comm	_kvm_x86_ops,8,3                ## @kvm_x86_ops
	.comm	_X86EMUL_UNHANDLEABLE,4,2       ## @X86EMUL_UNHANDLEABLE
	.comm	_X86EMUL_CONTINUE,4,2           ## @X86EMUL_CONTINUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_emulator_set_dr                ; -- Begin function emulator_set_dr
	.p2align	2
_emulator_set_dr:                       ; @emulator_set_dr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _kvm_x86_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kvm_x86_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh3:
	adrp	x19, _X86EMUL_UNHANDLEABLE@GOTPAGE
Lloh4:
	ldr	x19, [x19, _X86EMUL_UNHANDLEABLE@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x9, [x0]
Lloh5:
	adrp	x10, _X86EMUL_MODE_PROT64@GOTPAGE
Lloh6:
	ldr	x10, [x10, _X86EMUL_MODE_PROT64@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	mov	w9, #-1
	csinv	x9, x9, xzr, ne
	ldr	w0, [x0, #8]
	and	x2, x9, x2
	add	x3, sp, #12
	blr	x8
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x9, _X86EMUL_CONTINUE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _X86EMUL_CONTINUE@GOTPAGEOFF]
	cmp	w8, #0
	csel	x19, x9, x19, eq
LBB0_2:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_X86EMUL_MODE_PROT64,8,3        ; @X86EMUL_MODE_PROT64
	.comm	_kvm_x86_ops,8,3                ; @kvm_x86_ops
	.comm	_X86EMUL_UNHANDLEABLE,4,2       ; @X86EMUL_UNHANDLEABLE
	.comm	_X86EMUL_CONTINUE,4,2           ; @X86EMUL_CONTINUE
.subsections_via_symbols
