	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ustar_header_chksum
_ustar_header_chksum:                   ## @ustar_header_chksum
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	cmpq	%rcx, %rdi
	jae	LBB0_1
## %bb.2:
	movq	%rcx, %rdx
	subq	%rdi, %rdx
	movzbl	%cl, %eax
	cmpq	$1, %rdx
	je	LBB0_13
## %bb.3:
	leaq	1(%rdi), %rdx
	movq	%rdi, %r10
	notq	%r10
	addq	%rcx, %r10
	cmpq	$8, %r10
	jb	LBB0_12
## %bb.4:
	movq	%r10, %r8
	andq	$-8, %r8
	movd	%eax, %xmm0
	leaq	-8(%r8), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%r9, %rsi
	andq	$-2, %rsi
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	pmovzxbd	1(%rdi,%rax), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm0, %xmm2
	pmovzxbd	5(%rdi,%rax), %xmm3             ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm1, %xmm3
	pmovzxbd	9(%rdi,%rax), %xmm0             ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	13(%rdi,%rax), %xmm1            ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	addq	$16, %rax
	addq	$-2, %rsi
	jne	LBB0_7
## %bb.8:
	testb	$1, %r9b
	je	LBB0_10
LBB0_9:
	pmovzxbd	(%rdx,%rax), %xmm2              ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	pmovzxbd	4(%rdx,%rax), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm1
LBB0_10:
	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, %eax
	cmpq	%r8, %r10
	je	LBB0_13
## %bb.11:
	addq	%r8, %rdx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %esi
	addl	%esi, %eax
	incq	%rdx
	cmpq	%rcx, %rdx
	jne	LBB0_12
LBB0_13:
	addl	$256, %eax                      ## imm = 0x100
	jmp	LBB0_14
LBB0_1:
	movl	$256, %eax                      ## imm = 0x100
	movq	%rdi, %rcx
LBB0_14:
	leaq	8(%rcx), %rdx
	leaq	8(%rdi), %r10
	cmpq	%r10, %rdx
	jae	LBB0_25
## %bb.15:
	subq	%rcx, %rdi
	cmpq	$8, %rdi
	jb	LBB0_24
## %bb.16:
	movq	%rdi, %r8
	andq	$-8, %r8
	movd	%eax, %xmm0
	leaq	-8(%r8), %rax
	movq	%rax, %r9
	shrq	$3, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	%r9, %rsi
	andq	$-2, %rsi
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	pmovzxbd	8(%rcx,%rax), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm0, %xmm2
	pmovzxbd	12(%rcx,%rax), %xmm3            ## xmm3 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm1, %xmm3
	pmovzxbd	16(%rcx,%rax), %xmm0            ## xmm0 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	pmovzxbd	20(%rcx,%rax), %xmm1            ## xmm1 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	paddd	%xmm3, %xmm1
	addq	$16, %rax
	addq	$-2, %rsi
	jne	LBB0_19
## %bb.20:
	testb	$1, %r9b
	je	LBB0_22
LBB0_21:
	pmovzxbd	(%rdx,%rax), %xmm2              ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm0
	pmovzxbd	4(%rdx,%rax), %xmm2             ## xmm2 = mem[0],zero,zero,zero,mem[1],zero,zero,zero,mem[2],zero,zero,zero,mem[3],zero,zero,zero
	paddd	%xmm2, %xmm1
LBB0_22:
	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, %eax
	cmpq	%r8, %rdi
	je	LBB0_25
## %bb.23:
	addq	%r8, %rdx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdx), %ecx
	incq	%rdx
	addl	%ecx, %eax
	cmpq	%r10, %rdx
	jb	LBB0_24
LBB0_25:
	popq	%rbp
	retq
LBB0_17:
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_21
	jmp	LBB0_22
LBB0_5:
	pxor	%xmm1, %xmm1
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ustar_header_chksum
.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 ustar_header_chksum
lCPI0_0:
	.byte	12                              ; 0xc
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	13                              ; 0xd
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	14                              ; 0xe
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	15                              ; 0xf
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_1:
	.byte	0                               ; 0x0
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	1                               ; 0x1
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	2                               ; 0x2
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	3                               ; 0x3
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_2:
	.byte	4                               ; 0x4
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	5                               ; 0x5
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	6                               ; 0x6
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	7                               ; 0x7
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
lCPI0_3:
	.byte	8                               ; 0x8
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	9                               ; 0x9
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	10                              ; 0xa
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	11                              ; 0xb
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.byte	255                             ; 0xff
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ustar_header_chksum:                   ; @ustar_header_chksum
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	cmp	x0, x9
	b.hs	LBB0_8
; %bb.1:
	sub	x8, x9, x0
	and	w11, w9, #0xff
	cmp	x8, #1
	b.eq	LBB0_15
; %bb.2:
	add	x8, x0, #1
	mvn	x10, x0
	add	x10, x9, x10
	cmp	x10, #8
	b.lo	LBB0_14
; %bb.3:
	cmp	x10, #16
	b.hs	LBB0_9
; %bb.4:
	mov	x12, #0
LBB0_5:
	and	x13, x10, #0xfffffffffffffff8
	add	x8, x8, x13
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w11
	add	x11, x12, x0
	add	x11, x11, #1
	sub	x12, x12, x13
Lloh0:
	adrp	x14, lCPI0_1@PAGE
Lloh1:
	ldr	q2, [x14, lCPI0_1@PAGEOFF]
Lloh2:
	adrp	x14, lCPI0_2@PAGE
