	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_tar_filter_archive
_write_tar_filter_archive:              ## @write_tar_filter_archive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)
	movl	(%rdi), %esi
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_BUG
	movl	(%rbx), %esi
LBB0_2:
	leaq	-56(%rbp), %rdi
	callq	_strbuf_addstr
	movl	(%r14), %edx
	testl	%edx, %edx
	js	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_strbuf_addf
LBB0_4:
	movq	-56(%rbp), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -40(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)
	movabsq	$-4294967295, %rax              ## imm = 0xFFFFFFFF00000001
	movq	%rax, -64(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_start_command
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	-48(%rbp), %rsi
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die_errno
LBB0_6:
	movl	$1, %edi
	callq	_close
	movl	-60(%rbp), %edi
	movl	$1, %esi
	callq	_dup2
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movl	%eax, %edi
	xorl	%eax, %eax
	callq	_die_errno
LBB0_8:
	movl	-60(%rbp), %edi
	callq	_close
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_write_tar_archive
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_close
	leaq	-72(%rbp), %rdi
	callq	_finish_command
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_die
LBB0_10:
	leaq	-56(%rbp), %rdi
	callq	_strbuf_release
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_12
## %bb.11:
	movl	%ebx, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,8,3                ## @STRBUF_INIT
	.comm	_CHILD_PROCESS_INIT,16,3        ## @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tar-filter archiver called with no filter defined"

L_.str.1:                               ## @.str.1
	.asciz	" -%d"

L_.str.2:                               ## @.str.2
	.asciz	"unable to start '%s' filter"

L_.str.3:                               ## @.str.3
	.asciz	"unable to redirect descriptor"

L_.str.4:                               ## @.str.4
	.asciz	"'%s' filter reported error"

	.no_dead_strip	_write_tar_filter_archive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function write_tar_filter_archive
lCPI0_0:
	.long	1                               ; 0x1
	.long	4294967295                      ; 0xffffffff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_write_tar_filter_archive:              ; @write_tar_filter_archive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #32]
	ldr	w1, [x0]
	cbnz	w1, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BUG
	ldr	w1, [x20]
LBB0_2:
	add	x0, sp, #32
	bl	_strbuf_addstr
	ldr	w2, [x19]
	tbnz	w2, #31, LBB0_4
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #32
	bl	_strbuf_addf
LBB0_4:
	ldr	x8, [sp, #32]
	stp	x8, xzr, [sp, #40]
	add	x8, sp, #40
	str	x8, [sp, #16]
Lloh10:
	adrp	x8, lCPI0_0@PAGE
Lloh11:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #24]
	add	x0, sp, #16
	bl	_start_command
	tbz	x0, #63, LBB0_6
; %bb.5:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
	ldr	x8, [sp, #40]
	str	x8, [sp]
	bl	_die_errno
LBB0_6:
	mov	w0, #1
	bl	_close
	ldr	w0, [sp, #28]
	mov	w1, #1
	bl	_dup2
	tbz	x0, #63, LBB0_8
; %bb.7:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	bl	_die_errno
LBB0_8:
	ldr	w0, [sp, #28]
	bl	_close
	mov	x0, x20
	mov	x1, x19
	bl	_write_tar_archive
	mov	x19, x0
	mov	w0, #1
	bl	_close
	add	x0, sp, #16
	bl	_finish_command
	cbz	x0, LBB0_10
; %bb.9:
Lloh16:
	adrp	x0, l_.str.4@PAGE
Lloh17:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	ldr	x1, [sp, #40]
	bl	_die
LBB0_10:
	add	x0, sp, #32
	bl	_strbuf_release
	ldur	x8, [x29, #-24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,8,3                ; @STRBUF_INIT
	.comm	_CHILD_PROCESS_INIT,16,3        ; @CHILD_PROCESS_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tar-filter archiver called with no filter defined"

l_.str.1:                               ; @.str.1
	.asciz	" -%d"

l_.str.2:                               ; @.str.2
	.asciz	"unable to start '%s' filter"

l_.str.3:                               ; @.str.3
	.asciz	"unable to redirect descriptor"

l_.str.4:                               ; @.str.4
	.asciz	"'%s' filter reported error"

	.no_dead_strip	_write_tar_filter_archive
.subsections_via_symbols
