	.file	"extr_orphan.c_erase_deleted.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"deleting orphan ino %lu"
	.text
	.p2align 4
	.type	erase_deleted, @function
erase_deleted:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	r15, 4[rdi]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	r13, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, r15
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	lea	r14, 16[r12]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	spin_lock@PLT
	mov	rbx, QWORD PTR 8[r12]
	test	rbx, rbx
	je	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rbp, rbx
	xor	edi, edi
	mov	rbx, QWORD PTR 24[rbx]
	mov	eax, DWORD PTR 16[rbp]
	test	eax, eax
	sete	dil
	call	ubifs_assert@PLT
	mov	rsi, r14
	lea	rdi, 12[rbp]
	call	rb_erase@PLT
	lea	rdi, 8[rbp]
	call	list_del@PLT
	sub	DWORD PTR [r12], 1
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdi, r13
	call	dbg_gen@PLT
	mov	rdi, rbp
	call	kfree@PLT
	test	rbx, rbx
	jne	.L3
.L4:
	mov	QWORD PTR 8[r12], 0
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r15
	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
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	erase_deleted, .-erase_deleted
	.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_orphan.c_erase_deleted.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"deleting orphan ino %lu\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	erase_deleted, %function
erase_deleted:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	add	r9, r0, #4
	mov	r0, r9
	bl	spin_lock
	ldr	r5, [r6, #8]
	cmp	r5, #0
	ldrne	r8, .L8
	addne	r7, r6, #12
	beq	.L4
.L3:
	ldr	r0, [r5, #12]
	mov	r4, r5
	clz	r0, r0
	lsr	r0, r0, #5
	ldr	r5, [r5, #16]
	bl	ubifs_assert
	mov	r1, r7
	add	r0, r4, #8
	bl	rb_erase
	add	r0, r4, #4
	bl	list_del
	ldr	r3, [r6]
	ldr	r1, [r4]
	sub	r3, r3, #1
	str	r3, [r6]
	mov	r0, r8
	bl	dbg_gen
	mov	r0, r4
	bl	kfree
	cmp	r5, #0
	bne	.L3
.L4:
	mov	r3, #0
	mov	r0, r9
	str	r3, [r6, #8]
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	spin_unlock
.L9:
	.align	2
.L8:
	.word	.LC0
	.size	erase_deleted, .-erase_deleted
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
