	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tar_read_header
_tar_read_header:                       ## @tar_read_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 40(%r14)
	je	LBB0_11
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %r15
	movq	%rbx, %rsi
	callq	_tar_flush_unconsumed
	movq	%r13, %rdi
	movl	$512, %esi                      ## imm = 0x200
	leaq	-60(%rbp), %rdx
	callq	___archive_read_ahead
	movl	-60(%rbp), %ebx
	testl	%ebx, %ebx
	js	LBB0_58
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$511, %ebx                      ## imm = 0x1FF
	jbe	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %r12
	movq	%r15, %rbx
	movq	$512, (%r15)                    ## imm = 0x200
	cmpb	$0, (%rax)
	jne	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_archive_block_is_null
	testq	%rax, %rax
	je	LBB0_16
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r13)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ARCHIVE_FORMAT_TAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, (%r13)
	jmp	LBB0_10
LBB0_16:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_checksum
	testl	%eax, %eax
	je	LBB0_17
## %bb.18:
	movl	(%r14), %eax
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	cmpl	$32, %eax
	jl	LBB0_20
## %bb.19:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_tar_flush_unconsumed
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r13, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_3:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_5:
	movq	_ARCHIVE_ERRNO_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_55:
	movq	%r13, %rdi
	callq	_archive_set_error
LBB0_56:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_11:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_tar_flush_unconsumed
	movq	%r13, %rdi
	movl	$512, %esi                      ## imm = 0x200
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_15
## %bb.12:
	cmpb	$0, (%rax)
	jne	LBB0_15
## %bb.13:
	movq	%rax, %rdi
	callq	_archive_block_is_null
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r13, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	___archive_read_consume
LBB0_15:
	movq	%r13, %rdi
	callq	_archive_clear_error
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_17:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_tar_flush_unconsumed
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r13, %rdi
	callq	_archive_set_error
	movq	_ARCHIVE_RETRY@GOTPCREL(%rip), %rax
LBB0_57:
	movl	(%rax), %ebx
LBB0_58:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	(%r12), %rdi
	movl	(%rdi), %eax
	addl	$-65, %eax
	cmpl	$55, %eax
	ja	LBB0_30
## %bb.21:
	movq	%r14, %rsi
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_22:
	movq	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.4(%rip), %rax
	movq	%rax, (%r13)
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_Solaris_ACL
	jmp	LBB0_37
LBB0_30:
	leaq	l_.str.7(%rip), %rsi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$8, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.32:
	movl	8(%r12), %edi
	leaq	L_.str.9(%rip), %rsi
	movl	$5, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.36:
	movq	_ARCHIVE_FORMAT_TAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.11(%rip), %rax
	movq	%rax, (%r13)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_header_old_tar
	jmp	LBB0_37
LBB0_24:
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_longlink
	jmp	LBB0_37
LBB0_25:
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_longname
	jmp	LBB0_37
LBB0_26:
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_volume
	movl	%eax, %ebx
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	setne	%cl
	jmp	LBB0_38
LBB0_27:
	movq	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.6(%rip), %rax
	jmp	LBB0_28
LBB0_23:
	movq	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.5(%rip), %rax
	movq	%rax, (%r13)
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_pax_global
	movl	%eax, %ebx
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	movb	$1, %cl
	cmpl	(%rax), %ebx
	je	LBB0_58
	jmp	LBB0_38
LBB0_29:
	movq	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.5(%rip), %rax
LBB0_28:
	movq	%rax, (%r13)
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_pax_extensions
LBB0_37:
	movl	%eax, %ebx
	movb	$1, %cl
LBB0_38:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_58
## %bb.39:
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_tar_flush_unconsumed
	movl	(%r14), %edx
	decl	%edx
	movl	%edx, (%r14)
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %r9
	movl	(%r9), %edi
	cmpl	%edi, %ebx
	sete	%cl
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r12
	movl	(%r12), %r8d
	cmpl	%r8d, %ebx
	sete	%al
	orb	%cl, %al
	cmpb	$1, %al
	jne	LBB0_43
