	.file	"extr_mlme.c_ieee80211_rx_mgmt_beacon.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"cancelling AP probe due to a received beacon\n"
	.text
	.p2align 4
	.type	ieee80211_rx_mgmt_beacon, @function
ieee80211_rx_mgmt_beacon:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	add	rdi, 168
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r8
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 152
	.cfi_def_cfa_offset 208
	mov	r15, QWORD PTR 8[rdi]
	mov	QWORD PTR 8[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	mov	QWORD PTR 48[rsp], 0
	call	lockdep_assert_held@PLT
	mov	rbx, QWORD PTR 16[rbp]
	sub	rbx, rbp
	sar	rbx, 2
	cmp	rbx, r12
	jbe	.L2
.L100:
	mov	eax, DWORD PTR RX_MGMT_NONE[rip]
.L1:
	mov	rcx, QWORD PTR 136[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L102
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	eax, eax
	call	rcu_read_lock@PLT
	mov	edi, DWORD PTR 64[r14]
	call	rcu_dereference@PLT
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 16[rsp], rax
	mov	rax, QWORD PTR [rax]
	cmp	QWORD PTR 0[r13], rax
	jne	.L5
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	rax, QWORD PTR 160[r14]
	test	rax, rax
	je	.L6
	mov	esi, DWORD PTR [rax]
	test	esi, esi
	je	.L6
	mov	rax, QWORD PTR 16[rax]
	mov	edi, DWORD PTR 32[rbp]
	mov	rsi, QWORD PTR [rax]
	call	ether_addr_equal@PLT
	test	rax, rax
	jne	.L103
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 152[r14]
	test	rax, rax
	je	.L100
	mov	edi, DWORD PTR 32[rbp]
	mov	rsi, QWORD PTR [rax]
	call	ether_addr_equal@PLT
	test	rax, rax
	je	.L100
	mov	rax, QWORD PTR 152[r14]
	mov	ecx, DWORD PTR 76[r14]
	mov	edx, DWORD PTR IEEE80211_STA_RESET_SIGNAL_AVE[rip]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 8[r13]
	mov	DWORD PTR 72[r14], eax
	test	ecx, edx
	jne	.L104
	mov	ecx, DWORD PTR IEEE80211_SIGNAL_AVE_WEIGHT[rip]
	mov	edx, 16
	imul	eax, ecx
	sub	edx, ecx
	imul	edx, DWORD PTR 80[r14]
	sal	eax, 4
	add	eax, edx
	lea	edx, 15[rax]
	cmovs	eax, edx
	add	DWORD PTR 88[r14], 1
	sar	eax, 4
	mov	DWORD PTR 80[r14], eax
.L12:
	mov	rdx, QWORD PTR 96[r14]
	mov	rax, QWORD PTR 104[r14]
	cmp	rdx, rax
	je	.L13
	mov	esi, DWORD PTR IEEE80211_SIGNAL_AVE_MIN_COUNT[rip]
	cmp	DWORD PTR 88[r14], esi
	jl	.L14
	movsx	rcx, DWORD PTR 80[r14]
	mov	edi, DWORD PTR 92[r14]
	mov	rsi, rcx
	cmp	rax, rcx
	jge	.L15
	test	edi, edi
	je	.L51
	movsx	r8, edi
	cmp	rdx, r8
	jl	.L15
.L51:
	mov	DWORD PTR 92[r14], esi
	mov	edx, DWORD PTR RSSI_EVENT_HIGH[rip]
	mov	rsi, r14
	mov	rdi, r15
	call	drv_rssi_callback@PLT
.L13:
	mov	eax, DWORD PTR 8[r14]
	test	eax, eax
	je	.L14
	mov	esi, DWORD PTR IEEE80211_SIGNAL_AVE_MIN_COUNT[rip]
	cmp	DWORD PTR 88[r14], esi
	jl	.L14
.L48:
	mov	edx, DWORD PTR [r14]
	test	DWORD PTR IEEE80211_VIF_SUPPORTS_CQM_RSSI[rip], edx
	jne	.L14
	mov	ecx, DWORD PTR 80[r14]
	mov	esi, DWORD PTR 12[r14]
	test	ecx, ecx
	lea	edx, 15[rcx]
	cmovns	edx, ecx
	mov	ecx, DWORD PTR 84[r14]
	sar	edx, 4
	cmp	edx, eax
	jge	.L21
	test	ecx, ecx
	je	.L22
	sub	ecx, esi
	cmp	ecx, edx
	jle	.L14
.L22:
	mov	DWORD PTR 84[r14], edx
	mov	esi, DWORD PTR NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW[rip]
	mov	rdi, r14
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	ieee80211_cqm_rssi_notify@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR 76[r14]
	test	DWORD PTR IEEE80211_STA_BEACON_POLL[rip], eax
	jne	.L105
.L24:
	mov	rdi, r14
	call	ieee80211_sta_reset_beacon_monitor@PLT
	xor	edi, edi
	lea	rsi, 24[rbp]
	mov	edx, 4
	call	crc32_be@PLT
	mov	r11, r12
	mov	rdi, QWORD PTR 16[rbp]
	xor	edx, edx
	sub	r11, rbx
	mov	r8d, DWORD PTR care_about_ies[rip]
	lea	rbx, 64[rsp]
	mov	r9, rax
	mov	rsi, r11
	mov	rcx, rbx
	mov	QWORD PTR 24[rsp], r11
	call	ieee802_11_parse_elems_crc@PLT
	mov	r11, QWORD PTR 24[rsp]
	mov	r9, rax
	mov	eax, DWORD PTR 8[r15]
	test	DWORD PTR IEEE80211_HW_PS_NULLFUNC_STACK[rip], eax
	jne	.L106
.L26:
	cmp	QWORD PTR 56[r14], 0
	jne	.L107
.L30:
	cmp	QWORD PTR 128[r14], r9
	jne	.L33
	mov	edx, DWORD PTR 120[r14]
	test	edx, edx
	jne	.L100
.L33:
	mov	QWORD PTR 128[r14], r9
	mov	rcx, r13
	mov	rdx, r12
	mov	rsi, rbp
	mov	DWORD PTR 120[r14], 1
	mov	rdi, r14
	mov	r8, rbx
	call	ieee80211_rx_bss_info@PLT
	mov	ecx, DWORD PTR 120[rsp]
	mov	edx, DWORD PTR 124[rsp]
	mov	rsi, r14
	mov	rdi, r15
	call	ieee80211_sta_wmm_params@PLT
	test	rax, rax
	je	.L34
	mov	rax, QWORD PTR BSS_CHANGED_QOS[rip]
	or	QWORD PTR 48[rsp], rax
.L34:
	mov	eax, DWORD PTR 16[r14]
	test	eax, eax
	jne	.L35
	mov	rax, QWORD PTR 112[rsp]
	test	rax, rax
	je	.L36
	mov	rax, QWORD PTR 8[rax]
	mov	edx, 1
	test	rax, rax
	cmove	rax, rdx
	mov	DWORD PTR 16[r14], eax
.L38:
	mov	eax, DWORD PTR 8[r15]
	test	DWORD PTR IEEE80211_HW_TIMING_BEACON_ONLY[rip], eax
	jne	.L108
.L39:
	mov	rax, QWORD PTR BSS_CHANGED_DTIM_PERIOD[rip]
	or	QWORD PTR 48[rsp], rax
.L35:
	mov	rax, QWORD PTR 104[rsp]
	test	rax, rax
	je	.L50
	mov	ebx, DWORD PTR [rax]
	mov	r12d, 1
.L41:
	mov	edi, DWORD PTR 8[rbp]
	add	r15, 4
	call	le16_to_cpu@PLT
	mov	ecx, ebx
	mov	edx, r12d
	mov	rdi, r14
	mov	esi, eax
	call	ieee80211_handle_bss_capability@PLT
	mov	rdi, r15
	or	QWORD PTR 48[rsp], rax
	call	mutex_lock@PLT
	mov	rbx, QWORD PTR 32[rsp]
	mov	rdi, r14
	mov	rsi, rbx
	call	sta_info_get@PLT
	mov	ecx, DWORD PTR 96[rsp]
	mov	edx, DWORD PTR 100[rsp]
	mov	r8, rbx
	lea	r9, 48[rsp]
	mov	rsi, rax
	mov	rdi, r14
	mov	r12, rax
	call	ieee80211_config_bw@PLT
	test	rax, rax
	jne	.L109
	test	r12, r12
	je	.L43
	mov	rax, QWORD PTR 88[rsp]
	test	rax, rax
	je	.L43
	mov	ecx, DWORD PTR 12[r13]
	mov	edx, DWORD PTR [rax]
	mov	r8d, 1
	mov	rsi, r12
	mov	rdi, r14
	call	ieee80211_vht_handle_opmode@PLT
.L43:
	mov	rdi, r15
	call	mutex_unlock@PLT
	cmp	QWORD PTR 80[rsp], 0
	je	.L99
	cmp	QWORD PTR 64[rsp], 0
	jne	.L110
.L99:
	mov	rsi, QWORD PTR 48[rsp]
.L45:
	mov	rdi, r14
	call	ieee80211_bss_info_change_notify@PLT
	jmp	.L100
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	call	rcu_read_unlock@PLT
	mov	eax, DWORD PTR RX_MGMT_NONE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L104:
	not	edx
	sal	eax, 4
	mov	DWORD PTR 84[r14], 0
	and	edx, ecx
	mov	DWORD PTR 80[r14], eax
	mov	DWORD PTR 76[r14], edx
	mov	QWORD PTR 88[r14], 1
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L103:
	lea	r8, 64[rsp]
	mov	rdi, QWORD PTR 16[rbp]
	mov	rsi, r12
	xor	edx, edx
	mov	rcx, r8
	sub	rsi, rbx
	mov	QWORD PTR 8[rsp], r8
	call	ieee802_11_parse_elems@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rdx, r12
	mov	rsi, rbp
	mov	rcx, r13
	mov	rdi, r14
	call	ieee80211_rx_bss_info@PLT
	mov	rax, QWORD PTR 160[r14]
	movabs	rsi, 4294967296
	mov	QWORD PTR [rax], rsi
	mov	edx, DWORD PTR 8[r15]
	test	DWORD PTR IEEE80211_HW_TIMING_BEACON_ONLY[rip], edx
	jne	.L111
.L7:
	mov	esi, DWORD PTR jiffies[rip]
	mov	DWORD PTR 8[rax], 1
	lea	rdi, 72[r14]
	mov	DWORD PTR 12[rax], esi
	call	run_again@PLT
	mov	eax, DWORD PTR RX_MGMT_NONE[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L107:
	lea	r10, 56[rsp]
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, DWORD PTR IEEE80211_P2P_ATTR_ABSENCE_NOTICE[rip]
	mov	r8d, 8
	mov	rcx, r10
	mov	rsi, r11
	mov	QWORD PTR 24[rsp], r9
	mov	QWORD PTR 56[rsp], 0
	mov	QWORD PTR 40[rsp], r10
	call	cfg80211_get_p2p_attr@PLT
	mov	r9, QWORD PTR 24[rsp]
	cmp	eax, 1
	jle	.L31
	mov	rax, QWORD PTR 56[rsp]
	cmp	QWORD PTR 112[r14], rax
	je	.L30
	mov	r10, QWORD PTR 40[rsp]
	mov	QWORD PTR 112[r14], rax
	lea	rdi, 48[r14]
	mov	edx, 8
	mov	rsi, r10
	call	memcpy@PLT
	mov	rax, QWORD PTR BSS_CHANGED_P2P_PS[rip]
	mov	r9, QWORD PTR 24[rsp]
	mov	DWORD PTR 120[r14], 0
	or	QWORD PTR 48[rsp], rax
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L106:
	mov	edx, DWORD PTR 144[r14]
	mov	rdi, QWORD PTR 112[rsp]
	mov	QWORD PTR 40[rsp], r9
	mov	esi, DWORD PTR 128[rsp]
	call	ieee80211_check_tim@PLT
	mov	r11, QWORD PTR 24[rsp]
	mov	r9, QWORD PTR 40[rsp]
	test	eax, eax
	je	.L26
	cmp	QWORD PTR 16[r15], 0
	jle	.L28
	mov	edx, DWORD PTR 24[r15]
	mov	eax, DWORD PTR IEEE80211_CONF_PS[rip]
	test	edx, eax
	jne	.L112
.L29:
	xor	edx, edx
	mov	rsi, r14
	mov	rdi, r15
	mov	QWORD PTR 40[rsp], r9
	mov	QWORD PTR 24[rsp], r11
	call	ieee80211_send_nullfunc@PLT
	mov	r11, QWORD PTR 24[rsp]
	mov	r9, QWORD PTR 40[rsp]
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L105:
	lea	rsi, .LC0[rip]
	mov	rdi, r14
	call	mlme_dbg_ratelimited@PLT
	lea	r8, 36[r15]
	mov	rdi, r8
	mov	QWORD PTR 24[rsp], r8
	call	mutex_lock@PLT
	mov	eax, DWORD PTR IEEE80211_STA_BEACON_POLL[rip]
	mov	rdi, r15
	not	eax
	and	DWORD PTR 76[r14], eax
	call	ieee80211_run_deferred_scan@PLT
	mov	r8, QWORD PTR 24[rsp]
	mov	rdi, r8
	call	mutex_unlock@PLT
	lea	r8, 32[r15]
	mov	rdi, r8
	mov	QWORD PTR 24[rsp], r8
	call	mutex_lock@PLT
	mov	rdi, r15
	mov	esi, -1
	call	ieee80211_recalc_ps@PLT
	mov	r8, QWORD PTR 24[rsp]
	mov	rdi, r8
	call	mutex_unlock@PLT
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L50:
	xor	ebx, ebx
	xor	r12d, r12d
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L15:
	cmp	rdx, rcx
	jle	.L17
	movsx	rdx, edi
	cmp	rax, rdx
	jle	.L52
	test	edi, edi
	jne	.L17
.L52:
	mov	DWORD PTR 92[r14], esi
	mov	edx, DWORD PTR RSSI_EVENT_LOW[rip]
	mov	rsi, r14
	mov	rdi, r15
	call	drv_rssi_callback@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L109:
	mov	rdi, r15
	call	mutex_unlock@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	edx, DWORD PTR WLAN_REASON_DEAUTH_LEAVING[rip]
	mov	rdi, r14
	mov	esi, DWORD PTR IEEE80211_STYPE_DEAUTH[rip]
	mov	ecx, 1
	call	ieee80211_set_disassoc@PLT
	mov	eax, DWORD PTR RX_MGMT_CFG80211_TX_DEAUTH[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	eax, DWORD PTR 8[r14]
	test	eax, eax
	jne	.L48
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L108:
	mov	edi, DWORD PTR 12[rbp]
	call	le64_to_cpu@PLT
	mov	QWORD PTR 40[r14], rax
	mov	eax, DWORD PTR 16[r13]
	mov	DWORD PTR 32[r14], eax
	mov	rax, QWORD PTR 112[rsp]
	test	rax, rax
	je	.L40
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[r14], rax
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L31:
	cmp	QWORD PTR 112[r14], -1
	je	.L30
	lea	rdi, 48[r14]
	mov	edx, 4
	xor	esi, esi
	mov	QWORD PTR 24[rsp], r9
	mov	QWORD PTR 112[r14], -1
	call	memset@PLT
	mov	rax, QWORD PTR BSS_CHANGED_P2P_PS[rip]
	mov	r9, QWORD PTR 24[rsp]
	mov	DWORD PTR 120[r14], 0
	or	QWORD PTR 48[rsp], rax
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L36:
	mov	DWORD PTR 16[r14], 1
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L110:
	mov	edi, DWORD PTR WLAN_CAPABILITY_SPECTRUM_MGMT[rip]
	mov	ebx, DWORD PTR 0[rbp]
	call	cpu_to_le16@PLT
	test	ebx, eax
	je	.L99
	mov	rsi, QWORD PTR 16[rsp]
	mov	r8, QWORD PTR 64[rsp]
	mov	rdi, r14
	mov	ecx, DWORD PTR 72[rsp]
	mov	rdx, QWORD PTR 80[rsp]
	call	ieee80211_handle_pwr_constr@PLT
	or	rax, QWORD PTR 48[rsp]
	mov	QWORD PTR 48[rsp], rax
	mov	rsi, rax
	jmp	.L45
.L28:
	mov	ecx, DWORD PTR [r15]
	test	ecx, ecx
	jne	.L26
	cmp	QWORD PTR 136[r14], 0
	je	.L26
	mov	DWORD PTR [r15], 1
	mov	rsi, r14
	mov	rdi, r15
	mov	QWORD PTR 40[rsp], r9
	mov	QWORD PTR 24[rsp], r11
	call	ieee80211_send_pspoll@PLT
	mov	r9, QWORD PTR 40[rsp]
	mov	r11, QWORD PTR 24[rsp]
	jmp	.L26
.L21:
	jle	.L14
	test	ecx, ecx
	je	.L23
	add	ecx, esi
	cmp	ecx, edx
	jge	.L14
.L23:
	mov	DWORD PTR 84[r14], edx
	mov	esi, DWORD PTR NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH[rip]
	mov	rdi, r14
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	call	ieee80211_cqm_rssi_notify@PLT
	jmp	.L14
.L40:
	mov	QWORD PTR 24[r14], 0
	jmp	.L39
.L111:
	mov	edi, DWORD PTR 12[rbp]
	call	le64_to_cpu@PLT
	mov	QWORD PTR 40[r14], rax
	mov	eax, DWORD PTR 16[r13]
	mov	DWORD PTR 32[r14], eax
	mov	rax, QWORD PTR 112[rsp]
	test	rax, rax
	je	.L8
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[r14], rax
	mov	rax, QWORD PTR 160[r14]
	jmp	.L7
.L112:
	not	eax
	mov	esi, DWORD PTR IEEE80211_CONF_CHANGE_PS[rip]
	mov	rdi, r15
	and	eax, edx
	mov	DWORD PTR 24[r15], eax
	call	ieee80211_hw_config@PLT
	mov	r9, QWORD PTR 40[rsp]
	mov	r11, QWORD PTR 24[rsp]
	jmp	.L29
.L8:
	mov	QWORD PTR 24[r14], 0
	mov	rax, QWORD PTR 160[r14]
	jmp	.L7
.L102:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ieee80211_rx_mgmt_beacon, .-ieee80211_rx_mgmt_beacon
	.comm	jiffies,4,4
	.comm	care_about_ies,4,4
	.comm	WLAN_REASON_DEAUTH_LEAVING,4,4
	.comm	WLAN_CAPABILITY_SPECTRUM_MGMT,4,4
	.comm	RX_MGMT_NONE,4,4
	.comm	RX_MGMT_CFG80211_TX_DEAUTH,4,4
	.comm	RSSI_EVENT_LOW,4,4
	.comm	RSSI_EVENT_HIGH,4,4
	.comm	NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,4,4
	.comm	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,4,4
	.comm	IEEE80211_VIF_SUPPORTS_CQM_RSSI,4,4
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_STA_RESET_SIGNAL_AVE,4,4
	.comm	IEEE80211_STA_BEACON_POLL,4,4
	.comm	IEEE80211_SIGNAL_AVE_WEIGHT,4,4
	.comm	IEEE80211_SIGNAL_AVE_MIN_COUNT,4,4
	.comm	IEEE80211_P2P_ATTR_ABSENCE_NOTICE,4,4
	.comm	IEEE80211_HW_TIMING_BEACON_ONLY,4,4
	.comm	IEEE80211_HW_PS_NULLFUNC_STACK,4,4
	.comm	IEEE80211_CONF_PS,4,4
	.comm	IEEE80211_CONF_CHANGE_PS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	BSS_CHANGED_QOS,8,8
	.comm	BSS_CHANGED_P2P_PS,8,8
	.comm	BSS_CHANGED_DTIM_PERIOD,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_mlme.c_ieee80211_rx_mgmt_beacon.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cancelling AP probe due to a received beacon\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_rx_mgmt_beacon, %function
ieee80211_rx_mgmt_beacon:
	@ args = 4, pretend = 0, frame = 72
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, r1
	mov	r4, r0
	mov	r8, #0
	mov	r7, r2
	sub	sp, sp, #84
	str	r3, [sp, #12]
	ldr	r3, .L129
	add	r0, r0, #100
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	ldr	r9, [r4, #104]
	ldr	r10, [sp, #120]
	str	r8, [sp, #24]
	bl	lockdep_assert_held
	ldr	r5, [r6, #12]
	sub	r5, r5, r6
	cmp	r7, r5, asr #2
	bcs	.L2
.L116:
	ldr	r3, .L129+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L129
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L118
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	bl	rcu_read_lock
	ldr	r0, [r4, #36]
	bl	rcu_dereference
	cmp	r0, #0
	beq	.L5
	ldr	fp, [r0]
	ldr	r2, [r10]
	ldr	r3, [fp]
	cmp	r2, r3
	bne	.L5
	bl	rcu_read_unlock
	ldr	r3, [r4, #96]
	asr	r5, r5, #2
	cmp	r3, #0
	beq	.L6
	ldr	r2, [r3]
	cmp	r2, #0
	beq	.L6
	ldr	r3, [r3, #16]
	ldr	r0, [r6, #20]
	ldr	r1, [r3]
	bl	ether_addr_equal
	cmp	r0, #0
	bne	.L119
.L6:
	ldr	r3, [r4, #92]
	cmp	r3, #0
	beq	.L116
	ldr	r1, [r3]
	ldr	r0, [r6, #20]
	bl	ether_addr_equal
	cmp	r0, #0
	beq	.L116
	ldr	r2, .L129+8
	ldr	r0, [r4, #92]
	ldr	r3, [r4, #44]
	ldr	r2, [r2]
	ldr	r0, [r0]
	ldr	r1, [r10, #4]
	tst	r3, r2
	str	r0, [sp, #16]
	str	r1, [r4, #40]
	bne	.L120
	ldr	r3, .L129+12
	ldr	ip, [r4, #48]
	ldr	r2, [r3]
	ldr	r0, [r4, #56]
	mul	r3, r2, r1
	rsb	r2, r2, #16
	lsl	r3, r3, #4
	mla	r3, ip, r2, r3
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	add	r0, r0, #1
	asr	r3, r3, #4
	str	r3, [r4, #48]
	str	r0, [r4, #56]
.L12:
	ldr	r2, [r4, #64]
	ldr	r3, [r4, #68]
	cmp	r2, r3
	beq	.L13
	ldr	r1, .L129+16
	ldr	r0, [r4, #56]
	ldr	r1, [r1]
	cmp	r0, r1
	blt	.L14
	ldr	r1, [r4, #48]
	ldr	r0, [r4, #60]
	cmp	r3, r1
	bge	.L15
	cmp	r0, #0
	cmpne	r2, r0
	blt	.L15
	ldr	r3, .L129+20
.L113:
	str	r1, [r4, #60]
	mov	r0, r9
	mov	r1, r4
	ldr	r2, [r3]
	bl	drv_rssi_callback
.L13:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L14
	ldr	r2, .L129+16
	ldr	r1, [r4, #56]
	ldr	r2, [r2]
	cmp	r1, r2
	blt	.L14
.L46:
	ldr	r2, .L129+24
	ldr	r1, [r4]
	ldr	r2, [r2]
	tst	r1, r2
	bne	.L14
	ldr	r2, [r4, #48]
	ldr	r1, [r4, #52]
	cmp	r2, #0
	add	r0, r2, #15
	movlt	r2, r0
	asr	r2, r2, #4
	cmp	r2, r3
	ldr	r3, [r4, #8]
	bge	.L19
	cmp	r1, #0
	beq	.L20
	sub	r1, r1, r3
	cmp	r1, r2
	ble	.L14
.L20:
	ldr	r1, .L129+28
	ldr	r3, .L129+32
.L114:
	str	r2, [r4, #52]
	mov	r0, r4
	ldr	r2, [r1]
	ldr	r1, [r3]
	bl	ieee80211_cqm_rssi_notify
.L14:
	ldr	r8, .L129+36
	ldr	r2, [r4, #44]
	ldr	r3, [r8]
	tst	r2, r3
	bne	.L121
.L22:
	mov	r0, r4
	bl	ieee80211_sta_reset_beacon_monitor
	mov	r2, #4
	add	r1, r6, #16
	mov	r0, #0
	bl	crc32_be
	ldr	r3, .L129+40
	sub	r5, r7, r5
	ldr	r3, [r3]
	str	r0, [sp, #4]
	str	r3, [sp]
	mov	r2, #0
	add	r3, sp, #32
	mov	r1, r5
	ldr	r0, [r6, #12]
	bl	ieee802_11_parse_elems_crc
	ldr	r3, .L129+44
	ldr	r2, [r9, #8]
	ldr	r3, [r3]
	mov	r8, r0
	tst	r2, r3
	bne	.L122
.L24:
	ldr	r3, [r4, #32]
	cmp	r3, #0
	bne	.L123
.L28:
	ldr	r3, [r4, #80]
	cmp	r3, r8
	bne	.L31
	ldr	r3, [r4, #76]
	cmp	r3, #0
	bne	.L116
.L31:
	mov	r3, #1
	add	r2, sp, #32
	mov	r1, r6
	str	r8, [r4, #80]
	mov	r0, r4
	str	r2, [sp]
	mov	r2, r7
	str	r3, [r4, #76]
	mov	r3, r10
	bl	ieee80211_rx_bss_info
	ldr	r3, [sp, #64]
	ldr	r2, [sp, #68]
	mov	r1, r4
	mov	r0, r9
	bl	ieee80211_sta_wmm_params
	cmp	r0, #0
	ldrne	r2, .L129+48
	ldrne	r3, [sp, #24]
	ldrne	r2, [r2]
	orrne	r3, r3, r2
	strne	r3, [sp, #24]
	ldr	r3, [r4, #12]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [sp, #60]
	cmp	r3, #0
	beq	.L34
	ldr	r3, [r3, #4]
	cmp	r3, #0
	moveq	r3, #1
	str	r3, [r4, #12]
.L36:
	ldr	r3, .L129+52
	ldr	r2, [r9, #8]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L124
.L37:
	ldr	r2, .L129+56
	ldr	r3, [sp, #24]
	ldr	r2, [r2]
	orr	r3, r3, r2
	str	r3, [sp, #24]
.L33:
	ldr	r3, [sp, #56]
	ldr	r0, [r6, #4]
	cmp	r3, #0
	moveq	r5, r3
	movne	r7, #1
	moveq	r7, r5
	ldrne	r5, [r3]
	bl	le16_to_cpu
	mov	r2, r7
	mov	r1, r0
	mov	r3, r5
	mov	r0, r4
	bl	ieee80211_handle_bss_capability
	ldr	r3, [sp, #24]
	add	r9, r9, #4
	orr	r3, r3, r0
	mov	r0, r9
	str	r3, [sp, #24]
	bl	mutex_lock
	ldr	r7, [sp, #16]
	mov	r0, r4
	mov	r1, r7
	bl	sta_info_get
	add	r3, sp, #24
	mov	r1, r0
	str	r3, [sp, #4]
	mov	r5, r0
	ldr	r3, [sp, #48]
	mov	r0, r4
	ldr	r2, [sp, #52]
	str	r7, [sp]
	bl	ieee80211_config_bw
	cmp	r0, #0
	bne	.L125
	cmp	r5, #0
	beq	.L41
	ldr	r3, [sp, #44]
	cmp	r3, #0
	beq	.L41
	mov	r0, #1
	ldr	r2, [r3]
	mov	r1, r5
	ldr	r3, [r10, #8]
	str	r0, [sp]
	mov	r0, r4
	bl	ieee80211_vht_handle_opmode
.L41:
	mov	r0, r9
	bl	mutex_unlock
	ldr	r3, [sp, #40]
	cmp	r3, #0
	beq	.L115
	ldr	r3, [sp, #32]
	cmp	r3, #0
	bne	.L126
.L115:
	ldr	r1, [sp, #24]
.L43:
	mov	r0, r4
	bl	ieee80211_bss_info_change_notify
	b	.L116
.L5:
	bl	rcu_read_unlock
	ldr	r3, .L129+4
	ldr	r0, [r3]
	b	.L1
.L120:
	mov	r0, #0
	mov	ip, #1
	bic	r3, r3, r2
	lsl	r1, r1, #4
	str	r3, [r4, #44]
	str	r1, [r4, #48]
	str	r0, [r4, #52]
	str	r0, [r4, #60]
	str	ip, [r4, #56]
	b	.L12
.L119:
	add	fp, sp, #32
	mov	r3, fp
	mov	r2, r8
	sub	r1, r7, r5
	ldr	r0, [r6, #12]
	bl	ieee802_11_parse_elems
	mov	r2, r7
	mov	r3, r10
	mov	r1, r6
	mov	r0, r4
	str	fp, [sp]
	bl	ieee80211_rx_bss_info
	mov	r2, #1
	ldr	r3, .L129+52
	ldr	r0, [r9, #8]
	ldr	r1, [r3]
	ldr	r3, [r4, #96]
	tst	r0, r1
	str	r2, [r3, #4]
	str	r8, [r3]
	bne	.L127
.L7:
	mov	r2, #1
	ldr	r1, .L129+60
	str	r2, [r3, #8]
	ldr	r1, [r1]
	add	r0, r4, #40
	str	r1, [r3, #12]
	bl	run_again
	ldr	r3, .L129+4
	ldr	r0, [r3]
	b	.L1
.L123:
	mov	r2, #4
	mov	r1, r5
	mov	r5, #0
	ldr	r3, .L129+64
	str	r2, [sp]
	ldr	r2, [r3]
	ldr	r0, [r6, #12]
	add	r3, sp, #28
	str	r5, [sp, #28]
	bl	cfg80211_get_p2p_attr
	cmp	r0, #1
	ble	.L29
	ldr	r3, [sp, #28]
	ldr	r2, [r4, #72]
	cmp	r2, r3
	beq	.L28
	mov	r2, #4
	str	r3, [r4, #72]
	add	r1, sp, #28
	add	r0, r4, #28
	bl	memcpy
	ldr	r2, .L129+68
	ldr	r3, [sp, #24]
	ldr	r2, [r2]
	str	r5, [r4, #76]
	orr	r3, r3, r2
	str	r3, [sp, #24]
	b	.L28
.L121:
	add	r3, r9, #24
	ldr	r1, .L129+72
	mov	r0, r4
	str	r3, [sp, #20]
	bl	mlme_dbg_ratelimited
	ldr	r3, [sp, #20]
	mov	r0, r3
	bl	mutex_lock
	ldr	r1, [r8]
	ldr	r2, [r4, #44]
	mov	r0, r9
	bic	r2, r2, r1
	str	r2, [r4, #44]
	bl	ieee80211_run_deferred_scan
	ldr	r3, [sp, #20]
	add	r8, r9, #20
	mov	r0, r3
	bl	mutex_unlock
	mov	r0, r8
	bl	mutex_lock
	mvn	r1, #0
	mov	r0, r9
	bl	ieee80211_recalc_ps
	mov	r0, r8
	bl	mutex_unlock
	b	.L22
.L122:
	ldr	r2, [r4, #88]
	ldr	r1, [sp, #72]
	ldr	r0, [sp, #60]
	bl	ieee80211_check_tim
	cmp	r0, #0
	beq	.L24
	ldr	r3, [r9, #12]
	cmp	r3, #0
	ble	.L26
	ldr	r2, .L129+76
	ldr	r3, [r9, #16]
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L128
.L27:
	mov	r2, #0
	mov	r1, r4
	mov	r0, r9
	bl	ieee80211_send_nullfunc
	b	.L24
.L15:
	cmp	r2, r1
	ble	.L16
	cmp	r0, #0
	cmpne	r3, r0
	bgt	.L16
	ldr	r3, .L129+80
	b	.L113
.L125:
	mov	r0, r9
	bl	mutex_unlock
	ldr	r1, [sp, #12]
	ldr	r3, .L129+84
	ldr	r2, .L129+88
	str	r1, [sp]
	ldr	r1, [r3]
	mov	r0, r4
	mov	r3, #1
	ldr	r2, [r2]
	bl	ieee80211_set_disassoc
	ldr	r3, .L129+92
	ldr	r0, [r3]
	b	.L1
.L16:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L46
	b	.L14
.L124:
	ldr	r0, [r6, #8]
	bl	le64_to_cpu
	ldr	r3, [sp, #60]
	ldr	r2, [r10, #12]
	cmp	r3, #0
	ldrne	r3, [r3]
	str	r0, [r4, #24]
	str	r2, [r4, #20]
	str	r3, [r4, #16]
	b	.L37
.L29:
	ldr	r3, [r4, #72]
	cmn	r3, #1
	beq	.L28
	ldr	r3, .L129+68
	ldr	r2, [sp, #24]
	ldr	r3, [r3]
	mov	r0, #0
	orr	r2, r2, r3
	mvn	r1, #0
	mov	r3, #0
	strb	r0, [r4, #28]
	str	r1, [r4, #72]
	str	r2, [sp, #24]
	strb	r0, [r4, #29]
	strb	r0, [r4, #30]
	strb	r0, [r4, #31]
	str	r3, [r4, #76]
	b	.L28
.L34:
	mov	r3, #1
	str	r3, [r4, #12]
	b	.L36
.L126:
	ldr	r3, .L129+96
	ldr	r5, [r6]
	ldr	r0, [r3]
	bl	cpu_to_le16
	tst	r5, r0
	beq	.L115
	ldr	r3, [sp, #32]
	mov	r1, fp
	str	r3, [sp]
	mov	r0, r4
	ldr	r3, [sp, #36]
	ldr	r2, [sp, #40]
	bl	ieee80211_handle_pwr_constr
	ldr	r1, [sp, #24]
	orr	r1, r0, r1
	str	r1, [sp, #24]
	b	.L43
.L26:
	ldr	r3, [r9]
	cmp	r3, #0
	bne	.L24
	ldr	r3, [r4, #84]
	cmp	r3, #0
	beq	.L24
	mov	r3, #1
	mov	r1, r4
	mov	r0, r9
	str	r3, [r9]
	bl	ieee80211_send_pspoll
	b	.L24
.L19:
	ble	.L14
	cmp	r1, #0
	beq	.L21
	add	r1, r1, r3
	cmp	r1, r2
	bge	.L14
.L21:
	ldr	r1, .L129+28
	ldr	r3, .L129+100
	b	.L114
.L127:
	ldr	r0, [r6, #8]
	bl	le64_to_cpu
	ldr	r2, [sp, #60]
	ldr	r3, [r10, #12]
	cmp	r2, #0
	ldrne	r2, [r2]
	str	r3, [r4, #20]
	str	r0, [r4, #24]
	ldr	r3, [r4, #96]
	str	r2, [r4, #16]
	b	.L7
.L128:
	ldr	r1, .L129+104
	bic	r3, r3, r2
	mov	r0, r9
	ldr	r1, [r1]
	str	r3, [r9, #16]
	bl	ieee80211_hw_config
	b	.L27
.L118:
	bl	__stack_chk_fail
.L130:
	.align	2
.L129:
	.word	.LC1
	.word	RX_MGMT_NONE
	.word	IEEE80211_STA_RESET_SIGNAL_AVE
	.word	IEEE80211_SIGNAL_AVE_WEIGHT
	.word	IEEE80211_SIGNAL_AVE_MIN_COUNT
	.word	RSSI_EVENT_HIGH
	.word	IEEE80211_VIF_SUPPORTS_CQM_RSSI
	.word	GFP_KERNEL
	.word	NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW
	.word	IEEE80211_STA_BEACON_POLL
	.word	care_about_ies
	.word	IEEE80211_HW_PS_NULLFUNC_STACK
	.word	BSS_CHANGED_QOS
	.word	IEEE80211_HW_TIMING_BEACON_ONLY
	.word	BSS_CHANGED_DTIM_PERIOD
	.word	jiffies
	.word	IEEE80211_P2P_ATTR_ABSENCE_NOTICE
	.word	BSS_CHANGED_P2P_PS
	.word	.LC0
	.word	IEEE80211_CONF_PS
	.word	RSSI_EVENT_LOW
	.word	IEEE80211_STYPE_DEAUTH
	.word	WLAN_REASON_DEAUTH_LEAVING
	.word	RX_MGMT_CFG80211_TX_DEAUTH
	.word	WLAN_CAPABILITY_SPECTRUM_MGMT
	.word	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH
	.word	IEEE80211_CONF_CHANGE_PS
	.size	ieee80211_rx_mgmt_beacon, .-ieee80211_rx_mgmt_beacon
	.comm	jiffies,4,4
	.comm	care_about_ies,4,4
	.comm	WLAN_REASON_DEAUTH_LEAVING,4,4
	.comm	WLAN_CAPABILITY_SPECTRUM_MGMT,4,4
	.comm	RX_MGMT_NONE,4,4
	.comm	RX_MGMT_CFG80211_TX_DEAUTH,4,4
	.comm	RSSI_EVENT_LOW,4,4
	.comm	RSSI_EVENT_HIGH,4,4
	.comm	NL80211_CQM_RSSI_THRESHOLD_EVENT_LOW,4,4
	.comm	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,4,4
	.comm	IEEE80211_VIF_SUPPORTS_CQM_RSSI,4,4
	.comm	IEEE80211_STYPE_DEAUTH,4,4
	.comm	IEEE80211_STA_RESET_SIGNAL_AVE,4,4
	.comm	IEEE80211_STA_BEACON_POLL,4,4
	.comm	IEEE80211_SIGNAL_AVE_WEIGHT,4,4
	.comm	IEEE80211_SIGNAL_AVE_MIN_COUNT,4,4
	.comm	IEEE80211_P2P_ATTR_ABSENCE_NOTICE,4,4
	.comm	IEEE80211_HW_TIMING_BEACON_ONLY,4,4
	.comm	IEEE80211_HW_PS_NULLFUNC_STACK,4,4
	.comm	IEEE80211_CONF_PS,4,4
	.comm	IEEE80211_CONF_CHANGE_PS,4,4
	.comm	GFP_KERNEL,4,4
	.comm	BSS_CHANGED_QOS,4,4
	.comm	BSS_CHANGED_P2P_PS,4,4
	.comm	BSS_CHANGED_DTIM_PERIOD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
