	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_list
_filter_list:                           ## @filter_list
	.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, %ebx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	callq	_strlen
	incl	%eax
	movslq	%eax, %rdi
	movq	%rdi, %r15
	callq	_malloc
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_strdup
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)
	movb	$0, (%r14)
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rdi
	callq	_strsep
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	%rax, %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_strlcat
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	-48(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strsep
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, %ebx
	setne	%r12b
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_match_pattern_list
	cmpl	$1, %eax
	setne	%cl
	xorl	$1, %eax
	orl	%ebx, %eax
	sete	%al
	testb	%cl, %r12b
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	%al, %al
	je	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$0, (%r14)
	movq	%r15, %rdx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	callq	_strlcat
	movq	%r15, %rdx
	jmp	LBB0_9
LBB0_2:
	movq	%rax, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_12:
	movq	%r14, %rax
	addq	$24, %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	","

	.no_dead_strip	_filter_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_list
_filter_list:                           ; @filter_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
	bl	_strlen
	add	w8, w0, #1
	sxtw	x22, w8
	mov	x0, x22
	bl	_malloc
	mov	x19, x0
	mov	x0, x23
	bl	_strdup
	mov	x23, x0
	cmp	x19, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x19, #0
	b	LBB0_10
LBB0_2:
	str	x23, [sp, #8]
	strb	wzr, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_strsep
	cbz	x0, LBB0_9
; %bb.3:
	mov	x25, x0
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x25
	mov	x2, x22
	bl	_strlcat
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #8
	mov	x1, x24
	bl	_strsep
	mov	x25, x0
	cbz	x0, LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w20, #0
	cset	w26, eq
	mov	x0, x25
	mov	x1, x21
	mov	w2, #0
	bl	_match_pattern_list
	cmp	w0, #1
	cset	w8, eq
	ccmp	w20, #0, #4, ne
	and	w8, w26, w8
	ccmp	w8, #0, #0, eq
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	x2, x22
	bl	_strlcat
	b	LBB0_4
LBB0_9:
	mov	x0, x23
	bl	_free
LBB0_10:
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	","

	.no_dead_strip	_filter_list
.subsections_via_symbols
