	.file	"extr_xattr.c___ocfs2_remove_xattr_range.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__ocfs2_remove_xattr_range, @function
__ocfs2_remove_xattr_range:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	esi, ecx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	edi, DWORD PTR [rdi]
	mov	DWORD PTR 24[rsp], r9d
	mov	r13, QWORD PTR 112[rsp]
	lea	r14, 36[rsp]
	mov	DWORD PTR 20[rsp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	ocfs2_clusters_to_blocks@PLT
	mov	rdi, rbp
	mov	r15, QWORD PTR 8[r13]
	mov	DWORD PTR 28[rsp], eax
	call	INODE_CACHE@PLT
	mov	rdx, rbx
	mov	rdi, r14
	mov	esi, eax
	call	ocfs2_init_xattr_value_extent_tree@PLT
	mov	r8, QWORD PTR [rbx]
	mov	edx, DWORD PTR 8[rbx]
	mov	rdi, rbp
	mov	ecx, DWORD PTR OCFS2_JOURNAL_ACCESS_WRITE[rip]
	mov	QWORD PTR 8[rsp], r8
	mov	DWORD PTR 16[rsp], ecx
	mov	DWORD PTR 4[rsp], edx
	call	INODE_CACHE@PLT
	mov	ecx, DWORD PTR 16[rsp]
	mov	edx, DWORD PTR 4[rsp]
	mov	rdi, r15
	mov	r8, QWORD PTR 8[rsp]
	mov	esi, eax
	call	r8
	mov	r10d, DWORD PTR 20[rsp]
	test	eax, eax
	jne	.L14
	mov	r8d, DWORD PTR 4[r13]
	mov	r9, r13
	mov	ecx, r12d
	mov	edx, r10d
	mov	rsi, r14
	mov	rdi, r15
	call	ocfs2_remove_extent@PLT
	mov	r8d, eax
	test	eax, eax
	jne	.L12
	mov	rdi, QWORD PTR 16[rbx]
	mov	esi, r12d
	neg	esi
	call	le32_add_cpu@PLT
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r15
	call	ocfs2_journal_dirty@PLT
	mov	eax, DWORD PTR 24[rsp]
	test	DWORD PTR OCFS2_EXT_REFCOUNTED[rip], eax
	je	.L5
	mov	esi, DWORD PTR 28[rsp]
	mov	edi, DWORD PTR 0[rbp]
	mov	ebx, DWORD PTR 4[r13]
	call	ocfs2_blocks_to_clusters@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 120
	mov	r9, r13
	mov	ecx, r12d
	push	1
	.cfi_def_cfa_offset 128
	mov	edx, eax
	mov	r8d, ebx
	mov	rsi, r15
	mov	rdi, rbp
	call	ocfs2_decrease_refcount@PLT
	mov	r8d, eax
	pop	rax
	.cfi_def_cfa_offset 120
	pop	rdx
	.cfi_def_cfa_offset 112
.L6:
	test	r8d, r8d
	jne	.L12
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 56
	.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
.L12:
	.cfi_restore_state
.L3:
	endbr64
	mov	edi, r8d
	mov	DWORD PTR 4[rsp], r8d
	call	mlog_errno@PLT
	mov	r8d, DWORD PTR 4[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	mov	edi, eax
	mov	DWORD PTR 4[rsp], eax
	call	mlog_errno@PLT
	mov	r8d, DWORD PTR 4[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	esi, DWORD PTR 28[rsp]
	mov	edx, r12d
	mov	rdi, r13
	call	ocfs2_cache_cluster_dealloc@PLT
	mov	r8d, eax
	jmp	.L6
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__ocfs2_remove_xattr_range, .-__ocfs2_remove_xattr_range
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	OCFS2_EXT_REFCOUNTED,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_xattr.c___ocfs2_remove_xattr_range.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ocfs2_remove_xattr_range, %function
__ocfs2_remove_xattr_range:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r1
	mov	r1, r3
	ldr	r3, .L15
	sub	sp, sp, #28
	mov	r6, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r8, r2
	ldr	r7, [sp, #72]
	ldr	fp, [sp, #64]
	bl	ocfs2_clusters_to_blocks
	mov	r9, r0
	mov	r0, r6
	ldr	r10, [r7, #8]
	bl	INODE_CACHE
	mov	r2, r5
	mov	r1, r0
	add	r0, sp, #16
	bl	ocfs2_init_xattr_value_extent_tree
	mov	r0, r6
	ldr	r4, [r5]
	bl	INODE_CACHE
	ldr	r3, .L15+4
	mov	r1, r0
	ldr	r2, [r5, #4]
	mov	r0, r10
	ldr	r3, [r3]
	blx	r4
	subs	r4, r0, #0
	bne	.L12
	ldr	r3, [r7, #4]
	mov	r2, r8
	str	r3, [sp]
	mov	r0, r10
	mov	r3, fp
	str	r7, [sp, #4]
	add	r1, sp, #16
	bl	ocfs2_remove_extent
	subs	r4, r0, #0
	bne	.L12
	rsb	r1, fp, #0
	ldr	r0, [r5, #8]
	bl	le32_add_cpu
	mov	r0, r10
	ldr	r1, [r5, #4]
	bl	ocfs2_journal_dirty
	ldr	r3, .L15+8
	ldr	r2, [sp, #68]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L5
	mov	r1, r9
	ldr	r0, [r6]
	bl	ocfs2_blocks_to_clusters
	mov	ip, #1
	ldr	r3, [r7, #4]
	mov	r2, r0
	stm	sp, {r3, r7}
	mov	r1, r10
	mov	r3, fp
	mov	r0, r6
	str	ip, [sp, #8]
	bl	ocfs2_decrease_refcount
	mov	r4, r0
.L6:
	cmp	r4, #0
	beq	.L1
	mov	r0, r4
.L12:
	bl	mlog_errno
.L3:
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	mov	r2, fp
	mov	r1, r9
	mov	r0, r7
	bl	ocfs2_cache_cluster_dealloc
	mov	r4, r0
	b	.L6
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	OCFS2_JOURNAL_ACCESS_WRITE
	.word	OCFS2_EXT_REFCOUNTED
	.size	__ocfs2_remove_xattr_range, .-__ocfs2_remove_xattr_range
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	OCFS2_EXT_REFCOUNTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
