	.file	"extr_util.c_ovl_cleanup_index.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"overlayfs: cleanup linked index (%pd2, ino=%lu, nlink=%u)\n"
	.align 8
.LC1:
	.string	"overlayfs: cleanup index of '%pd2' failed (%i)\n"
	.text
	.p2align 4
	.type	ovl_cleanup_index, @function
ovl_cleanup_index:
.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, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ovl_indexdir@PLT
	mov	rdi, rbp
	mov	r15, QWORD PTR 8[rax]
	mov	r13, rax
	call	ovl_dentry_lower@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	ovl_dentry_upper@PLT
	mov	rdi, r12
	mov	rsi, rsp
	mov	QWORD PTR [rsp], 0
	mov	r14, rax
	call	ovl_get_index_name@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L17
.L2:
	mov	edx, r12d
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
.L4:
	mov	edi, DWORD PTR [rsp]
	call	kfree@PLT
	mov	rdi, rbx
	call	dput@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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, r14
	call	d_inode@PLT
	mov	edi, DWORD PTR 8[rax]
	mov	r12, rax
	call	S_ISDIR@PLT
	test	eax, eax
	jne	.L3
	mov	ecx, DWORD PTR [r12]
	cmp	ecx, 1
	jne	.L19
.L3:
	mov	esi, DWORD PTR I_MUTEX_PARENT[rip]
	mov	rdi, r15
	call	inode_lock_nested@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR [rsp]
	mov	rsi, r13
	call	lookup_one_len@PLT
	mov	rbx, rax
	mov	rdi, rax
	call	PTR_ERR@PLT
	mov	rdi, rbx
	mov	r12d, eax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L20
	xor	ebx, ebx
.L5:
	mov	rdi, r15
	call	inode_unlock@PLT
	test	r12d, r12d
	je	.L4
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edi, DWORD PTR 0[rbp]
	call	ovl_index_all@PLT
	test	rax, rax
	je	.L6
	mov	rdx, rbx
	mov	rsi, r15
	mov	rdi, r13
	call	ovl_cleanup_and_whiteout@PLT
	mov	r12d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edx, DWORD PTR 4[r12]
	mov	rsi, r14
	lea	rdi, .LC0[rip]
	call	pr_warn_ratelimited@PLT
	mov	r12d, DWORD PTR [r12]
	mov	rdi, rbp
	call	d_inode@PLT
	sub	r12d, 1
	mov	rdi, rax
	mov	esi, r12d
	call	set_nlink@PLT
	mov	rdi, rbp
	call	ovl_set_nlink_upper@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbx
	mov	rdi, r15
	call	ovl_cleanup@PLT
	mov	r12d, eax
	jmp	.L5
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ovl_cleanup_index, .-ovl_cleanup_index
	.comm	I_MUTEX_PARENT,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_util.c_ovl_cleanup_index.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"overlayfs: cleanup linked index (%pd2, ino=%lu, nli"
	.ascii	"nk=%u)\012\000"
	.align	2
.LC1:
	.ascii	"overlayfs: cleanup index of '%pd2' failed (%i)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ovl_cleanup_index, %function
ovl_cleanup_index:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L20
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	ovl_indexdir
	mov	r8, r0
	mov	r0, r5
	ldr	r7, [r8, #4]
	bl	ovl_dentry_lower
	mov	r6, r0
	mov	r0, r5
	bl	ovl_dentry_upper
	mov	r4, #0
	mov	r9, r0
	add	r1, sp, #4
	mov	r0, r6
	str	r4, [sp, #4]
	str	r4, [sp, #8]
	bl	ovl_get_index_name
	subs	r6, r0, #0
	beq	.L16
.L2:
	mov	r2, r6
	mov	r1, r5
	ldr	r0, .L20+4
	bl	pr_err
.L4:
	ldr	r0, [sp, #4]
	bl	kfree
	mov	r0, r4
	bl	dput
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	mov	r0, r9
	bl	d_inode
	mov	r6, r0
	ldr	r0, [r0, #8]
	bl	S_ISDIR
	subs	r4, r0, #0
	bne	.L3
	ldr	r3, [r6]
	cmp	r3, #1
	bne	.L18
.L3:
	ldr	r3, .L20+8
	mov	r0, r7
	ldr	r1, [r3]
	bl	inode_lock_nested
	mov	r1, r8
	ldr	r2, [sp, #8]
	ldr	r0, [sp, #4]
	bl	lookup_one_len
	mov	r4, r0
	bl	PTR_ERR
	mov	r6, r0
	mov	r0, r4
	bl	IS_ERR
	cmp	r0, #0
	movne	r4, #0
	beq	.L19
.L5:
	mov	r0, r7
	bl	inode_unlock
	cmp	r6, #0
	beq	.L4
	b	.L2
.L19:
	ldr	r0, [r5]
	bl	ovl_index_all
	cmp	r0, #0
	beq	.L6
	mov	r0, r8
	mov	r2, r4
	mov	r1, r7
	bl	ovl_cleanup_and_whiteout
	mov	r6, r0
	b	.L5
.L18:
	mov	r1, r9
	ldr	r2, [r6, #4]
	ldr	r0, .L20+12
	bl	pr_warn_ratelimited
	mov	r0, r5
	bl	d_inode
	ldr	r1, [r6]
	sub	r1, r1, #1
	bl	set_nlink
	mov	r0, r5
	bl	ovl_set_nlink_upper
	b	.L4
.L6:
	mov	r1, r4
	mov	r0, r7
	bl	ovl_cleanup
	mov	r6, r0
	b	.L5
.L17:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	.LC2
	.word	.LC1
	.word	I_MUTEX_PARENT
	.word	.LC0
	.size	ovl_cleanup_index, .-ovl_cleanup_index
	.comm	I_MUTEX_PARENT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
