	.file	"extr_mesh.c_mesh_add_rsn_ie.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mesh_add_rsn_ie
	.type	mesh_add_rsn_ie, @function
mesh_add_rsn_ie:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	esi, DWORD PTR 4[rdi]
	test	esi, esi
	je	.L13
	mov	edx, DWORD PTR [rdi]
	test	edx, edx
	jne	.L15
.L13:
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR WLAN_EID_RSN[rip]
	call	cfg80211_find_ie@PLT
	mov	r12, rax
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rbp
	lea	r13, 2[rax]
	call	skb_tailroom@PLT
	cmp	rax, r13
	jge	.L5
	mov	eax, DWORD PTR ENOMEM[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	call	skb_put_data@PLT
	jmp	.L13
	.cfi_endproc
.LFE0:
	.size	mesh_add_rsn_ie, .-mesh_add_rsn_ie
	.comm	WLAN_EID_RSN,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_mesh.c_mesh_add_rsn_ie.c"
	.text
	.align	2
	.global	mesh_add_rsn_ie
	.syntax unified
	.arm
	.fpu softvfp
	.type	mesh_add_rsn_ie, %function
mesh_add_rsn_ie:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L13
	ldr	r2, [r0]
	cmp	r2, #0
	bne	.L18
.L13:
	mov	r0, #0
	bx	lr
.L18:
	ldr	r0, .L19
	push	{r4, r5, r6, lr}
	ldr	r0, [r0]
	mov	r4, r1
	mov	r1, r3
	bl	cfg80211_find_ie
	subs	r5, r0, #0
	beq	.L16
	mov	r0, r4
	ldr	r6, [r5, #4]
	bl	skb_tailroom
	add	r6, r6, #2
	cmp	r0, r6
	bge	.L5
	ldr	r3, .L19+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	skb_put_data
.L16:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L20:
	.align	2
.L19:
	.word	WLAN_EID_RSN
	.word	ENOMEM
	.size	mesh_add_rsn_ie, .-mesh_add_rsn_ie
	.comm	WLAN_EID_RSN,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
