	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function append_archive_filename
_append_archive_filename:               ## @append_archive_filename
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_strcmp
	movq	%rax, %r13
	testq	%rax, %rax
	cmovneq	%r14, %r13
	xorl	%eax, %eax
	callq	_archive_read_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_archive_read_support_format_all
	movq	%rbx, %rdi
	callq	_archive_read_support_filter_all
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_set_reader_options
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_archive_read_set_options
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_archive_read_add_passphrase
	jmp	LBB0_3
LBB0_2:
	movq	_passphrase_callback@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_archive_read_set_passphrase_callback
LBB0_3:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	_archive_error_string
	leaq	L_.str.2(%rip), %rdx
	movl	$1, %edi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_lafe_errc
LBB0_5:
	movl	4(%r15), %edx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_archive_read_open_filename
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_archive_error_string
	movslq	%eax, %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_lafe_warnc
	movl	$1, (%r15)
	jmp	LBB0_10
LBB0_7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_append_archive
	movl	%eax, %r12d
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_archive_error_string
	leaq	L_.str.3(%rip), %rsi
	xorl	%edi, %edi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_lafe_warnc
	movl	$1, (%r15)
LBB0_9:
	movq	%rbx, %rdi
	callq	_archive_read_free
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %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	"-"

L_.str.1:                               ## @.str.1
	.asciz	"mtree:checkfs"

	.comm	_passphrase_callback,4,2        ## @passphrase_callback
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	"Error reading archive %s: %s"

	.no_dead_strip	_append_archive_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function append_archive_filename
_append_archive_filename:               ; @append_archive_filename
	.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
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_strcmp
	cmp	x0, #0
	csel	x23, xzr, x20, eq
	bl	_archive_read_new
	mov	x21, x0
	bl	_archive_read_support_format_all
	mov	x0, x21
	bl	_archive_read_support_filter_all
	mov	x0, x19
	mov	x1, x21
	bl	_set_reader_options
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_archive_read_set_options
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_archive_read_add_passphrase
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x2, _passphrase_callback@GOTPAGE
Lloh5:
	ldr	x2, [x2, _passphrase_callback@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_archive_read_set_passphrase_callback
LBB0_3:
Lloh6:
	adrp	x24, _ARCHIVE_OK@GOTPAGE
Lloh7:
	ldr	x24, [x24, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x22
	bl	_archive_error_string
	mov	x3, x0
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #1
	mov	w1, #0
	bl	_lafe_errc
LBB0_5:
	ldr	w2, [x19, #4]
	mov	x0, x21
	mov	x1, x23
	bl	_archive_read_open_filename
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x21
	bl	_archive_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #0
	bl	_lafe_warnc
	mov	w22, #0
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_10
LBB0_7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_append_archive
	mov	x22, x0
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x21
	bl	_archive_error_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #0
	mov	x2, x20
	bl	_lafe_warnc
	mov	w8, #1
	str	w8, [x19]
LBB0_9:
	mov	x0, x21
	bl	_archive_read_free
LBB0_10:
	mov	x0, x22
	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
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-"

l_.str.1:                               ; @.str.1
	.asciz	"mtree:checkfs"

	.comm	_passphrase_callback,4,2        ; @passphrase_callback
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	"Error reading archive %s: %s"

	.no_dead_strip	_append_archive_filename
.subsections_via_symbols
