	.file	"extr_isl_ioctl.c_prism54_set_essid.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	prism54_set_essid, @function
prism54_set_essid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	netdev_priv@PLT
	mov	edi, DWORD PTR 4[rsp]
	xor	esi, esi
	mov	edx, 33
	mov	rbp, rax
	call	memset@PLT
	cmp	QWORD PTR 8[rbx], 0
	je	.L2
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jne	.L13
.L2:
	mov	DWORD PTR [rsp], 0
.L5:
	mov	esi, DWORD PTR DOT11_OID_SSID[rip]
	mov	rax, QWORD PTR IW_MODE_MONITOR[rip]
	cmp	QWORD PTR 0[rbp], rax
	jne	.L14
	mov	rdx, rsp
	mov	rdi, rbp
	call	mgt_set@PLT
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L15
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rcx, rsp
	xor	edx, edx
	mov	rdi, rbp
	call	mgt_set_request@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	edx, 32
	jle	.L3
	mov	eax, DWORD PTR E2BIG[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR 4[rsp]
	mov	rsi, r12
	mov	DWORD PTR [rsp], edx
	call	memcpy@PLT
	jmp	.L5
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	prism54_set_essid, .-prism54_set_essid
	.comm	IW_MODE_MONITOR,8,8
	.comm	E2BIG,4,4
	.comm	DOT11_OID_SSID,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_isl_ioctl.c_prism54_set_essid.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prism54_set_essid, %function
prism54_set_essid:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r3
	ldr	r3, .L19
	sub	sp, sp, #16
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	netdev_priv
	mov	r2, #33
	mov	r4, r0
	mov	r1, #0
	ldr	r0, [sp, #8]
	bl	memset
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r5]
	cmp	r2, #0
	bne	.L16
.L2:
	mov	r3, #0
	str	r3, [sp, #4]
.L5:
	ldr	r3, .L19+4
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, .L19+8
	cmp	r1, r2
	mov	r0, r4
	ldr	r1, [r3]
	bne	.L17
	add	r2, sp, #4
	bl	mgt_set
	mov	r0, #0
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L17:
	mov	r2, #0
	add	r3, sp, #4
	bl	mgt_set_request
	b	.L1
.L16:
	cmp	r2, #32
	ldrgt	r3, .L19+12
	ldrgt	r0, [r3]
	rsbgt	r0, r0, #0
	bgt	.L1
.L3:
	mov	r1, r6
	ldr	r0, [sp, #8]
	str	r2, [sp, #4]
	bl	memcpy
	b	.L5
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	IW_MODE_MONITOR
	.word	DOT11_OID_SSID
	.word	E2BIG
	.size	prism54_set_essid, .-prism54_set_essid
	.comm	IW_MODE_MONITOR,4,4
	.comm	E2BIG,4,4
	.comm	DOT11_OID_SSID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
