	.file	"extr_devfs_vnops.c_devfs_allocv_drop_refs.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"DEVFS de dropped but not doomed"
	.align 8
.LC1:
	.string	"DEVFS mount struct freed before dirent"
	.text
	.p2align 4
	.type	devfs_allocv_drop_refs, @function
devfs_allocv_drop_refs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, DWORD PTR [rdx]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	and	r12d, DWORD PTR DE_DOOMED[rip]
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edi
	mov	rdi, rdx
	setne	r14b
	call	DEVFS_DE_DROP@PLT
	test	rax, rax
	jne	.L15
.L2:
	mov	rdi, r13
	call	DEVFS_DMP_DROP@PLT
	test	rax, rax
	jne	.L16
	test	r12d, r12d
	jne	.L6
	test	ebx, ebx
	je	.L1
.L5:
	mov	rdi, r13
	call	sx_unlock@PLT
.L1:
	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
.L6:
	.cfi_restore_state
	mov	r12d, 1
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rsi, .LC1[rip]
	mov	edi, r14d
	mov	r12d, 2
	call	KASSERT@PLT
	mov	rdi, r13
	call	sx_xunlock@PLT
	mov	rdi, r13
	call	devfs_unmount_final@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
.L15:
	.cfi_restore_state
	mov	edi, r14d
	lea	rsi, .LC0[rip]
	call	KASSERT@PLT
	mov	rdi, rbp
	call	devfs_dirent_free@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	devfs_allocv_drop_refs, .-devfs_allocv_drop_refs
	.comm	DE_DOOMED,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_devfs_vnops.c_devfs_allocv_drop_refs.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DEVFS de dropped but not doomed\000"
	.align	2
.LC1:
	.ascii	"DEVFS mount struct freed before dirent\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	devfs_allocv_drop_refs, %function
devfs_allocv_drop_refs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	ldr	r2, .L17
	ldr	r4, [r7]
	ldr	ip, [r2]
	mov	r6, r0
	ands	r4, r4, ip
	mov	r0, r7
	movne	r8, #1
	moveq	r8, #0
	mov	r5, r1
	bl	DEVFS_DE_DROP
	cmp	r0, #0
	bne	.L15
.L2:
	mov	r0, r5
	bl	DEVFS_DMP_DROP
	cmp	r0, #0
	bne	.L16
	cmp	r4, #0
	bne	.L6
	cmp	r6, #0
	beq	.L1
.L5:
	mov	r0, r5
	bl	sx_unlock
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r4, #1
	b	.L5
.L16:
	mov	r4, #2
	ldr	r1, .L17+4
	mov	r0, r8
	bl	KASSERT
	mov	r0, r5
	bl	sx_xunlock
	mov	r0, r5
	bl	devfs_unmount_final
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	mov	r0, r8
	ldr	r1, .L17+8
	bl	KASSERT
	mov	r0, r7
	bl	devfs_dirent_free
	b	.L2
.L18:
	.align	2
.L17:
	.word	DE_DOOMED
	.word	.LC1
	.word	.LC0
	.size	devfs_allocv_drop_refs, .-devfs_allocv_drop_refs
	.comm	DE_DOOMED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
