	.file	"extr_xattr.c_remove_xattr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	remove_xattr, @function
remove_xattr:
.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
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	mov	rdi, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	ubifs_inode@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	ubifs_inode@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	esi, 8
	mov	r15, rax
	movabs	rax, 4294967298
	mov	QWORD PTR 44[rsp], rax
	call	ALIGN@PLT
	mov	rdx, QWORD PTR 0[rbp]
	xor	edi, edi
	cmp	QWORD PTR [r15], rdx
	sete	dil
	mov	QWORD PTR 8[rsp], r15
	lea	r15, 44[rsp]
	mov	DWORD PTR 52[rsp], eax
	call	ubifs_assert@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	ubifs_budget_space@PLT
	mov	r8d, eax
	test	eax, eax
	je	.L7
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
.L7:
	.cfi_restore_state
	lea	r9, 12[rbx]
	mov	rdi, r9
	mov	QWORD PTR 16[rsp], r9
	call	mutex_lock@PLT
	mov	rdi, r12
	call	ubifs_current_time@PLT
	mov	rdi, QWORD PTR [r14]
	mov	DWORD PTR 8[r12], eax
	sub	DWORD PTR 8[rbx], 1
	call	CALC_DENT_SIZE@PLT
	sub	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rax]
	call	CALC_XATTR_BYTES@PLT
	sub	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR [r14]
	mov	rcx, r14
	sub	DWORD PTR 20[rbx], eax
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r13
	call	ubifs_jnl_delete_xattr@PLT
	mov	r9, QWORD PTR 16[rsp]
	test	eax, eax
	jne	.L9
	mov	rdi, r9
	mov	DWORD PTR 8[rsp], eax
	call	mutex_unlock@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	ubifs_release_budget@PLT
	mov	r8d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	add	DWORD PTR 8[rbx], 1
	mov	rdi, QWORD PTR [r14]
	mov	DWORD PTR 28[rsp], eax
	call	CALC_DENT_SIZE@PLT
	add	DWORD PTR 16[rbx], eax
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rax]
	call	CALC_XATTR_BYTES@PLT
	add	DWORD PTR 16[rbx], eax
	mov	r9, QWORD PTR 16[rsp]
	mov	rdi, r9
	call	mutex_unlock@PLT
	mov	rsi, r15
	mov	rdi, r13
	call	ubifs_release_budget@PLT
	mov	rdi, rbp
	call	make_bad_inode@PLT
	mov	r8d, DWORD PTR 28[rsp]
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	remove_xattr, .-remove_xattr
	.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_xattr.c_remove_xattr.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_xattr, %function
remove_xattr:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r10, r3
	ldr	r3, .L10
	sub	sp, sp, #20
	mov	r8, r0
	mov	r0, r1
	mov	r6, r2
	mov	r7, r1
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ubifs_inode
	mov	r4, r0
	mov	r0, r6
	bl	ubifs_inode
	mov	r2, #2
	mov	r3, #1
	mov	r1, #8
	mov	r9, r0
	ldr	r0, [r4]
	stm	sp, {r2, r3}
	bl	ALIGN
	ldr	r2, [r6]
	mov	r3, r0
	ldr	r0, [r9]
	str	r3, [sp, #8]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ubifs_assert
	mov	r0, r8
	mov	r1, sp
	bl	ubifs_budget_space
	subs	r5, r0, #0
	beq	.L7
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r5
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	add	fp, r4, #8
	mov	r0, fp
	bl	mutex_lock
	mov	r0, r7
	bl	ubifs_current_time
	ldr	r3, [r4, #4]
	str	r0, [r7, #4]
	sub	r3, r3, #1
	str	r3, [r4, #4]
	ldr	r0, [r10]
	bl	CALC_DENT_SIZE
	mov	r2, r0
	ldr	r3, [r4, #12]
	ldr	r0, [r9]
	sub	r3, r3, r2
	str	r3, [r4, #12]
	bl	CALC_XATTR_BYTES
	ldr	r1, [r10]
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #16]
	sub	r0, r2, r0
	sub	r3, r3, r1
	str	r0, [r4, #12]
	str	r3, [r4, #16]
	mov	r1, r7
	mov	r3, r10
	mov	r2, r6
	mov	r0, r8
	bl	ubifs_jnl_delete_xattr
	subs	r5, r0, #0
	bne	.L9
	mov	r0, fp
	bl	mutex_unlock
	mov	r1, sp
	mov	r0, r8
	bl	ubifs_release_budget
	b	.L1
.L9:
	ldr	r3, [r4, #4]
	ldr	r0, [r10]
	add	r3, r3, #1
	str	r3, [r4, #4]
	bl	CALC_DENT_SIZE
	mov	r2, r0
	ldr	r3, [r4, #12]
	ldr	r0, [r9]
	add	r3, r3, r2
	str	r3, [r4, #12]
	bl	CALC_XATTR_BYTES
	mov	r2, r0
	ldr	r3, [r4, #12]
	mov	r0, fp
	add	r3, r3, r2
	str	r3, [r4, #12]
	bl	mutex_unlock
	mov	r1, sp
	mov	r0, r8
	bl	ubifs_release_budget
	mov	r0, r6
	bl	make_bad_inode
	b	.L1
.L8:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC0
	.size	remove_xattr, .-remove_xattr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
