	.file	"extr_tar.c_name_split.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	name_split, @function
name_split:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rdx, DWORD PTR TNMSZ[rip]
	mov	rax, rdi
	cmp	edx, esi
	jge	.L1
	mov	ecx, DWORD PTR TPFSZ[rip]
	lea	eax, [rdx+rcx]
	cmp	eax, esi
	jl	.L9
	movsx	rax, esi
	sub	rax, rdx
	lea	rax, [rdi+rax]
	movzx	edx, BYTE PTR [rax]
	cmp	dl, 47
	je	.L3
	test	dl, dl
	je	.L9
	.p2align 4,,10
	.p2align 3
.L4:
	movzx	edx, BYTE PTR 1[rax]
	add	rax, 1
	test	dl, dl
	je	.L9
	cmp	dl, 47
	jne	.L4
.L3:
	test	dl, dl
	je	.L9
	mov	rdx, rax
	sub	rdx, rdi
	cmp	eax, edi
	je	.L9
	cmp	ecx, edx
	jl	.L9
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	name_split, .-name_split
	.comm	TPFSZ,4,4
	.comm	TNMSZ,4,4
	.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_tar.c_name_split.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	name_split, %function
name_split:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, .L14
	mov	r2, r0
	ldr	r0, [r3]
	cmp	r0, r1
	bge	.L5
	ldr	r3, .L14+4
	ldr	ip, [r3]
	add	r3, r0, ip
	cmp	r3, r1
	blt	.L6
	sub	r1, r1, r0
	ldrb	r3, [r2, r1]	@ zero_extendqisi2
	add	r0, r2, r1
	cmp	r3, #47
	cmpne	r3, #0
	beq	.L3
.L4:
	ldrb	r3, [r0, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	cmpne	r3, #47
	bne	.L4
.L3:
	cmp	r3, #0
	beq	.L6
	subs	r2, r0, r2
	moveq	r3, #1
	movne	r3, #0
	cmp	ip, r2
	movge	r2, r3
	orrlt	r2, r3, #1
	cmp	r2, #0
	movne	r0, #0
	bx	lr
.L6:
	mov	r0, #0
	bx	lr
.L5:
	mov	r0, r2
	bx	lr
.L15:
	.align	2
.L14:
	.word	TNMSZ
	.word	TPFSZ
	.size	name_split, .-name_split
	.comm	TPFSZ,4,4
	.comm	TNMSZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
