	.file	"extr_acl.c_ext3_xattr_set_acl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext3_xattr_set_acl, @function
ext3_xattr_set_acl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR POSIX_ACL[rip]
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	test_opt@PLT
	test	eax, eax
	jne	.L2
	mov	r15d, DWORD PTR EOPNOTSUPP[rip]
	neg	r15d
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbx
	call	is_owner_or_cap@PLT
	mov	r15d, DWORD PTR EPERM[rip]
	neg	r15d
	test	eax, eax
	je	.L1
	test	r13, r13
	je	.L8
	mov	rdi, r13
	mov	rsi, rbp
	call	posix_acl_from_xattr@PLT
	mov	rdi, rax
	mov	r13, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L20
	test	r13, r13
	je	.L8
	mov	rdi, r13
	call	posix_acl_valid@PLT
	mov	r15d, eax
	test	eax, eax
	je	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r13
	call	posix_acl_release@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r13d, r13d
.L6:
	lea	r14, 4[rsp]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rcx, r13
	mov	edx, r12d
	mov	rsi, rbx
	mov	rdi, rbp
	call	ext3_set_acl@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	ext3_journal_stop@PLT
	mov	eax, r15d
	add	eax, DWORD PTR ENOSPC[rip]
	jne	.L9
	mov	edi, DWORD PTR [rbx]
	mov	rsi, r14
	call	ext3_should_retry_alloc@PLT
	test	rax, rax
	je	.L9
.L11:
	mov	edi, DWORD PTR [rbx]
	call	EXT3_DATA_TRANS_BLOCKS@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	ext3_journal_start@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L10
	mov	rdi, rbp
	call	PTR_ERR@PLT
	mov	r15d, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, r13
	call	PTR_ERR@PLT
	mov	r15d, eax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext3_xattr_set_acl, .-ext3_xattr_set_acl
	.comm	POSIX_ACL,4,4
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOSPC,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_ext3_xattr_set_acl.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext3_xattr_set_acl, %function
ext3_xattr_set_acl:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r1
	ldr	r1, .L22
	mov	r6, r3
	ldr	r3, .L22+4
	sub	sp, sp, #12
	mov	r4, r0
	ldr	r1, [r1]
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r2
	str	ip, [sp]
	bl	test_opt
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L22+8
	ldr	r0, [r3]
	rsb	r5, r0, #0
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	mov	r0, r4
	bl	is_owner_or_cap
	cmp	r0, #0
	beq	.L20
	cmp	r5, #0
	beq	.L8
	mov	r1, r6
	mov	r0, r5
	bl	posix_acl_from_xattr
	mov	r8, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L21
	cmp	r8, #0
	beq	.L8
	mov	r0, r8
	bl	posix_acl_valid
	subs	r5, r0, #0
	beq	.L6
.L9:
	mov	r0, r8
	bl	posix_acl_release
	b	.L1
.L8:
	mov	r8, #0
.L6:
	ldr	r9, .L22+12
	b	.L11
.L10:
	mov	r3, r8
	mov	r2, r7
	mov	r1, r4
	mov	r0, r6
	bl	ext3_set_acl
	mov	r5, r0
	mov	r0, r6
	bl	ext3_journal_stop
	ldr	r3, [r9]
	cmn	r5, r3
	bne	.L9
	mov	r1, sp
	ldr	r0, [r4]
	bl	ext3_should_retry_alloc
	cmp	r0, #0
	beq	.L9
.L11:
	ldr	r0, [r4]
	bl	EXT3_DATA_TRANS_BLOCKS
	mov	r1, r0
	mov	r0, r4
	bl	ext3_journal_start
	mov	r6, r0
	bl	IS_ERR
	cmp	r0, #0
	beq	.L10
	mov	r0, r6
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L20:
	ldr	r3, .L22+16
	ldr	r0, [r3]
	rsb	r5, r0, #0
	b	.L1
.L21:
	mov	r0, r8
	bl	PTR_ERR
	mov	r5, r0
	b	.L1
.L19:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	POSIX_ACL
	.word	.LC0
	.word	EOPNOTSUPP
	.word	ENOSPC
	.word	EPERM
	.size	ext3_xattr_set_acl, .-ext3_xattr_set_acl
	.comm	POSIX_ACL,4,4
	.comm	EPERM,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
