	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_filter_remove_event     ## -- Begin function pevent_filter_remove_event
	.p2align	4, 0x90
_pevent_filter_remove_event:            ## @pevent_filter_remove_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
	xorl	%r15d, %r15d
	cmpl	$0, (%rdi)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	callq	_find_filter_type
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_free_filter_type
	movslq	(%rbx), %rdx
	shlq	$2, %rdx
	addq	8(%rbx), %rdx
	movq	%r14, %rsi
	addq	$4, %rsi
	subq	%rsi, %rdx
	movq	%r14, %rdi
	callq	_memmove
	movslq	(%rbx), %rax
	leaq	-1(%rax), %rcx
	movl	%ecx, (%rbx)
	leaq	-4(,%rax,4), %rdi
	addq	8(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$1, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_filter_remove_event     ; -- Begin function pevent_filter_remove_event
	.p2align	2
_pevent_filter_remove_event:            ; @pevent_filter_remove_event
	.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
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x19, x0
	bl	_find_filter_type
	cbz	x0, LBB0_4
; %bb.2:
	mov	x20, x0
	bl	_free_filter_type
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	add	x1, x20, #4
	sub	x2, x8, x1
	mov	x0, x20
	bl	_memmove
	ldrsw	x8, [x19]
	sub	x8, x8, #1
	str	w8, [x19]
	ldr	x9, [x19, #8]
	add	x0, x9, x8, lsl #2
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #1
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
