	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function db_interception
_db_interception:                       ## @db_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	16(%rdi), %r15
	movl	8(%rdi), %eax
	movl	12(%rdi), %edx
	movq	_KVM_GUESTDBG_SINGLESTEP@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	_KVM_GUESTDBG_USE_HW_BP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	orl	%ecx, %esi
	testl	%eax, %esi
	je	LBB0_2
## %bb.1:
	testl	%edx, %edx
	jne	LBB0_3
	jmp	LBB0_6
LBB0_2:
	testl	%edx, %edx
	je	LBB0_8
LBB0_3:
	movl	$0, 12(%rbx)
	testl	%eax, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_X86_EFLAGS_TF@GOTPCREL(%rip), %rax
	movq	_X86_EFLAGS_RF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movq	(%rbx), %rax
	andl	%ecx, (%rax)
LBB0_5:
	movq	%r14, %rdi
	callq	_update_db_intercept
	movl	(%r13), %eax
	orl	(%r12), %eax
	testl	%eax, (%r14)
	je	LBB0_9
LBB0_6:
	movq	_KVM_EXIT_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r15)
	movq	(%rbx), %rax
	movq	8(%rax), %rcx
	addq	16(%rax), %rcx
	movq	%rcx, 8(%r15)
	movq	_DB_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_8:
	movq	_DB_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_kvm_queue_exception
LBB0_9:
	movl	$1, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ## @KVM_GUESTDBG_SINGLESTEP
	.comm	_KVM_GUESTDBG_USE_HW_BP,4,2     ## @KVM_GUESTDBG_USE_HW_BP
	.comm	_DB_VECTOR,4,2                  ## @DB_VECTOR
	.comm	_X86_EFLAGS_TF,4,2              ## @X86_EFLAGS_TF
	.comm	_X86_EFLAGS_RF,4,2              ## @X86_EFLAGS_RF
	.comm	_KVM_EXIT_DEBUG,4,2             ## @KVM_EXIT_DEBUG
	.no_dead_strip	_db_interception
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function db_interception
_db_interception:                       ; @db_interception
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	x20, x0
	ldr	w8, [x20, #8]!
	ldr	x21, [x20, #8]
Lloh0:
	adrp	x22, _KVM_GUESTDBG_SINGLESTEP@GOTPAGE
Lloh1:
	ldr	x22, [x22, _KVM_GUESTDBG_SINGLESTEP@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh2:
	adrp	x23, _KVM_GUESTDBG_USE_HW_BP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _KVM_GUESTDBG_USE_HW_BP@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w11, w10, w9
	ldr	w10, [x20, #4]
	tst	w11, w8
	b.eq	LBB0_2
; %bb.1:
	cbnz	w10, LBB0_3
	b	LBB0_6
LBB0_2:
	cbz	w10, LBB0_7
LBB0_3:
	str	wzr, [x19, #12]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.4:
Lloh4:
	adrp	x8, _X86_EFLAGS_TF@GOTPAGE
Lloh5:
	ldr	x8, [x8, _X86_EFLAGS_TF@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _X86_EFLAGS_RF@GOTPAGE
Lloh8:
	ldr	x9, [x9, _X86_EFLAGS_RF@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
LBB0_5:
	mov	x0, x20
	bl	_update_db_intercept
	ldr	w8, [x20]
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_8
LBB0_6:
	mov	w0, #0
Lloh10:
	adrp	x8, _KVM_EXIT_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KVM_EXIT_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x21, #16]
	ldr	x8, [x19]
	ldp	x8, x9, [x8, #8]
	add	x8, x8, x9
	str	x8, [x21, #8]
Lloh13:
	adrp	x8, _DB_VECTOR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DB_VECTOR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x21]
	b	LBB0_9
LBB0_7:
Lloh16:
	adrp	x8, _DB_VECTOR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DB_VECTOR@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kvm_queue_exception
LBB0_8:
	mov	w0, #1
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ; @KVM_GUESTDBG_SINGLESTEP
	.comm	_KVM_GUESTDBG_USE_HW_BP,4,2     ; @KVM_GUESTDBG_USE_HW_BP
	.comm	_DB_VECTOR,4,2                  ; @DB_VECTOR
	.comm	_X86_EFLAGS_TF,4,2              ; @X86_EFLAGS_TF
	.comm	_X86_EFLAGS_RF,4,2              ; @X86_EFLAGS_RF
	.comm	_KVM_EXIT_DEBUG,4,2             ; @KVM_EXIT_DEBUG
	.no_dead_strip	_db_interception
.subsections_via_symbols
