	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_exclusion_and_inclusion
_test_exclusion_and_inclusion:          ## @test_exclusion_and_inclusion
	.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
	xorl	%eax, %eax
	callq	_archive_match_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_match_exclude_pattern
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	l_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_match_include_pattern_w
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.2(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_archive_match_include_pattern
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_archive_entry_copy_pathname
	leaq	L_.str.4(%rip), %r12
	movq	%r12, %rdi
	callq	_failure
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_path_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_clear
	leaq	l_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_archive_entry_copy_pathname_w
	movq	%r12, %rdi
	callq	_failure
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_path_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_excluded
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	leaq	L_.str.6(%rip), %rsi
	movq	%r14, %rdi
	callq	_archive_entry_copy_pathname
	leaq	L_.str.7(%rip), %r12
	movq	%r12, %rdi
	callq	_failure
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_path_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_clear
	leaq	l_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_archive_entry_copy_pathname_w
	movq	%r12, %rdi
	callq	_failure
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_path_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_archive_match_excluded
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%rbx, %rdi
	callq	_archive_match_path_unmatched_inclusions
	movl	$1, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-56(%rbp), %r13
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_archive_match_path_unmatched_inclusions_next
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_assertEqualString
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_archive_match_path_unmatched_inclusions_next
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leaq	-48(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_archive_match_path_unmatched_inclusions_next_w
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	-48(%rbp), %rsi
	leaq	l_.str.9(%rip), %rdi
	callq	_assertEqualWString
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_archive_match_path_unmatched_inclusions_next_w
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r14, %rdi
	callq	_archive_entry_free
	movq	%rbx, %rdi
	callq	_archive_match_free
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_archive_match_free             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"^aaa*"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	94                              ## 0x5e
	.long	97                              ## 0x61
	.long	97                              ## 0x61
	.long	42                              ## 0x2a
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"^a1*"

L_.str.3:                               ## @.str.3
	.asciz	"aa1234"

L_.str.4:                               ## @.str.4
	.asciz	"'aa1234' should not be excluded"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.5
l_.str.5:
	.long	97                              ## 0x61
	.long	97                              ## 0x61
	.long	49                              ## 0x31
	.long	50                              ## 0x32
	.long	51                              ## 0x33
	.long	52                              ## 0x34
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.6:                               ## @.str.6
	.asciz	"aaa1234"

L_.str.7:                               ## @.str.7
	.asciz	"'aaa1234' should be excluded"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.8
l_.str.8:
	.long	97                              ## 0x61
	.long	97                              ## 0x61
	.long	97                              ## 0x61
	.long	49                              ## 0x31
	.long	50                              ## 0x32
	.long	51                              ## 0x33
	.long	52                              ## 0x34
	.long	0                               ## 0x0

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.p2align	2                               ## @.str.9
l_.str.9:
	.long	94                              ## 0x5e
	.long	97                              ## 0x61
	.long	49                              ## 0x31
	.long	42                              ## 0x2a
	.long	0                               ## 0x0

	.no_dead_strip	_test_exclusion_and_inclusion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_exclusion_and_inclusion
_test_exclusion_and_inclusion:          ; @test_exclusion_and_inclusion
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_archive_match_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	w0, LBB0_3
; %bb.1:
	bl	_archive_entry_new
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	w0, LBB0_4
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_archive_match_exclude_pattern
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_archive_match_include_pattern_w
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_archive_match_include_pattern
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_archive_entry_copy_pathname
Lloh8:
	adrp	x22, l_.str.4@PAGE
Lloh9:
	add	x22, x22, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_path_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x20
	bl	_archive_entry_clear
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_archive_entry_copy_pathname_w
	mov	x0, x22
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_path_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #0
	bl	_assertEqualInt
Lloh12:
	adrp	x1, l_.str.6@PAGE
Lloh13:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_archive_entry_copy_pathname
Lloh14:
	adrp	x22, l_.str.7@PAGE
Lloh15:
	add	x22, x22, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_path_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x20
	bl	_archive_entry_clear
Lloh16:
	adrp	x1, l_.str.8@PAGE
Lloh17:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_archive_entry_copy_pathname_w
	mov	x0, x22
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_path_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x19
	mov	x1, x20
	bl	_archive_match_excluded
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_match_path_unmatched_inclusions
	mov	x1, x0
	mov	w0, #1
	bl	_assertEqualInt
Lloh18:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh19:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w22, [x23]
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_match_path_unmatched_inclusions_next
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_assertEqualIntA
	ldr	x1, [sp, #8]
	mov	x0, x21
	bl	_assertEqualString
Lloh20:
	adrp	x22, _ARCHIVE_EOF@GOTPAGE
Lloh21:
	ldr	x22, [x22, _ARCHIVE_EOF@GOTPAGEOFF]
	ldr	w21, [x22]
	add	x1, sp, #8
	mov	x0, x19
	bl	_archive_match_path_unmatched_inclusions_next
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x23]
	mov	x1, sp
	mov	x0, x19
	bl	_archive_match_path_unmatched_inclusions_next_w
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	x1, [sp]
Lloh22:
	adrp	x0, l_.str.9@PAGE
Lloh23:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_assertEqualWString
	ldr	w21, [x22]
	mov	x1, sp
	mov	x0, x19
	bl	_archive_match_path_unmatched_inclusions_next_w
	mov	x2, x0
	mov	x0, x19
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x20
	bl	_archive_entry_free
	mov	x0, x19
	bl	_archive_match_free
LBB0_3:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_archive_match_free
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"^aaa*"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	94                              ; 0x5e
	.long	97                              ; 0x61
	.long	97                              ; 0x61
	.long	42                              ; 0x2a
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"^a1*"

l_.str.3:                               ; @.str.3
	.asciz	"aa1234"

l_.str.4:                               ; @.str.4
	.asciz	"'aa1234' should not be excluded"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.5
l_.str.5:
	.long	97                              ; 0x61
	.long	97                              ; 0x61
	.long	49                              ; 0x31
	.long	50                              ; 0x32
	.long	51                              ; 0x33
	.long	52                              ; 0x34
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.6:                               ; @.str.6
	.asciz	"aaa1234"

l_.str.7:                               ; @.str.7
	.asciz	"'aaa1234' should be excluded"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.8
l_.str.8:
	.long	97                              ; 0x61
	.long	97                              ; 0x61
	.long	97                              ; 0x61
	.long	49                              ; 0x31
	.long	50                              ; 0x32
	.long	51                              ; 0x33
	.long	52                              ; 0x34
	.long	0                               ; 0x0

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.p2align	2                               ; @.str.9
l_.str.9:
	.long	94                              ; 0x5e
	.long	97                              ; 0x61
	.long	49                              ; 0x31
	.long	42                              ; 0x2a
	.long	0                               ; 0x0

	.no_dead_strip	_test_exclusion_and_inclusion
.subsections_via_symbols
