	.file	"extr_xattr.c_ocfs2_xattr_ibody_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_xattr_ibody_init, @function
ocfs2_xattr_ibody_init:
.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	r12, rsi
	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
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	OCFS2_I@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r14, QWORD PTR [r12]
	mov	rbx, rax
	call	OCFS2_SB@PLT
	mov	rsi, r14
	mov	rdi, rbp
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 12[rsp], eax
	call	ocfs2_xattr_has_space_inline@PLT
	test	eax, eax
	jne	.L2
	mov	r15d, DWORD PTR ENOSPC[rip]
	neg	r15d
.L1:
	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	r15d, DWORD PTR OCFS2_JOURNAL_ACCESS_WRITE[rip]
	mov	rdi, rbp
	call	INODE_CACHE@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	rdx, r12
	mov	ecx, r15d
	mov	esi, eax
	call	ocfs2_journal_access_di@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR OCFS2_INLINE_DATA_FL[rip], eax
	jne	.L10
	mov	rdi, rbp
	call	ocfs2_inode_is_fast_symlink@PLT
	test	eax, eax
	je	.L11
.L6:
.L3:
	endbr64
	mov	edi, DWORD PTR 12[rsp]
	lea	rbp, 4[rbx]
	call	cpu_to_le16@PLT
	mov	rdi, rbp
	mov	QWORD PTR 8[r14], rax
	call	spin_lock@PLT
	mov	edi, DWORD PTR OCFS2_INLINE_XATTR_FL[rip]
	or	edi, DWORD PTR OCFS2_HAS_XATTR_FL[rip]
	or	edi, DWORD PTR [rbx]
	mov	DWORD PTR [rbx], edi
	call	cpu_to_le16@PLT
	mov	rdi, rbp
	mov	QWORD PTR [r14], rax
	call	spin_unlock@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	rsi, r12
	call	ocfs2_journal_dirty@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR 12[rsp]
	lea	rdi, 20[r14]
	neg	esi
	call	le16_add_cpu@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, eax
	call	mlog_errno@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	esi, DWORD PTR 12[rsp]
	lea	rdi, 16[r14]
	shr	esi, 2
	neg	esi
	call	le16_add_cpu@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	ocfs2_xattr_ibody_init, .-ocfs2_xattr_ibody_init
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	OCFS2_INLINE_XATTR_FL,4,4
	.comm	OCFS2_INLINE_DATA_FL,4,4
	.comm	OCFS2_HAS_XATTR_FL,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_xattr.c_ocfs2_xattr_ibody_init.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_xattr_ibody_init, %function
ocfs2_xattr_ibody_init:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r4, r0
	mov	r8, r2
	bl	OCFS2_I
	mov	r6, r0
	ldr	r0, [r4]
	ldr	r9, [r5]
	bl	OCFS2_SB
	mov	r3, r0
	mov	r1, r9
	mov	r0, r4
	ldr	r10, [r3]
	bl	ocfs2_xattr_has_space_inline
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L12
	ldr	r7, [r3]
	rsb	r7, r7, #0
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, r4
	ldr	r7, [r8]
	bl	INODE_CACHE
	ldr	r3, .L12+4
	mov	r1, r0
	mov	r2, r5
	mov	r0, r7
	ldr	r3, [r3]
	bl	ocfs2_journal_access_di
	subs	r7, r0, #0
	bne	.L9
	ldr	r3, .L12+8
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L10
	mov	r0, r4
	bl	ocfs2_inode_is_fast_symlink
	cmp	r0, #0
	beq	.L11
.L6:
.L3:
	mov	r0, r10
	bl	cpu_to_le16
	add	r4, r6, #4
	str	r0, [r9, #4]
	mov	r0, r4
	bl	spin_lock
	ldr	r2, .L12+12
	ldr	r3, .L12+16
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldr	r3, [r6]
	orr	r0, r0, r2
	orr	r0, r0, r3
	str	r0, [r6]
	bl	cpu_to_le16
	mov	r3, r0
	mov	r0, r4
	str	r3, [r9]
	bl	spin_unlock
	mov	r1, r5
	ldr	r0, [r8]
	bl	ocfs2_journal_dirty
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	rsb	r1, r10, #0
	add	r0, r9, #12
	bl	le16_add_cpu
	b	.L6
.L9:
	bl	mlog_errno
	b	.L1
.L11:
	lsr	r1, r10, #2
	rsb	r1, r1, #0
	add	r0, r9, #8
	bl	le16_add_cpu
	b	.L6
.L13:
	.align	2
.L12:
	.word	ENOSPC
	.word	OCFS2_JOURNAL_ACCESS_WRITE
	.word	OCFS2_INLINE_DATA_FL
	.word	OCFS2_INLINE_XATTR_FL
	.word	OCFS2_HAS_XATTR_FL
	.size	ocfs2_xattr_ibody_init, .-ocfs2_xattr_ibody_init
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	OCFS2_INLINE_XATTR_FL,4,4
	.comm	OCFS2_INLINE_DATA_FL,4,4
	.comm	OCFS2_HAS_XATTR_FL,4,4
	.comm	ENOSPC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
