	.file	"extr_acl.c_btrfs_xattr_set_acl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	btrfs_xattr_set_acl, @function
btrfs_xattr_set_acl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	is_owner_or_cap@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR EPERM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	IS_POSIXACL@PLT
	test	eax, eax
	je	.L15
	test	r14, r14
	je	.L8
	mov	rdi, r14
	mov	rsi, r12
	call	posix_acl_from_xattr@PLT
	mov	rdi, rax
	mov	r14, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L16
	test	r14, r14
	je	.L8
	mov	rdi, r14
	call	posix_acl_valid@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L9
.L6:
	mov	ecx, r13d
	mov	rdx, r14
	mov	rsi, rbp
	xor	edi, edi
	call	btrfs_set_acl@PLT
	mov	r12d, eax
.L9:
	mov	rdi, r14
	call	posix_acl_release@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	r14d, r14d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, r14
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	PTR_ERR@PLT
	.cfi_endproc
.LFE0:
	.size	btrfs_xattr_set_acl, .-btrfs_xattr_set_acl
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,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.c_btrfs_xattr_set_acl.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	btrfs_xattr_set_acl, %function
btrfs_xattr_set_acl:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, r2
	mov	r6, r3
	mov	r7, r0
	bl	is_owner_or_cap
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L17
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r0, r7
	bl	IS_POSIXACL
	cmp	r0, #0
	beq	.L15
	cmp	r4, #0
	beq	.L8
	mov	r1, r6
	mov	r0, r4
	bl	posix_acl_from_xattr
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L16
	cmp	r6, #0
	beq	.L8
	mov	r0, r6
	bl	posix_acl_valid
	subs	r4, r0, #0
	bne	.L9
.L6:
	mov	r3, r5
	mov	r1, r7
	mov	r2, r6
	mov	r0, #0
	bl	btrfs_set_acl
	mov	r4, r0
.L9:
	mov	r0, r6
	bl	posix_acl_release
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r6, #0
	b	.L6
.L15:
	ldr	r3, .L17+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, lr}
	b	PTR_ERR
.L18:
	.align	2
.L17:
	.word	EPERM
	.word	EOPNOTSUPP
	.size	btrfs_xattr_set_acl, .-btrfs_xattr_set_acl
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
