	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tar_mode_c                     ## -- Begin function tar_mode_c
	.p2align	4, 0x90
_tar_mode_c:                            ## @tar_mode_c
	.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	%rdi, %r15
	movq	40(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 32(%r15)
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdx
	movl	$1, %edi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_lafe_errc
LBB0_3:
	xorl	%eax, %eax
	callq	_archive_write_new
	movq	%rax, %r14
	movl	16(%r15), %edi
	callq	_cset_get_format
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	16(%r15), %edi
	callq	_cset_get_format
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_archive_write_set_format_by_name
	movl	%eax, %ebx
	jmp	LBB0_6
LBB0_4:
	movq	%r14, %rdi
	callq	_archive_write_set_format_pax_restricted
	movl	%eax, %ebx
	movl	16(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_cset_set_format
LBB0_6:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	cmpl	(%r13), %ebx
	je	LBB0_8
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	16(%r15), %edi
	callq	_cset_get_format
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str.2(%rip), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	xorl	%eax, %eax
	callq	_usage
LBB0_8:
	movl	24(%r15), %esi
	movq	%r14, %rdi
	callq	_archive_write_set_bytes_per_block
	movl	20(%r15), %esi
	movq	%r14, %rdi
	callq	_archive_write_set_bytes_in_last_block
	movl	16(%r15), %edi
	leaq	-48(%rbp), %rdx
	movq	%r14, %rsi
	callq	_cset_write_add_filters
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_10
## %bb.9:
	movq	-48(%rbp), %rcx
	leaq	L_.str.3(%rip), %rdx
	movl	$1, %edi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_lafe_errc
LBB0_10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_set_writer_options
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movq	%r14, %rdi
	callq	_archive_write_set_passphrase
	jmp	LBB0_13
LBB0_12:
	movq	_passphrase_callback@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_archive_write_set_passphrase_callback
LBB0_13:
	movl	%eax, %ebx
	cmpl	(%r13), %eax
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %edi
	xorl	%esi, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_lafe_errc
	movl	(%r13), %ebx
LBB0_15:
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_archive_write_open_filename
	cmpl	%eax, %ebx
	je	LBB0_17
## %bb.16:
	movq	%r14, %rdi
	callq	_archive_error_string
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %edi
	xorl	%esi, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_lafe_errc
LBB0_17:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_write_archive
	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	"no files or directories specified"

L_.str.1:                               ## @.str.1
	.asciz	"pax restricted"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"Can't use format %s: %s\n"

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
L_.str.3:                               ## @.str.3
	.asciz	"Unsupported compression option --%s"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tar_mode_c                     ; -- Begin function tar_mode_c
	.p2align	2
_tar_mode_c:                            ; @tar_mode_c
	.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	x19, x0
	ldr	x8, [x0, #40]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #1
	mov	w1, #0
	bl	_lafe_errc
LBB0_3:
	bl	_archive_write_new
	mov	x20, x0
	ldr	w0, [x19, #16]
	bl	_cset_get_format
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #16]
	bl	_cset_get_format
	mov	x1, x0
	mov	x0, x20
	bl	_archive_write_set_format_by_name
	mov	x21, x0
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_archive_write_set_format_pax_restricted
	mov	x21, x0
	ldr	w0, [x19, #16]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_cset_set_format
LBB0_6:
Lloh4:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh5:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w21, w8
	b.eq	LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	w0, [x19, #16]
	bl	_cset_get_format
	mov	x22, x0
	mov	x0, x20
	bl	_archive_error_string
	mov	x3, x0
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_fprintf
	bl	_usage
LBB0_8:
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_archive_write_set_bytes_per_block
	ldr	w1, [x19, #20]
	mov	x0, x20
	bl	_archive_write_set_bytes_in_last_block
	ldr	w0, [x19, #16]
	add	x2, sp, #8
	mov	x1, x20
	bl	_cset_write_add_filters
Lloh11:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_10
; %bb.9:
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh14:
	adrp	x2, l_.str.3@PAGE
Lloh15:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #1
	mov	w1, #0
	bl	_lafe_errc
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	bl	_set_writer_options
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_12
; %bb.11:
	mov	x0, x20
	bl	_archive_write_set_passphrase
	b	LBB0_13
LBB0_12:
Lloh16:
	adrp	x2, _passphrase_callback@GOTPAGE
Lloh17:
	ldr	x2, [x2, _passphrase_callback@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	bl	_archive_write_set_passphrase_callback
LBB0_13:
	mov	x21, x0
	ldr	w8, [x23]
	cmp	w0, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_archive_error_string
	str	x0, [sp]
Lloh18:
	adrp	x2, l_.str.4@PAGE
Lloh19:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #1
	mov	w1, #0
	bl	_lafe_errc
	ldr	w21, [x23]
LBB0_15:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_archive_write_open_filename
	cmp	w21, w0
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x20
	bl	_archive_error_string
	str	x0, [sp]
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #1
	mov	w1, #0
	bl	_lafe_errc
LBB0_17:
	mov	x0, x20
	mov	x1, x19
	bl	_write_archive
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no files or directories specified"

l_.str.1:                               ; @.str.1
	.asciz	"pax restricted"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"Can't use format %s: %s\n"

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
l_.str.3:                               ; @.str.3
	.asciz	"Unsupported compression option --%s"

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

.subsections_via_symbols
