	.file	"extr_vfs_xattr.c_xattr_validatename.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xattr_validatename
	.type	xattr_validatename, @function
xattr_validatename:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L11
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	cmp	BYTE PTR [rdi], 0
	mov	rbp, rdi
	mov	eax, DWORD PTR EINVAL[rip]
	jne	.L15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	call	strlen@PLT
	mov	esi, eax
	cdqe
	cmp	BYTE PTR 0[rbp+rax], 0
	je	.L5
	mov	eax, DWORD PTR ENAMETOOLONG[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdi, rbp
	call	utf8_validatestr@PLT
	pop	rbp
	.cfi_def_cfa_offset 8
	test	rax, rax
	mov	eax, 0
	cmovne	eax, DWORD PTR EINVAL[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore 6
	mov	eax, DWORD PTR EINVAL[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	xattr_validatename, .-xattr_validatename
	.comm	ENAMETOOLONG,4,4
	.comm	EINVAL,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_vfs_xattr.c_xattr_validatename.c"
	.text
	.align	2
	.global	xattr_validatename
	.syntax unified
	.arm
	.fpu softvfp
	.type	xattr_validatename, %function
xattr_validatename:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	beq	.L13
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	bl	strlen
	ldrb	r3, [r4, r0]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L15
	ldr	r0, [r3]
	pop	{r4, pc}
.L5:
	mov	r1, r0
	mov	r0, r4
	bl	utf8_validatestr
	cmp	r0, #0
	popeq	{r4, pc}
.L13:
	ldr	r3, .L15+4
	ldr	r0, [r3]
	pop	{r4, pc}
.L16:
	.align	2
.L15:
	.word	ENAMETOOLONG
	.word	EINVAL
	.size	xattr_validatename, .-xattr_validatename
	.comm	ENAMETOOLONG,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
