	.file	"extr_root.c_autofs_dir_rmdir.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"dentry %p, removing %pd\n"
	.text
	.p2align 4
	.type	autofs_dir_rmdir, @function
autofs_dir_rmdir:
.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
	mov	r13, rdi
	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
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR 8[rdi]
	call	autofs_sbi@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	autofs_dentry_ino@PLT
	lea	rdi, .LC0[rip]
	mov	rdx, rbp
	mov	rsi, rbp
	mov	r14, rax
	call	pr_debug@PLT
	mov	rdi, rbx
	call	autofs_oz_mode@PLT
	test	eax, eax
	je	.L4
	mov	r12d, DWORD PTR [rbx]
	and	r12d, DWORD PTR AUTOFS_SBI_CATATONIC[rip]
	je	.L15
.L4:
	mov	r12d, DWORD PTR EACCES[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L15:
	.cfi_restore_state
	lea	r15, 8[rbx]
	mov	rdi, r15
	call	spin_lock@PLT
	mov	rdi, rbp
	call	simple_empty@PLT
	test	eax, eax
	je	.L16
	mov	rdi, rbp
	call	__autofs_add_expiring@PLT
	mov	rdi, rbp
	call	d_drop@PLT
	mov	rdi, r15
	call	spin_unlock@PLT
	cmp	DWORD PTR 4[rbx], 4
	jle	.L17
.L6:
	lea	rdi, 4[r14]
	call	atomic_dec_and_test@PLT
	test	rax, rax
	jne	.L18
.L8:
	mov	edi, DWORD PTR [r14]
	call	dput@PLT
	mov	rdi, rbp
	call	d_inode@PLT
	mov	rdi, rbp
	mov	QWORD PTR [rax], 0
	call	d_inode@PLT
	mov	rdi, rax
	call	clear_nlink@PLT
	cmp	QWORD PTR 0[r13], 0
	je	.L1
	mov	rdi, r13
	call	drop_nlink@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdi, QWORD PTR 0[rbp]
	call	autofs_dentry_ino@PLT
	test	rax, rax
	je	.L8
	cmp	QWORD PTR 0[rbp], rbp
	je	.L8
	lea	rdi, 4[rax]
	call	atomic_dec@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, rbp
	call	autofs_clear_leaf_automount_flags@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rdi, r15
	call	spin_unlock@PLT
	mov	r12d, DWORD PTR ENOTEMPTY[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	autofs_dir_rmdir, .-autofs_dir_rmdir
	.comm	ENOTEMPTY,4,4
	.comm	EACCES,4,4
	.comm	AUTOFS_SBI_CATATONIC,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_root.c_autofs_dir_rmdir.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"dentry %p, removing %pd\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	autofs_dir_rmdir, %function
autofs_dir_rmdir:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	ldr	r0, [r0, #4]
	mov	r4, r1
	bl	autofs_sbi
	mov	r5, r0
	mov	r0, r4
	bl	autofs_dentry_ino
	mov	r2, r4
	mov	r1, r4
	mov	r6, r0
	ldr	r0, .L22
	bl	pr_debug
	mov	r0, r5
	bl	autofs_oz_mode
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L22+4
	ldr	r2, [r5]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L18
.L4:
	ldr	r3, .L22+8
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	add	r8, r5, #8
	mov	r0, r8
	bl	spin_lock
	mov	r0, r4
	bl	simple_empty
	cmp	r0, #0
	beq	.L19
	mov	r0, r4
	bl	__autofs_add_expiring
	mov	r0, r4
	bl	d_drop
	mov	r0, r8
	bl	spin_unlock
	ldr	r3, [r5, #4]
	cmp	r3, #4
	ble	.L20
.L6:
	add	r0, r6, #4
	bl	atomic_dec_and_test
	cmp	r0, #0
	bne	.L21
.L8:
	ldr	r0, [r6]
	bl	dput
	mov	r0, r4
	bl	d_inode
	mov	r5, #0
	mov	r3, r0
	mov	r0, r4
	str	r5, [r3]
	bl	d_inode
	bl	clear_nlink
	ldr	r0, [r7]
	cmp	r0, r5
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r7
	bl	drop_nlink
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L21:
	ldr	r0, [r4]
	bl	autofs_dentry_ino
	cmp	r0, #0
	beq	.L8
	ldr	r3, [r4]
	cmp	r3, r4
	beq	.L8
	add	r0, r0, #4
	bl	atomic_dec
	b	.L8
.L20:
	mov	r0, r4
	bl	autofs_clear_leaf_automount_flags
	b	.L6
.L19:
	mov	r0, r8
	bl	spin_unlock
	ldr	r3, .L22+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	AUTOFS_SBI_CATATONIC
	.word	EACCES
	.word	ENOTEMPTY
	.size	autofs_dir_rmdir, .-autofs_dir_rmdir
	.comm	ENOTEMPTY,4,4
	.comm	EACCES,4,4
	.comm	AUTOFS_SBI_CATATONIC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
