	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_callbacks
_test_callbacks:                        ## @test_callbacks
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_assertMakeDir
	leaq	L_.str.1(%rip), %rbx
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_assertMakeFile
	leaq	L_.str.3(%rip), %r15
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	callq	_assertMakeFile
	leaq	L_.str.5(%rip), %r12
	movq	%r12, %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	xorl	%edx, %edx
	callq	_assertMakeFile
	movq	%rbx, %rdi
	movl	$886600, %esi                   ## imm = 0xD8748
	xorl	%edx, %edx
	movl	$886600, %ecx                   ## imm = 0xD8748
	xorl	%r8d, %r8d
	callq	_assertUtimes
	movq	%r15, %rdi
	movl	$886611, %esi                   ## imm = 0xD8753
	xorl	%edx, %edx
	movl	$886611, %ecx                   ## imm = 0xD8753
	xorl	%r8d, %r8d
	callq	_assertUtimes
	movq	%r12, %rdi
	movl	$886611, %esi                   ## imm = 0xD8753
	xorl	%edx, %edx
	movl	$886611, %ecx                   ## imm = 0xD8753
	xorl	%r8d, %r8d
	callq	_assertUtimes
	movq	%r14, %rdi
	movl	$886622, %esi                   ## imm = 0xD875E
	xorl	%edx, %edx
	movl	$886622, %ecx                   ## imm = 0xD875E
	xorl	%r8d, %r8d
	callq	_assertUtimes
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_archive_read_disk_new
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testq	%r14, %r14
	je	LBB0_23
