	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_filter_clear_trivial    ## -- Begin function pevent_filter_clear_trivial
	.p2align	4, 0x90
_pevent_filter_clear_trivial:           ## @pevent_filter_clear_trivial
	.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	(%rdi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_15
## %bb.1:
	movq	%rdi, %r13
	xorl	%ebx, %ebx
	movl	$8, %r12d
	movq	_FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %rdi
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	4(,%r14,4), %esi
	movq	%rax, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-8(%r15,%r12), %edx
	movslq	%r14d, %rcx
	incl	%r14d
	movl	%edx, (%rax,%rcx,4)
	movl	(%r13), %r8d
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	_FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %rdi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%r8d, %rcx
	addq	$16, %r12
	cmpq	%rcx, %rbx
	jge	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r15
	movq	(%r15,%r12), %rcx
	movq	(%rcx), %rdx
	cmpq	(%rdi), %rdx
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %esi
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$128, %esi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 8(%rcx)
	jne	LBB0_6
	jmp	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_die
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_10:
	testl	%r14d, %r14d
	je	LBB0_15
## %bb.11:
	jle	LBB0_14
## %bb.12:
	movl	%r14d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	movq	%rax, %r14
	callq	_pevent_filter_remove_event
	movq	%r14, %rax
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_13
LBB0_14:
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_15:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_ARG_BOOLEAN,8,3         ## @FILTER_ARG_BOOLEAN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't allocate ids"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_filter_clear_trivial    ; -- Begin function pevent_filter_clear_trivial
	.p2align	2
_pevent_filter_clear_trivial:           ; @pevent_filter_clear_trivial
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	mov	x24, #0
	mov	x25, #0
	mov	x20, #0
	mov	w23, #0
Lloh0:
	adrp	x26, _FILTER_ARG_BOOLEAN@GOTPAGE
Lloh1:
	ldr	x26, [x26, _FILTER_ARG_BOOLEAN@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str@PAGE
Lloh3:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w28, w23, #1
	lsl	w1, w28, #2
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	cbz	x0, LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x27, x24]
	str	w8, [x20, w23, sxtw #2]
	ldr	w8, [x19]
	mov	x23, x28
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	add	x24, x24, #16
	cmp	x25, w8, sxtw
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x19, #8]
	add	x9, x27, x24
	ldr	x9, [x9, #8]
	ldr	x10, [x9]
	ldr	x11, [x26]
	cmp	x10, x11
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #129
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #128
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x9, #8]
	cbnz	w9, LBB0_2
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	bl	_die
	b	LBB0_3
LBB0_10:
	cbz	w23, LBB0_15
; %bb.11:
	cmp	w23, #1
	b.lt	LBB0_14
; %bb.12:
	mov	w21, w23
	mov	x22, x20
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22], #4
	mov	x0, x19
	bl	_pevent_filter_remove_event
	subs	x21, x21, #1
	b.ne	LBB0_13
LBB0_14:
	mov	x0, x20
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_free
LBB0_15:
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FILTER_ARG_BOOLEAN,8,3         ; @FILTER_ARG_BOOLEAN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't allocate ids"

.subsections_via_symbols
