	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function event_enabled
_event_enabled:                         ## @event_enabled
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	12(%rdi), %r12
	leaq	8(%rdi), %r13
	movl	%esi, -48(%rbp)
	movq	_pt_dfix_max_ip@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	leaq	4(%rdi), %rdx
	leaq	-48(%rbp), %rsi
	callq	_pt_last_ip_update_ip
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	%r13, %rdi
	callq	_pt_encode_tip_pge
	movq	_ptu_sync_decoder@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_ptu_check
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	$16, %edx
	callq	_pt_qry_event
	movq	_pt_ipc_suppressed@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_pte_bad_packet@GOTPCREL(%rip), %rcx
	xorl	%esi, %esi
	subl	(%rcx), %esi
	movl	%eax, %edi
	jmp	LBB0_5
LBB0_2:
	movq	_pts_eos@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_ptu_int_eq
	movl	-64(%rbp), %edi
	movq	_ptev_enabled@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ptu_int_eq
	movl	-52(%rbp), %edi
	movl	(%rbx), %esi
	callq	_ptu_uint_eq
	movl	-60(%rbp), %edi
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movl	$1, %esi
	callq	_ptu_int_eq
	movl	-56(%rbp), %edi
	movl	%r14d, %esi
	callq	_ptu_uint_eq
	jmp	LBB0_6
LBB0_4:
	xorl	%esi, %esi
LBB0_5:
	callq	_ptu_int_eq
LBB0_6:
	xorl	%eax, %eax
	callq	_ptu_passed
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pt_dfix_max_ip,4,2             ## @pt_dfix_max_ip
	.comm	_ptu_sync_decoder,4,2           ## @ptu_sync_decoder
	.comm	_pt_ipc_suppressed,4,2          ## @pt_ipc_suppressed
	.comm	_pte_bad_packet,4,2             ## @pte_bad_packet
	.comm	_pts_eos,4,2                    ## @pts_eos
	.comm	_ptev_enabled,4,2               ## @ptev_enabled
	.no_dead_strip	_event_enabled
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function event_enabled
_event_enabled:                         ; @event_enabled
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _pt_dfix_max_ip@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pt_dfix_max_ip@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x22, x0, #12
	add	x23, x0, #8
	stp	w1, w8, [sp, #24]
	add	x2, x0, #4
	add	x1, sp, #24
	bl	_pt_last_ip_update_ip
	ldp	w2, w1, [sp, #24]
	mov	x0, x23
	bl	_pt_encode_tip_pge
Lloh3:
	adrp	x8, _ptu_sync_decoder@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ptu_sync_decoder@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_ptu_check
	add	x1, sp, #8
	mov	x0, x22
	mov	w2, #16
	bl	_pt_qry_event
Lloh6:
	adrp	x8, _pt_ipc_suppressed@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pt_ipc_suppressed@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _pte_bad_packet@GOTPAGE
Lloh10:
	ldr	x8, [x8, _pte_bad_packet@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w1, w8
	b	LBB0_5
LBB0_2:
Lloh12:
	adrp	x8, _pts_eos@GOTPAGE
Lloh13:
	ldr	x8, [x8, _pts_eos@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_ptu_int_eq
	ldr	w0, [sp, #8]
Lloh15:
	adrp	x8, _ptev_enabled@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ptev_enabled@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	bl	_ptu_int_eq
	ldr	w0, [sp, #20]
	ldr	w1, [x20]
	bl	_ptu_uint_eq
	ldr	w0, [sp, #12]
	cbz	w19, LBB0_4
; %bb.3:
	mov	w1, #1
	bl	_ptu_int_eq
	ldr	w0, [sp, #16]
	mov	x1, x19
	bl	_ptu_uint_eq
	b	LBB0_6
LBB0_4:
	mov	w1, #0
LBB0_5:
	bl	_ptu_int_eq
LBB0_6:
	bl	_ptu_passed
	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
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_pt_dfix_max_ip,4,2             ; @pt_dfix_max_ip
	.comm	_ptu_sync_decoder,4,2           ; @ptu_sync_decoder
	.comm	_pt_ipc_suppressed,4,2          ; @pt_ipc_suppressed
	.comm	_pte_bad_packet,4,2             ; @pte_bad_packet
	.comm	_pts_eos,4,2                    ; @pts_eos
	.comm	_ptev_enabled,4,2               ; @ptev_enabled
	.no_dead_strip	_event_enabled
.subsections_via_symbols
