	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tar_write_header
LCPI0_0:
	.long	256                             ## 0x100
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tar_write_header:                      ## @tar_write_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	pxor	%xmm0, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [256,0,0,0]
	movl	$12, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	pmovzxbd	-12(%rbx,%rax), %xmm2           ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm1, %xmm2
	pmovzxbd	-8(%rbx,%rax), %xmm3            ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm0, %xmm3
	pmovzxbd	-4(%rbx,%rax), %xmm1            ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	(%rbx,%rax), %xmm0              ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm1
	paddd	%xmm3, %xmm0
	addq	$16, %rax
	cmpq	$524, %rax                      ## imm = 0x20C
	jne	LBB0_1
## %bb.2:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	andl	$262143, %edx                   ## imm = 0x3FFFF
	leaq	148(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_sprintf
	movb	$32, 155(%rbx)
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	$512, %edx                      ## imm = 0x200
	callq	_gzwrite
	xorl	%ecx, %ecx
	cmpl	$512, %eax                      ## imm = 0x200
	setne	%cl
	negl	%ecx
	movl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%06o"

	.no_dead_strip	_tar_write_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function tar_write_header
lCPI0_0:
	.long	256                             ; 0x100
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tar_write_header:                      ; @tar_write_header
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x1
	mov	x20, x0
	ldp	q0, q4, [x1]
	ushll.8h	v1, v0, #0
	ushll2.8h	v3, v0, #0
	ushll.8h	v2, v4, #0
	ushll2.8h	v4, v4, #0
	ldp	q0, q16, [x1, #32]
	ushll.8h	v5, v0, #0
	ushll2.8h	v7, v0, #0
	ushll2.8h	v6, v16, #0
	ushll.8h	v16, v16, #0
	ldp	q0, q17, [x1, #64]
	ushll.8h	v18, v0, #0
	ushll2.8h	v19, v0, #0
	ushll.8h	v20, v17, #0
	ushll2.8h	v17, v17, #0
	ldp	q21, q22, [x1, #96]
	ushll.8h	v23, v21, #0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	ushll2.8h	v21, v21, #0
	ushll2.8h	v24, v22, #0
	ushll.8h	v22, v22, #0
	uaddl2.4s	v25, v19, v3
	ldp	q26, q27, [x1, #128]
	ushll2.8h	v28, v26, #0
	uaddw2.4s	v25, v25, v28
	uaddl2.4s	v29, v18, v1
	ushll.8h	v26, v26, #0
	uaddw2.4s	v29, v29, v26
	uaddl.4s	v3, v19, v3
	uaddw.4s	v3, v3, v28
	uaddl.4s	v1, v18, v1
	uaddw.4s	v1, v1, v26
	uaddl2.4s	v18, v4, v17
	uaddl2.4s	v19, v2, v20
	uaddl.4s	v4, v4, v17
	uaddl.4s	v2, v2, v20
	uaddl2.4s	v17, v7, v21
	uaddl2.4s	v20, v5, v23
	uaddl.4s	v7, v7, v21
	uaddl.4s	v5, v5, v23
	uaddl.4s	v21, v16, v22
	uaddl.4s	v23, v6, v24
	uaddl2.4s	v16, v16, v22
	uaddl2.4s	v6, v6, v24
	ldp	q22, q24, [x1, #160]
	ushll2.8h	v26, v27, #0
	ushll.8h	v27, v27, #0
	ushll2.8h	v28, v22, #0
	ushll.8h	v22, v22, #0
	ldp	q30, q31, [x1, #192]
	ushll.8h	v8, v30, #0
	uaddw.4s	v1, v1, v8
	uaddw2.4s	v29, v29, v8
	ushll.8h	v8, v24, #0
	ushll2.8h	v24, v24, #0
	ushll2.8h	v30, v30, #0
	uaddw.4s	v3, v3, v30
	uaddw2.4s	v25, v25, v30
	uaddw.4s	v2, v2, v27
	uaddw.4s	v4, v4, v26
	uaddw2.4s	v19, v19, v27
	uaddw2.4s	v18, v18, v26
	uaddw.4s	v5, v5, v22
	uaddw.4s	v7, v7, v28
	uaddw2.4s	v20, v20, v22
	uaddw2.4s	v17, v17, v28
	uaddw2.4s	v6, v6, v24
	uaddw2.4s	v16, v16, v8
	uaddw.4s	v22, v23, v24
	uaddw.4s	v21, v21, v8
	ldp	q23, q24, [x1, #224]
	ushll.8h	v26, v31, #0
	ushll2.8h	v27, v31, #0
	ushll.8h	v28, v23, #0
	ushll2.8h	v23, v23, #0
	ldp	q30, q31, [x1, #256]
	ushll2.8h	v8, v30, #0
	uaddw2.4s	v25, v25, v8
	uaddw.4s	v3, v3, v8
	ushll2.8h	v8, v24, #0
	ushll.8h	v24, v24, #0
	ushll.8h	v30, v30, #0
	uaddw2.4s	v29, v29, v30
	uaddw.4s	v1, v1, v30
	uaddw2.4s	v18, v18, v27
	uaddw2.4s	v19, v19, v26
	uaddw.4s	v4, v4, v27
	uaddw.4s	v2, v2, v26
	uaddw2.4s	v17, v17, v23
	uaddw2.4s	v20, v20, v28
	uaddw.4s	v7, v7, v23
	uaddw.4s	v5, v5, v28
	uaddw.4s	v21, v21, v24
	uaddw.4s	v22, v22, v8
	uaddw2.4s	v16, v16, v24
	uaddw2.4s	v6, v6, v8
	ldp	q23, q24, [x1, #288]
	ushll2.8h	v26, v31, #0
	ushll.8h	v27, v31, #0
	ushll2.8h	v28, v23, #0
	ushll.8h	v23, v23, #0
	ldp	q30, q31, [x1, #320]
	ushll.8h	v8, v30, #0
	uaddw.4s	v1, v1, v8
	uaddw2.4s	v29, v29, v8
	ushll.8h	v8, v24, #0
	ushll2.8h	v24, v24, #0
	ushll2.8h	v30, v30, #0
	uaddw.4s	v3, v3, v30
	uaddw2.4s	v25, v25, v30
	uaddw.4s	v2, v2, v27
	uaddw.4s	v4, v4, v26
	uaddw2.4s	v19, v19, v27
	uaddw2.4s	v18, v18, v26
	uaddw.4s	v5, v5, v23
	uaddw.4s	v7, v7, v28
	uaddw2.4s	v20, v20, v23
	uaddw2.4s	v17, v17, v28
	uaddw2.4s	v6, v6, v24
	uaddw2.4s	v16, v16, v8
	uaddw.4s	v22, v22, v24
	uaddw.4s	v21, v21, v8
	ldp	q23, q24, [x1, #352]
	ushll.8h	v26, v31, #0
	ushll2.8h	v27, v31, #0
	ushll.8h	v28, v23, #0
	ushll2.8h	v23, v23, #0
	ldp	q30, q31, [x1, #384]
	ushll2.8h	v8, v30, #0
	uaddw2.4s	v25, v25, v8
	uaddw.4s	v3, v3, v8
	ushll2.8h	v8, v24, #0
	ushll.8h	v24, v24, #0
	ushll.8h	v30, v30, #0
	uaddw2.4s	v29, v29, v30
	uaddw.4s	v1, v1, v30
	uaddw2.4s	v18, v18, v27
	uaddw2.4s	v19, v19, v26
	uaddw.4s	v4, v4, v27
	uaddw.4s	v2, v2, v26
	uaddw2.4s	v17, v17, v23
	uaddw2.4s	v20, v20, v28
	uaddw.4s	v7, v7, v23
	uaddw.4s	v5, v5, v28
	uaddw.4s	v21, v21, v24
	uaddw.4s	v22, v22, v8
	uaddw2.4s	v16, v16, v24
	uaddw2.4s	v6, v6, v8
	ldp	q23, q24, [x1, #416]
	ushll2.8h	v26, v31, #0
	ushll.8h	v27, v31, #0
	ushll2.8h	v28, v23, #0
	ushll.8h	v23, v23, #0
	ldp	q30, q31, [x1, #448]
	ushll.8h	v8, v30, #0
	uaddw.4s	v1, v1, v8
	uaddw2.4s	v29, v29, v8
	ushll.8h	v8, v24, #0
	ushll2.8h	v24, v24, #0
	ushll2.8h	v30, v30, #0
	uaddw.4s	v3, v3, v30
	uaddw2.4s	v25, v25, v30
	uaddw.4s	v2, v2, v27
	uaddw.4s	v4, v4, v26
	uaddw2.4s	v19, v19, v27
	uaddw2.4s	v18, v18, v26
	uaddw.4s	v5, v5, v23
	uaddw.4s	v7, v7, v28
	uaddw2.4s	v20, v20, v23
	uaddw2.4s	v17, v17, v28
	uaddw2.4s	v6, v6, v24
	uaddw2.4s	v16, v16, v8
	uaddw.4s	v22, v22, v24
	uaddw.4s	v21, v21, v8
	ldp	q23, q24, [x1, #480]
	ushll.8h	v26, v31, #0
	ushll2.8h	v27, v31, #0
	ushll.8h	v28, v23, #0
	ushll2.8h	v23, v23, #0
	ushll2.8h	v30, v24, #0
	ushll.8h	v24, v24, #0
	uaddw2.4s	v18, v18, v27
	add.4s	v18, v25, v18
	uaddw2.4s	v19, v19, v26
	add.4s	v19, v29, v19
	uaddw.4s	v4, v4, v27
	add.4s	v3, v3, v4
	uaddw.4s	v2, v2, v26
	add.4s	v1, v1, v2
	uaddw2.4s	v2, v17, v23
	uaddw2.4s	v4, v20, v28
	uaddw.4s	v7, v7, v23
	uaddw.4s	v5, v5, v28
	uaddw.4s	v17, v21, v24
	uaddw.4s	v20, v22, v30
	uaddw2.4s	v16, v16, v24
	uaddw2.4s	v6, v6, v30
	add.4s	v1, v1, v5
	add.4s	v3, v3, v7
	add.4s	v4, v19, v4
	add.4s	v2, v18, v2
	add.4s	v2, v2, v6
	add.4s	v4, v4, v16
	add.4s	v3, v3, v20
	add.4s	v1, v1, v17
	add.4s	v1, v1, v3
	add.4s	v2, v4, v2
	add.4s	v1, v1, v2
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w8, s0
	and	w2, w8, #0x3ffff
	add	x0, x1, #148
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	w8, #32
	strb	w8, [x19, #155]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #512
	bl	_gzwrite
	cmp	w0, #512
	csetm	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%06o"

	.no_dead_strip	_tar_write_header
.subsections_via_symbols