## %bb.40:
	testl	%edx, %edx
	jne	LBB0_43
## %bb.41:
	movq	%r14, %rsi
	cmpq	$0, 32(%r14)
	je	LBB0_43
## %bb.42:
	movq	%r13, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_read_mac_metadata_blob
	movq	_ARCHIVE_WARN@GOTPCREL(%rip), %r9
	cmpl	%ebx, %eax
	cmovll	%eax, %ebx
	movl	(%r9), %edi
	movl	(%r12), %r8d
LBB0_43:
	cmpl	%edi, %ebx
	je	LBB0_45
## %bb.44:
	cmpl	%r8d, %ebx
	je	LBB0_45
## %bb.52:
	movq	_ARCHIVE_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_56
## %bb.53:
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_58
## %bb.54:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_55
LBB0_45:
	cmpq	$0, 16(%r14)
	je	LBB0_58
## %bb.46:
	cmpl	$1, 4(%r14)
	jne	LBB0_51
## %bb.47:
	cmpq	$0, 8(%r14)
	je	LBB0_48
LBB0_51:
	movq	_ARCHIVE_ERRNO_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.12(%rip), %rdx
	movq	%r13, %rdi
	movq	%r9, %rbx
	callq	_archive_set_error
	movl	(%rbx), %ebx
	jmp	LBB0_58
LBB0_31:
	movq	_ARCHIVE_FORMAT_TAR_GNUTAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.8(%rip), %rax
	movq	%rax, (%r13)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%rbx, %r8
	callq	_header_gnutar
	jmp	LBB0_37
LBB0_33:
	movq	8(%r13), %rax
	movq	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_35
## %bb.34:
	movq	_ARCHIVE_FORMAT_TAR_USTAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r13)
	leaq	L_.str.10(%rip), %rax
	movq	%rax, (%r13)
LBB0_35:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	callq	_header_ustar
	jmp	LBB0_37
LBB0_48:
	movq	$0, 16(%r14)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_gnu_sparse_10_read
	testl	%eax, %eax
	js	LBB0_49
## %bb.50:
	subl	%eax, 24(%r14)
	movq	$0, 16(%r14)
	jmp	LBB0_58
LBB0_49:
	movl	%eax, %ebx
	jmp	LBB0_58
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_26
	.long	L0_0_set_30
	.long	L0_0_set_27
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_23
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_29
	.end_data_region
                                        ## -- End function
	.comm	_ARCHIVE_EOF,4,2                ## @ARCHIVE_EOF
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ## @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncated tar archive"

	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_FORMAT_TAR,8,3         ## @ARCHIVE_FORMAT_TAR
L_.str.1:                               ## @.str.1
	.asciz	"tar"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Damaged tar archive"

	.comm	_ARCHIVE_RETRY,4,2              ## @ARCHIVE_RETRY
L_.str.3:                               ## @.str.3
	.asciz	"Too many special headers"

	.comm	_ARCHIVE_WARN,4,2               ## @ARCHIVE_WARN
	.comm	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE,8,3 ## @ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE
L_.str.4:                               ## @.str.4
	.asciz	"Solaris tar"

L_.str.5:                               ## @.str.5
	.asciz	"POSIX pax interchange format"

L_.str.6:                               ## @.str.6
	.asciz	"POSIX pax interchange format (Sun variant)"

	.section	__TEXT,__const
l_.str.7:                               ## @.str.7
	.asciz	"ustar  \000"

	.comm	_ARCHIVE_FORMAT_TAR_GNUTAR,8,3  ## @ARCHIVE_FORMAT_TAR_GNUTAR
	.section	__TEXT,__cstring,cstring_literals
L_.str.8:                               ## @.str.8
	.asciz	"GNU tar format"

L_.str.9:                               ## @.str.9
	.asciz	"ustar"

	.comm	_ARCHIVE_FORMAT_TAR_USTAR,8,3   ## @ARCHIVE_FORMAT_TAR_USTAR
L_.str.10:                              ## @.str.10
	.asciz	"POSIX ustar format"

