	.file	"extr_p80211wext.c_p80211wext_siwessid.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"autojoin_ssid for %s \n"
.LC1:
	.string	"autojoin_ssid %d\n"
	.text
	.p2align 4
	.type	p80211wext_siwessid, @function
p80211wext_siwessid:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR wlan_wext_write[rip]
	neg	r12d
	test	eax, eax
	je	.L1
	mov	rbp, QWORD PTR [rdi]
	mov	ebx, DWORD PTR [rdx]
	mov	r12, rcx
	mov	eax, DWORD PTR 0[rbp]
	test	DWORD PTR HOSTWEP_SHAREDKEY[rip], eax
	mov	eax, DWORD PTR P80211ENUM_authalg_sharedkey[rip]
	cmove	eax, DWORD PTR P80211ENUM_authalg_opensystem[rip]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR DIDmsg_lnxreq_autojoin[rip]
	mov	DWORD PTR 8[rsp], eax
	test	ebx, ebx
	je	.L6
	movsx	rax, ebx
	cmp	BYTE PTR -1[rcx+rax], 1
	sbb	ebx, 0
.L6:
	mov	edi, DWORD PTR 4[rsp]
	mov	edx, ebx
	mov	rsi, r12
	call	memcpy@PLT
	mov	rsi, r12
	xor	eax, eax
	mov	DWORD PTR [rsp], ebx
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	rsi, rsp
	mov	rdi, rbp
	call	p80211req_dorequest@PLT
	lea	rdi, .LC1[rip]
	mov	r12d, eax
	mov	esi, eax
	xor	eax, eax
	call	pr_debug@PLT
	test	r12d, r12d
	jne	.L16
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	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
.L16:
	.cfi_restore_state
.L3:
	endbr64
	mov	r12d, DWORD PTR EFAULT[rip]
	neg	r12d
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	p80211wext_siwessid, .-p80211wext_siwessid
	.comm	wlan_wext_write,4,4
	.comm	P80211ENUM_authalg_sharedkey,4,4
	.comm	P80211ENUM_authalg_opensystem,4,4
	.comm	HOSTWEP_SHAREDKEY,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EFAULT,4,4
	.comm	DIDmsg_lnxreq_autojoin,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_p80211wext.c_p80211wext_siwessid.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"autojoin_ssid for %s \012\000"
	.align	2
.LC1:
	.ascii	"autojoin_ssid %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	p80211wext_siwessid, %function
p80211wext_siwessid:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r1, .L19
	mov	r4, r3
	ldr	r1, [r1]
	ldr	r3, .L19+4
	sub	sp, sp, #24
	cmp	r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	beq	.L16
	ldr	r6, [r0]
	ldr	r3, .L19+8
	ldr	r1, [r6]
	ldr	r3, [r3]
	ldr	r5, [r2]
	tst	r1, r3
	ldrne	r3, .L19+12
	ldreq	r3, .L19+16
	cmp	r5, #0
	ldr	r1, [r3]
	ldr	r3, .L19+20
	str	r1, [sp, #16]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	bne	.L17
.L6:
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [sp, #8]
	bl	memcpy
	mov	r1, r4
	ldr	r0, .L19+24
	str	r5, [sp, #4]
	bl	pr_debug
	add	r1, sp, #4
	mov	r0, r6
	bl	p80211req_dorequest
	mov	r4, r0
	ldr	r0, .L19+28
	mov	r1, r4
	bl	pr_debug
	cmp	r4, #0
	ldrne	r3, .L19+32
	ldrne	r4, [r3]
	rsbne	r4, r4, #0
.L3:
.L1:
	ldr	r3, .L19+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, pc}
.L17:
	add	r3, r4, r5
	ldrb	r3, [r3, #-1]	@ zero_extendqisi2
	cmp	r3, #0
	subeq	r5, r5, #1
	b	.L6
.L16:
	ldr	r3, .L19+36
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	wlan_wext_write
	.word	.LC2
	.word	HOSTWEP_SHAREDKEY
	.word	P80211ENUM_authalg_sharedkey
	.word	P80211ENUM_authalg_opensystem
	.word	DIDmsg_lnxreq_autojoin
	.word	.LC0
	.word	.LC1
	.word	EFAULT
	.word	EOPNOTSUPP
	.size	p80211wext_siwessid, .-p80211wext_siwessid
	.comm	wlan_wext_write,4,4
	.comm	P80211ENUM_authalg_sharedkey,4,4
	.comm	P80211ENUM_authalg_opensystem,4,4
	.comm	HOSTWEP_SHAREDKEY,4,4
	.comm	EOPNOTSUPP,4,4
	.comm	EFAULT,4,4
	.comm	DIDmsg_lnxreq_autojoin,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
