	.file	"extr_ieee80211_wx.c_ieee80211_wx_set_gen_ie.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"return error out, len:%zu\n"
.LC1:
	.string	"len:%zu, ie:%d\n"
	.text
	.p2align 4
	.globl	ieee80211_wx_set_gen_ie
	.type	ieee80211_wx_set_gen_ie, @function
ieee80211_wx_set_gen_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, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR MAX_WPA_IE_LEN[rip], rdx
	jb	.L2
	mov	rbx, rdi
	test	rdx, rdx
	je	.L5
	mov	r12, rsi
	test	rsi, rsi
	jne	.L3
.L2:
	mov	rsi, rbp
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printk@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L3:
	.cfi_restore_state
	test	rdx, rdx
	je	.L5
	mov	edx, DWORD PTR 4[rsi]
	lea	eax, 2[rdx]
	cdqe
	cmp	rax, rbp
	jne	.L20
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	rdi, rbp
	call	kmalloc@PLT
	mov	r13, rax
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	test	r13, r13
	je	.L1
	mov	rdx, rbp
	mov	rsi, r12
	mov	rdi, r13
	call	memcpy@PLT
	mov	rdi, QWORD PTR [rbx]
	call	kfree@PLT
	mov	QWORD PTR [rbx], r13
	xor	eax, eax
	mov	QWORD PTR 8[rbx], rbp
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L8
	call	kfree@PLT
.L8:
	mov	QWORD PTR [rbx], 0
	xor	eax, eax
	mov	QWORD PTR 8[rbx], 0
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L20:
	.cfi_restore_state
	mov	rsi, rbp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printk@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ieee80211_wx_set_gen_ie, .-ieee80211_wx_set_gen_ie
	.comm	MAX_WPA_IE_LEN,8,8
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,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_ieee80211_wx.c_ieee80211_wx_set_gen_ie.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"return error out, len:%zu\012\000"
	.align	2
.LC1:
	.ascii	"len:%zu, ie:%d\012\000"
	.text
	.align	2
	.global	ieee80211_wx_set_gen_ie
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_wx_set_gen_ie, %function
ieee80211_wx_set_gen_ie:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L16
	mov	ip, r2
	ldr	r3, [r3]
	push	{r4, r5, r6, r7, r8, lr}
	cmp	r3, r2
	bcc	.L2
	clz	r3, r1
	cmp	r2, #0
	lsr	r3, r3, #5
	movne	r4, r3
	moveq	r4, #0
	cmp	r4, #0
	mov	r5, r1
	bne	.L2
	cmp	r2, #0
	mov	r6, r0
	beq	.L5
	ldr	r2, [r1, #4]
	add	r7, r2, #2
	cmp	r7, ip
	bne	.L14
	ldr	r3, .L16+4
	mov	r0, r7
	ldr	r1, [r3]
	bl	kmalloc
	subs	r8, r0, #0
	beq	.L15
	mov	r1, r5
	mov	r2, r7
	bl	memcpy
	ldr	r0, [r6]
	bl	kfree
	mov	r0, r4
	str	r8, [r6]
	str	r7, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	ldr	r0, [r0]
	cmp	r0, #0
	beq	.L8
	bl	kfree
.L8:
	mov	r3, #0
	mov	r0, r3
	str	r3, [r6]
	str	r3, [r6, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	mov	r1, ip
	ldr	r0, .L16+8
	bl	printk
	ldr	r3, .L16+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r1, ip
	ldr	r0, .L16+16
	bl	printk
	ldr	r3, .L16+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	ldr	r3, .L16+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	.align	2
.L16:
	.word	MAX_WPA_IE_LEN
	.word	GFP_KERNEL
	.word	.LC0
	.word	EINVAL
	.word	.LC1
	.word	ENOMEM
	.size	ieee80211_wx_set_gen_ie, .-ieee80211_wx_set_gen_ie
	.comm	MAX_WPA_IE_LEN,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