L_.str.11:                              ## @.str.11
	.asciz	"tar (non-POSIX)"

	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ## @ARCHIVE_ERRNO_MISC
L_.str.12:                              ## @.str.12
	.asciz	"Unrecognized GNU sparse file format"

	.no_dead_strip	_tar_read_header
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tar_read_header
_tar_read_header:                       ; @tar_read_header
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	w26, #512
Lloh0:
	adrp	x25, _ARCHIVE_FORMAT_TAR@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ARCHIVE_FORMAT_TAR@GOTPAGEOFF]
Lloh2:
	adrp	x27, l_.str.1@PAGE
Lloh3:
	add	x27, x27, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x21, #40]
	cbz	w8, LBB0_13
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_tar_flush_unconsumed
	add	x2, sp, #12
	mov	x0, x19
	mov	w1, #512
	bl	___archive_read_ahead
	ldr	w23, [sp, #12]
	tbnz	w23, #31, LBB0_50
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cbz	w23, LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w23, #511
	b.ls	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x24, x0
	str	x26, [x20]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x24
	bl	_archive_block_is_null
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	cbnz	x8, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x25]
	stp	x27, x8, [x19]
	b	LBB0_1
LBB0_9:
	mov	x0, x19
	mov	x1, x24
	bl	_checksum
	cbz	w0, LBB0_19
; %bb.10:
	ldr	w8, [x21]
	add	w9, w8, #1
	str	w9, [x21]
	cmp	w8, #32
	b.lt	LBB0_20
; %bb.11:
	mov	x0, x19
	mov	x1, x20
	bl	_tar_flush_unconsumed
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x2, l_.str.3@PAGE
Lloh8:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh9:
	adrp	x8, _ARCHIVE_WARN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARCHIVE_WARN@GOTPAGEOFF]
Lloh11:
	ldr	w23, [x8]
	b	LBB0_50
LBB0_12:
Lloh12:
	adrp	x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARCHIVE_ERRNO_FILE_FORMAT@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh17:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh19:
	ldr	w23, [x8]
	b	LBB0_50
LBB0_13:
	mov	x0, x19
	mov	x1, x20
	bl	_tar_flush_unconsumed
	mov	x0, x19
	mov	w1, #512
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_17
; %bb.14:
	ldrb	w8, [x0]
	cbnz	w8, LBB0_17
; %bb.15:
	bl	_archive_block_is_null
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	w1, #512
	bl	___archive_read_consume
LBB0_17:
	mov	x0, x19
	bl	_archive_clear_error
LBB0_18:
Lloh20:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh22:
	ldr	w23, [x8]
	b	LBB0_50
LBB0_19:
	mov	x0, x19
	mov	x1, x20
	bl	_tar_flush_unconsumed
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.2@PAGE
Lloh27:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
Lloh28:
	adrp	x8, _ARCHIVE_RETRY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ARCHIVE_RETRY@GOTPAGEOFF]
Lloh30:
	ldr	w23, [x8]
	b	LBB0_50
LBB0_20:
	ldr	x0, [x24]
	ldr	w8, [x0]
	sub	w8, w8, #65
	cmp	w8, #55
	b.hi	LBB0_23
; %bb.21:
Lloh31:
	adrp	x9, lJTI0_0@PAGE
Lloh32:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_22
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_22:
Lloh33:
	adrp	x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
Lloh36:
	adrp	x9, l_.str.4@PAGE
Lloh37:
	add	x9, x9, l_.str.4@PAGEOFF
	stp	x9, x8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_Solaris_ACL
	b	LBB0_33
LBB0_23:
Lloh38:
	adrp	x1, l_.str.7@PAGE
Lloh39:
	add	x1, x1, l_.str.7@PAGEOFF
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w2, #8
	bl	_memcmp
	cbz	w0, LBB0_51
