	.file	"extr_archive_read_support_format_tar.c_validate_number_field.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	validate_number_field, @function
validate_number_field:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	edx, BYTE PTR [rdi]
	cmp	dl, -128
	sete	cl
	cmp	dl, -1
	sete	al
	or	cl, al
	jne	.L14
	test	dl, dl
	je	.L14
	xor	eax, eax
	test	rsi, rsi
	jne	.L3
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L4:
	add	rax, 1
	cmp	rsi, rax
	je	.L14
	movzx	edx, BYTE PTR [rdi+rax]
.L3:
	cmp	dl, 32
	je	.L4
	cmp	rsi, rax
	ja	.L5
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L6:
	add	rax, 1
	cmp	rsi, rax
	je	.L14
	movzx	edx, BYTE PTR [rdi+rax]
.L5:
	lea	ecx, -48[rdx]
	cmp	cl, 7
	jbe	.L6
	cmp	rsi, rax
	jbe	.L14
	lea	rax, 1[rdi+rax]
	add	rdi, rsi
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	rdi, rax
	je	.L14
	movzx	edx, BYTE PTR [rax]
	add	rax, 1
.L7:
	and	edx, 223
	je	.L18
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, 1
	ret
	.cfi_endproc
.LFE0:
	.size	validate_number_field, .-validate_number_field
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_archive_read_support_format_tar.c_validate_number_field.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_number_field, %function
validate_number_field:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldrb	r3, [r0]	@ zero_extendqisi2
	and	r2, r3, #127
	cmp	r2, #0
	cmpne	r3, #255
	bne	.L24
.L9:
	mov	r0, #1
	bx	lr
.L24:
	cmp	r1, #0
	beq	.L9
	push	{r4, lr}
	add	ip, r0, #1
	mvn	lr, r0
	add	r4, r1, r0
	b	.L3
.L4:
	cmp	ip, r4
	beq	.L15
	ldrb	r3, [ip], #1	@ zero_extendqisi2
.L3:
	cmp	r3, #32
	add	r2, lr, ip
	beq	.L4
	cmp	r1, r2
	bls	.L15
	add	r2, r2, #1
	add	r2, r0, r2
	b	.L5
.L6:
	cmp	r2, r4
	beq	.L15
	ldrb	r3, [r2], #1	@ zero_extendqisi2
.L5:
	sub	ip, r3, #48
	cmp	ip, #7
	add	ip, r2, lr
	bls	.L6
	cmp	r1, ip
	bls	.L15
	sub	r1, r1, #1
	add	r2, r0, r1
	add	r0, r0, ip
	b	.L7
.L25:
	cmp	r2, r0
	beq	.L15
	ldrb	r3, [r0, #1]!	@ zero_extendqisi2
.L7:
	tst	r3, #223
	beq	.L25
	mov	r0, #0
	pop	{r4, pc}
.L15:
	mov	r0, #1
	pop	{r4, pc}
	.size	validate_number_field, .-validate_number_field
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
