	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_filter
_test_filter:                           ## @test_filter
	.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
	movq	%rsi, %rax
	movb	(%rdi), %r14b
	xorl	%ebx, %ebx
	cmpb	$94, %r14b
	sete	%bl
	addq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	movb	(%rbx), %r15b
	cmpb	$92, %r15b
	je	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$42, %r15b
	jne	LBB0_10
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	incq	%rbx
	cmpb	$42, %r15b
	jne	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=2
	movzbl	(%rbx), %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	1(%rbx), %r15b
	incq	%rbx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$92, %r15b
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movb	(%rbx), %r15b
	jmp	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	decq	%rbx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%r15b, %esi
	movq	%rax, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpb	(%rax), %r15b
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	testb	%r15b, %r15b
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	incq	%rax
	jmp	LBB0_1
LBB0_8:
	xorl	%ecx, %ecx
	movl	$1, %eax
	jmp	LBB0_13
LBB0_12:
	movl	$1, %ecx
	xorl	%eax, %eax
LBB0_13:
	cmpb	$94, %r14b
	cmovnel	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_filter
_test_filter:                           ; @test_filter
	.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	x8, x1
	mov	x9, x0
	ldrb	w19, [x9], #1
	cmp	w19, #94
	csel	x20, x0, x9, ne
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldrb	w21, [x20]
	cmp	w21, #92
	b.eq	LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w21, #42
	b.ne	LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #1
LBB0_4:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	and	w9, w21, #0xff
	cmp	w9, #42
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldrb	w21, [x20], #1
	b	LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w21, [x20, #1]!
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_1 Depth=1
	cmp	w9, #92
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w21, [x20]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	sub	x20, x20, #1
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	sxtb	w1, w21
	mov	x0, x8
	bl	_strchr
	mov	x8, x0
	cbz	x0, LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w9, [x8]
	cmp	w9, w21, uxtb
	b.ne	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_1 Depth=1
	tst	w21, #0xff
	b.eq	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_1 Depth=1
	add	x20, x20, #1
	add	x8, x8, #1
	b	LBB0_1
LBB0_14:
	mov	w8, #0
LBB0_15:
	mov	w9, #1
	b	LBB0_17
LBB0_16:
	mov	w9, #0
	mov	w8, #1
LBB0_17:
	cmp	w19, #94
	csel	w0, w9, w8, eq
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_filter
.subsections_via_symbols