Lloh3:
	ldr	q3, [x14, lCPI0_2@PAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x11], #8
	tbl.16b	v5, { v4 }, v2
	tbl.16b	v4, { v4 }, v3
	add.4s	v0, v0, v4
	add.4s	v1, v1, v5
	adds	x12, x12, #8
	b.ne	LBB0_6
; %bb.7:
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w11, s0
	cmp	x10, x13
	b.ne	LBB0_14
	b	LBB0_15
LBB0_8:
	mov	w8, #256
	mov	x9, x0
	b	LBB0_16
LBB0_9:
	and	x12, x10, #0xfffffffffffffff0
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w11
	add	x11, x0, #1
Lloh4:
	adrp	x13, lCPI0_0@PAGE
Lloh5:
	ldr	q2, [x13, lCPI0_0@PAGEOFF]
Lloh6:
	adrp	x13, lCPI0_1@PAGE
Lloh7:
	ldr	q3, [x13, lCPI0_1@PAGEOFF]
Lloh8:
	adrp	x13, lCPI0_2@PAGE
Lloh9:
	ldr	q4, [x13, lCPI0_2@PAGEOFF]
Lloh10:
	adrp	x13, lCPI0_3@PAGE
Lloh11:
	ldr	q5, [x13, lCPI0_3@PAGEOFF]
	mov	x13, x12
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	q16, [x11], #16
	tbl.16b	v17, { v16 }, v2
	tbl.16b	v18, { v16 }, v3
	tbl.16b	v19, { v16 }, v4
	tbl.16b	v16, { v16 }, v5
	add.4s	v6, v6, v16
	add.4s	v0, v0, v19
	add.4s	v1, v1, v18
	add.4s	v7, v7, v17
	subs	x13, x13, #16
	b.ne	LBB0_10
; %bb.11:
	add.4s	v1, v1, v6
	add.4s	v0, v0, v7
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w11, s0
	cmp	x10, x12
	b.eq	LBB0_15
; %bb.12:
	tbnz	w10, #3, LBB0_5
; %bb.13:
	add	x8, x8, x12
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x8], #1
	add	w11, w11, w10
	cmp	x8, x9
	b.ne	LBB0_14
LBB0_15:
	add	w8, w11, #256
LBB0_16:
	add	x10, x9, #8
	add	x11, x0, #8
	cmp	x10, x11
	b.hs	LBB0_29
; %bb.17:
	sub	x12, x0, x9
	cmp	x12, #8
	b.lo	LBB0_28
; %bb.18:
	adrp	x13, lCPI0_1@PAGE
	adrp	x14, lCPI0_2@PAGE
	cmp	x12, #16
	b.hs	LBB0_23
; %bb.19:
	mov	x15, #0
LBB0_20:
	and	x16, x12, #0xfffffffffffffff8
	add	x10, x10, x16
	movi.2d	v0, #0000000000000000
	mov.s	v0[0], w8
	movi.2d	v1, #0000000000000000
	add	x8, x15, x9
	add	x8, x8, #8
	sub	x9, x15, x16
	ldr	q2, [x13, lCPI0_1@PAGEOFF]
	ldr	q3, [x14, lCPI0_2@PAGEOFF]
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	d4, [x8], #8
	tbl.16b	v5, { v4 }, v2
	tbl.16b	v4, { v4 }, v3
	add.4s	v1, v1, v4
	add.4s	v0, v0, v5
	adds	x9, x9, #8
	b.ne	LBB0_21
; %bb.22:
	add.4s	v0, v0, v1
	addv.4s	s0, v0
	fmov	w8, s0
	cmp	x12, x16
	b.ne	LBB0_28
	b	LBB0_29
LBB0_23:
	and	x15, x12, #0xfffffffffffffff0
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov.s	v1[0], w8
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	q2, [x8, lCPI0_0@PAGEOFF]
	ldr	q3, [x13, lCPI0_1@PAGEOFF]
	ldr	q4, [x14, lCPI0_2@PAGEOFF]
Lloh14:
	adrp	x8, lCPI0_3@PAGE
Lloh15:
	ldr	q5, [x8, lCPI0_3@PAGEOFF]
	mov	x8, x15
	mov	x16, x10
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	q16, [x16], #16
	tbl.16b	v17, { v16 }, v2
	tbl.16b	v18, { v16 }, v3
	tbl.16b	v19, { v16 }, v4
	tbl.16b	v16, { v16 }, v5
	add.4s	v6, v6, v16
	add.4s	v0, v0, v19
	add.4s	v1, v1, v18
	add.4s	v7, v7, v17
	subs	x8, x8, #16
	b.ne	LBB0_24
; %bb.25:
	add.4s	v1, v1, v6
	add.4s	v0, v0, v7
	add.4s	v0, v1, v0
	addv.4s	s0, v0
	fmov	w8, s0
	cmp	x12, x15
	b.eq	LBB0_29
; %bb.26:
	tbnz	w12, #3, LBB0_20
; %bb.27:
	add	x10, x10, x15
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x10], #1
	add	w8, w8, w9
	cmp	x10, x11
	b.lo	LBB0_28
LBB0_29:
	mov	x0, x8
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdr	Lloh10, Lloh11
	.loh AdrpAdrp	Lloh8, Lloh10
	.loh AdrpLdr	Lloh8, Lloh9
	.loh AdrpAdrp	Lloh6, Lloh8
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpAdrp	Lloh4, Lloh6
	.loh AdrpLdr	Lloh4, Lloh5
	.loh AdrpLdr	Lloh14, Lloh15
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ustar_header_chksum
.subsections_via_symbols
