	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isValidTarHeader               ## -- Begin function isValidTarHeader
	.p2align	4, 0x90
_isValidTarHeader:                      ## @isValidTarHeader
	.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	%rdi, %rbx
	callq	_tarChecksum
	movl	%eax, %r14d
	leaq	148(%rbx), %rdi
	movl	$8, %esi
	callq	_read_tar_number
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	jne	LBB0_7
## %bb.1:
	leaq	257(%rbx), %r14
	leaq	l_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	addq	$263, %rbx                      ## imm = 0x107
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	leaq	l_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	leaq	l_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$8, %edx
	callq	_memcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	jmp	LBB0_7
LBB0_6:
	movl	$1, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.asciz	"ustar\000"

	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"00"

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

l_.str.3:                               ## @.str.3
	.asciz	"ustar00\000"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isValidTarHeader               ; -- Begin function isValidTarHeader
	.p2align	2
_isValidTarHeader:                      ; @isValidTarHeader
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	_tarChecksum
	mov	x19, x0
	add	x0, x20, #148
	mov	w1, #8
	bl	_read_tar_number
	cmp	w0, w19
	b.ne	LBB0_5
; %bb.1:
	add	x19, x20, #257
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_3
; %bb.2:
	add	x0, x20, #263
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_6
LBB0_3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_memcmp
	cbz	x0, LBB0_6
; %bb.4:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.asciz	"ustar\000"

	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"00"

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

l_.str.3:                               ; @.str.3
	.asciz	"ustar00\000"

.subsections_via_symbols
