	.file	"extr_rtw_mlme.c_rtw_is_desired_network.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"desired_encmode: %d, privacy: %d\n"
	.text
	.p2align 4
	.type	rtw_is_desired_network, @function
rtw_is_desired_network:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	lea	r13, 8[rdi]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rsi]
	mov	esi, DWORD PTR WIFI_UNDER_WPS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	r14, QWORD PTR 16[rdi]
	mov	rdi, r13
	call	check_fwstate@PLT
	test	rax, rax
	jne	.L20
	test	r12, r12
	mov	rax, QWORD PTR Ndis802_11EncryptionDisabled[rip]
	sete	r12b
	cmp	DWORD PTR [rbx], 1
	je	.L21
	cmp	r14, rax
	jne	.L17
.L7:
	mov	r12d, 1
.L5:
	mov	esi, DWORD PTR WIFI_ADHOC_STATE[rip]
	mov	rdi, r13
	call	check_fwstate@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR 8[rbx]
	cmp	QWORD PTR 8[rbp], rax
	mov	eax, 0
	cmovne	r12d, eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	cmp	r14, rax
	je	.L23
.L17:
	test	r12b, r12b
	je	.L7
	xor	edx, edx
	mov	rsi, r14
	lea	rdi, .LC0[rip]
	xor	r12d, r12d
	call	DBG_88E@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, QWORD PTR _FIXED_IE_LENGTH_[rip]
	mov	rsi, QWORD PTR 16[rbp]
	xor	edx, edx
	xor	r12d, r12d
	lea	rcx, 4[rsp]
	sub	rsi, rdi
	add	rdi, QWORD PTR 24[rbp]
	call	rtw_get_wps_ie@PLT
	test	rax, rax
	setne	r12b
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	movzx	r12d, r12b
	jmp	.L5
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rtw_is_desired_network, .-rtw_is_desired_network
	.comm	_FIXED_IE_LENGTH_,8,8
	.comm	WIFI_UNDER_WPS,4,4
	.comm	WIFI_ADHOC_STATE,4,4
	.comm	Ndis802_11EncryptionDisabled,8,8
	.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_rtw_mlme.c_rtw_is_desired_network.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"desired_encmode: %d, privacy: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtw_is_desired_network, %function
rtw_is_desired_network:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	mov	r6, r1
	ldr	r3, .L18
	add	r7, r0, #4
	ldr	r1, [r3]
	ldr	r3, .L18+4
	sub	sp, sp, #8
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r8, [r5, #8]
	ldr	r4, [r6]
	bl	check_fwstate
	cmp	r0, #0
	bne	.L13
	clz	r4, r4
	ldr	r2, [r5]
	ldr	r3, .L18+8
	cmp	r2, #1
	ldr	r0, [r3]
	lsr	r4, r4, #5
	beq	.L14
.L4:
	cmp	r8, r0
	moveq	r4, #0
	andne	r4, r4, #1
	cmp	r4, #0
	moveq	r4, #1
	bne	.L15
.L5:
	ldr	r3, .L18+12
	mov	r0, r7
	ldr	r1, [r3]
	bl	check_fwstate
	cmp	r0, #0
	bne	.L16
.L1:
	ldr	r3, .L18+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	ldr	r2, [r6, #4]
	ldr	r3, [r5, #4]
	cmp	r2, r3
	movne	r4, #0
	b	.L1
.L14:
	cmp	r8, r0
	bne	.L4
	b	.L5
.L13:
	ldr	r3, .L18+16
	ldr	r1, [r6, #8]
	ldr	r3, [r3]
	ldr	r0, [r6, #12]
	sub	r1, r1, r3
	add	r0, r3, r0
	mov	r2, #0
	mov	r3, sp
	bl	rtw_get_wps_ie
	subs	r4, r0, #0
	movne	r4, #1
	b	.L1
.L15:
	mov	r1, r8
	mov	r2, #0
	ldr	r0, .L18+20
	bl	DBG_88E
	mov	r4, #0
	b	.L5
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	WIFI_UNDER_WPS
	.word	.LC1
	.word	Ndis802_11EncryptionDisabled
	.word	WIFI_ADHOC_STATE
	.word	_FIXED_IE_LENGTH_
	.word	.LC0
	.size	rtw_is_desired_network, .-rtw_is_desired_network
	.comm	_FIXED_IE_LENGTH_,4,4
	.comm	WIFI_UNDER_WPS,4,4
	.comm	WIFI_ADHOC_STATE,4,4
	.comm	Ndis802_11EncryptionDisabled,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
