	.file	"extr_namei.c_ext4_delete_entry.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ext4_delete_entry"
.LC1:
	.string	"get_write_access"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"call ext4_handle_dirty_metadata"
	.text
	.p2align 4
	.type	ext4_delete_entry, @function
ext4_delete_entry:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 8[rsi]
	mov	r14, QWORD PTR 8[rcx]
	mov	QWORD PTR 24[rsp], rdi
	mov	ebp, DWORD PTR [rax]
	mov	eax, DWORD PTR [rcx]
	mov	QWORD PTR 8[rsp], rdx
	test	eax, eax
	jle	.L2
	mov	r13, rsi
	mov	r12, rcx
	lea	r15, .LC0[rip]
	xor	ebx, ebx
	mov	QWORD PTR 16[rsp], 0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	QWORD PTR 8[rsp], r14
	je	.L12
	mov	edi, DWORD PTR [r14]
	mov	esi, ebp
	call	ext4_rec_len_from_disk@PLT
	mov	esi, ebp
	mov	rdi, r14
	add	ebx, eax
	call	ext4_next_entry@PLT
	mov	QWORD PTR 16[rsp], r14
	cmp	DWORD PTR [r12], ebx
	jle	.L2
	mov	r14, rax
.L8:
	mov	r8d, ebx
	mov	rcx, r12
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, r15
	call	ext4_check_dir_entry@PLT
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR EIO[rip]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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	eax, DWORD PTR ENOENT[rip]
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	neg	eax
	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
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	BUFFER_TRACE@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, r12
	call	ext4_journal_get_write_access@PLT
	mov	r15, QWORD PTR 16[rsp]
	test	r15, r15
	je	.L6
	mov	edi, DWORD PTR [r15]
	mov	esi, ebp
	call	ext4_rec_len_from_disk@PLT
	mov	esi, ebp
	mov	rbx, rax
	mov	rax, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR [rax]
	call	ext4_rec_len_from_disk@PLT
	mov	esi, ebp
	lea	rdi, [rbx+rax]
	call	ext4_rec_len_to_disk@PLT
	mov	DWORD PTR [r15], eax
.L7:
	add	DWORD PTR 0[r13], 1
	mov	rdi, r12
	lea	rsi, .LC2[rip]
	call	BUFFER_TRACE@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rdx, r12
	mov	rsi, r13
	call	ext4_handle_dirty_metadata@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR 8[rax], 0
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ext4_delete_entry, .-ext4_delete_entry
	.comm	ENOENT,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_namei.c_ext4_delete_entry.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ext4_delete_entry\000"
	.align	2
.LC1:
	.ascii	"get_write_access\000"
	.align	2
.LC2:
	.ascii	"call ext4_handle_dirty_metadata\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_delete_entry, %function
ext4_delete_entry:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	ip, [r3]
	mov	r7, r1
	ldr	r1, [r1, #4]
	sub	sp, sp, #20
	cmp	ip, #0
	ldr	r6, [r1]
	ldr	r4, [r3, #4]
	str	r0, [sp, #12]
	ble	.L2
	mov	r5, #0
	mov	fp, r3
	mov	r8, r2
	mov	r9, r5
	ldr	r10, .L13
	b	.L8
.L3:
	cmp	r8, r4
	beq	.L12
	mov	r1, r6
	ldr	r0, [r4]
	bl	ext4_rec_len_from_disk
	mov	r3, r0
	mov	r1, r6
	mov	r0, r4
	add	r5, r5, r3
	bl	ext4_next_entry
	ldr	r3, [fp]
	mov	r9, r4
	cmp	r3, r5
	ble	.L2
	mov	r4, r0
.L8:
	mov	r3, fp
	mov	r2, r4
	mov	r1, r7
	mov	r0, r10
	str	r5, [sp]
	bl	ext4_check_dir_entry
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L13+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	ldr	r1, .L13+12
	mov	r0, fp
	bl	BUFFER_TRACE
	mov	r1, fp
	ldr	r0, [sp, #12]
	bl	ext4_journal_get_write_access
	cmp	r9, #0
	streq	r9, [r8, #4]
	beq	.L7
	mov	r1, r6
	ldr	r0, [r9]
	bl	ext4_rec_len_from_disk
	mov	r1, r6
	mov	r4, r0
	ldr	r0, [r8]
	bl	ext4_rec_len_from_disk
	mov	r1, r6
	add	r0, r4, r0
	bl	ext4_rec_len_to_disk
	str	r0, [r9]
.L7:
	ldr	r2, [r7]
	mov	r0, fp
	add	r2, r2, #1
	str	r2, [r7]
	ldr	r1, .L13+16
	bl	BUFFER_TRACE
	mov	r2, fp
	mov	r1, r7
	ldr	r0, [sp, #12]
	bl	ext4_handle_dirty_metadata
	mov	r0, #0
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	EIO
	.word	ENOENT
	.word	.LC1
	.word	.LC2
	.size	ext4_delete_entry, .-ext4_delete_entry
	.comm	ENOENT,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
