	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_insn_event                  ## -- Begin function pt_insn_event
	.p2align	4, 0x90
_pt_insn_event:                         ## @pt_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	%rdi, %rbx
	cmpq	$0, 16(%rdi)
	je	LBB0_5
## %bb.6:
	movl	32(%rbx), %eax
	addl	$-128, %eax
	cmpl	$19, %eax
	ja	LBB0_5
## %bb.7:
	movq	%rdx, %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_25:
	movq	%rbx, %rdi
	callq	_pt_insn_process_tsx
	jmp	LBB0_11
LBB0_2:
	movq	_pte_invalid@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_26:
	movq	%rbx, %rdi
	callq	_pt_insn_process_stop
	jmp	LBB0_11
LBB0_23:
	movq	%rbx, %rdi
	callq	_pt_insn_process_overflow
	jmp	LBB0_11
LBB0_30:
	cmpl	$0, 68(%rbx)
	jne	LBB0_33
## %bb.31:
	cmpl	$0, 28(%rbx)
	je	LBB0_33
## %bb.32:
	movl	24(%rbx), %eax
	cmpl	36(%rbx), %eax
	je	LBB0_33
	jmp	LBB0_5
LBB0_27:
	cmpl	$0, 68(%rbx)
	jne	LBB0_33
## %bb.28:
	cmpl	$0, 28(%rbx)
	je	LBB0_33
## %bb.29:
	movl	24(%rbx), %eax
	cmpl	40(%rbx), %eax
	je	LBB0_33
	jmp	LBB0_5
LBB0_24:
	movq	%rbx, %rdi
	callq	_pt_insn_process_exec_mode
	jmp	LBB0_11
LBB0_8:
	movl	24(%rbx), %eax
	cmpl	64(%rbx), %eax
	jne	LBB0_10
## %bb.9:
	movl	$1, 60(%rbx)
LBB0_10:
	movq	%rbx, %rdi
	callq	_pt_insn_process_enabled
	jmp	LBB0_11
LBB0_20:
	cmpl	$0, 68(%rbx)
	jne	LBB0_22
## %bb.21:
	movl	24(%rbx), %eax
	cmpl	44(%rbx), %eax
	jne	LBB0_5
LBB0_22:
	movq	%rbx, %rdi
	callq	_pt_insn_process_vmcs
	jmp	LBB0_11
LBB0_17:
	cmpl	$0, 68(%rbx)
	jne	LBB0_19
## %bb.18:
	movl	24(%rbx), %eax
	cmpl	48(%rbx), %eax
	jne	LBB0_5
LBB0_19:
	movq	%rbx, %rdi
	callq	_pt_insn_process_paging
	jmp	LBB0_11
LBB0_12:
	cmpl	$0, 68(%rbx)
	jne	LBB0_14
## %bb.13:
	movl	24(%rbx), %eax
	cmpl	56(%rbx), %eax
	jne	LBB0_5
LBB0_14:
	movq	%rbx, %rdi
	callq	_pt_insn_process_disabled
	jmp	LBB0_11
LBB0_15:
	movl	24(%rbx), %eax
	cmpl	52(%rbx), %eax
	jne	LBB0_5
## %bb.16:
	movq	%rbx, %rdi
	callq	_pt_insn_process_async_branch
LBB0_11:
	testl	%eax, %eax
	js	LBB0_38
