	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_archive_file
_verify_archive_file:                   ## @verify_archive_file
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_extract_reference_file
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r13, %rdi
	callq	_archive_read_support_filter_all
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	movq	%r13, %rdi
	callq	_archive_read_support_format_tar
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_failure
	movq	%r13, %rdi
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	$3, %edx
	callq	_archive_read_open_filename
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_assert
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.1:
	leaq	-80(%rbp), %rsi
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##       Child Loop BB0_12 Depth 3
	movq	8(%r15), %rbx
	movq	%r13, %rdi
	callq	_archive_read_next_header
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_failure
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	(%r15), %r14
	movq	-80(%rbp), %rdi
	callq	_archive_entry_pathname
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_assertEqualString
	movq	-80(%rbp), %rdi
	callq	_archive_entry_is_encrypted
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	movq	%r13, %rdi
	callq	_archive_read_has_encrypted_entries
	movq	_ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_assertEqualIntA
	movq	(%rbx), %r15
	movl	8(%rbx), %r14d
	movq	%r13, %rdi
	movq	16(%rbx), %r13
	leaq	-104(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	testl	%eax, %eax
	je	LBB0_5
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rdi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_failure
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_assertEqualIntA
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_failure
	movl	-64(%rbp), %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
	leaq	L_.str.6(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_failure
	movl	-56(%rbp), %edi
	movsbl	%r14b, %esi
	callq	_assertEqualInt
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 16(%rax)
	leaq	16(%rax), %r15
	leaq	-80(%rbp), %rsi
	jne	LBB0_2
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$24, %rbx
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=2
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	-104(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_archive_read_data_block
	testl	%eax, %eax
	jne	LBB0_8
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_12 Depth 3
	movq	-104(%rbp), %rax
	movq	%rax, -48(%rbp)
	cmpq	$0, -64(%rbp)
	jle	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	-56(%rbp), %r12d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_12 Depth=3
	leaq	L_.str.2(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_failure
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_assertEqualInt
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=3
	movq	-48(%rbp), %rax
	incq	%rax
	movq	%rax, -48(%rbp)
	movl	-56(%rbp), %r12d
	incl	%r12d
	movl	%r12d, -56(%rbp)
	movq	-64(%rbp), %rcx
	leaq	-1(%rcx), %rdx
	movq	%rdx, -64(%rbp)
	cmpq	$1, %rcx
	jle	LBB0_7
LBB0_12:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_6 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movsbl	(%rax), %ebx
	cmpl	%r14d, %r12d
	jl	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=3
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=3
	movsbl	(%r13), %esi
	movl	%ebx, %edi
	callq	_assertEqualInt
	cmpq	$1, %r15
	jg	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r15
	movl	8(%rax), %r14d
	movq	16(%rax), %r13
	addq	$24, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=3
	incq	%r13
	incl	%r12d
	decq	%r15
	movl	%r12d, %r14d
	jmp	LBB0_20
LBB0_17:
	leaq	L_.str.3(%rip), %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_failure
	xorl	%edi, %edi
	cmpl	%r14d, -56(%rbp)
	setle	%dil
	callq	_assert
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_archive_read_free
	jmp	LBB0_18
LBB0_9:
	leaq	-80(%rbp), %rsi
	movq	%r13, %rdi
	callq	_archive_read_next_header
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	%r13, %rdi
	callq	_archive_read_close
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_assertEqualIntA
	movl	(%r14), %ebx
LBB0_10:
	movq	%r13, %rdi
	callq	_archive_read_free
	movsbl	%al, %esi
	movl	%ebx, %edi
	callq	_assertEqualInt
LBB0_18:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't open %s"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.1:                               ## @.str.1
	.asciz	"Name mismatch in archive %s"

	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED,4,2 ## @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED
L_.str.2:                               ## @.str.2
	.asciz	"%s: pad at offset %d should be zero"

L_.str.3:                               ## @.str.3
	.asciz	"%s: Unexpected trailing data"

L_.str.4:                               ## @.str.4
	.asciz	"%s: should be end of entry"

	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
L_.str.5:                               ## @.str.5
	.asciz	"%s: Size returned at EOF must be zero"

L_.str.6:                               ## @.str.6
	.asciz	"%s: Offset of final empty chunk must be same as file size"

	.no_dead_strip	_verify_archive_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_archive_file
_verify_archive_file:                   ; @verify_archive_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x1
	mov	x20, x0
	bl	_extract_reference_file
	bl	_archive_read_new
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_archive_read_support_filter_all
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	bl	_archive_read_support_format_tar
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_failure
	mov	x0, x19
	mov	x1, x20
	mov	w2, #3
	bl	_archive_read_open_filename
	cmp	x0, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x21]
Lloh2:
	adrp	x22, _ARCHIVE_EOF@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ARCHIVE_EOF@GOTPAGEOFF]
	cbz	x8, LBB0_19
; %bb.1:
	add	x8, sp, #32
	add	x8, x8, #8
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh4:
	adrp	x24, l_.str.2@PAGE
Lloh5:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x25, [x21, #8]
	add	x1, sp, #56
	mov	x0, x19
	bl	_archive_read_next_header
	mov	x2, x0
	mov	x0, x19
	mov	w1, #0
	bl	_assertEqualIntA
	cbz	w0, LBB0_22
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_failure
	ldr	x28, [x21]
	ldr	x0, [sp, #56]
	bl	_archive_entry_pathname
	mov	x1, x0
	mov	x0, x28
	bl	_assertEqualString
	ldr	x0, [sp, #56]
	bl	_archive_entry_is_encrypted
	mov	w1, #0
	bl	_assertEqualInt
	mov	x0, x19
	bl	_archive_read_has_encrypted_entries
	mov	x1, x0
Lloh8:
	adrp	x8, _ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_assertEqualIntA
	ldr	x26, [x25]
	ldr	w27, [x25, #8]
	ldr	x23, [x25, #16]
	add	x1, sp, #24
	add	x2, sp, #32
	mov	x0, x19
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	bl	_archive_read_data_block
	cbz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x0
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh11:
	adrp	x0, l_.str.4@PAGE
Lloh12:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x20
	bl	_failure
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x28
	bl	_assertEqualIntA
Lloh13:
	adrp	x0, l_.str.5@PAGE
Lloh14:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x20
	bl	_failure
	ldr	w0, [sp, #32]
	mov	w1, #0
	bl	_assertEqualInt
Lloh15:
	adrp	x0, l_.str.6@PAGE
Lloh16:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_failure
	ldr	w0, [sp, #40]
	sxtb	w1, w27
	bl	_assertEqualInt
	ldr	x8, [x21, #16]!
	cbnz	x8, LBB0_2
	b	LBB0_19
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #24
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x1, sp, #24
	add	x2, sp, #32
	mov	x0, x19
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	bl	_archive_read_data_block
	cbnz	w0, LBB0_17
LBB0_8:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldp	x8, x9, [sp, #24]
	str	x8, [sp, #48]
	cmp	x9, #1
	b.lt	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	w22, [sp, #40]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=3
	str	x22, [sp]
	mov	x0, x24
	mov	x1, x20
	bl	_failure
	mov	x0, x28
	mov	w1, #0
	bl	_assertEqualInt
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [sp, #48]
	add	x8, x8, #1
	str	x8, [sp, #48]
	ldr	w9, [sp, #40]
	add	w22, w9, #1
	str	w22, [sp, #40]
	ldr	x9, [sp, #32]
	subs	x9, x9, #1
	str	x9, [sp, #32]
	b.le	LBB0_7
LBB0_12:                                ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_8 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsb	w28, [x8]
	cmp	w22, w27
	b.lt	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=3
	ldrsb	w1, [x23], #1
	mov	x0, x28
	bl	_assertEqualInt
	subs	x26, x26, #1
	b.gt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x26, [x25]
	ldr	w27, [x25, #8]
	ldr	x23, [x25, #16]
	add	x25, x25, #24
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=3
	add	w27, w22, #1
	b	LBB0_11
LBB0_17:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, x0
Lloh17:
	adrp	x22, _ARCHIVE_EOF@GOTPAGE
Lloh18:
	ldr	x22, [x22, _ARCHIVE_EOF@GOTPAGEOFF]
	b	LBB0_5
LBB0_18:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x20
	bl	_failure
	ldr	w8, [sp, #40]
	cmp	w8, w27
	cset	w0, le
	bl	_assert
	mov	x0, x19
	bl	_archive_read_free
	b	LBB0_21
LBB0_19:
	add	x1, sp, #56
	mov	x0, x19
	bl	_archive_read_next_header
	mov	x2, x0
	ldr	w1, [x22]
	mov	x0, x19
	bl	_assertEqualIntA
Lloh21:
	adrp	x21, _ARCHIVE_OK@GOTPAGE
Lloh22:
	ldr	x21, [x21, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w20, [x21]
	mov	x0, x19
	bl	_archive_read_close
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_assertEqualIntA
	ldr	w20, [x21]
LBB0_20:
	mov	x0, x19
	bl	_archive_read_free
	mov	x1, x0
	mov	x0, x20
	bl	_assertEqualInt
LBB0_21:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_22:
Lloh23:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh25:
	ldr	w20, [x8]
	b	LBB0_20
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't open %s"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.1:                               ; @.str.1
	.asciz	"Name mismatch in archive %s"

	.comm	_ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED,4,2 ; @ARCHIVE_READ_FORMAT_ENCRYPTION_UNSUPPORTED
l_.str.2:                               ; @.str.2
	.asciz	"%s: pad at offset %d should be zero"

l_.str.3:                               ; @.str.3
	.asciz	"%s: Unexpected trailing data"

l_.str.4:                               ; @.str.4
	.asciz	"%s: should be end of entry"

	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
l_.str.5:                               ; @.str.5
	.asciz	"%s: Size returned at EOF must be zero"

l_.str.6:                               ; @.str.6
	.asciz	"%s: Offset of final empty chunk must be same as file size"

	.no_dead_strip	_verify_archive_file
.subsections_via_symbols
