	.file	"extr_dir.c_ocfs2_dx_dir_insert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_dx_dir_insert, @function
ocfs2_dx_dir_insert:
.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, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR 24[rdx]
	mov	r13d, DWORD PTR OCFS2_JOURNAL_ACCESS_WRITE[rip]
	call	INODE_CACHE@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	ecx, r13d
	mov	rdx, r12
	call	ocfs2_journal_access_dr@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR 24[rbx]
	mov	r13, QWORD PTR [rax]
	mov	rdi, r13
	call	ocfs2_dx_root_inline@PLT
	lea	rdx, 16[rbx]
	test	rax, rax
	mov	rax, QWORD PTR 8[rbx]
	jne	.L10
	mov	r8d, DWORD PTR [rbx]
	mov	ecx, DWORD PTR [rax]
	mov	rsi, rbp
	mov	rdi, r14
	call	__ocfs2_dx_dir_leaf_insert@PLT
	test	eax, eax
	jne	.L6
.L5:
	mov	esi, 1
	mov	rdi, r13
	call	le32_add_cpu@PLT
	mov	rsi, r12
	mov	rdi, rbp
	call	ocfs2_journal_dirty@PLT
.L1:
	add	rsp, 8
	.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
.L10:
	.cfi_restore_state
	mov	ecx, DWORD PTR [rax]
	mov	r8, r13
	mov	rsi, rbp
	mov	rdi, r14
	call	ocfs2_dx_inline_root_insert@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, eax
	call	mlog_errno@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
.L3:
	endbr64
	mov	r15d, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ocfs2_dx_dir_insert, .-ocfs2_dx_dir_insert
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,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_dir.c_ocfs2_dx_dir_insert.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_dx_dir_insert, %function
ocfs2_dx_dir_insert:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r5, r1
	mov	r4, r2
	ldr	r8, [r2, #12]
	mov	r7, r0
	bl	INODE_CACHE
	ldr	r3, .L11
	mov	r1, r0
	mov	r2, r8
	mov	r0, r5
	ldr	r3, [r3]
	bl	ocfs2_journal_access_dr
	subs	r6, r0, #0
	bne	.L9
	ldr	r3, [r4, #12]
	ldr	r9, [r3]
	mov	r0, r9
	bl	ocfs2_dx_root_inline
	cmp	r0, #0
	ldr	r3, [r4, #4]
	add	r2, r4, #8
	bne	.L10
.L3:
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, r7
	str	r1, [sp]
	mov	r1, r5
	bl	__ocfs2_dx_dir_leaf_insert
	cmp	r0, #0
	movne	r6, r0
	bne	.L1
.L5:
	mov	r1, #1
	mov	r0, r9
	bl	le32_add_cpu
	mov	r1, r8
	mov	r0, r5
	bl	ocfs2_journal_dirty
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L10:
	ldr	r3, [r3]
	mov	r0, r7
	mov	r1, r5
	str	r9, [sp]
	bl	ocfs2_dx_inline_root_insert
	b	.L5
.L9:
	bl	mlog_errno
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L12:
	.align	2
.L11:
	.word	OCFS2_JOURNAL_ACCESS_WRITE
	.size	ocfs2_dx_dir_insert, .-ocfs2_dx_dir_insert
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
