	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_insn_next                   ## -- Begin function pt_insn_next
	.p2align	4, 0x90
_pt_insn_next:                          ## @pt_insn_next
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %r13
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.4:
	movq	%rdi, %r15
	cmpl	$0, 24(%rdi)
	je	LBB0_5
## %bb.8:
	movq	%rdx, %r12
	cmpq	$16, %rdx
	leaq	-80(%rbp), %r14
	movq	%r14, %rdi
	cmoveq	%r13, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	cmpq	$0, 16(%r15)
	je	LBB0_10
## %bb.9:
	cmpq	$16, %r12
	movq	%r14, %rax
	cmoveq	%r13, %rax
	movl	$1, (%rax)
LBB0_10:
	cmpq	$16, %r12
	movq	%r14, %rax
	cmoveq	%r13, %rax
	movl	8(%r15), %ecx
	movl	%ecx, 12(%rax)
	movl	4(%r15), %ecx
	movl	%ecx, 8(%rax)
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_pt_insn_msec_lookup
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_12
## %bb.11:
	movq	-56(%rbp), %rsi
	jmp	LBB0_14
LBB0_2:
	movq	_pte_invalid@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_pts_eos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_7
## %bb.6:
	movq	_pte_eos@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_12:
	movq	_pte_nomap@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_22
## %bb.13:
	movq	$0, -56(%rbp)
	xorl	%esi, %esi
LBB0_14:
	cmpq	$16, %r12
	cmoveq	%r13, %r14
	movl	%ebx, 4(%r14)
	leaq	-48(%rbp), %rcx
	movq	%r15, %rdi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_pt_insn_decode_cached
	movl	%eax, %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	callq	_insn_to_user
	testl	%ebx, %ebx
	js	LBB0_22
## %bb.15:
	testl	%eax, %eax
	js	LBB0_21
## %bb.16:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pt_insn_check_insn_event
	testl	%eax, %eax
	je	LBB0_19
## %bb.17:
	movl	%eax, %ebx
	js	LBB0_22
## %bb.18:
	movq	_pts_event_pending@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_22
LBB0_19:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pt_insn_proceed
	testl	%eax, %eax
	js	LBB0_21
## %bb.20:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_pt_insn_check_ip_event
LBB0_21:
	movl	%eax, %ebx
	jmp	LBB0_22
LBB0_7:
	movq	_pte_no_enable@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_invalid,4,2                ## @pte_invalid
	.comm	_pts_eos,4,2                    ## @pts_eos
	.comm	_pte_eos,4,2                    ## @pte_eos
	.comm	_pte_no_enable,4,2              ## @pte_no_enable
	.comm	_pte_nomap,4,2                  ## @pte_nomap
	.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_next                   ; -- Begin function pt_insn_next
	.p2align	2
_pt_insn_next:                          ; @pt_insn_next
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x1
	cbz	x1, LBB0_7
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_10
; %bb.3:
	mov	x21, x2
	mov	x23, sp
	cmp	x2, #16
	csel	x20, x22, x23, eq
	mov	x0, x20
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.4:
	cmp	x21, #16
	csel	x8, x22, x23, eq
	mov	w9, #1
	str	w9, [x8]
LBB0_5:
	ldr	w8, [x19, #8]
	cmp	x21, #16
	csel	x9, x22, x23, eq
	str	w8, [x9, #12]
	ldr	w8, [x19, #4]
	str	w8, [x9, #8]
	add	x1, sp, #24
	mov	x0, x19
	bl	_pt_insn_msec_lookup
	tbnz	w0, #31, LBB0_12
; %bb.6:
	ldr	x1, [sp, #24]
	b	LBB0_14
LBB0_7:
Lloh0:
	adrp	x8, _pte_invalid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pte_invalid@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_10:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _pts_eos@GOTPAGE
Lloh3:
	ldr	x9, [x9, _pts_eos@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.11:
Lloh5:
	adrp	x8, _pte_eos@GOTPAGE
Lloh6:
	ldr	x8, [x8, _pte_eos@GOTPAGEOFF]
	b	LBB0_8
LBB0_12:
Lloh7:
	adrp	x8, _pte_nomap@GOTPAGE
Lloh8:
	ldr	x8, [x8, _pte_nomap@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_9
; %bb.13:
	mov	x1, #0
	str	xzr, [sp, #24]
LBB0_14:
	mov	x8, sp
	cmp	x21, #16
	csel	x8, x22, x8, eq
	str	w0, [x8, #4]
	add	x3, sp, #16
	mov	x0, x19
	mov	x2, x20
	bl	_pt_insn_decode_cached
	mov	x23, x0
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_insn_to_user
	tbnz	w23, #31, LBB0_21
; %bb.15:
	tbnz	w0, #31, LBB0_9
; %bb.16:
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_pt_insn_check_insn_event
	cbz	w0, LBB0_19
; %bb.17:
	tbnz	w0, #31, LBB0_9
; %bb.18:
Lloh10:
	adrp	x8, _pts_event_pending@GOTPAGE
Lloh11:
	ldr	x8, [x8, _pts_event_pending@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w0
	b.ne	LBB0_9
LBB0_19:
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_pt_insn_proceed
	tbnz	w0, #31, LBB0_9
; %bb.20:
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_pt_insn_check_ip_event
	b	LBB0_9
LBB0_21:
	mov	x0, x23
	b	LBB0_9
LBB0_22:
Lloh13:
	adrp	x8, _pte_no_enable@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pte_no_enable@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_invalid,4,2                ; @pte_invalid
	.comm	_pts_eos,4,2                    ; @pts_eos
	.comm	_pte_eos,4,2                    ; @pte_eos
	.comm	_pte_no_enable,4,2              ; @pte_no_enable
	.comm	_pte_nomap,4,2                  ; @pte_nomap
	.comm	_pts_event_pending,4,2          ; @pts_event_pending
.subsections_via_symbols
