	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_event
_filter_event:                          ## @filter_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	leaq	-24(%rbp), %rax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_process_event
	testl	%eax, %eax
	jns	LBB0_3
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	callq	_allocate_arg
	movq	%rax, -24(%rbp)
	movq	_FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_FILTER_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
LBB0_3:
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_add_filter_type
	movq	%rax, %rbx
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	callq	_free_arg
LBB0_5:
	movq	-24(%rbp), %rax
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FILTER_ARG_BOOLEAN,4,2         ## @FILTER_ARG_BOOLEAN
	.comm	_FILTER_TRUE,4,2                ## @FILTER_TRUE
	.no_dead_strip	_filter_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_event
_filter_event:                          ; @filter_event
	.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	x20, x1
	mov	x19, x0
	cbz	x2, LBB0_2
; %bb.1:
	mov	x8, x2
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x8
	bl	_process_event
	tbz	w0, #31, LBB0_3
	b	LBB0_6
LBB0_2:
	bl	_allocate_arg
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _FILTER_ARG_BOOLEAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FILTER_ARG_BOOLEAN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _FILTER_TRUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FILTER_TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
LBB0_3:
	ldr	w1, [x20]
	mov	x0, x19
	bl	_add_filter_type
	mov	x19, x0
	ldr	x0, [x0]
	cbz	x0, LBB0_5
; %bb.4:
	bl	_free_arg
LBB0_5:
	mov	w0, #0
	ldr	x8, [sp, #8]
	str	x8, [x19]
LBB0_6:
	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	_FILTER_ARG_BOOLEAN,4,2         ; @FILTER_ARG_BOOLEAN
	.comm	_FILTER_TRUE,4,2                ; @FILTER_TRUE
	.no_dead_strip	_filter_event
.subsections_via_symbols
