	.file	"extr_dir.c_ocfs2_delete_entry_dx.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Dir %llu: Bad dx_entry ptr idx %d, (%p, %p)\n"
	.align 8
.LC1:
	.string	"Dir %llu: delete entry at index: %d\n"
	.text
	.p2align 4
	.type	ocfs2_delete_entry_dx, @function
ocfs2_delete_entry_dx:
.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
	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, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR 32[rdx]
	mov	r14, QWORD PTR 24[rdx]
	mov	QWORD PTR 8[rsp], rdi
	mov	r15, QWORD PTR 16[rdx]
	mov	r13, QWORD PTR 8[rax]
	mov	QWORD PTR 16[rsp], rax
	mov	rdi, r13
	lea	r12, 8[r13]
	call	ocfs2_dx_root_inline@PLT
	test	rax, rax
	jne	.L3
	mov	rax, QWORD PTR [rbx]
	mov	r12, QWORD PTR 8[rax]
.L3:
	mov	edi, DWORD PTR 16[r12]
	call	le16_to_cpu@PLT
	xor	edi, edi
	test	eax, eax
	setle	dil
	call	BUG_ON@PLT
	mov	edi, DWORD PTR [r12]
	call	le16_to_cpu@PLT
	xor	edi, edi
	test	eax, eax
	setle	dil
	call	BUG_ON@PLT
	mov	rax, r15
	sub	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [r12]
	cdqe
	shr	rax, 2
	mov	QWORD PTR [rsp], rax
	call	le16_to_cpu@PLT
	cmp	eax, DWORD PTR [rsp]
	jle	.L17
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, r14
	call	ocfs2_trailer_from_bh@PLT
	mov	r15d, DWORD PTR OCFS2_JOURNAL_ACCESS_WRITE[rip]
	mov	rdi, rbp
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 32[rsp], rax
	call	INODE_CACHE@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	ecx, r15d
	mov	esi, eax
	call	ocfs2_journal_access_dr@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L15
	mov	rdi, r13
	call	ocfs2_dx_root_inline@PLT
	test	rax, rax
	jne	.L7
	mov	ecx, DWORD PTR OCFS2_JOURNAL_ACCESS_WRITE[rip]
	mov	r15, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	DWORD PTR 44[rsp], ecx
	call	INODE_CACHE@PLT
	mov	ecx, DWORD PTR 44[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rdx, r15
	mov	esi, eax
	call	ocfs2_journal_access_dl@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L15
.L7:
	mov	rdi, rbp
	call	OCFS2_I@PLT
	mov	ecx, DWORD PTR [rsp]
	lea	rsi, .LC1[rip]
	xor	edi, edi
	mov	rdx, QWORD PTR [rax]
	xor	eax, eax
	call	mlog@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	r9d, DWORD PTR 4[r14]
	mov	rcx, r14
	mov	r8, QWORD PTR 8[r14]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbp
	call	__ocfs2_delete_entry@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L15
	mov	edi, DWORD PTR 0[rbp]
	mov	rsi, r14
	call	ocfs2_find_max_rec_len@PLT
	mov	edi, eax
	call	cpu_to_le16@PLT
	mov	rcx, QWORD PTR 24[rsp]
	cmp	QWORD PTR 32[rsp], 0
	mov	QWORD PTR [rcx], rax
	je	.L18
.L9:
	mov	rsi, r14
	mov	r14, QWORD PTR 8[rsp]
	mov	rdi, r14
	call	ocfs2_journal_dirty@PLT
	mov	esi, -1
	mov	rdi, r13
	call	le32_add_cpu@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r14
	call	ocfs2_journal_dirty@PLT
	mov	esi, DWORD PTR [rsp]
	mov	rdi, r12
	call	ocfs2_dx_list_remove_entry@PLT
	mov	rdi, r13
	call	ocfs2_dx_root_inline@PLT
	test	rax, rax
	jne	.L1
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, QWORD PTR 8[rsp]
	call	ocfs2_journal_dirty@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, r15d
	call	mlog_errno@PLT
.L1:
	add	rsp, 56
	.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
.L17:
	.cfi_restore_state
	mov	rdi, rbp
	call	OCFS2_I@PLT
	mov	ecx, DWORD PTR [rsp]
	mov	r9, r15
	mov	r8, r12
	mov	rdx, QWORD PTR [rax]
	mov	edi, DWORD PTR ML_ERROR[rip]
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	mlog@PLT
	mov	r15d, DWORD PTR EIO[rip]
	neg	r15d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	eax, DWORD PTR 4[r13]
	mov	edi, DWORD PTR [r14]
	mov	DWORD PTR 8[rcx], eax
	call	cpu_to_le64@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	DWORD PTR 4[r13], eax
	call	ocfs2_journal_dirty@PLT
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	ocfs2_delete_entry_dx, .-ocfs2_delete_entry_dx
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	ML_ERROR,4,4
	.comm	EIO,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_delete_entry_dx.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Dir %llu: Bad dx_entry ptr idx %d, (%p, %p)\012\000"
	.align	2
.LC1:
	.ascii	"Dir %llu: delete entry at index: %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_delete_entry_dx, %function
ocfs2_delete_entry_dx:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r10, [r2, #16]
	sub	sp, sp, #36
	ldr	r8, [r10, #8]
	mov	r7, r0
	mov	r0, r8
	mov	r4, r2
	ldr	fp, [r2, #8]
	mov	r5, r1
	ldr	r9, [r2, #12]
	bl	ocfs2_dx_root_inline
	cmp	r0, #0
	ldreq	r3, [r4]
	addne	r6, r8, #8
	ldreq	r6, [r3, #8]
	ldr	r0, [r6, #8]
	bl	le16_to_cpu
	cmp	r0, #0
	movgt	r0, #0
	movle	r0, #1
	bl	BUG_ON
	ldr	r0, [r6]
	bl	le16_to_cpu
	cmp	r0, #0
	movgt	r0, #0
	movle	r0, #1
	bl	BUG_ON
	ldm	r6, {r0, r3}
	sub	r3, fp, r3
	lsr	r3, r3, #2
	str	r3, [sp, #20]
	bl	le16_to_cpu
	ldr	r3, [sp, #20]
	cmp	r0, r3
	ble	.L17
	ldr	r1, [r5]
	mov	r0, r9
	bl	ocfs2_trailer_from_bh
	mov	r3, r0
	ldr	r3, [r3]
	str	r0, [sp, #24]
	mov	r0, r5
	str	r3, [sp, #28]
	bl	INODE_CACHE
	ldr	r3, .L19
	mov	r1, r0
	mov	r2, r10
	mov	r0, r7
	ldr	r3, [r3]
	bl	ocfs2_journal_access_dr
	subs	fp, r0, #0
	bne	.L15
	mov	r0, r8
	bl	ocfs2_dx_root_inline
	cmp	r0, #0
	bne	.L7
	mov	r0, r5
	bl	INODE_CACHE
	ldr	r3, .L19
	mov	r1, r0
	ldr	r3, [r3]
	mov	r0, r7
	ldr	r2, [r4]
	bl	ocfs2_journal_access_dl
	subs	fp, r0, #0
	bne	.L15
.L7:
	mov	r0, r5
	bl	OCFS2_I
	ldr	r3, [sp, #20]
	ldr	r2, [r0]
	ldr	r1, .L19+4
	str	r3, [sp]
	mov	r0, #0
	asr	r3, r2, #31
	bl	mlog
	ldr	r2, [r9, #4]
	mov	r3, r9
	str	r2, [sp, #4]
	ldr	r1, [r9, #8]
	ldr	r2, [r4, #4]
	mov	r0, r7
	str	r1, [sp]
	mov	r1, r5
	bl	__ocfs2_delete_entry
	subs	fp, r0, #0
	bne	.L15
	mov	r1, r9
	ldr	r0, [r5]
	bl	ocfs2_find_max_rec_len
	bl	cpu_to_le16
	ldr	r3, [sp, #28]
	cmp	r3, #0
	ldr	r3, [sp, #24]
	str	r0, [r3]
	beq	.L18
.L9:
	mov	r1, r9
	mov	r0, r7
	bl	ocfs2_journal_dirty
	mvn	r1, #0
	mov	r0, r8
	bl	le32_add_cpu
	mov	r1, r10
	mov	r0, r7
	bl	ocfs2_journal_dirty
	ldr	r1, [sp, #20]
	mov	r0, r6
	bl	ocfs2_dx_list_remove_entry
	mov	r0, r8
	bl	ocfs2_dx_root_inline
	subs	r5, r0, #0
	bne	.L1
	mov	r0, r7
	ldr	r1, [r4]
	bl	ocfs2_journal_dirty
	mov	fp, r5
	b	.L1
.L15:
	bl	mlog_errno
.L1:
	mov	r0, fp
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	ldr	r3, .L19+8
	mov	r0, r5
	ldr	r4, [r3]
	bl	OCFS2_I
	ldr	r3, [sp, #20]
	ldr	r2, [r0]
	ldr	r1, .L19+12
	stmib	sp, {r6, fp}
	str	r3, [sp]
	mov	r0, r4
	asr	r3, r2, #31
	bl	mlog
	ldr	r3, .L19+16
	ldr	r3, [r3]
	rsb	fp, r3, #0
	mov	r0, fp
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r2, [r8, #4]
	ldr	r0, [r9]
	str	r2, [r3, #4]
	bl	cpu_to_le64
	mov	r1, r10
	str	r0, [r8, #4]
	mov	r0, r7
	bl	ocfs2_journal_dirty
	b	.L9
.L20:
	.align	2
.L19:
	.word	OCFS2_JOURNAL_ACCESS_WRITE
	.word	.LC1
	.word	ML_ERROR
	.word	.LC0
	.word	EIO
	.size	ocfs2_delete_entry_dx, .-ocfs2_delete_entry_dx
	.comm	OCFS2_JOURNAL_ACCESS_WRITE,4,4
	.comm	ML_ERROR,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
