	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function copy_filter_type
_copy_filter_type:                      ## @copy_filter_type
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdx), %rax
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	movl	(%rdi), %edi
	callq	_pevent_find_event_by_name
	movl	$-1, %r13d
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r15
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_arg_to_str
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_filter_event
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_allocate_arg
	movq	%rax, %rbx
	movq	_FILTER_ARG_BOOLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, (%rbx)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_add_filter_type
	movq	%rbx, (%rax)
LBB0_6:
	movq	%r12, %rdi
	callq	_free
	xorl	%r13d, %r13d
LBB0_7:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TRUE"

L_.str.1:                               ## @.str.1
	.asciz	"FALSE"

	.comm	_FILTER_ARG_BOOLEAN,4,2         ## @FILTER_ARG_BOOLEAN
	.no_dead_strip	_copy_filter_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function copy_filter_type
_copy_filter_type:                      ; @copy_filter_type
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x2, #8]
	ldp	x1, x2, [x8]
	ldr	w0, [x0]
	bl	_pevent_find_event_by_name
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x1, [x22]
	mov	x0, x20
	bl	_arg_to_str
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, #0
	bl	_filter_event
	b	LBB0_7
LBB0_5:
	mov	w0, #-1
	b	LBB0_8
LBB0_6:
	bl	_allocate_arg
	mov	x22, x0
Lloh4:
	adrp	x8, _FILTER_ARG_BOOLEAN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FILTER_ARG_BOOLEAN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x0, #4]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cmp	x0, #0
	cset	w8, eq
	str	w8, [x22]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_add_filter_type
	str	x22, [x0]
LBB0_7:
	mov	x0, x20
	bl	_free
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TRUE"

l_.str.1:                               ; @.str.1
	.asciz	"FALSE"

	.comm	_FILTER_ARG_BOOLEAN,4,2         ; @FILTER_ARG_BOOLEAN
	.no_dead_strip	_copy_filter_type
.subsections_via_symbols
