	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_db_intercept
_update_db_intercept:                   ## @update_db_intercept
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_to_svm
	movq	_DB_VECTOR@GOTPCREL(%rip), %rsi
	movb	(%rsi), %dil
	movq	_BP_VECTOR@GOTPCREL(%rip), %r8
	movb	(%r8), %cl
	movl	$1, %edx
	shll	%cl, %edx
	btsl	%edi, %edx
	notl	%edx
	movq	(%rax), %rdi
	andl	(%rdi), %edx
	movl	%edx, (%rdi)
	cmpq	$0, 8(%rbx)
	je	LBB0_2
## %bb.1:
	movb	(%rsi), %al
	btsl	%eax, %edx
	movl	%edx, (%rdi)
LBB0_2:
	movl	(%rbx), %eax
	movq	_KVM_GUESTDBG_ENABLE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.3:
	movq	_KVM_GUESTDBG_SINGLESTEP@GOTPCREL(%rip), %rcx
	movq	_KVM_GUESTDBG_USE_HW_BP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	orl	(%rcx), %ebx
	testl	%eax, %ebx
	je	LBB0_5
## %bb.4:
	movb	(%rsi), %cl
	btsl	%ecx, %edx
	movl	%edx, (%rdi)
LBB0_5:
	movq	_KVM_GUESTDBG_USE_SW_BP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.6:
	movb	(%r8), %al
	btsl	%eax, %edx
	movl	%edx, (%rdi)
	jmp	LBB0_8
LBB0_7:
	movl	$0, (%rbx)
LBB0_8:
	movq	_VMCB_INTERCEPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mark_dirty                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DB_VECTOR,4,2                  ## @DB_VECTOR
	.comm	_BP_VECTOR,4,2                  ## @BP_VECTOR
	.comm	_KVM_GUESTDBG_ENABLE,4,2        ## @KVM_GUESTDBG_ENABLE
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ## @KVM_GUESTDBG_SINGLESTEP
	.comm	_KVM_GUESTDBG_USE_HW_BP,4,2     ## @KVM_GUESTDBG_USE_HW_BP
	.comm	_KVM_GUESTDBG_USE_SW_BP,4,2     ## @KVM_GUESTDBG_USE_SW_BP
	.comm	_VMCB_INTERCEPTS,4,2            ## @VMCB_INTERCEPTS
	.no_dead_strip	_update_db_intercept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_db_intercept
_update_db_intercept:                   ; @update_db_intercept
	.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	_to_svm
Lloh0:
	adrp	x10, _DB_VECTOR@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DB_VECTOR@GOTPAGEOFF]
	ldr	w8, [x10]
	mov	w11, #1
	lsl	w9, w11, w8
Lloh2:
	adrp	x8, _BP_VECTOR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BP_VECTOR@GOTPAGEOFF]
	ldr	w12, [x8]
	lsl	w12, w11, w12
	orr	w9, w12, w9
	ldr	x0, [x0]
	ldr	w12, [x0]
	bic	w9, w12, w9
	str	w9, [x0]
	ldr	x12, [x19, #8]
	cbz	x12, LBB0_2
; %bb.1:
	ldr	w12, [x10]
	lsl	w11, w11, w12
	orr	w9, w11, w9
	str	w9, [x0]
LBB0_2:
	ldr	w11, [x19]
Lloh4:
	adrp	x12, _KVM_GUESTDBG_ENABLE@GOTPAGE
Lloh5:
	ldr	x12, [x12, _KVM_GUESTDBG_ENABLE@GOTPAGEOFF]
Lloh6:
	ldr	w12, [x12]
	tst	w12, w11
	b.eq	LBB0_7
; %bb.3:
Lloh7:
	adrp	x12, _KVM_GUESTDBG_SINGLESTEP@GOTPAGE
Lloh8:
	ldr	x12, [x12, _KVM_GUESTDBG_SINGLESTEP@GOTPAGEOFF]
Lloh9:
	ldr	w12, [x12]
Lloh10:
	adrp	x13, _KVM_GUESTDBG_USE_HW_BP@GOTPAGE
Lloh11:
	ldr	x13, [x13, _KVM_GUESTDBG_USE_HW_BP@GOTPAGEOFF]
Lloh12:
	ldr	w13, [x13]
	orr	w12, w13, w12
	tst	w12, w11
	b.eq	LBB0_5
; %bb.4:
	ldr	w10, [x10]
	mov	w12, #1
	lsl	w10, w12, w10
	orr	w9, w9, w10
	str	w9, [x0]
LBB0_5:
Lloh13:
	adrp	x10, _KVM_GUESTDBG_USE_SW_BP@GOTPAGE
Lloh14:
	ldr	x10, [x10, _KVM_GUESTDBG_USE_SW_BP@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	tst	w10, w11
	b.eq	LBB0_8
; %bb.6:
	ldr	w8, [x8]
	mov	w10, #1
	lsl	w8, w10, w8
	orr	w8, w9, w8
	str	w8, [x0]
	b	LBB0_8
LBB0_7:
	str	wzr, [x19]
LBB0_8:
Lloh16:
	adrp	x8, _VMCB_INTERCEPTS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VMCB_INTERCEPTS@GOTPAGEOFF]
Lloh18:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_DB_VECTOR,4,2                  ; @DB_VECTOR
	.comm	_BP_VECTOR,4,2                  ; @BP_VECTOR
	.comm	_KVM_GUESTDBG_ENABLE,4,2        ; @KVM_GUESTDBG_ENABLE
	.comm	_KVM_GUESTDBG_SINGLESTEP,4,2    ; @KVM_GUESTDBG_SINGLESTEP
	.comm	_KVM_GUESTDBG_USE_HW_BP,4,2     ; @KVM_GUESTDBG_USE_HW_BP
	.comm	_KVM_GUESTDBG_USE_SW_BP,4,2     ; @KVM_GUESTDBG_USE_SW_BP
	.comm	_VMCB_INTERCEPTS,4,2            ; @VMCB_INTERCEPTS
	.no_dead_strip	_update_db_intercept
.subsections_via_symbols
