	.file	"extr_lapbether.c_lapbeth_new_device.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"lapb%d"
	.text
	.p2align 4
	.type	lapbeth_new_device, @function
lapbeth_new_device:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	xor	eax, eax
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13d, DWORD PTR ENOMEM[rip]
	call	ASSERT_RTNL@PLT
	mov	ecx, DWORD PTR lapbeth_setup[rip]
	mov	edx, DWORD PTR NET_NAME_UNKNOWN[rip]
	lea	rsi, .LC0[rip]
	mov	edi, 24
	neg	r13d
	call	alloc_netdev@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rax
	mov	rbp, rax
	call	netdev_priv@PLT
	mov	rdi, r12
	mov	QWORD PTR 16[rax], rbp
	mov	r14, rax
	call	dev_hold@PLT
	mov	QWORD PTR 8[r14], r12
	mov	rdi, rbp
	mov	r13d, DWORD PTR EIO[rip]
	call	register_netdevice@PLT
	test	rax, rax
	jne	.L7
	lea	rsi, lapbeth_devices[rip]
	mov	rdi, r14
	xor	r13d, r13d
	call	list_add_rcu@PLT
.L3:
	endbr64
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L7:
	.cfi_restore_state
	mov	rdi, r12
	neg	r13d
	call	dev_put@PLT
	mov	rdi, rbp
	call	free_netdev@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.cfi_endproc
.LFE0:
	.size	lapbeth_new_device, .-lapbeth_new_device
	.comm	lapbeth_setup,4,4
	.comm	lapbeth_devices,4,4
	.comm	NET_NAME_UNKNOWN,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,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_lapbether.c_lapbeth_new_device.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"lapb%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	lapbeth_new_device, %function
lapbeth_new_device:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	mov	r7, r0
	bl	ASSERT_RTNL
	ldr	r3, .L8+4
	ldr	r2, .L8+8
	mov	r0, #12
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L8+12
	bl	alloc_netdev
	subs	r6, r0, #0
	rsbeq	r4, r4, #0
	beq	.L1
	bl	netdev_priv
	mov	r5, r0
	mov	r0, r7
	str	r6, [r5, #8]
	bl	dev_hold
	ldr	r3, .L8+16
	mov	r0, r6
	str	r7, [r5, #4]
	ldr	r8, [r3]
	bl	register_netdevice
	subs	r4, r0, #0
	bne	.L7
	mov	r0, r5
	ldr	r1, .L8+20
	bl	list_add_rcu
.L3:
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r7
	bl	dev_put
	rsb	r4, r8, #0
	mov	r0, r6
	bl	free_netdev
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	.align	2
.L8:
	.word	ENOMEM
	.word	lapbeth_setup
	.word	NET_NAME_UNKNOWN
	.word	.LC0
	.word	EIO
	.word	lapbeth_devices
	.size	lapbeth_new_device, .-lapbeth_new_device
	.comm	lapbeth_setup,4,4
	.comm	lapbeth_devices,4,4
	.comm	NET_NAME_UNKNOWN,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
