	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_insn_check_insn_event
_pt_insn_check_insn_event:              ## @pt_insn_check_insn_event
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_event_pending
	testl	%eax, %eax
	jle	LBB0_8
## %bb.2:
	movl	$-130, %eax
	addl	24(%r12), %eax
	cmpl	$19, %eax
	ja	LBB0_19
## %bb.3:
	xorl	%ebx, %ebx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	cmpl	$0, 12(%r12)
	jne	LBB0_9
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pt_insn_binds_to_vmcs
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	movl	$1, 12(%r12)
	jmp	LBB0_26
LBB0_7:
	movq	_pte_internal@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_10:
	cmpl	$0, 16(%r12)
	jne	LBB0_9
## %bb.11:
	cmpl	$0, 40(%r12)
	je	LBB0_24
## %bb.12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pt_insn_is_ptwrite
	testl	%eax, %eax
	je	LBB0_9
## %bb.13:
	movq	(%r12), %rax
	movq	%rax, 32(%r12)
	movl	$0, 40(%r12)
	jmp	LBB0_25
LBB0_14:
	cmpl	$0, 8(%r12)
	jne	LBB0_9
## %bb.15:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_pt_insn_binds_to_pip
	testl	%eax, %eax
	je	LBB0_9
## %bb.16:
	movl	$1, 8(%r12)
	jmp	LBB0_26
LBB0_17:
	leaq	24(%r12), %rdi
	leaq	20(%r12), %rcx
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_pt_insn_at_disabled_event
	testl	%eax, %eax
	jle	LBB0_8
## %bb.18:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_pt_insn_next_ip
	testl	%eax, %eax
	js	LBB0_21
LBB0_19:
	movq	_pts_event_pending@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_insn_status                 ## TAILCALL
LBB0_8:
	movl	%eax, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movl	%eax, %ebx
	movq	$0, (%r12)
	movq	_pte_bad_query@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_9
## %bb.22:
	movl	16(%r14), %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_19
## %bb.23:
	movq	8(%r14), %rax
	addq	(%r14), %rax
	movq	%rax, (%r12)
	jmp	LBB0_19
LBB0_24:
	movq	(%r12), %rax
	cmpq	32(%r12), %rax
	jne	LBB0_9
LBB0_25:
	movl	$1, 16(%r12)
LBB0_26:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_insn_postpone               ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_17
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_pte_bad_query,4,2              ## @pte_bad_query
	.comm	_pts_event_pending,4,2          ## @pts_event_pending
	.no_dead_strip	_pt_insn_check_insn_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_insn_check_insn_event
_pt_insn_check_insn_event:              ; @pt_insn_check_insn_event
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	_event_pending
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.2:
	mov	x8, x19
	ldr	w9, [x8, #24]!
	sub	w9, w9, #130
	cmp	w9, #19
	b.hi	LBB0_17
; %bb.3:
	mov	w0, #0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_14
; %bb.5:
	mov	x0, x20
	mov	x1, x21
	bl	_pt_insn_binds_to_vmcs
	cbz	w0, LBB0_8
; %bb.6:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_25
LBB0_7:
Lloh2:
	adrp	x8, _pte_internal@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_14
; %bb.10:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_23
; %bb.11:
	mov	x0, x20
	mov	x1, x21
	bl	_pt_insn_is_ptwrite
	cbz	w0, LBB0_8
; %bb.12:
	ldr	x8, [x19]
	str	x8, [x19, #32]
	str	wzr, [x19, #40]
	b	LBB0_24
LBB0_13:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_18
LBB0_14:
	mov	w0, #0
	b	LBB0_8
LBB0_15:
	add	x3, x19, #20
	mov	x0, x8
	mov	x1, x20
	mov	x2, x21
	bl	_pt_insn_at_disabled_event
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.16:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_pt_insn_next_ip
	tbnz	w0, #31, LBB0_20
LBB0_17:
Lloh5:
	adrp	x8, _pts_event_pending@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pts_event_pending@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pt_insn_status
LBB0_18:
	mov	x0, x20
	mov	x1, x21
	bl	_pt_insn_binds_to_pip
	cbz	w0, LBB0_8
; %bb.19:
	mov	w8, #1
	str	w8, [x19, #8]
	b	LBB0_25
LBB0_20:
	str	xzr, [x19]
Lloh8:
	adrp	x8, _pte_bad_query@GOTPAGE
Lloh9:
	ldr	x8, [x8, _pte_bad_query@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_8
; %bb.21:
	ldr	w8, [x20, #16]
	and	w8, w8, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.22:
	ldp	x8, x9, [x20]
	add	x8, x9, x8
	str	x8, [x19]
	b	LBB0_17
LBB0_23:
	ldr	x8, [x19]
	ldr	x9, [x19, #32]
	cmp	x8, x9
	b.ne	LBB0_14
LBB0_24:
	mov	w8, #1
	str	w8, [x19, #16]
LBB0_25:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pt_insn_postpone
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_pte_bad_query,4,2              ; @pte_bad_query
	.comm	_pts_event_pending,4,2          ; @pts_event_pending
	.no_dead_strip	_pt_insn_check_insn_event
.subsections_via_symbols
