	.file	"extr_ax25_iface.c_ax25_listen_register.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ax25_listen_register
	.type	ax25_listen_register, @function
ax25_listen_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ax25_listen_mine@PLT
	test	rax, rax
	je	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR GFP_ATOMIC[rip]
	mov	edi, 24
	call	kmalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	eax, DWORD PTR 0[rbp]
	mov	QWORD PTR 8[r12], rbx
	lea	rdi, listen_lock[rip]
	mov	DWORD PTR 16[r12], eax
	call	spin_lock_bh@PLT
	mov	rax, QWORD PTR listen_list[rip]
	lea	rdi, listen_lock[rip]
	mov	QWORD PTR [r12], rax
	mov	QWORD PTR listen_list[rip], r12
	call	spin_unlock_bh@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r13d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r13d
	pop	r12
	.cfi_def_cfa_offset 16
	mov	eax, r13d
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ax25_listen_register, .-ax25_listen_register
	.comm	listen_lock,4,4
	.comm	listen_list,8,8
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,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_ax25_iface.c_ax25_listen_register.c"
	.text
	.align	2
	.global	ax25_listen_register
	.syntax unified
	.arm
	.fpu softvfp
	.type	ax25_listen_register, %function
ax25_listen_register:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	mov	r5, r1
	bl	ax25_listen_mine
	subs	r4, r0, #0
	movne	r4, #0
	beq	.L7
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r3, .L9
	mov	r0, #12
	ldr	r1, [r3]
	bl	kmalloc
	subs	r7, r0, #0
	beq	.L8
	ldr	r3, [r6]
	ldr	r0, .L9+4
	str	r3, [r7, #8]
	str	r5, [r7, #4]
	bl	spin_lock_bh
	ldr	r3, .L9+8
	ldr	r0, .L9+4
	ldr	r2, [r3]
	str	r2, [r7]
	str	r7, [r3]
	bl	spin_unlock_bh
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	GFP_ATOMIC
	.word	listen_lock
	.word	listen_list
	.word	ENOMEM
	.size	ax25_listen_register, .-ax25_listen_register
	.comm	listen_lock,4,4
	.comm	listen_list,4,4
	.comm	GFP_ATOMIC,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
