	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tar_fill_header
_tar_fill_header:                       ## @tar_fill_header
	.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	%rcx, %r15
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_memset
	movq	%r15, %rdi
	callq	_strlen
	cmpl	$100, %eax
	jl	LBB0_4
## %bb.1:
	movl	%eax, %eax
	leaq	(%r15,%rax), %rdi
	addq	$-99, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	%rax, %r13
	subq	%r15, %r13
	cmpl	$155, %r13d
	jle	LBB0_3
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movq	%r15, %rdx
	callq	_vkprintf
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r13d
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$76, %edx
	callq	_tar_fill_longlink_header
	movl	%r12d, %edi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r15, %rcx
	callq	_tar_write_long_link_header
	testl	%eax, %eax
	js	LBB0_12
## %bb.6:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$512, %edx                      ## imm = 0x200
	callq	_memset
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$100, %edx
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strcpy
	jmp	LBB0_8
LBB0_3:
	movslq	%r13d, %rax
	leaq	(%r15,%rax), %rsi
	incq	%rsi
	movq	%rbx, %rdi
	callq	_strcpy
	leaq	345(%rbx), %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
LBB0_7:
	callq	_memcpy
LBB0_8:
	leaq	100(%rbx), %rdi
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %r15
	movq	%r15, %rsi
	callq	_sprintf
	leaq	108(%rbx), %rdi
	movq	8(%r14), %rdx
	movq	%r15, %rsi
	callq	_sprintf
	leaq	116(%rbx), %rdi
	movq	16(%r14), %rdx
	movq	%r15, %rsi
	callq	_sprintf
	leaq	124(%rbx), %rdi
	movq	32(%r14), %rdx
	leaq	L_.str.2(%rip), %r15
	movq	%r15, %rsi
	callq	_sprintf
	leaq	136(%rbx), %rdi
	movq	24(%r14), %rdx
	movq	%r15, %rsi
	callq	_sprintf
	movq	%rbx, %rdi
	callq	_tar_fill_ustar_magic
	movb	$48, 156(%rbx)
	movl	(%r14), %edi
	callq	_S_ISLNK
	movb	$50, %cl
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movl	(%r14), %edi
	callq	_S_ISDIR
	movb	$53, %cl
	testq	%rax, %rax
	je	LBB0_11
LBB0_10:
	movb	%cl, 156(%rbx)
LBB0_11:
	movl	8(%r14), %edi
	callq	_getpwuid
	leaq	265(%rbx), %rdi
	movl	(%rax), %esi
	movl	$32, %edx
	callq	_strncpy
	movl	16(%r14), %edi
	callq	_getgrgid
	addq	$297, %rbx                      ## imm = 0x129
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$32, %edx
	callq	_strncpy
	xorl	%eax, %eax
LBB0_12:
	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	"too long full filename: %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"%07o"

L_.str.2:                               ## @.str.2
	.asciz	"%011llo"

	.no_dead_strip	_tar_fill_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tar_fill_header
_tar_fill_header:                       ; @tar_fill_header
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x3
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #512
	bl	_memset
	mov	x0, x21
	bl	_strlen
	cmp	w0, #100
	b.lt	LBB0_5
; %bb.1:
	add	x8, x21, w0, uxtw
	sub	x0, x8, #99
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.2:
	sub	x23, x0, x21
	cmp	w23, #155
	b.le	LBB0_6
LBB0_3:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x21
	bl	_vkprintf
	mov	x0, x21
	bl	_strlen
	mov	x23, x0
	mov	x0, x19
	mov	x1, x23
	mov	w2, #76
	bl	_tar_fill_longlink_header
	mov	x0, x22
	mov	x1, x19
	mov	x2, x23
	mov	x3, x21
	bl	_tar_write_long_link_header
	tbnz	w0, #31, LBB0_14
; %bb.4:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #512
	bl	_memset
	mov	x0, x19
	mov	x1, x21
	mov	w2, #100
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	x1, x21
	bl	_strcpy
	b	LBB0_8
LBB0_6:
	add	x8, x21, w23, sxtw
	add	x1, x8, #1
	mov	x0, x19
	bl	_strcpy
	add	x0, x19, #345
	mov	x1, x21
	mov	x2, x23
LBB0_7:
	bl	_memcpy
LBB0_8:
	add	x0, x19, #100
	ldr	x2, [x20]
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_sprintf
	add	x0, x19, #108
	ldr	x2, [x20, #8]
	mov	x1, x21
	bl	_sprintf
	add	x0, x19, #116
	ldr	x2, [x20, #16]
	mov	x1, x21
	bl	_sprintf
	add	x0, x19, #124
	ldr	x2, [x20, #32]
Lloh4:
	adrp	x21, l_.str.2@PAGE
Lloh5:
	add	x21, x21, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_sprintf
	add	x0, x19, #136
	ldr	x2, [x20, #24]
	mov	x1, x21
	bl	_sprintf
	mov	x0, x19
	bl	_tar_fill_ustar_magic
	mov	w8, #48
	strb	w8, [x19, #156]
	ldr	w0, [x20]
	bl	_S_ISLNK
	cbz	x0, LBB0_10
; %bb.9:
	mov	w8, #50
	b	LBB0_12
LBB0_10:
	ldr	w0, [x20]
	bl	_S_ISDIR
	cbz	x0, LBB0_13
; %bb.11:
	mov	w8, #53
LBB0_12:
	strb	w8, [x19, #156]
LBB0_13:
	ldr	w0, [x20, #8]
	bl	_getpwuid
	add	x8, x19, #265
	ldr	w1, [x0]
	mov	x0, x8
	mov	w2, #32
	bl	_strncpy
	ldr	w0, [x20, #16]
	bl	_getgrgid
	add	x8, x19, #297
	ldr	w1, [x0]
	mov	x0, x8
	mov	w2, #32
	bl	_strncpy
	mov	w0, #0
LBB0_14:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"too long full filename: %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"%07o"

l_.str.2:                               ; @.str.2
	.asciz	"%011llo"

	.no_dead_strip	_tar_fill_header
.subsections_via_symbols
