	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_parent
_test_parent:                           ## @test_parent
	.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), %rdi
	movl	$201, %esi
	callq	_assertMakeDir
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_assertMakeDir
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rbx
	movl	$420, %esi                      ## imm = 0x1A4
	movq	%rbx, %rdx
	callq	_assertMakeFile
	leaq	L_.str.4(%rip), %rdi
	movl	$201, %esi
	callq	_assertMakeDir
	leaq	L_.str.5(%rip), %rdi
	movl	$493, %esi                      ## imm = 0x1ED
	callq	_assertMakeDir
	leaq	L_.str.6(%rip), %rdi
	movl	$420, %esi                      ## imm = 0x1A4
	movq	%rbx, %rdx
	callq	_assertMakeFile
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_archive_entry_new
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_archive_read_disk_new
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r15, %rdi
	callq	_assertChdir
	leaq	L_.str.7(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_archive_read_disk_open
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	$-2, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	%r12d
	je	LBB0_9
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_clear
	movl	(%rbx), %r15d
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r14, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.9(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movl	(%rbx), %r15d
	movq	%r13, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	-64(%rbp), %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_assertEqualMem
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	-64(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	movl	$10, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_assertEqualInt
	incl	-44(%rbp)                       ## 4-byte Folded Spill
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %rdi
	callq	_archive_read_disk_can_descend
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_archive_read_disk_descend
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	callq	_assertEqualIntA
	jmp	LBB0_8
LBB0_9:
	leaq	L_.str.10(%rip), %rdi
	callq	_failure
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$2, %esi
	callq	_assertEqualInt
	leaq	L_.str.11(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_archive_read_close
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	leaq	L_.str.12(%rip), %rdi
	callq	_assertChdir
	leaq	L_.str.7(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_archive_read_disk_open
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	callq	_assertEqualIntA
	xorl	%r12d, %r12d
	movl	$-2, %r15d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_10 Depth=1
	incl	%r15d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	je	LBB0_18
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_clear
	movl	(%rbx), %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r14, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	leaq	-72(%rbp), %r12
	movq	%r12, %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	-64(%rbp), %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_assertEqualMem
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	-64(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	movl	$10, %esi
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_10 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
LBB0_14:                                ##   in Loop: Header=BB0_10 Depth=1
	callq	_assertEqualInt
	incl	%r12d
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	%r13, %rdi
	callq	_archive_read_disk_can_descend
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_archive_read_disk_descend
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	jmp	LBB0_17
LBB0_18:
	leaq	L_.str.10(%rip), %rdi
	callq	_failure
	movl	%r12d, %edi
	movl	$2, %esi
	callq	_assertEqualInt
	leaq	L_.str.11(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_archive_read_close
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	leaq	L_.str.7(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	L_.str.13(%rip), %rsi
	movq	%r13, %rdi
	callq	_archive_read_disk_open
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	callq	_assertEqualIntA
	xorl	%r12d, %r12d
	movl	$-2, %r15d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=1
	incl	%r15d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	je	LBB0_27
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_clear
	movl	(%rbx), %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r14, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.14(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	leaq	-72(%rbp), %r12
	movq	%r12, %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	-64(%rbp), %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_assertEqualMem
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	-64(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	movl	$10, %esi
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_19 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
LBB0_23:                                ##   in Loop: Header=BB0_19 Depth=1
	callq	_assertEqualInt
	incl	%r12d
LBB0_24:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	%r13, %rdi
	callq	_archive_read_disk_can_descend
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_archive_read_disk_descend
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	jmp	LBB0_26
LBB0_27:
	leaq	L_.str.10(%rip), %rdi
	callq	_failure
	movl	%r12d, %edi
	movl	$2, %esi
	callq	_assertEqualInt
	leaq	L_.str.11(%rip), %rdi
	callq	_failure
	movq	%rbx, %r15
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r15), %ebx
	movq	%r13, %rdi
	callq	_archive_read_close
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	leaq	L_.str(%rip), %rdi
	callq	_assertChdir
	leaq	L_.str.7(%rip), %rdi
	callq	_failure
	movl	(%r15), %ebx
	leaq	L_.str.15(%rip), %rsi
	movq	%r13, %rdi
	callq	_archive_read_disk_open
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	%r14, %rdi
	callq	_archive_entry_clear
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	_ARCHIVE_FAILED@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_28
## %bb.41:
	movq	%r13, %rdi
	callq	_archive_read_close
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_40
LBB0_28:
	xorl	%r15d, %r15d
	movl	$-1, %r12d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_29 Depth=1
	incl	%r12d
	cmpl	$1, %r12d
	je	LBB0_39
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	testl	%r12d, %r12d
	jne	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	callq	_assertEqualIntA
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.15(%rip), %rsi
	callq	_strcmp
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=1
	callq	_archive_entry_pathname
	movl	%eax, %edi
	leaq	L_.str.16(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	%r14, %rdi
	callq	_archive_entry_filetype
	movq	_AE_IFREG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_size
	movl	%eax, %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	leaq	-72(%rbp), %r15
	movq	%r15, %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	-64(%rbp), %edi
	movl	$10, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	-72(%rbp), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_assertEqualMem
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	movl	%ebx, %edi
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	%eax, %esi
	callq	_assertEqualInt
	movl	-64(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movl	-56(%rbp), %edi
	movl	$10, %esi
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=1
	callq	_archive_entry_filetype
	movq	_AE_IFDIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=1
	callq	_assertEqualInt
	incl	%r15d
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=1
	movq	%r13, %rdi
	callq	_archive_read_disk_can_descend
	testq	%rax, %rax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_29 Depth=1
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r13, %rdi
	callq	_archive_read_disk_descend
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rbx
	movl	%eax, %edx
	callq	_assertEqualIntA
	jmp	LBB0_38
LBB0_39:
	leaq	L_.str.10(%rip), %rdi
	callq	_failure
	movl	%r15d, %edi
	movl	$2, %esi
	callq	_assertEqualInt
	leaq	L_.str.11(%rip), %rdi
	callq	_failure
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_archive_read_next_header2
	movq	%r13, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%rbx), %r15d
	movq	%r13, %rdi
	callq	_archive_read_close
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
LBB0_40:
	leaq	L_.str.17(%rip), %rdi
	callq	_assertChdir
	movl	(%rbx), %ebx
	movq	%r13, %rdi
	callq	_archive_read_free
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_assertEqualInt
	movq	%r14, %rdi
	callq	_archive_entry_free
	addq	$40, %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	"lock"

L_.str.1:                               ## @.str.1
	.asciz	"lock/dir1"

L_.str.2:                               ## @.str.2
	.asciz	"lock/dir1/f1"

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

L_.str.4:                               ## @.str.4
	.asciz	"lock/lock2"

L_.str.5:                               ## @.str.5
	.asciz	"lock/lock2/dir1"

L_.str.6:                               ## @.str.6
	.asciz	"lock/lock2/dir1/f1"

L_.str.7:                               ## @.str.7
	.asciz	"Directory traversals should work as well"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.8:                               ## @.str.8
	.asciz	"."

	.comm	_AE_IFDIR,4,2                   ## @AE_IFDIR
L_.str.9:                               ## @.str.9
	.asciz	"./f1"

	.comm	_AE_IFREG,4,2                   ## @AE_IFREG
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
L_.str.10:                              ## @.str.10
	.asciz	"Did not match expected filenames"

L_.str.11:                              ## @.str.11
	.asciz	"There should be no entry and no error"

L_.str.12:                              ## @.str.12
	.asciz	"../.."

L_.str.13:                              ## @.str.13
	.asciz	"lock/dir1/."

L_.str.14:                              ## @.str.14
	.asciz	"lock/dir1/./f1"

L_.str.15:                              ## @.str.15
	.asciz	"lock2/dir1"

	.comm	_ARCHIVE_FAILED,4,2             ## @ARCHIVE_FAILED
L_.str.16:                              ## @.str.16
	.asciz	"lock2/dir1/f1"

L_.str.17:                              ## @.str.17
	.asciz	".."

	.no_dead_strip	_test_parent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_parent
_test_parent:                           ; @test_parent
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #201
	bl	_assertMakeDir
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w1, #493
	bl	_assertMakeDir
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh6:
	adrp	x21, l_.str.3@PAGE
Lloh7:
	add	x21, x21, l_.str.3@PAGEOFF
	mov	w1, #420
	mov	x2, x21
	bl	_assertMakeFile
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	w1, #201
	bl	_assertMakeDir
Lloh10:
	adrp	x0, l_.str.5@PAGE
Lloh11:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	w1, #493
	bl	_assertMakeDir
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	w1, #420
	mov	x2, x21
	bl	_assertMakeFile
	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
	mov	x0, x22
	bl	_assertChdir
Lloh14:
	adrp	x0, l_.str.7@PAGE
Lloh15:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_failure
Lloh16:
	adrp	x26, _ARCHIVE_OK@GOTPAGE
Lloh17:
	ldr	x26, [x26, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w23, [x26]
Lloh18:
	adrp	x22, l_.str.8@PAGE
Lloh19:
	add	x22, x22, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_archive_read_disk_open
	mov	x2, x0
	mov	x0, x20
	mov	x1, x23
	bl	_assertEqualIntA
	mov	w23, #0
	mov	w27, #-2
Lloh20:
	adrp	x28, _AE_IFDIR@GOTPAGE
Lloh21:
	ldr	x28, [x28, _AE_IFDIR@GOTPAGEOFF]
Lloh22:
	adrp	x24, l_.str.9@PAGE
Lloh23:
	add	x24, x24, l_.str.9@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	adds	w27, w27, #1
	b.hs	LBB0_9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_archive_entry_clear
	ldr	w25, [x26]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh24:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w25, [x26]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	ldr	w0, [sp, #16]
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #24]
	mov	x1, x21
	mov	w2, #10
	bl	_assertEqualMem
Lloh27:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh29:
	ldr	w25, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x1, x0
	mov	x0, x25
	bl	_assertEqualInt
	ldr	w0, [sp, #16]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #10
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
	ldr	w1, [x28]
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_assertEqualInt
	add	w23, w23, #1
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_archive_read_disk_can_descend
	cbz	x0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w25, [x26]
	mov	x0, x20
	bl	_archive_read_disk_descend
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	b	LBB0_1
LBB0_9:
Lloh30:
	adrp	x0, l_.str.10@PAGE
Lloh31:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_failure
	mov	x0, x23
	mov	w1, #2
	bl	_assertEqualInt
Lloh32:
	adrp	x0, l_.str.11@PAGE
Lloh33:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_failure
Lloh34:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh36:
	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, [x26]
	mov	x0, x20
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
Lloh37:
	adrp	x0, l_.str.12@PAGE
Lloh38:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_assertChdir
Lloh39:
	adrp	x0, l_.str.7@PAGE
Lloh40:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_failure
	ldr	w22, [x26]
Lloh41:
	adrp	x21, l_.str.1@PAGE
Lloh42:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_archive_read_disk_open
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_assertEqualIntA
	mov	w22, #0
	mov	w27, #-2
Lloh43:
	adrp	x23, l_.str.2@PAGE
Lloh44:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh45:
	adrp	x24, l_.str.3@PAGE
Lloh46:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	adds	w27, w27, #1
	b.hs	LBB0_18
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_archive_entry_clear
	ldr	w25, [x26]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh47:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w25, [x26]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	ldr	w0, [sp, #16]
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #24]
	mov	x1, x24
	mov	w2, #10
	bl	_assertEqualMem
Lloh50:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh51:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh52:
	ldr	w25, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x1, x0
	mov	x0, x25
	bl	_assertEqualInt
	ldr	w0, [sp, #16]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #10
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
	ldr	w1, [x28]
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_assertEqualInt
	add	w22, w22, #1
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x20
	bl	_archive_read_disk_can_descend
	cbz	x0, LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w25, [x26]
	mov	x0, x20
	bl	_archive_read_disk_descend
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	b	LBB0_10
LBB0_18:
Lloh53:
	adrp	x0, l_.str.10@PAGE
Lloh54:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_failure
	mov	x0, x22
	mov	w1, #2
	bl	_assertEqualInt
Lloh55:
	adrp	x0, l_.str.11@PAGE
Lloh56:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_failure
Lloh57:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh59:
	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, [x26]
	mov	x0, x20
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
Lloh60:
	adrp	x0, l_.str.7@PAGE
Lloh61:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_failure
	ldr	w22, [x26]
Lloh62:
	adrp	x21, l_.str.13@PAGE
Lloh63:
	add	x21, x21, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	x1, x21
	bl	_archive_read_disk_open
	mov	x2, x0
	mov	x0, x20
	mov	x1, x22
	bl	_assertEqualIntA
	mov	w22, #0
	mov	w27, #-2
Lloh64:
	adrp	x23, l_.str.14@PAGE
Lloh65:
	add	x23, x23, l_.str.14@PAGEOFF
Lloh66:
	adrp	x24, l_.str.3@PAGE
Lloh67:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	adds	w27, w27, #1
	b.hs	LBB0_27
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_archive_entry_clear
	ldr	w25, [x26]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x21
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh68:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh69:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w25, [x26]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	ldr	w0, [sp, #16]
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #24]
	mov	x1, x24
	mov	w2, #10
	bl	_assertEqualMem
Lloh71:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh73:
	ldr	w25, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x1, x0
	mov	x0, x25
	bl	_assertEqualInt
	ldr	w0, [sp, #16]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #10
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
	ldr	w1, [x28]
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	bl	_assertEqualInt
	add	w22, w22, #1
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x20
	bl	_archive_read_disk_can_descend
	cbz	x0, LBB0_19
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w25, [x26]
	mov	x0, x20
	bl	_archive_read_disk_descend
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	b	LBB0_19
LBB0_27:
Lloh74:
	adrp	x0, l_.str.10@PAGE
Lloh75:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_failure
	mov	x0, x22
	mov	w1, #2
	bl	_assertEqualInt
Lloh76:
	adrp	x0, l_.str.11@PAGE
Lloh77:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_failure
Lloh78:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh80:
	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, [x26]
	mov	x0, x20
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
Lloh81:
	adrp	x0, l_.str@PAGE
Lloh82:
	add	x0, x0, l_.str@PAGEOFF
	bl	_assertChdir
Lloh83:
	adrp	x0, l_.str.7@PAGE
Lloh84:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_failure
	ldr	w21, [x26]
Lloh85:
	adrp	x1, l_.str.15@PAGE
Lloh86:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x20
	bl	_archive_read_disk_open
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_assertEqualIntA
	mov	x0, x19
	bl	_archive_entry_clear
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
Lloh87:
	adrp	x8, _ARCHIVE_FAILED@GOTPAGE
Lloh88:
	ldr	x8, [x8, _ARCHIVE_FAILED@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_29
; %bb.28:
	mov	x0, x20
	bl	_archive_read_close
	b	LBB0_41
LBB0_29:
	mov	w21, #0
	mov	w24, #-1
Lloh90:
	adrp	x22, l_.str.15@PAGE
Lloh91:
	add	x22, x22, l_.str.15@PAGEOFF
Lloh92:
	adrp	x23, l_.str.16@PAGE
Lloh93:
	add	x23, x23, l_.str.16@PAGEOFF
Lloh94:
	adrp	x27, l_.str.3@PAGE
Lloh95:
	add	x27, x27, l_.str.3@PAGEOFF
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	w24, w24, #1
	cmp	w24, #1
	b.eq	LBB0_40
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	cbnz	w24, LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w25, [x26]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_read_next_header2
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
LBB0_33:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x22
	bl	_strcmp
	cbz	x0, LBB0_36
; %bb.34:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x19
	bl	_archive_entry_pathname
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_38
; %bb.35:                               ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
Lloh96:
	adrp	x8, _AE_IFREG@GOTPAGE
Lloh97:
	ldr	x8, [x8, _AE_IFREG@GOTPAGEOFF]
Lloh98:
	ldr	w1, [x8]
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_size
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w25, [x26]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	ldr	w0, [sp, #16]
	mov	w1, #10
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	x0, [sp, #24]
	mov	x1, x27
	mov	w2, #10
	bl	_assertEqualMem
Lloh99:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh100:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh101:
	ldr	w25, [x8]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x20
	bl	_archive_read_data_block
	mov	x1, x0
	mov	x0, x25
	bl	_assertEqualInt
	ldr	w0, [sp, #16]
	mov	w1, #0
	bl	_assertEqualInt
	ldr	w0, [sp, #8]
	mov	w1, #10
	b	LBB0_37
LBB0_36:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x19
	bl	_archive_entry_filetype
	ldr	w1, [x28]
LBB0_37:                                ;   in Loop: Header=BB0_31 Depth=1
	bl	_assertEqualInt
	add	w21, w21, #1
LBB0_38:                                ;   in Loop: Header=BB0_31 Depth=1
	mov	x0, x20
	bl	_archive_read_disk_can_descend
	cbz	x0, LBB0_30
; %bb.39:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w25, [x26]
	mov	x0, x20
	bl	_archive_read_disk_descend
	mov	x2, x0
	mov	x0, x20
	mov	x1, x25
	bl	_assertEqualIntA
	b	LBB0_30
LBB0_40:
Lloh102:
	adrp	x0, l_.str.10@PAGE
Lloh103:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_failure
	mov	x0, x21
	mov	w1, #2
	bl	_assertEqualInt
Lloh104:
	adrp	x0, l_.str.11@PAGE
Lloh105:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_failure
Lloh106:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh107:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh108:
	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, [x26]
	mov	x0, x20
	bl	_archive_read_close
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
LBB0_41:
Lloh109:
	adrp	x0, l_.str.17@PAGE
Lloh110:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_assertChdir
	ldr	w21, [x26]
	mov	x0, x20
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x21
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_entry_free
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	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
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh109, Lloh110
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lock"

l_.str.1:                               ; @.str.1
	.asciz	"lock/dir1"

l_.str.2:                               ; @.str.2
	.asciz	"lock/dir1/f1"

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

l_.str.4:                               ; @.str.4
	.asciz	"lock/lock2"

l_.str.5:                               ; @.str.5
	.asciz	"lock/lock2/dir1"

l_.str.6:                               ; @.str.6
	.asciz	"lock/lock2/dir1/f1"

l_.str.7:                               ; @.str.7
	.asciz	"Directory traversals should work as well"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.8:                               ; @.str.8
	.asciz	"."

	.comm	_AE_IFDIR,4,2                   ; @AE_IFDIR
l_.str.9:                               ; @.str.9
	.asciz	"./f1"

	.comm	_AE_IFREG,4,2                   ; @AE_IFREG
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
l_.str.10:                              ; @.str.10
	.asciz	"Did not match expected filenames"

l_.str.11:                              ; @.str.11
	.asciz	"There should be no entry and no error"

l_.str.12:                              ; @.str.12
	.asciz	"../.."

l_.str.13:                              ; @.str.13
	.asciz	"lock/dir1/."

l_.str.14:                              ; @.str.14
	.asciz	"lock/dir1/./f1"

l_.str.15:                              ; @.str.15
	.asciz	"lock2/dir1"

	.comm	_ARCHIVE_FAILED,4,2             ; @ARCHIVE_FAILED
l_.str.16:                              ; @.str.16
	.asciz	"lock2/dir1/f1"

l_.str.17:                              ; @.str.17
	.asciz	".."

	.no_dead_strip	_test_parent
.subsections_via_symbols
