	.file	"extr_mconsole_kern.c_mconsole_register_dev.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mconsole_register_dev
	.type	mconsole_register_dev, @function
mconsole_register_dev:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	lea	rdi, mc_devices_lock[rip]
	call	spin_lock@PLT
	mov	rdi, rbp
	call	list_empty@PLT
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	BUG_ON@PLT
	mov	rdi, rbp
	lea	rsi, mconsole_devices[rip]
	call	list_add@PLT
	lea	rdi, mc_devices_lock[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	spin_unlock@PLT
	.cfi_endproc
.LFE0:
	.size	mconsole_register_dev, .-mconsole_register_dev
	.comm	mconsole_devices,4,4
	.comm	mc_devices_lock,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_mconsole_kern.c_mconsole_register_dev.c"
	.text
	.align	2
	.global	mconsole_register_dev
	.syntax unified
	.arm
	.fpu softvfp
	.type	mconsole_register_dev, %function
mconsole_register_dev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L4
	mov	r0, r5
	bl	spin_lock
	mov	r0, r4
	bl	list_empty
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	mov	r0, r4
	ldr	r1, .L4+4
	bl	list_add
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	spin_unlock
.L5:
	.align	2
.L4:
	.word	mc_devices_lock
	.word	mconsole_devices
	.size	mconsole_register_dev, .-mconsole_register_dev
	.comm	mconsole_devices,4,4
	.comm	mc_devices_lock,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
