	.file	"extr_acl.c_jfs_set_acl.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	jfs_set_acl
	.type	jfs_set_acl, @function
jfs_set_acl:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rdx, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rdi
	mov	edi, DWORD PTR 12[rdi]
	mov	QWORD PTR [rsp], rsi
	xor	esi, esi
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rcx
	xor	ecx, ecx
	mov	QWORD PTR 16[rsp], rdx
	call	txBegin@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	ebp, eax
	call	JFS_IP@PLT
	mov	rdi, rax
	call	mutex_lock@PLT
	cmp	DWORD PTR ACL_TYPE_ACCESS[rip], r13d
	mov	rcx, QWORD PTR [rsp]
	mov	r8, QWORD PTR 8[rsp]
	jne	.L3
	test	rcx, rcx
	je	.L3
	mov	rdx, rsp
	lea	rsi, 16[rsp]
	mov	rdi, r8
	call	posix_acl_update_mode@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	r8, QWORD PTR 8[rsp]
	mov	rcx, QWORD PTR [rsp]
	mov	rax, QWORD PTR 16[rsp]
	cmp	QWORD PTR [r8], rax
	je	.L3
	mov	edx, r13d
	mov	rsi, r8
	mov	edi, ebp
	call	__jfs_set_acl@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	r12, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR 16[rsp]
	mov	QWORD PTR [r12], rax
	mov	rdi, r12
	call	current_time@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR 8[r12], eax
	call	mark_inode_dirty@PLT
.L7:
	lea	rdx, 8[rsp]
	xor	ecx, ecx
	mov	esi, 1
	mov	edi, ebp
	call	txCommit@PLT
	mov	r12d, eax
.L4:
	mov	edi, ebp
	call	txEnd@PLT
	mov	rdi, QWORD PTR 8[rsp]
	call	JFS_IP@PLT
	mov	rdi, rax
	call	mutex_unlock@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edx, r13d
	mov	rsi, r8
	mov	edi, ebp
	call	__jfs_set_acl@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	jmp	.L7
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	jfs_set_acl, .-jfs_set_acl
	.comm	ACL_TYPE_ACCESS,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_jfs_set_acl.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	jfs_set_acl
	.syntax unified
	.arm
	.fpu softvfp
	.type	jfs_set_acl, %function
jfs_set_acl:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	ip, [r0]
	sub	sp, sp, #20
	ldr	r3, .L19
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r0, [r0, #8]
	mov	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r2
	str	ip, [sp, #8]
	bl	txBegin
	mov	r5, r0
	ldr	r0, [sp, #4]
	bl	JFS_IP
	bl	mutex_lock
	ldr	r3, .L19+4
	ldr	r7, [r3]
	cmp	r7, r6
	bne	.L2
	ldr	r3, [sp]
	ldr	r1, [sp, #4]
	cmp	r3, #0
	beq	.L3
	mov	r0, r1
	mov	r2, sp
	add	r1, sp, #8
	bl	posix_acl_update_mode
	subs	r4, r0, #0
	bne	.L4
	ldmib	sp, {r1, r2}
	ldr	r0, [r1]
	ldr	r3, [sp]
	cmp	r0, r2
	beq	.L3
	mov	r2, r7
	mov	r0, r5
	bl	__jfs_set_acl
	subs	r4, r0, #0
	bne	.L4
	ldr	r4, [sp, #4]
	ldr	r3, [sp, #8]
	mov	r0, r4
	str	r3, [r4]
	bl	current_time
	mov	r3, r0
	ldr	r0, [sp, #4]
	str	r3, [r4, #4]
	bl	mark_inode_dirty
.L7:
	mov	r3, #0
	mov	r1, #1
	mov	r0, r5
	add	r2, sp, #4
	bl	txCommit
	mov	r4, r0
.L4:
	mov	r0, r5
	bl	txEnd
	ldr	r0, [sp, #4]
	bl	JFS_IP
	bl	mutex_unlock
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L2:
	ldr	r1, [sp, #4]
	ldr	r3, [sp]
.L3:
	mov	r2, r6
	mov	r0, r5
	bl	__jfs_set_acl
	subs	r4, r0, #0
	bne	.L4
	b	.L7
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	ACL_TYPE_ACCESS
	.size	jfs_set_acl, .-jfs_set_acl
	.comm	ACL_TYPE_ACCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