## %bb.1:
	xorl	%eax, %eax
	callq	_archive_match_new
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.2:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_match_exclude_pattern
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r13), %r12d
	movq	%r14, %rdi
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_archive_read_disk_set_matching
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.6(%rip), %rdi
	callq	_failure
	movl	(%r13), %ebx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_archive_read_disk_open
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	$-3, %r13d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	%r13d
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_archive_entry_clear
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header2
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.7(%rip), %rdi
	callq	_failure
	movq	%r15, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r15, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	xorl	%esi, %esi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r15, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_archive_read_data_block
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	-56(%rbp), %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	-64(%rbp), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$10, %edx
	callq	_assertEqualMem
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movl	-48(%rbp), %edi
	movl	$10, %esi
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	callq	_assertEqualInt
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_archive_read_disk_can_descend
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_archive_read_disk_descend
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	jmp	LBB0_12
LBB0_13:
	leaq	L_.str.8(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header2
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	movq	%r14, %rdi
	callq	_archive_read_close
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	(%r13), %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_archive_read_disk_set_matching
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.1(%rip), %rdi
	movl	$886600, %esi                   ## imm = 0xD8748
	xorl	%edx, %edx
	movl	$886600, %ecx                   ## imm = 0xD8748
	xorl	%r8d, %r8d
	callq	_assertUtimes
	leaq	L_.str.3(%rip), %rdi
	movl	$886611, %esi                   ## imm = 0xD8753
	xorl	%edx, %edx
	movl	$886611, %ecx                   ## imm = 0xD8753
	xorl	%r8d, %r8d
	callq	_assertUtimes
	leaq	L_.str.5(%rip), %rdi
	movl	$886611, %esi                   ## imm = 0xD8753
	xorl	%edx, %edx
	movl	$886611, %ecx                   ## imm = 0xD8753
	xorl	%r8d, %r8d
	callq	_assertUtimes
	leaq	L_.str(%rip), %r12
	movq	%r12, %rdi
	movl	$886622, %esi                   ## imm = 0xD875E
	xorl	%edx, %edx
	movl	$886622, %ecx                   ## imm = 0xD875E
	xorl	%r8d, %r8d
	callq	_assertUtimes
	movl	(%r13), %ebx
	movq	_metadata_filter@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_archive_read_disk_set_metadata_filter_callback
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.6(%rip), %rdi
	callq	_failure
	movl	(%r13), %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_archive_read_disk_open
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	$-3, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_assertEqualInt
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%ebx
	je	LBB0_22
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_archive_entry_clear
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header2
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	leaq	L_.str.9(%rip), %rdi
	callq	_failure
	movq	%r15, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r15, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	xorl	%esi, %esi
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r15, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	movl	$11, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	leaq	-64(%rbp), %r13
	movq	%r13, %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_archive_read_data_block
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	-56(%rbp), %edi
	movl	$11, %esi
	callq	_assertEqualInt
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	-64(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$11, %edx
	callq	_assertEqualMem
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r14, %rdi
	movq	%r13, %rsi
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movl	-48(%rbp), %edi
	movl	$11, %esi
	jmp	LBB0_20
LBB0_22:
	leaq	L_.str.8(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_read_next_header2
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movq	%r14, %rdi
	callq	_archive_read_free
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	(%r12), %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_match_free
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r15, %rdi
	callq	_archive_entry_free
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_archive_entry_free             ## TAILCALL
LBB0_24:
	movq	%r15, %rdi
	callq	_archive_entry_free
	movq	%r14, %rdi
	callq	_archive_read_free
	xorl	%edi, %edi
	addq	$40, %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	"cb"

L_.str.1:                               ## @.str.1
	.asciz	"cb/f1"

L_.str.2:                               ## @.str.2
	.asciz	"0123456789"

L_.str.3:                               ## @.str.3
	.asciz	"cb/f2"

L_.str.4:                               ## @.str.4
	.asciz	"hello world"

L_.str.5:                               ## @.str.5
	.asciz	"cb/fe"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.6:                               ## @.str.6
	.asciz	"Directory traversals should work as well"

L_.str.7:                               ## @.str.7
	.asciz	"File 'cb/f2' should be exclueded"

	.comm	_AE_IFDIR,4,2                   ## @AE_IFDIR
	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
L_.str.8:                               ## @.str.8
	.asciz	"There should be no entry"

	.comm	_metadata_filter,4,2            ## @metadata_filter
L_.str.9:                               ## @.str.9
	.asciz	"File 'cb/f1' should be excluded"

	.no_dead_strip	_test_callbacks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_callbacks
_test_callbacks:                        ; @test_callbacks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w22, #34643
	movk	w22, #13, lsl #16
Lloh0:
	adrp	x19, l_.str@PAGE
Lloh1:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #493
	bl	_assertMakeDir
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	w1, #420
	bl	_assertMakeFile
Lloh6:
	adrp	x21, l_.str.3@PAGE
Lloh7:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x21
	mov	w1, #420
	bl	_assertMakeFile
Lloh10:
	adrp	x23, l_.str.5@PAGE
Lloh11:
	add	x23, x23, l_.str.5@PAGEOFF
	mov	x0, x23
	mov	w1, #420
	mov	x2, #0
	bl	_assertMakeFile
	sub	w24, w22, #11
	mov	x0, x20
	mov	x1, x24
	mov	w2, #0
	mov	x3, x24
	mov	w4, #0
	bl	_assertUtimes
	mov	x0, x21
	mov	w1, #34643
	movk	w1, #13, lsl #16
	mov	w2, #0
	mov	w3, #34643
	movk	w3, #13, lsl #16
	mov	w4, #0
	bl	_assertUtimes
	mov	x0, x23
	mov	w1, #34643
	movk	w1, #13, lsl #16
	mov	w2, #0
	mov	w3, #34643
	movk	w3, #13, lsl #16
	mov	w4, #0
	bl	_assertUtimes
	add	w1, w22, #11
	mov	x0, x19
	mov	w2, #0
	mov	x3, x1
	mov	w4, #0
	bl	_assertUtimes
	bl	_archive_entry_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	bl	_archive_read_disk_new
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	x20, LBB0_23
; %bb.1:
	bl	_archive_match_new
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	cbz	x21, LBB0_24
; %bb.2:
	str	w24, [sp, #12]                  ; 4-byte Folded Spill
Lloh12:
	adrp	x27, _ARCHIVE_OK@GOTPAGE
Lloh13:
	ldr	x27, [x27, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w24, [x27]
Lloh14:
	adrp	x23, l_.str.3@PAGE
Lloh15:
	add	x23, x23, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	x1, x23
	bl	_archive_match_exclude_pattern
	mov	x2, x0
	mov	x0, x21
	mov	x1, x24
	bl	_assertEqualIntA
	ldr	w24, [x27]
	mov	x0, x20
	str	x21, [sp, #16]                  ; 8-byte Folded Spill
	mov	x1, x21
	mov	x2, #0
	mov	x3, #0
	bl	_archive_read_disk_set_matching
	mov	x2, x0
	mov	x0, x20
	mov	x1, x24
	bl	_assertEqualIntA
Lloh16:
	adrp	x0, l_.str.6@PAGE
Lloh17:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_failure
	ldr	w25, [x27]
Lloh18:
	adrp	x24, l_.str@PAGE
Lloh19:
	add	x24, x24, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x24
	bl	_archive_read_disk_open
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	mov	w22, #-3
Lloh20:
	adrp	x25, l_.str.7@PAGE
Lloh21:
	add	x25, x25, l_.str.7@PAGEOFF
Lloh22:
	adrp	x26, l_.str.1@PAGE
Lloh23:
	add	x26, x26, l_.str.1@PAGEOFF
Lloh24:
	adrp	x28, l_.str.5@PAGE
Lloh25:
	add	x28, x28, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	adds	w22, w22, #1
	b.hs	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_archive_entry_clear
	ldr	w21, [x27]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x25
	bl	_failure
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x23
	bl	_strcmp
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x24
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x26
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x28
	bl	_strcmp
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh26:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #0
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh29:
	adrp	x8, _AE_IFDIR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _AE_IFDIR@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh32:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w21, [x27]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w0, [sp, #32]
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w0, [sp, #24]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #40]
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #10
	bl	_assertEqualMem
Lloh37:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh39:
	ldr	w21, [x8]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	ldr	w0, [sp, #32]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	w0, [sp, #24]
	mov	w1, #10
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_assertEqualInt
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_archive_read_disk_can_descend
	cbz	x0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w21, [x27]
	mov	x0, x20
	bl	_archive_read_disk_descend
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	b	LBB0_3
LBB0_13:
Lloh40:
	adrp	x0, l_.str.8@PAGE
Lloh41:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_failure
Lloh42:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh43:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh44:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x27]
	mov	x0, x20
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	ldr	w21, [x27]
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_archive_read_disk_set_matching
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
Lloh45:
	adrp	x23, l_.str.1@PAGE
Lloh46:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x0, x23
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	mov	w2, #0
	mov	x3, x1
	mov	w4, #0
	bl	_assertUtimes
Lloh47:
	adrp	x22, l_.str.3@PAGE
Lloh48:
	add	x22, x22, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	w1, #34643
	movk	w1, #13, lsl #16
	mov	w2, #0
	mov	w3, #34643
	movk	w3, #13, lsl #16
	mov	w4, #0
	bl	_assertUtimes
Lloh49:
	adrp	x24, l_.str.5@PAGE
Lloh50:
	add	x24, x24, l_.str.5@PAGEOFF
	mov	x0, x24
	mov	w1, #34643
	movk	w1, #13, lsl #16
	mov	w2, #0
	mov	w3, #34643
	movk	w3, #13, lsl #16
	mov	w4, #0
	bl	_assertUtimes
	mov	w8, #34643
	movk	w8, #13, lsl #16
	add	w1, w8, #11
Lloh51:
	adrp	x25, l_.str@PAGE
Lloh52:
	add	x25, x25, l_.str@PAGEOFF
	mov	x0, x25
	mov	w2, #0
	mov	x3, x1
	mov	w4, #0
	bl	_assertUtimes
	ldr	w21, [x27]
Lloh53:
	adrp	x8, _metadata_filter@GOTPAGE
Lloh54:
	ldr	x8, [x8, _metadata_filter@GOTPAGEOFF]
Lloh55:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_archive_read_disk_set_metadata_filter_callback
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
Lloh56:
	adrp	x0, l_.str.6@PAGE
Lloh57:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_failure
	ldr	w21, [x27]
	mov	x0, x20
	mov	x1, x25
	bl	_archive_read_disk_open
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	w28, #-3
Lloh58:
	adrp	x26, l_.str.9@PAGE
Lloh59:
	add	x26, x26, l_.str.9@PAGEOFF
	b	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh60:
	adrp	x8, _AE_IFDIR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AE_IFDIR@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=1
	bl	_assertEqualInt
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	adds	w28, w28, #1
	b.hs	LBB0_22
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_archive_entry_clear
	ldr	w21, [x27]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x26
	bl	_failure
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x23
	bl	_strcmp
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_16
; %bb.20:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh63:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh64:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #0
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh66:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh67:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh68:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #11
	bl	_assertEqualInt
	ldr	w21, [x27]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w0, [sp, #32]
	mov	w1, #11
	bl	_assertEqualInt
	ldr	w0, [sp, #24]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #40]
Lloh69:
	adrp	x1, l_.str.4@PAGE
Lloh70:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #11
	bl	_assertEqualMem
Lloh71:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh73:
	ldr	w21, [x8]
	add	x1, sp, #40
	add	x2, sp, #32
	add	x3, sp, #24
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	ldr	w0, [sp, #32]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	w0, [sp, #24]
	mov	w1, #11
	b	LBB0_15
LBB0_22:
Lloh74:
	adrp	x0, l_.str.8@PAGE
Lloh75:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_failure
Lloh76:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh77:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh78:
	ldr	w21, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	ldr	w21, [x27]
	mov	x0, x20
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	ldr	w20, [x27]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_archive_match_free
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_free
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_23:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_archive_entry_free
LBB0_24:
	mov	x0, x19
	bl	_archive_entry_free
	mov	x0, x20
	bl	_archive_read_free
	mov	x0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_archive_match_free
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh74, Lloh75
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cb"

l_.str.1:                               ; @.str.1
	.asciz	"cb/f1"

l_.str.2:                               ; @.str.2
	.asciz	"0123456789"

l_.str.3:                               ; @.str.3
	.asciz	"cb/f2"

l_.str.4:                               ; @.str.4
	.asciz	"hello world"

l_.str.5:                               ; @.str.5
	.asciz	"cb/fe"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.6:                               ; @.str.6
	.asciz	"Directory traversals should work as well"

l_.str.7:                               ; @.str.7
	.asciz	"File 'cb/f2' should be exclueded"

	.comm	_AE_IFDIR,4,2                   ; @AE_IFDIR
	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
l_.str.8:                               ; @.str.8
	.asciz	"There should be no entry"

	.comm	_metadata_filter,4,2            ; @metadata_filter
l_.str.9:                               ; @.str.9
	.asciz	"File 'cb/f1' should be excluded"

	.no_dead_strip	_test_callbacks
.subsections_via_symbols
