	.file	"extr_acl.c___ext4_set_acl.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
	.text
	.p2align 4
	.type	__ext4_set_acl, @function
__ext4_set_acl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 16[rsp], 0
	cmp	edx, 128
	je	.L2
	mov	edx, DWORD PTR EXT4_XATTR_INDEX_POSIX_ACL_ACCESS[rip]
	cmp	ebp, 129
	je	.L4
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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	edx, DWORD PTR EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT[rip]
	mov	edi, DWORD PTR [rsi]
	mov	DWORD PTR [rsp], edx
	call	S_ISDIR@PLT
	mov	edx, DWORD PTR [rsp]
	test	eax, eax
	mov	r12d, eax
	je	.L18
.L4:
	test	r13, r13
	je	.L8
	lea	rsi, 16[rsp]
	mov	rdi, r13
	mov	DWORD PTR 12[rsp], edx
	call	ext4_acl_to_disk@PLT
	mov	rdi, rax
	mov	QWORD PTR [rsp], rax
	call	IS_ERR@PLT
	mov	r8, QWORD PTR [rsp]
	mov	edx, DWORD PTR 12[rsp]
	test	rax, rax
	jne	.L19
.L6:
	sub	rsp, 8
	.cfi_def_cfa_offset 104
	lea	rcx, .LC0[rip]
	mov	rsi, r14
	mov	rdi, r15
	push	rbx
	.cfi_def_cfa_offset 112
	mov	r9, QWORD PTR 32[rsp]
	mov	QWORD PTR 16[rsp], r8
	call	ext4_xattr_set_handle@PLT
	mov	r8, QWORD PTR 16[rsp]
	mov	r12d, eax
	mov	rdi, r8
	call	kfree@PLT
	pop	rax
	.cfi_def_cfa_offset 104
	pop	rdx
	.cfi_def_cfa_offset 96
	test	r12d, r12d
	jne	.L1
	mov	rdx, r13
	mov	esi, ebp
	mov	rdi, r14
	call	set_cached_acl@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r8d, r8d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	test	r13, r13
	je	.L1
	mov	r12d, DWORD PTR EACCES[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rdi, r8
	call	PTR_ERR@PLT
	mov	r12d, eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__ext4_set_acl, .-__ext4_set_acl
	.comm	EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT,4,4
	.comm	EXT4_XATTR_INDEX_POSIX_ACL_ACCESS,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,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___ext4_set_acl.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ext4_set_acl, %function
__ext4_set_acl:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r2
	mov	r2, #0
	mov	r6, r3
	ldr	r3, .L20
	sub	sp, sp, #24
	cmp	r5, #128
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r8, r0
	mov	r7, r1
	str	r2, [sp, #16]
	beq	.L2
	cmp	r5, #129
	bne	.L3
	ldr	r3, .L20+4
	ldr	r10, [r3]
.L4:
	cmp	r6, #0
	beq	.L8
	add	r1, sp, #16
	mov	r0, r6
	bl	ext4_acl_to_disk
	mov	r9, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L17
.L6:
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #56]
	mov	r1, r7
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	mov	r2, r10
	ldr	r3, .L20+8
	mov	r0, r8
	str	r9, [sp]
	bl	ext4_xattr_set_handle
	mov	r4, r0
	mov	r0, r9
	bl	kfree
	cmp	r4, #0
	beq	.L18
.L1:
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r3, .L20+12
	ldr	r0, [r1]
	ldr	r10, [r3]
	bl	S_ISDIR
	subs	r4, r0, #0
	bne	.L4
	cmp	r6, #0
	ldrne	r3, .L20+16
	ldrne	r4, [r3]
	rsbne	r4, r4, #0
	b	.L1
.L3:
	ldr	r3, .L20+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L8:
	mov	r9, r6
	b	.L6
.L18:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r7
	bl	set_cached_acl
	b	.L1
.L17:
	mov	r0, r9
	bl	PTR_ERR
	mov	r4, r0
	b	.L1
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC1
	.word	EXT4_XATTR_INDEX_POSIX_ACL_ACCESS
	.word	.LC0
	.word	EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT
	.word	EACCES
	.word	EINVAL
	.size	__ext4_set_acl, .-__ext4_set_acl
	.comm	EXT4_XATTR_INDEX_POSIX_ACL_DEFAULT,4,4
	.comm	EXT4_XATTR_INDEX_POSIX_ACL_ACCESS,4,4
	.comm	EINVAL,4,4
	.comm	EACCES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
