	.file	"extr_acl_valid.c_acl_valid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	acl_valid
	.type	acl_valid, @function
acl_valid:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L12
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR ACL_BRAND_POSIX[rip]
	mov	rbp, rdi
	call	_acl_brand_may_be@PLT
	test	eax, eax
	je	.L13
	mov	rdi, rbp
	call	_posix1e_acl_sort@PLT
	mov	rdi, rbp
	call	_posix1e_acl_check@PLT
	test	eax, eax
	jne	.L14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	DWORD PTR errno[rip], eax
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	mov	eax, -1
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	DWORD PTR errno[rip], eax
	mov	eax, -1
	ret
.L12:
	.cfi_restore 6
	mov	eax, DWORD PTR EINVAL[rip]
	mov	DWORD PTR errno[rip], eax
	mov	eax, -1
	ret
	.cfi_endproc
.LFE0:
	.size	acl_valid, .-acl_valid
	.comm	errno,4,4
	.comm	EINVAL,4,4
	.comm	ACL_BRAND_POSIX,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_acl_valid.c_acl_valid.c"
	.text
	.align	2
	.global	acl_valid
	.syntax unified
	.arm
	.fpu softvfp
	.type	acl_valid, %function
acl_valid:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	beq	.L9
	ldr	r3, .L11
	ldr	r1, [r3]
	bl	_acl_brand_may_be
	cmp	r0, #0
	beq	.L9
	mov	r0, r4
	bl	_posix1e_acl_sort
	mov	r0, r4
	bl	_posix1e_acl_check
	cmp	r0, #0
	ldrne	r3, .L11+4
	strne	r0, [r3]
	mvnne	r0, #0
	pop	{r4, pc}
.L9:
	ldr	r2, .L11+8
	ldr	r3, .L11+4
	ldr	r2, [r2]
	mvn	r0, #0
	str	r2, [r3]
	pop	{r4, pc}
.L12:
	.align	2
.L11:
	.word	ACL_BRAND_POSIX
	.word	errno
	.word	EINVAL
	.size	acl_valid, .-acl_valid
	.comm	errno,4,4
	.comm	EINVAL,4,4
	.comm	ACL_BRAND_POSIX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