; %bb.24:
	ldr	w0, [x24, #8]
Lloh40:
	adrp	x1, l_.str.9@PAGE
Lloh41:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w2, #5
	bl	_memcmp
	cbz	w0, LBB0_52
; %bb.25:
	ldr	x8, [x25]
Lloh42:
	adrp	x9, l_.str.11@PAGE
Lloh43:
	add	x9, x9, l_.str.11@PAGEOFF
	stp	x9, x8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	bl	_header_old_tar
	b	LBB0_33
LBB0_26:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_longlink
	b	LBB0_33
LBB0_27:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_longname
	b	LBB0_33
LBB0_28:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_volume
	mov	x23, x0
Lloh44:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w24, ne
	b	LBB0_35
LBB0_29:
Lloh47:
	adrp	x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
Lloh50:
	adrp	x9, l_.str.6@PAGE
Lloh51:
	add	x9, x9, l_.str.6@PAGEOFF
	b	LBB0_32
LBB0_30:
Lloh52:
	adrp	x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
Lloh55:
	adrp	x9, l_.str.5@PAGE
Lloh56:
	add	x9, x9, l_.str.5@PAGEOFF
	stp	x9, x8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_pax_global
	mov	x23, x0
Lloh57:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_34
	b	LBB0_50
LBB0_31:
Lloh60:
	adrp	x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
Lloh63:
	adrp	x9, l_.str.5@PAGE
Lloh64:
	add	x9, x9, l_.str.5@PAGEOFF
LBB0_32:
	stp	x9, x8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_pax_extensions
LBB0_33:
	mov	x23, x0
LBB0_34:
	mov	w24, #1
LBB0_35:
Lloh65:
	adrp	x25, _ARCHIVE_FATAL@GOTPAGE
Lloh66:
	ldr	x25, [x25, _ARCHIVE_FATAL@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w23, w8
	b.eq	LBB0_50
; %bb.36:
	mov	x0, x19
	mov	x1, x20
	bl	_tar_flush_unconsumed
	ldr	w8, [x21]
	sub	w10, w8, #1
	str	w10, [x21]
Lloh67:
	adrp	x26, _ARCHIVE_WARN@GOTPAGE
Lloh68:
	ldr	x26, [x26, _ARCHIVE_WARN@GOTPAGEOFF]
	ldr	w8, [x26]
Lloh69:
	adrp	x27, _ARCHIVE_OK@GOTPAGE
Lloh70:
	ldr	x27, [x27, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	w9, [x27]
	cmp	w23, w9
	ccmp	w23, w8, #4, ne
	b.ne	LBB0_40
; %bb.37:
	cbnz	w10, LBB0_40
; %bb.38:
	ldr	x10, [x21, #32]
	cbz	x10, LBB0_40
; %bb.39:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, #0
	mov	x4, x20
	bl	_read_mac_metadata_blob
	cmp	w0, w23
	csel	w23, w0, w23, lt
	ldr	w8, [x26]
	ldr	w9, [x27]
LBB0_40:
	cmp	w23, w8
	b.eq	LBB0_46
; %bb.41:
	cmp	w23, w9
	b.eq	LBB0_46
; %bb.42:
Lloh71:
	adrp	x8, _ARCHIVE_EOF@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ARCHIVE_EOF@GOTPAGEOFF]
Lloh73:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_45
; %bb.43:
	cbz	w24, LBB0_50
; %bb.44:
Lloh74:
	adrp	x8, _EINVAL@GOTPAGE
Lloh75:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
Lloh77:
	adrp	x2, l_.str.2@PAGE
Lloh78:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
LBB0_45:
	ldr	w23, [x25]
	b	LBB0_50
LBB0_46:
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_50
; %bb.47:
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.ne	LBB0_49
; %bb.48:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_55
LBB0_49:
Lloh79:
	adrp	x8, _ARCHIVE_ERRNO_MISC@GOTPAGE
Lloh80:
	ldr	x8, [x8, _ARCHIVE_ERRNO_MISC@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
Lloh82:
	adrp	x2, l_.str.12@PAGE
Lloh83:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_archive_set_error
	ldr	w23, [x26]
LBB0_50:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_51:
Lloh84:
	adrp	x8, _ARCHIVE_FORMAT_TAR_GNUTAR@GOTPAGE
Lloh85:
	ldr	x8, [x8, _ARCHIVE_FORMAT_TAR_GNUTAR@GOTPAGEOFF]
Lloh86:
	ldr	x8, [x8]
Lloh87:
	adrp	x9, l_.str.8@PAGE
Lloh88:
	add	x9, x9, l_.str.8@PAGEOFF
	stp	x9, x8, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	mov	x4, x20
	bl	_header_gnutar
	b	LBB0_33
LBB0_52:
	ldr	x8, [x19, #8]
Lloh89:
	adrp	x9, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGE
Lloh90:
	ldr	x9, [x9, _ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_54
; %bb.53:
Lloh92:
	adrp	x8, _ARCHIVE_FORMAT_TAR_USTAR@GOTPAGE
Lloh93:
	ldr	x8, [x8, _ARCHIVE_FORMAT_TAR_USTAR@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
Lloh95:
	adrp	x9, l_.str.10@PAGE
Lloh96:
	add	x9, x9, l_.str.10@PAGEOFF
	stp	x9, x8, [x19]
LBB0_54:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x24
	bl	_header_ustar
	b	LBB0_33
LBB0_55:
	str	xzr, [x21, #16]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_gnu_sparse_10_read
	tbnz	w0, #31, LBB0_57
; %bb.56:
	ldr	w8, [x21, #24]
	sub	w8, w8, w0
	str	w8, [x21, #24]
	str	xzr, [x21, #16]
	b	LBB0_50
LBB0_57:
	mov	x23, x0
	b	LBB0_50
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_26-LBB0_22)>>2
	.byte	(LBB0_27-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_28-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_29-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_30-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_23-LBB0_22)>>2
	.byte	(LBB0_31-LBB0_22)>>2
                                        ; -- End function
	.comm	_ARCHIVE_EOF,4,2                ; @ARCHIVE_EOF
	.comm	_ARCHIVE_ERRNO_FILE_FORMAT,4,2  ; @ARCHIVE_ERRNO_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncated tar archive"

	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_FORMAT_TAR,8,3         ; @ARCHIVE_FORMAT_TAR
l_.str.1:                               ; @.str.1
	.asciz	"tar"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Damaged tar archive"

	.comm	_ARCHIVE_RETRY,4,2              ; @ARCHIVE_RETRY
l_.str.3:                               ; @.str.3
	.asciz	"Too many special headers"

	.comm	_ARCHIVE_WARN,4,2               ; @ARCHIVE_WARN
	.comm	_ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE,8,3 ; @ARCHIVE_FORMAT_TAR_PAX_INTERCHANGE
l_.str.4:                               ; @.str.4
	.asciz	"Solaris tar"

l_.str.5:                               ; @.str.5
	.asciz	"POSIX pax interchange format"

l_.str.6:                               ; @.str.6
	.asciz	"POSIX pax interchange format (Sun variant)"

	.section	__TEXT,__const
l_.str.7:                               ; @.str.7
	.asciz	"ustar  \000"

	.comm	_ARCHIVE_FORMAT_TAR_GNUTAR,8,3  ; @ARCHIVE_FORMAT_TAR_GNUTAR
	.section	__TEXT,__cstring,cstring_literals
l_.str.8:                               ; @.str.8
	.asciz	"GNU tar format"

l_.str.9:                               ; @.str.9
	.asciz	"ustar"

	.comm	_ARCHIVE_FORMAT_TAR_USTAR,8,3   ; @ARCHIVE_FORMAT_TAR_USTAR
l_.str.10:                              ; @.str.10
	.asciz	"POSIX ustar format"

l_.str.11:                              ; @.str.11
	.asciz	"tar (non-POSIX)"

	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_ERRNO_MISC,4,2         ; @ARCHIVE_ERRNO_MISC
l_.str.12:                              ; @.str.12
	.asciz	"Unrecognized GNU sparse file format"

	.no_dead_strip	_tar_read_header
.subsections_via_symbols