LBB0_33:
	leaq	32(%rbx), %rsi
	cmpq	$40, %r15
	movl	$40, %edx
	cmovbq	%r15, %rdx
	movq	%r14, %rdi
	callq	_memcpy
	movq	$0, 16(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_39
## %bb.34:
	leaq	4(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%rbx, %rdx
	callq	_pt_insn_check_insn_event
	testl	%eax, %eax
	je	LBB0_37
## %bb.35:
	js	LBB0_38
## %bb.36:
	movq	_pts_event_pending@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_38
LBB0_37:
	movq	%rbx, %rdi
	callq	_pt_insn_proceed_postponed
	testl	%eax, %eax
	js	LBB0_38
LBB0_39:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pt_insn_check_ip_event         ## TAILCALL
LBB0_5:
	movq	_pte_bad_query@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_38:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_25
	.long	L0_0_set_33
	.long	L0_0_set_26
	.long	L0_0_set_33
	.long	L0_0_set_33
	.long	L0_0_set_33
	.long	L0_0_set_19
	.long	L0_0_set_23
	.long	L0_0_set_30
	.long	L0_0_set_33
	.long	L0_0_set_27
	.long	L0_0_set_24
	.long	L0_0_set_8
	.long	L0_0_set_14
	.long	L0_0_set_33
	.long	L0_0_set_20
	.long	L0_0_set_17
	.long	L0_0_set_12
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pte_bad_query,4,2              ## @pte_bad_query
	.comm	_fallthrough,4,2                ## @fallthrough
	.comm	_pts_event_pending,4,2          ## @pts_event_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_insn_event                  ; -- Begin function pt_insn_event
	.p2align	2
_pt_insn_event:                         ; @pt_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_11
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_11
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_37
; %bb.3:
	mov	x22, x19
	ldr	w8, [x22, #32]!
	sub	w8, w8, #128
	cmp	w8, #19
	b.hi	LBB0_37
; %bb.4:
	mov	x21, x2
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	mov	w8, #40
	cmp	x21, #40
	csel	x2, x21, x8, lo
	mov	x0, x20
	mov	x1, x22
	bl	_memcpy
	str	xzr, [x19, #16]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.6:
	add	x1, x19, #4
	mov	x0, x19
	mov	x2, x19
	bl	_pt_insn_check_insn_event
	cbz	w0, LBB0_9
; %bb.7:
	tbnz	w0, #31, LBB0_39
; %bb.8:
Lloh2:
	adrp	x8, _pts_event_pending@GOTPAGE
Lloh3:
	ldr	x8, [x8, _pts_event_pending@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_39
LBB0_9:
	mov	x0, x19
	bl	_pt_insn_proceed_postponed
	tbnz	w0, #31, LBB0_39
LBB0_10:
	mov	x0, x19
	mov	x1, #0
	mov	x2, #0
	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_check_ip_event
LBB0_11:
Lloh5:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
	b	LBB0_38
LBB0_12:
	mov	x0, x19
	bl	_pt_insn_process_tsx
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_13:
	mov	x0, x19
	bl	_pt_insn_process_stop
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_14:
	mov	x0, x19
	bl	_pt_insn_process_overflow
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_15:
	ldr	w8, [x19, #68]
	cbnz	w8, LBB0_5
; %bb.16:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_5
; %bb.17:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #36]
	b	LBB0_21
LBB0_18:
	ldr	w8, [x19, #68]
	cbnz	w8, LBB0_5
; %bb.19:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_5
; %bb.20:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #40]
LBB0_21:
	cmp	w8, w9
	b.eq	LBB0_5
	b	LBB0_37
LBB0_22:
	mov	x0, x19
	bl	_pt_insn_process_exec_mode
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_23:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #64]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.24:
	mov	w8, #1
	str	w8, [x19, #60]
LBB0_25:
	mov	x0, x19
	bl	_pt_insn_process_enabled
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_26:
	ldr	w8, [x19, #68]
	cbnz	w8, LBB0_28
; %bb.27:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #44]
	cmp	w8, w9
	b.ne	LBB0_37
LBB0_28:
	mov	x0, x19
	bl	_pt_insn_process_vmcs
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_29:
	ldr	w8, [x19, #68]
	cbnz	w8, LBB0_31
; %bb.30:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #48]
	cmp	w8, w9
	b.ne	LBB0_37
LBB0_31:
	mov	x0, x19
	bl	_pt_insn_process_paging
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_32:
	ldr	w8, [x19, #68]
	cbnz	w8, LBB0_34
; %bb.33:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #56]
	cmp	w8, w9
	b.ne	LBB0_37
LBB0_34:
	mov	x0, x19
	bl	_pt_insn_process_disabled
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_35:
	ldr	w8, [x19, #24]
	ldr	w9, [x19, #52]
	cmp	w8, w9
	b.ne	LBB0_37
; %bb.36:
	mov	x0, x19
	bl	_pt_insn_process_async_branch
	tbz	w0, #31, LBB0_5
	b	LBB0_39
LBB0_37:
Lloh7:
	adrp	x8, _pte_bad_query@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pte_bad_query@GOTPAGEOFF]
LBB0_38:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_39:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_28-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_31-LBB0_5)>>2
	.byte	(LBB0_14-LBB0_5)>>2
	.byte	(LBB0_15-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_18-LBB0_5)>>2
	.byte	(LBB0_22-LBB0_5)>>2
	.byte	(LBB0_23-LBB0_5)>>2
	.byte	(LBB0_34-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_26-LBB0_5)>>2
	.byte	(LBB0_29-LBB0_5)>>2
	.byte	(LBB0_32-LBB0_5)>>2
	.byte	(LBB0_35-LBB0_5)>>2
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pte_bad_query,4,2              ; @pte_bad_query
	.comm	_fallthrough,4,2                ; @fallthrough
	.comm	_pts_event_pending,4,2          ; @pts_event_pending
.subsections_via_symbols
