	.file	"extr_dir.c_ovl_do_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ovl_do_remove, @function
ovl_do_remove:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, esi
	call	ovl_lower_positive@PLT
	mov	edi, DWORD PTR list[rip]
	mov	ebp, eax
	call	LIST_HEAD@PLT
	test	ebx, ebx
	je	.L6
	test	ebp, ebp
	je	.L5
.L7:
	lea	rsi, list[rip]
	mov	rdi, r13
	call	ovl_check_empty_dir@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L3
.L6:
	mov	rdi, r13
	call	ovl_want_write@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L22
.L3:
	lea	rdi, list[rip]
	call	ovl_cache_free@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[r13]
	call	ovl_copy_up@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L23
.L8:
	mov	rdi, r13
	call	ovl_drop_write@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, r13
	call	ovl_pure_upper@PLT
	test	eax, eax
	je	.L7
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, r13
	call	ovl_nlink_start@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	edi, DWORD PTR 4[r13]
	call	ovl_override_creds@PLT
	mov	r14, rax
	test	ebp, ebp
	je	.L24
	lea	rsi, list[rip]
	mov	rdi, r13
	call	ovl_remove_and_whiteout@PLT
	mov	r12d, eax
.L10:
	mov	rdi, r14
	call	revert_creds@PLT
	test	r12d, r12d
	jne	.L11
	mov	edi, DWORD PTR 0[r13]
	test	ebx, ebx
	je	.L12
	call	clear_nlink@PLT
.L11:
	mov	rdi, r13
	call	ovl_nlink_end@PLT
	mov	rdi, r13
	call	ovl_dentry_upper@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L8
	mov	rdi, r13
	call	d_inode@PLT
	mov	rdi, rbp
	mov	r14d, eax
	call	d_inode@PLT
	mov	esi, r14d
	mov	edi, eax
	call	ovl_copyattr@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L24:
	lea	rdx, list[rip]
	mov	esi, ebx
	mov	rdi, r13
	call	ovl_remove_upper@PLT
	mov	r12d, eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L12:
	call	drop_nlink@PLT
	jmp	.L11
	.cfi_endproc
.LFE0:
	.size	ovl_do_remove, .-ovl_do_remove
	.comm	list,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_ovl_do_remove.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ovl_do_remove, %function
ovl_do_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r1
	mov	r5, r0
	bl	ovl_lower_positive
	ldr	r3, .L25
	mov	r7, r0
	ldr	r0, [r3]
	bl	LIST_HEAD
	cmp	r6, #0
	beq	.L6
	cmp	r7, #0
	beq	.L5
.L7:
	mov	r0, r5
	ldr	r1, .L25
	bl	ovl_check_empty_dir
	subs	r4, r0, #0
	bne	.L3
.L6:
	mov	r0, r5
	bl	ovl_want_write
	subs	r4, r0, #0
	beq	.L22
.L3:
	ldr	r0, .L25
	bl	ovl_cache_free
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	ldr	r0, [r5, #8]
	bl	ovl_copy_up
	subs	r4, r0, #0
	beq	.L23
.L8:
	mov	r0, r5
	bl	ovl_drop_write
	b	.L3
.L5:
	mov	r0, r5
	bl	ovl_pure_upper
	cmp	r0, #0
	beq	.L7
	b	.L6
.L23:
	mov	r0, r5
	bl	ovl_nlink_start
	subs	r4, r0, #0
	bne	.L8
	ldr	r0, [r5, #4]
	bl	ovl_override_creds
	cmp	r7, #0
	mov	r7, r0
	beq	.L24
	mov	r0, r5
	ldr	r1, .L25
	bl	ovl_remove_and_whiteout
	mov	r4, r0
.L10:
	mov	r0, r7
	bl	revert_creds
	cmp	r4, #0
	bne	.L11
	cmp	r6, #0
	ldr	r0, [r5]
	beq	.L12
	bl	clear_nlink
.L11:
	mov	r0, r5
	bl	ovl_nlink_end
	mov	r0, r5
	bl	ovl_dentry_upper
	cmp	r0, #0
	beq	.L8
	bl	d_inode
	mov	r6, r0
	mov	r0, r5
	bl	d_inode
	mov	r1, r0
	mov	r0, r6
	bl	ovl_copyattr
	b	.L8
.L24:
	mov	r1, r6
	mov	r0, r5
	ldr	r2, .L25
	bl	ovl_remove_upper
	mov	r4, r0
	b	.L10
.L12:
	bl	drop_nlink
	b	.L11
.L26:
	.align	2
.L25:
	.word	list
	.size	ovl_do_remove, .-ovl_do_remove
	.comm	list,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
