	.file	"extr_dirent_uri.c_relpath_is_canonical.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	relpath_is_canonical, @function
relpath_is_canonical:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 47
	je	.L28
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	cmp	al, 46
	jne	.L4
	movzx	eax, BYTE PTR 1[rdi]
	cmp	al, 47
	je	.L25
	test	al, al
	je	.L25
.L4:
	mov	rdi, rbp
	call	strlen@PLT
	mov	ebx, eax
	cmp	eax, 1
	jle	.L26
	movsx	rdx, eax
	movzx	eax, BYTE PTR -1[rbp+rdx]
	cmp	al, 47
	je	.L25
	cmp	al, 46
	jne	.L8
	cmp	BYTE PTR -2[rbp+rdx], 47
	je	.L25
.L8:
	mov	edx, ebx
	mov	esi, 46
	mov	rdi, rbp
	call	memchr@PLT
	test	rax, rax
	jne	.L11
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdi, 1[rax]
	mov	esi, 46
	call	strchr@PLT
	test	rax, rax
	je	.L9
.L11:
	cmp	rbp, rax
	jnb	.L10
	cmp	BYTE PTR -1[rax], 47
	jne	.L10
	cmp	BYTE PTR 1[rax], 47
	jne	.L10
.L25:
	mov	eax, DWORD PTR FALSE[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	ecx, -2[rbx]
	movzx	eax, BYTE PTR 0[rbp]
	mov	rdi, rbp
	add	rcx, rbp
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	movzx	edx, BYTE PTR 1[rdi]
	sal	eax, 8
	add	rdi, 1
	movzx	eax, ax
	add	eax, edx
	cmp	eax, 12079
	je	.L25
.L12:
	cmp	rcx, rdi
	jne	.L13
.L26:
	mov	eax, DWORD PTR TRUE[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	.cfi_restore 3
	.cfi_restore 6
	mov	eax, DWORD PTR FALSE[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	relpath_is_canonical, .-relpath_is_canonical
	.comm	TRUE,4,4
	.comm	FALSE,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_dirent_uri.c_relpath_is_canonical.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	relpath_is_canonical, %function
relpath_is_canonical:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L31
	cmp	r3, #46
	push	{r4, r5, r6, lr}
	mov	r4, r0
	beq	.L32
.L4:
	mov	r0, r4
	bl	strlen
	cmp	r0, #1
	mov	r5, r0
	ble	.L28
	add	r2, r4, r0
	ldrb	r3, [r2, #-1]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L29
	cmp	r3, #46
	bne	.L7
	ldrb	r3, [r2, #-2]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L29
.L7:
	mov	r2, r5
	mov	r1, #46
	mov	r0, r4
	bl	memchr
	subs	r3, r0, #0
	bne	.L10
	b	.L8
.L9:
	mov	r1, #46
	bl	strchr
	subs	r3, r0, #0
	beq	.L8
.L10:
	cmp	r4, r3
	add	r0, r3, #1
	bcs	.L9
	ldrb	r2, [r3, #-1]	@ zero_extendqisi2
	cmp	r2, #47
	bne	.L9
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L9
.L29:
	ldr	r3, .L33
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L8:
	sub	r1, r4, #2
	mov	r2, r4
	ldrb	r3, [r4]	@ zero_extendqisi2
	ldr	r0, .L33+4
	ldr	ip, .L33+8
	add	r5, r1, r5
	b	.L11
.L12:
	ldrb	r1, [r2, #1]!	@ zero_extendqisi2
	add	r3, r1, r3
	cmp	r3, ip
	beq	.L29
.L11:
	cmp	r5, r2
	and	r3, r0, r3, lsl #8
	bne	.L12
.L28:
	ldr	r3, .L33+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, pc}
.L32:
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #0
	cmpne	r3, #47
	bne	.L4
	b	.L29
.L31:
	ldr	r3, .L33
	ldr	r0, [r3]
	bx	lr
.L34:
	.align	2
.L33:
	.word	FALSE
	.word	65535
	.word	12079
	.word	TRUE
	.size	relpath_is_canonical, .-relpath_is_canonical
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
