	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_stop             ## -- Begin function pt_qry_decode_stop
	.p2align	4, 0x90
_pt_qry_decode_stop:                    ## @pt_qry_decode_stop
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	addq	$16, %rdi
	callq	_pt_evq_standalone
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_ptev_stop@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_pt_qry_event_time
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movq	_ptps_stop@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_1:
	movq	_pte_internal@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pte_internal,4,2               ## @pte_internal
	.comm	_ptev_stop,4,2                  ## @ptev_stop
	.comm	_ptps_stop,8,3                  ## @ptps_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pt_qry_decode_stop             ; -- Begin function pt_qry_decode_stop
	.p2align	2
_pt_qry_decode_stop:                    ; @pt_qry_decode_stop
	.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
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	add	x0, x0, #16
	bl	_pt_evq_standalone
	cbz	x0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _ptev_stop@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ptev_stop@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
	str	x0, [x19, #8]
	mov	x1, x19
	bl	_pt_qry_event_time
	tbnz	w0, #31, LBB0_5
; %bb.3:
	mov	w0, #0
Lloh3:
	adrp	x8, _ptps_stop@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ptps_stop@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _pte_internal@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pte_internal@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_pte_internal,4,2               ; @pte_internal
	.comm	_ptev_stop,4,2                  ; @ptev_stop
	.comm	_ptps_stop,8,3                  ; @ptps_stop
.subsections_via_symbols
