	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function archive_read_format_tar_bid
_archive_read_format_tar_bid:           ## @archive_read_format_tar_bid
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$512, %esi                      ## imm = 0x200
	xorl	%edx, %edx
	callq	___archive_read_ahead
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	cmpb	$0, (%rax)
	je	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_checksum
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_21
## %bb.5:
	movl	40(%r15), %edi
	leaq	l_.str(%rip), %rsi
	movl	$6, %edx
	callq	_memcmp
	movl	$48, %ebx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movl	36(%r15), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	movl	$104, %eax
	movl	$48, %ebx
	cmovel	%eax, %ebx
LBB0_7:
	movl	40(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$6, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movl	36(%r15), %edi
	leaq	l_.str.3(%rip), %rsi
	movl	$2, %edx
	callq	_memcmp
	leal	56(%rbx), %ecx
	testq	%rax, %rax
	cmovnel	%ebx, %ecx
	movl	%ecx, %ebx
LBB0_9:
	movq	(%r15), %rax
	movb	(%rax), %al
	leal	-65(%rax), %ecx
	cmpb	$26, %cl
	jb	LBB0_13
## %bb.10:
	testb	%al, %al
	je	LBB0_13
## %bb.11:
	leal	-48(%rax), %ecx
	cmpb	$10, %cl
	jb	LBB0_13
## %bb.12:
	addb	$-97, %al
	cmpb	$25, %al
	ja	LBB0_21
LBB0_13:
	movl	32(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.14:
	movl	28(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movl	24(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.16:
	movl	20(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.17:
	movl	16(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movl	12(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:
	movl	8(%r15), %edi
	movl	$4, %esi
	callq	_validate_number_field
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	addl	$2, %ebx
	movl	%ebx, %r14d
	jmp	LBB0_21
LBB0_1:
	movl	$-1, %r14d
	jmp	LBB0_21
LBB0_3:
	movq	%r15, %rdi
	callq	_archive_block_is_null
	movl	$10, %r14d
	testq	%rax, %rax
	je	LBB0_4
LBB0_21:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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"

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

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

	.no_dead_strip	_archive_read_format_tar_bid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function archive_read_format_tar_bid
_archive_read_format_tar_bid:           ; @archive_read_format_tar_bid
	.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
	mov	w1, #512
	mov	x2, #0
	bl	___archive_read_ahead
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_18
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_checksum
	cbz	w0, LBB0_20
; %bb.3:
	ldr	w0, [x19, #40]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_memcmp
	mov	w20, #48
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x19, #36]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #2
	bl	_memcmp
	cmp	x0, #0
	mov	w8, #104
	csel	w20, w8, w20, eq
LBB0_5:
	ldr	w0, [x19, #40]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #6
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.6:
	ldr	w0, [x19, #36]
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #2
	bl	_memcmp
	add	w8, w20, #56
	cmp	x0, #0
	csel	w20, w8, w20, eq
LBB0_7:
	ldr	x8, [x19]
	ldrb	w8, [x8]
	sub	w9, w8, #48
	sub	w10, w8, #65
	sub	w11, w8, #97
	cmp	w10, #26
	ccmp	w8, #0, #4, hs
	ccmp	w9, #10, #0, ne
	ccmp	w11, #25, #0, hs
	b.hi	LBB0_17
; %bb.8:
	ldr	w0, [x19, #32]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.9:
	ldr	w0, [x19, #28]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.10:
	ldr	w0, [x19, #24]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.11:
	ldr	w0, [x19, #20]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.12:
	ldr	w0, [x19, #16]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.13:
	ldr	w0, [x19, #12]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.14:
	ldr	w0, [x19, #8]
	mov	w1, #4
	bl	_validate_number_field
	cbz	x0, LBB0_17
; %bb.15:
	add	w0, w20, #2
	b	LBB0_20
LBB0_16:
	mov	w0, #-1
	b	LBB0_20
LBB0_17:
	mov	w0, #0
	b	LBB0_20
LBB0_18:
	mov	x0, x19
	bl	_archive_block_is_null
	cbz	x0, LBB0_2
; %bb.19:
	mov	w0, #10
LBB0_20:
	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"

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

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

	.no_dead_strip	_archive_read_format_tar_bid
.subsections_via_symbols
