	.file	"extr_kern_conf.c_dev_free_devlocked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dev_free_devlocked, @function
dev_free_devlocked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rdi, devmtx[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR MA_OWNED[rip]
	call	mtx_assert@PLT
	mov	rdi, r12
	call	cdev2priv@PLT
	xor	edi, edi
	mov	rsi, r12
	mov	rbp, rax
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR CDP_UNREF_DTR[rip], eax
	sete	dil
	call	KASSERT@PLT
	mov	edx, DWORD PTR cdp_list[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	lea	rdi, cdevp_free_list[rip]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	TAILQ_INSERT_HEAD@PLT
	.cfi_endproc
.LFE0:
	.size	dev_free_devlocked, .-dev_free_devlocked
	.comm	devmtx,4,4
	.comm	cdp_list,4,4
	.comm	cdevp_free_list,4,4
	.comm	MA_OWNED,4,4
	.comm	CDP_UNREF_DTR,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_kern_conf.c_dev_free_devlocked.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dev_free_devlocked, %function
dev_free_devlocked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r3, .L4
	ldr	r0, .L4+4
	ldr	r1, [r3]
	bl	mtx_assert
	mov	r0, r5
	bl	cdev2priv
	mov	r4, r0
	ldr	r3, .L4+8
	ldr	r2, [r0]
	ldr	r3, [r3]
	mov	r1, r5
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	KASSERT
	ldr	r3, .L4+12
	mov	r1, r4
	pop	{r4, r5, r6, lr}
	ldr	r2, [r3]
	ldr	r0, .L4+16
	b	TAILQ_INSERT_HEAD
.L5:
	.align	2
.L4:
	.word	MA_OWNED
	.word	devmtx
	.word	CDP_UNREF_DTR
	.word	cdp_list
	.word	cdevp_free_list
	.size	dev_free_devlocked, .-dev_free_devlocked
	.comm	devmtx,4,4
	.comm	cdp_list,4,4
	.comm	cdevp_free_list,4,4
	.comm	MA_OWNED,4,4
	.comm	CDP_UNREF_DTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
