	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_stop
_event_stop:                            ## @event_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	leaq	4(%rdi), %rbx
	callq	_pt_encode_stop
	movq	%rbx, %rdi
	callq	_ptu_sync_decoder
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$12, %edx
	callq	_pt_qry_event
	movq	_pts_eos@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ptu_int_eq
	movl	-32(%rbp), %edi
	movq	_ptev_stop@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ptu_int_eq
	movl	-28(%rbp), %edi
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movl	$1, %esi
	callq	_ptu_int_eq
	movl	-24(%rbp), %edi
	movl	%r14d, %esi
	callq	_ptu_uint_eq
	jmp	LBB0_3
LBB0_1:
	xorl	%esi, %esi
	callq	_ptu_int_eq
LBB0_3:
	xorl	%eax, %eax
	callq	_ptu_passed
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pts_eos,4,2                    ## @pts_eos
	.comm	_ptev_stop,4,2                  ## @ptev_stop
	.no_dead_strip	_event_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_stop
_event_stop:                            ; @event_stop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	add	x20, x0, #4
	bl	_pt_encode_stop
	mov	x0, x20
	bl	_ptu_sync_decoder
	mov	x1, sp
	mov	x0, x20
	mov	w2, #12
	bl	_pt_qry_event
Lloh0:
	adrp	x8, _pts_eos@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pts_eos@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ptu_int_eq
	ldr	w0, [sp]
Lloh3:
	adrp	x8, _ptev_stop@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ptev_stop@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ptu_int_eq
	ldr	w0, [sp, #4]
	cbz	w19, LBB0_2
; %bb.1:
	mov	w1, #1
	bl	_ptu_int_eq
	ldr	w0, [sp, #8]
	mov	x1, x19
	bl	_ptu_uint_eq
	b	LBB0_3
LBB0_2:
	mov	w1, #0
	bl	_ptu_int_eq
LBB0_3:
	bl	_ptu_passed
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pts_eos,4,2                    ; @pts_eos
	.comm	_ptev_stop,4,2                  ; @ptev_stop
	.no_dead_strip	_event_stop
.subsections_via_symbols
