	.file	"extr_lsapi_main.c_pathlen_without_trailing_slash.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pathlen_without_trailing_slash, @function
pathlen_without_trailing_slash:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	call	strlen@PLT
	mov	r8d, eax
	cmp	eax, 1
	jle	.L1
	movzx	edx, BYTE PTR DEFAULT_SLASH[rip]
	cdqe
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	lea	r8d, -1[rax]
	sub	rax, 1
	cmp	eax, 1
	jle	.L1
.L3:
	mov	r8d, eax
	cmp	BYTE PTR -1[rbx+rax], dl
	je	.L4
.L1:
	mov	eax, r8d
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pathlen_without_trailing_slash, .-pathlen_without_trailing_slash
	.comm	DEFAULT_SLASH,1,1
	.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_lsapi_main.c_pathlen_without_trailing_slash.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pathlen_without_trailing_slash, %function
pathlen_without_trailing_slash:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	strlen
	cmp	r0, #1
	pople	{r4, pc}
	ldr	r2, .L11
	add	r3, r4, r0
	ldrb	r1, [r2]	@ zero_extendqisi2
.L3:
	ldrb	r2, [r3, #-1]!	@ zero_extendqisi2
	cmp	r2, r1
	popne	{r4, pc}
	sub	r0, r0, #1
	cmp	r0, #1
	bne	.L3
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	DEFAULT_SLASH
	.size	pathlen_without_trailing_slash, .-pathlen_without_trailing_slash
	.comm	DEFAULT_SLASH,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
