	.file	"extr_mesh_plink.c___mesh_sta_info_alloc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__mesh_sta_info_alloc, @function
__mesh_sta_info_alloc:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rax, QWORD PTR [rdi]
	xor	r12d, r12d
	mov	rcx, QWORD PTR MESH_MAX_PLINKS[rip]
	cmp	QWORD PTR [rax], rcx
	jge	.L1
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	sta_info_alloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	mov	eax, DWORD PTR NL80211_PLINK_LISTEN[rip]
	mov	rdi, r12
	mov	DWORD PTR [r12], eax
	mov	esi, DWORD PTR IEEE80211_STA_AUTH[rip]
	call	sta_info_pre_move_state@PLT
	mov	esi, DWORD PTR IEEE80211_STA_ASSOC[rip]
	mov	rdi, r12
	call	sta_info_pre_move_state@PLT
	mov	esi, DWORD PTR IEEE80211_STA_AUTHORIZED[rip]
	mov	rdi, r12
	call	sta_info_pre_move_state@PLT
	mov	esi, DWORD PTR WLAN_STA_WME[rip]
	mov	rdi, r12
	call	set_sta_flag@PLT
.L1:
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	__mesh_sta_info_alloc, .-__mesh_sta_info_alloc
	.comm	WLAN_STA_WME,4,4
	.comm	NL80211_PLINK_LISTEN,4,4
	.comm	MESH_MAX_PLINKS,8,8
	.comm	IEEE80211_STA_AUTHORIZED,4,4
	.comm	IEEE80211_STA_AUTH,4,4
	.comm	IEEE80211_STA_ASSOC,4,4
	.comm	GFP_KERNEL,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_mesh_plink.c___mesh_sta_info_alloc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__mesh_sta_info_alloc, %function
__mesh_sta_info_alloc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L9
	ldr	r2, [r0]
	ldr	r3, [r3]
	ldr	r2, [r2]
	push	{r4, lr}
	cmp	r2, r3
	movge	r4, #0
	bge	.L1
	ldr	r3, .L9+4
	ldr	r2, [r3]
	bl	sta_info_alloc
	subs	r4, r0, #0
	beq	.L1
	ldr	r2, .L9+8
	ldr	r3, .L9+12
	ldr	r2, [r2]
	str	r2, [r4]
	ldr	r1, [r3]
	bl	sta_info_pre_move_state
	ldr	r3, .L9+16
	mov	r0, r4
	ldr	r1, [r3]
	bl	sta_info_pre_move_state
	ldr	r3, .L9+20
	mov	r0, r4
	ldr	r1, [r3]
	bl	sta_info_pre_move_state
	ldr	r3, .L9+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	set_sta_flag
.L1:
	mov	r0, r4
	pop	{r4, pc}
.L10:
	.align	2
.L9:
	.word	MESH_MAX_PLINKS
	.word	GFP_KERNEL
	.word	NL80211_PLINK_LISTEN
	.word	IEEE80211_STA_AUTH
	.word	IEEE80211_STA_ASSOC
	.word	IEEE80211_STA_AUTHORIZED
	.word	WLAN_STA_WME
	.size	__mesh_sta_info_alloc, .-__mesh_sta_info_alloc
	.comm	WLAN_STA_WME,4,4
	.comm	NL80211_PLINK_LISTEN,4,4
	.comm	MESH_MAX_PLINKS,4,4
	.comm	IEEE80211_STA_AUTHORIZED,4,4
	.comm	IEEE80211_STA_AUTH,4,4
	.comm	IEEE80211_STA_ASSOC,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
