	.file	"654029.c"
	.intel_syntax noprefix
	.text
	.globl	DATA_PATH_GROUP
	.bss
	.align 4
	.type	DATA_PATH_GROUP, @object
	.size	DATA_PATH_GROUP, 4
DATA_PATH_GROUP:
	.zero	4
	.globl	IEEE80211_HE_MAC_CAP0_HTC_HE
	.align 4
	.type	IEEE80211_HE_MAC_CAP0_HTC_HE, @object
	.size	IEEE80211_HE_MAC_CAP0_HTC_HE, 4
IEEE80211_HE_MAC_CAP0_HTC_HE:
	.zero	4
	.globl	IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION
	.align 4
	.type	IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION, @object
	.size	IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION, 4
IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION:
	.zero	4
	.globl	IEEE80211_HE_MAC_CAP2_BSR
	.align 4
	.type	IEEE80211_HE_MAC_CAP2_BSR, @object
	.size	IEEE80211_HE_MAC_CAP2_BSR, 4
IEEE80211_HE_MAC_CAP2_BSR:
	.zero	4
	.globl	IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION
	.align 4
	.type	IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION, @object
	.size	IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION, 4
IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION:
	.zero	4
	.globl	IEEE80211_HE_MAC_CAP3_OMI_CONTROL
	.align 4
	.type	IEEE80211_HE_MAC_CAP3_OMI_CONTROL, @object
	.size	IEEE80211_HE_MAC_CAP3_OMI_CONTROL, 4
IEEE80211_HE_MAC_CAP3_OMI_CONTROL:
	.zero	4
	.globl	IEEE80211_HE_MAC_CAP4_BQR
	.align 4
	.type	IEEE80211_HE_MAC_CAP4_BQR, @object
	.size	IEEE80211_HE_MAC_CAP4_BQR, 4
IEEE80211_HE_MAC_CAP4_BQR:
	.zero	4
	.globl	IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT
	.align 4
	.type	IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT, @object
	.size	IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT, 4
IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT:
	.zero	4
	.globl	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK
	.align 4
	.type	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK, @object
	.size	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK, 4
IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK:
	.zero	4
	.globl	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED
	.align 4
	.type	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED, @object
	.size	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED, 4
IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED:
	.zero	4
	.globl	IEEE80211_NUM_ACS
	.align 4
	.type	IEEE80211_NUM_ACS, @object
	.size	IEEE80211_NUM_ACS, 4
IEEE80211_NUM_ACS:
	.zero	4
	.globl	IEEE80211_PPE_THRES_INFO_PPET_SIZE
	.align 8
	.type	IEEE80211_PPE_THRES_INFO_PPET_SIZE, @object
	.size	IEEE80211_PPE_THRES_INFO_PPET_SIZE, 8
IEEE80211_PPE_THRES_INFO_PPET_SIZE:
	.zero	8
	.globl	IEEE80211_PPE_THRES_NSS_MASK
	.align 4
	.type	IEEE80211_PPE_THRES_NSS_MASK, @object
	.size	IEEE80211_PPE_THRES_NSS_MASK, 4
IEEE80211_PPE_THRES_NSS_MASK:
	.zero	4
	.globl	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK
	.align 4
	.type	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK, @object
	.size	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK, 4
IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK:
	.zero	4
	.globl	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS
	.align 4
	.type	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS, @object
	.size	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS, 4
IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS:
	.zero	4
	.globl	IWL_HE_HTC_BQR_SUPP
	.align 4
	.type	IWL_HE_HTC_BQR_SUPP, @object
	.size	IWL_HE_HTC_BQR_SUPP, 4
IWL_HE_HTC_BQR_SUPP:
	.zero	4
	.globl	IWL_HE_HTC_BSR_SUPP
	.align 4
	.type	IWL_HE_HTC_BSR_SUPP, @object
	.size	IWL_HE_HTC_BSR_SUPP, 4
IWL_HE_HTC_BSR_SUPP:
	.zero	4
	.globl	IWL_HE_HTC_LINK_ADAP_BOTH
	.align 4
	.type	IWL_HE_HTC_LINK_ADAP_BOTH, @object
	.size	IWL_HE_HTC_LINK_ADAP_BOTH, 4
IWL_HE_HTC_LINK_ADAP_BOTH:
	.zero	4
	.globl	IWL_HE_HTC_LINK_ADAP_UNSOLICITED
	.align 4
	.type	IWL_HE_HTC_LINK_ADAP_UNSOLICITED, @object
	.size	IWL_HE_HTC_LINK_ADAP_UNSOLICITED, 4
IWL_HE_HTC_LINK_ADAP_UNSOLICITED:
	.zero	4
	.globl	IWL_HE_HTC_OMI_SUPP
	.align 4
	.type	IWL_HE_HTC_OMI_SUPP, @object
	.size	IWL_HE_HTC_OMI_SUPP, 4
IWL_HE_HTC_OMI_SUPP:
	.zero	4
	.globl	IWL_HE_HTC_SUPPORT
	.align 4
	.type	IWL_HE_HTC_SUPPORT, @object
	.size	IWL_HE_HTC_SUPPORT, 4
IWL_HE_HTC_SUPPORT:
	.zero	4
	.globl	IWL_HE_PKT_EXT_BPSK
	.align 4
	.type	IWL_HE_PKT_EXT_BPSK, @object
	.size	IWL_HE_PKT_EXT_BPSK, 4
IWL_HE_PKT_EXT_BPSK:
	.zero	4
	.globl	IWL_HE_PKT_EXT_NONE
	.align 4
	.type	IWL_HE_PKT_EXT_NONE, @object
	.size	IWL_HE_PKT_EXT_NONE, 4
IWL_HE_PKT_EXT_NONE:
	.zero	4
	.globl	IWL_MAX_TID_COUNT
	.align 4
	.type	IWL_MAX_TID_COUNT, @object
	.size	IWL_MAX_TID_COUNT, 4
IWL_MAX_TID_COUNT:
	.zero	4
	.globl	IWL_UCODE_TLV_API_MBSSID_HE
	.align 4
	.type	IWL_UCODE_TLV_API_MBSSID_HE, @object
	.size	IWL_UCODE_TLV_API_MBSSID_HE, 4
IWL_UCODE_TLV_API_MBSSID_HE:
	.zero	4
	.globl	MAX_HE_CHANNEL_BW_INDX
	.align 4
	.type	MAX_HE_CHANNEL_BW_INDX, @object
	.size	MAX_HE_CHANNEL_BW_INDX, 4
MAX_HE_CHANNEL_BW_INDX:
	.zero	4
	.globl	MAX_HE_SUPP_NSS
	.align 4
	.type	MAX_HE_SUPP_NSS, @object
	.size	MAX_HE_SUPP_NSS, 4
MAX_HE_SUPP_NSS:
	.zero	4
	.globl	STA_CTXT_HE_32BIT_BA_BITMAP
	.align 4
	.type	STA_CTXT_HE_32BIT_BA_BITMAP, @object
	.size	STA_CTXT_HE_32BIT_BA_BITMAP, 4
STA_CTXT_HE_32BIT_BA_BITMAP:
	.zero	4
	.globl	STA_CTXT_HE_ACK_ENABLED
	.align 4
	.type	STA_CTXT_HE_ACK_ENABLED, @object
	.size	STA_CTXT_HE_ACK_ENABLED, 4
STA_CTXT_HE_ACK_ENABLED:
	.zero	4
	.globl	STA_CTXT_HE_MU_EDCA_CW
	.align 4
	.type	STA_CTXT_HE_MU_EDCA_CW, @object
	.size	STA_CTXT_HE_MU_EDCA_CW, 4
STA_CTXT_HE_MU_EDCA_CW:
	.zero	4
	.globl	STA_CTXT_HE_PACKET_EXT
	.align 4
	.type	STA_CTXT_HE_PACKET_EXT, @object
	.size	STA_CTXT_HE_PACKET_EXT, 4
STA_CTXT_HE_PACKET_EXT:
	.zero	4
	.globl	STA_CTXT_HE_REF_BSSID_VALID
	.align 4
	.type	STA_CTXT_HE_REF_BSSID_VALID, @object
	.size	STA_CTXT_HE_REF_BSSID_VALID, 4
STA_CTXT_HE_REF_BSSID_VALID:
	.zero	4
	.globl	STA_CTXT_HE_RU_2MHZ_BLOCK
	.align 4
	.type	STA_CTXT_HE_RU_2MHZ_BLOCK, @object
	.size	STA_CTXT_HE_RU_2MHZ_BLOCK, 4
STA_CTXT_HE_RU_2MHZ_BLOCK:
	.zero	4
	.globl	STA_CTXT_HE_TRIG_RND_ALLOC
	.align 4
	.type	STA_CTXT_HE_TRIG_RND_ALLOC, @object
	.size	STA_CTXT_HE_TRIG_RND_ALLOC, 4
STA_CTXT_HE_TRIG_RND_ALLOC:
	.zero	4
	.globl	STA_HE_CTXT_CMD
	.align 4
	.type	STA_HE_CTXT_CMD, @object
	.size	STA_HE_CTXT_CMD, 4
STA_HE_CTXT_CMD:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Can't find STA to configure HE\n"
	.align 8
.LC1:
	.string	"Got NSS = %d - trimming to %d\n"
	.align 8
.LC2:
	.string	"Failed to config FW to work HE!\n"
	.text
	.type	iwl_mvm_cfg_he_sta, @function
iwl_mvm_cfg_he_sta:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 232
	.cfi_offset 3, -24
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -224[rbp], rsi
	mov	DWORD PTR -228[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	iwl_mvm_vif_from_mac80211@PLT
	mov	QWORD PTR -152[rbp], rax
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	eax, DWORD PTR -228[rbp]
	mov	DWORD PTR -112[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR -104[rbp], rax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 64[rax]
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 68[rax]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR IWL_MAX_TID_COUNT[rip]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR IWL_UCODE_TLV_API_MBSSID_HE[rip]
	mov	rdx, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR 8[rdx]
	mov	esi, eax
	mov	rdi, rdx
	call	fw_has_api@PLT
	test	rax, rax
	je	.L2
	mov	eax, 80
	jmp	.L3
.L2:
	mov	eax, 4
.L3:
	mov	DWORD PTR -168[rbp], eax
	mov	eax, 0
	call	rcu_read_lock@PLT
	mov	rax, QWORD PTR -216[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	rcu_dereference@PLT
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR -144[rbp]
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	je	.L4
	mov	eax, 0
	call	rcu_read_unlock@PLT
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	WARN@PLT
	jmp	.L1
.L4:
	mov	rax, QWORD PTR -144[rbp]
	mov	eax, DWORD PTR 24[rax]
	test	eax, eax
	jne	.L6
	mov	eax, 0
	call	rcu_read_unlock@PLT
	jmp	.L1
.L6:
	mov	DWORD PTR -204[rbp], 0
	mov	rax, QWORD PTR -152[rbp]
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L7
	mov	eax, DWORD PTR STA_CTXT_HE_RU_2MHZ_BLOCK[rip]
	or	DWORD PTR -204[rbp], eax
.L7:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP0_HTC_HE[rip]
	and	eax, edx
	test	eax, eax
	je	.L8
	mov	eax, DWORD PTR IWL_HE_HTC_SUPPORT[rip]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edx, DWORD PTR -48[rbp]
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
.L8:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION[rip]
	and	eax, edx
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION[rip]
	and	eax, edx
	test	eax, eax
	je	.L10
.L9:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION[rip]
	and	eax, edx
	lea	ecx, [rax+rax]
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 4
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION[rip]
	and	eax, edx
	add	eax, ecx
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 2
	jne	.L11
	mov	eax, DWORD PTR IWL_HE_HTC_LINK_ADAP_UNSOLICITED[rip]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edx, DWORD PTR -48[rbp]
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
	jmp	.L10
.L11:
	cmp	DWORD PTR -164[rbp], 3
	jne	.L10
	mov	eax, DWORD PTR IWL_HE_HTC_LINK_ADAP_BOTH[rip]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edx, DWORD PTR -48[rbp]
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
.L10:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 8
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP2_BSR[rip]
	and	eax, edx
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR IWL_HE_HTC_BSR_SUPP[rip]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edx, DWORD PTR -48[rbp]
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
.L12:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 12
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP3_OMI_CONTROL[rip]
	and	eax, edx
	test	eax, eax
	je	.L13
	mov	eax, DWORD PTR IWL_HE_HTC_OMI_SUPP[rip]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edx, DWORD PTR -48[rbp]
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
.L13:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 8[rax]
	add	rax, 16
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_MAC_CAP4_BQR[rip]
	and	eax, edx
	test	eax, eax
	je	.L14
	mov	eax, DWORD PTR IWL_HE_HTC_BQR_SUPP[rip]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edx, DWORD PTR -48[rbp]
	or	eax, edx
	mov	DWORD PTR -48[rbp], eax
.L14:
	lea	rax, -112[rbp]
	add	rax, 56
	mov	edx, 8
	mov	esi, 7
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 24
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT[rip]
	and	eax, edx
	test	eax, eax
	je	.L15
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_PPE_THRES_NSS_MASK[rip]
	and	eax, edx
	add	eax, 1
	mov	DWORD PTR -196[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK[rip]
	and	edx, eax
	mov	eax, DWORD PTR IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS[rip]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	DWORD PTR -160[rbp], eax
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -128[rbp], rax
	mov	DWORD PTR -192[rbp], 7
	mov	eax, DWORD PTR MAX_HE_SUPP_NSS[rip]
	cmp	DWORD PTR -196[rbp], eax
	jle	.L16
	mov	ecx, DWORD PTR MAX_HE_SUPP_NSS[rip]
	mov	edx, DWORD PTR -196[rbp]
	mov	rax, QWORD PTR -216[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	IWL_INFO@PLT
	mov	eax, DWORD PTR MAX_HE_SUPP_NSS[rip]
	mov	DWORD PTR -196[rbp], eax
.L16:
	mov	DWORD PTR -200[rbp], 0
	jmp	.L17
.L22:
	mov	eax, DWORD PTR -160[rbp]
	add	eax, eax
	mov	DWORD PTR -188[rbp], eax
	mov	DWORD PTR -184[rbp], 0
	jmp	.L18
.L21:
	sar	DWORD PTR -188[rbp]
	mov	eax, DWORD PTR -188[rbp]
	and	eax, 1
	test	eax, eax
	je	.L43
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rbx, 8[rax]
	mov	edx, DWORD PTR -192[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	iwl_mvm_he_get_ppe_val@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR IEEE80211_PPE_THRES_INFO_PPET_SIZE[rip]
	mov	edx, eax
	mov	eax, DWORD PTR -192[rbp]
	add	eax, edx
	mov	DWORD PTR -192[rbp], eax
	mov	rdx, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -184[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	mov	edx, DWORD PTR -192[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	iwl_mvm_he_get_ppe_val@PLT
	mov	QWORD PTR [rbx], rax
	mov	rax, QWORD PTR IEEE80211_PPE_THRES_INFO_PPET_SIZE[rip]
	mov	edx, eax
	mov	eax, DWORD PTR -192[rbp]
	add	eax, edx
	mov	DWORD PTR -192[rbp], eax
	jmp	.L20
.L43:
	nop
.L20:
	add	DWORD PTR -184[rbp], 1
.L18:
	mov	eax, DWORD PTR MAX_HE_CHANNEL_BW_INDX[rip]
	cmp	DWORD PTR -184[rbp], eax
	jl	.L21
	add	DWORD PTR -200[rbp], 1
.L17:
	mov	eax, DWORD PTR -200[rbp]
	cmp	eax, DWORD PTR -196[rbp]
	jl	.L22
	mov	eax, DWORD PTR STA_CTXT_HE_PACKET_EXT[rip]
	or	DWORD PTR -204[rbp], eax
	jmp	.L23
.L15:
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 36
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK[rip]
	and	edx, eax
	mov	eax, DWORD PTR IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED[rip]
	cmp	edx, eax
	je	.L23
	mov	DWORD PTR -180[rbp], -1
	mov	DWORD PTR -176[rbp], -1
	mov	rax, QWORD PTR -144[rbp]
	mov	rax, QWORD PTR 16[rax]
	add	rax, 36
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK[rip]
	and	eax, edx
	cmp	eax, 130
	je	.L24
	cmp	eax, 130
	jg	.L25
	cmp	eax, 128
	je	.L26
	cmp	eax, 129
	je	.L27
	jmp	.L25
.L24:
	mov	eax, DWORD PTR IWL_HE_PKT_EXT_NONE[rip]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR IWL_HE_PKT_EXT_NONE[rip]
	mov	DWORD PTR -176[rbp], eax
	jmp	.L25
.L26:
	mov	eax, DWORD PTR IWL_HE_PKT_EXT_BPSK[rip]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR IWL_HE_PKT_EXT_NONE[rip]
	mov	DWORD PTR -176[rbp], eax
	jmp	.L25
.L27:
	mov	eax, DWORD PTR IWL_HE_PKT_EXT_NONE[rip]
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR IWL_HE_PKT_EXT_BPSK[rip]
	mov	DWORD PTR -176[rbp], eax
	nop
.L25:
	cmp	DWORD PTR -180[rbp], 0
	js	.L23
	cmp	DWORD PTR -176[rbp], 0
	js	.L23
	lea	rax, -112[rbp]
	add	rax, 56
	mov	QWORD PTR -136[rbp], rax
	mov	DWORD PTR -200[rbp], 0
	jmp	.L28
.L31:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, DWORD PTR -180[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -136[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, 4[rax]
	mov	eax, DWORD PTR -176[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -172[rbp], 1
.L29:
	mov	eax, DWORD PTR MAX_HE_CHANNEL_BW_INDX[rip]
	cmp	DWORD PTR -172[rbp], eax
	jl	.L30
	add	DWORD PTR -200[rbp], 1
.L28:
	mov	eax, DWORD PTR MAX_HE_SUPP_NSS[rip]
	cmp	DWORD PTR -200[rbp], eax
	jl	.L31
	mov	eax, DWORD PTR STA_CTXT_HE_PACKET_EXT[rip]
	or	DWORD PTR -204[rbp], eax
.L23:
	mov	eax, 0
	call	rcu_read_unlock@PLT
	mov	eax, DWORD PTR STA_CTXT_HE_MU_EDCA_CW[rip]
	or	DWORD PTR -204[rbp], eax
	mov	DWORD PTR -200[rbp], 0
	jmp	.L32
.L35:
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	add	rax, 4
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -200[rbp]
	mov	edi, eax
	call	iwl_mvm_mac80211_ac_to_ucode_ac@PLT
	mov	DWORD PTR -156[rbp], eax
	mov	rax, QWORD PTR -152[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR STA_CTXT_HE_MU_EDCA_CW[rip]
	not	eax
	and	DWORD PTR -204[rbp], eax
	jmp	.L34
.L33:
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	and	eax, 15
	mov	rcx, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR [rax]
	sar	eax, 4
	and	eax, 15
	mov	rcx, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	rcx, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rax, QWORD PTR -120[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	rcx, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -156[rbp]
	movsx	rdx, edx
	sal	rdx, 5
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	cpu_to_le16@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -200[rbp], 1
.L32:
	mov	eax, DWORD PTR IEEE80211_NUM_ACS[rip]
	cmp	DWORD PTR -200[rbp], eax
	jl	.L35
.L34:
	mov	rax, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR 56[rax]
	test	rax, rax
	je	.L36
	mov	eax, DWORD PTR STA_CTXT_HE_32BIT_BA_BITMAP[rip]
	or	DWORD PTR -204[rbp], eax
.L36:
	mov	rax, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR 48[rax]
	test	rax, rax
	je	.L37
	mov	eax, DWORD PTR STA_CTXT_HE_ACK_ENABLED[rip]
	or	DWORD PTR -204[rbp], eax
.L37:
	mov	rax, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR 40[rax]
	test	rax, rax
	je	.L38
	mov	eax, DWORD PTR STA_CTXT_HE_TRIG_RND_ALLOC[rip]
	or	DWORD PTR -204[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 4[rax]
	and	eax, 7
	mov	DWORD PTR -96[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 4[rax]
	sar	eax, 3
	and	eax, 7
	mov	DWORD PTR -92[rbp], eax
.L38:
	mov	rax, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR 32[rax]
	test	rax, rax
	je	.L39
	mov	eax, DWORD PTR STA_CTXT_HE_REF_BSSID_VALID[rip]
	or	DWORD PTR -204[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	edx, DWORD PTR 24[rax]
	mov	eax, DWORD PTR -68[rbp]
	mov	esi, edx
	mov	edi, eax
	call	ether_addr_copy@PLT
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 20[rax]
	mov	DWORD PTR -72[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 16[rax]
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -80[rbp], eax
	mov	rax, QWORD PTR -224[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -84[rbp], eax
.L39:
	mov	eax, DWORD PTR -204[rbp]
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	ecx, DWORD PTR DATA_PATH_GROUP[rip]
	mov	eax, DWORD PTR STA_HE_CTXT_CMD[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	edi, eax
	call	iwl_cmd_id@PLT
	mov	esi, eax
	lea	rcx, -112[rbp]
	mov	edx, DWORD PTR -168[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	r8, rcx
	mov	ecx, edx
	mov	edx, 0
	mov	rdi, rax
	call	iwl_mvm_send_cmd_pdu@PLT
	test	rax, rax
	je	.L1
	mov	rax, QWORD PTR -216[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	IWL_ERR@PLT
.L1:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	iwl_mvm_cfg_he_sta, .-iwl_mvm_cfg_he_sta
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"654029.c"
	.text
	.comm	DATA_PATH_GROUP,4,4
	.comm	IEEE80211_HE_MAC_CAP0_HTC_HE,4,4
	.comm	IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION,4,4
	.comm	IEEE80211_HE_MAC_CAP2_BSR,4,4
	.comm	IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION,4,4
	.comm	IEEE80211_HE_MAC_CAP3_OMI_CONTROL,4,4
	.comm	IEEE80211_HE_MAC_CAP4_BQR,4,4
	.comm	IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT,4,4
	.comm	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK,4,4
	.comm	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED,4,4
	.comm	IEEE80211_NUM_ACS,4,4
	.comm	IEEE80211_PPE_THRES_INFO_PPET_SIZE,4,4
	.comm	IEEE80211_PPE_THRES_NSS_MASK,4,4
	.comm	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK,4,4
	.comm	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS,4,4
	.comm	IWL_HE_HTC_BQR_SUPP,4,4
	.comm	IWL_HE_HTC_BSR_SUPP,4,4
	.comm	IWL_HE_HTC_LINK_ADAP_BOTH,4,4
	.comm	IWL_HE_HTC_LINK_ADAP_UNSOLICITED,4,4
	.comm	IWL_HE_HTC_OMI_SUPP,4,4
	.comm	IWL_HE_HTC_SUPPORT,4,4
	.comm	IWL_HE_PKT_EXT_BPSK,4,4
	.comm	IWL_HE_PKT_EXT_NONE,4,4
	.comm	IWL_MAX_TID_COUNT,4,4
	.comm	IWL_UCODE_TLV_API_MBSSID_HE,4,4
	.comm	MAX_HE_CHANNEL_BW_INDX,4,4
	.comm	MAX_HE_SUPP_NSS,4,4
	.comm	STA_CTXT_HE_32BIT_BA_BITMAP,4,4
	.comm	STA_CTXT_HE_ACK_ENABLED,4,4
	.comm	STA_CTXT_HE_MU_EDCA_CW,4,4
	.comm	STA_CTXT_HE_PACKET_EXT,4,4
	.comm	STA_CTXT_HE_REF_BSSID_VALID,4,4
	.comm	STA_CTXT_HE_RU_2MHZ_BLOCK,4,4
	.comm	STA_CTXT_HE_TRIG_RND_ALLOC,4,4
	.comm	STA_HE_CTXT_CMD,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Can't find STA to configure HE\012\000"
	.align	2
.LC1:
	.ascii	"Got NSS = %d - trimming to %d\012\000"
	.align	2
.LC2:
	.ascii	"Failed to config FW to work HE!\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	iwl_mvm_cfg_he_sta, %function
iwl_mvm_cfg_he_sta:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #172
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	str	r2, [fp, #-168]
	ldr	r3, .L44
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-164]
	bl	iwl_mvm_vif_from_mac80211
	str	r0, [fp, #-116]
	sub	r3, fp, #80
	mov	r2, #64
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-168]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le16
	mov	r3, r0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #44]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #48]
	str	r3, [fp, #-24]
	ldr	r3, .L44+4
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-160]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r3, .L44+8
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	fw_has_api
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	mov	r3, #64
	b	.L3
.L2:
	mov	r3, #4
.L3:
	str	r3, [fp, #-112]
	bl	rcu_read_lock
	ldr	r3, [fp, #-160]
	ldr	r2, [r3]
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	rcu_dereference
	str	r0, [fp, #-108]
	ldr	r0, [fp, #-108]
	bl	IS_ERR
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	bl	rcu_read_unlock
	ldr	r1, .L44+12
	mov	r0, #1
	bl	WARN
	b	.L1
.L4:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bne	.L6
	bl	rcu_read_unlock
	b	.L1
.L6:
	mov	r3, #0
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-116]
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L44+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
.L7:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	ldr	r2, [r3]
	ldr	r3, .L44+20
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L44+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	str	r3, [fp, #-32]
.L8:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, .L44+28
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, .L44+32
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L10
.L9:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, .L44+32
	ldr	r3, [r3]
	and	r3, r3, r2
	lsl	r2, r3, #1
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #4
	ldr	r1, [r3]
	ldr	r3, .L44+28
	ldr	r3, [r3]
	and	r3, r3, r1
	add	r3, r2, r3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-104]
	cmp	r3, #2
	bne	.L11
	ldr	r3, .L44+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	str	r3, [fp, #-32]
	b	.L10
.L11:
	ldr	r3, [fp, #-104]
	cmp	r3, #3
	bne	.L10
	ldr	r3, .L44+40
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	str	r3, [fp, #-32]
.L10:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, .L44+44
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L44+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	str	r3, [fp, #-32]
.L12:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #12
	ldr	r2, [r3]
	ldr	r3, .L44+52
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L44+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	str	r3, [fp, #-32]
.L13:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #4]
	add	r3, r3, #16
	ldr	r2, [r3]
	ldr	r3, .L44+60
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L44+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r3, [fp, #-32]
	orr	r3, r2, r3
	str	r3, [fp, #-32]
.L14:
	sub	r3, fp, #80
	add	r3, r3, #44
	mov	r2, #4
	mov	r1, #7
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #8]
	add	r3, r3, #24
	ldr	r2, [r3]
	ldr	r3, .L44+68
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L44+72
	ldr	r3, [r3]
	and	r3, r3, r2
	add	r3, r3, #1
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L44+76
	ldr	r3, [r3]
	and	r2, r2, r3
	ldr	r3, .L44+80
	ldr	r3, [r3]
	asr	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3]
	str	r3, [fp, #-92]
	mov	r3, #7
	str	r3, [fp, #-140]
	ldr	r3, .L44+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	cmp	r2, r3
	ble	.L16
	ldr	r3, .L44+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-144]
	ldr	r1, .L44+88
	ldr	r0, [fp, #-160]
	bl	IWL_INFO
	ldr	r3, .L44+84
	ldr	r3, [r3]
	str	r3, [fp, #-144]
.L16:
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L17
.L22:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #1
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L18
.L21:
	ldr	r3, [fp, #-136]
	asr	r3, r3, #1
	str	r3, [fp, #-136]
	ldr	r3, [fp, #-136]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L43
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r4, r3, #4
	ldr	r1, [fp, #-140]
	ldr	r0, [fp, #-92]
	bl	iwl_mvm_he_get_ppe_val
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L44+92
	ldr	r3, [r3]
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	str	r3, [fp, #-140]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-132]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r1, [fp, #-140]
	ldr	r0, [fp, #-92]
	bl	iwl_mvm_he_get_ppe_val
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, .L44+92
	ldr	r3, [r3]
	ldr	r2, [fp, #-140]
	add	r3, r2, r3
	str	r3, [fp, #-140]
	b	.L20
.L43:
	nop
.L20:
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L18:
	ldr	r3, .L44+96
	ldr	r3, [r3]
	ldr	r2, [fp, #-132]
	cmp	r2, r3
	blt	.L21
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L17:
	ldr	r2, [fp, #-148]
	ldr	r3, [fp, #-144]
	cmp	r2, r3
	blt	.L22
	ldr	r3, .L44+100
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
	b	.L23
.L15:
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #8]
	add	r3, r3, #36
	ldr	r2, [r3]
	ldr	r3, .L44+104
	ldr	r3, [r3]
	and	r2, r2, r3
	ldr	r3, .L44+108
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L23
	mvn	r3, #0
	str	r3, [fp, #-128]
	mvn	r3, #0
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-108]
	ldr	r3, [r3, #8]
	add	r3, r3, #36
	ldr	r2, [r3]
	ldr	r3, .L44+104
	ldr	r3, [r3]
	and	r3, r3, r2
	cmp	r3, #130
	beq	.L24
	cmp	r3, #130
	bgt	.L25
	cmp	r3, #128
	beq	.L26
	cmp	r3, #129
	beq	.L27
	b	.L25
.L24:
	ldr	r3, .L44+112
	ldr	r3, [r3]
	str	r3, [fp, #-128]
	ldr	r3, .L44+112
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	b	.L25
.L26:
	ldr	r3, .L44+116
	ldr	r3, [r3]
	str	r3, [fp, #-128]
	ldr	r3, .L44+112
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	b	.L25
.L27:
	ldr	r3, .L44+112
	ldr	r3, [r3]
	str	r3, [fp, #-128]
	ldr	r3, .L44+116
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	nop
.L25:
	ldr	r3, [fp, #-128]
	cmp	r3, #0
	blt	.L23
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	blt	.L23
	sub	r3, fp, #80
	add	r3, r3, #44
	str	r3, [fp, #-100]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L28
.L31:
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L29
.L30:
	ldr	r3, [fp, #-100]
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-128]
	str	r2, [r3]
	ldr	r3, [fp, #-100]
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [fp, #-124]
	str	r2, [r3]
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L29:
	ldr	r3, .L44+96
	ldr	r3, [r3]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L30
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L28:
	ldr	r3, .L44+84
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	blt	.L31
	ldr	r3, .L44+100
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
.L23:
	bl	rcu_read_unlock
	ldr	r3, .L44+120
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-148]
	b	.L32
.L35:
	ldr	r3, [fp, #-116]
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #4
	str	r3, [fp, #-88]
	ldr	r0, [fp, #-148]
	bl	iwl_mvm_mac80211_ac_to_ucode_ac
	str	r0, [fp, #-84]
	ldr	r3, [fp, #-116]
	ldr	r2, [r3]
	ldr	r3, [fp, #-148]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L33
	ldr	r3, .L44+120
	ldr	r3, [r3]
	mvn	r3, r3
	ldr	r2, [fp, #-152]
	and	r3, r3, r2
	str	r3, [fp, #-152]
	b	.L34
.L33:
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	and	r1, r3, #15
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	add	r4, r2, r3
	mov	r0, r1
	bl	cpu_to_le16
	mov	r3, r0
	str	r3, [r4, #12]
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	asr	r3, r3, #4
	and	r1, r3, #15
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	add	r4, r2, r3
	mov	r0, r1
	bl	cpu_to_le16
	mov	r3, r0
	str	r3, [r4, #8]
	ldr	r3, [fp, #-88]
	ldr	r1, [r3, #4]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	add	r4, r2, r3
	mov	r0, r1
	bl	cpu_to_le16
	mov	r3, r0
	str	r3, [r4, #4]
	ldr	r3, [fp, #-88]
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #4
	add	r4, r2, r3
	mov	r0, r1
	bl	cpu_to_le16
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L32:
	ldr	r3, .L44+124
	ldr	r3, [r3]
	ldr	r2, [fp, #-148]
	cmp	r2, r3
	blt	.L35
.L34:
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L44+128
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
.L36:
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L44+132
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
.L37:
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #32]
	cmp	r3, #0
	beq	.L38
	ldr	r3, .L44+136
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #4]
	and	r3, r3, #7
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #4]
	asr	r3, r3, #3
	and	r3, r3, #7
	str	r3, [fp, #-68]
.L38:
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #28]
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L44+140
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	orr	r3, r2, r3
	str	r3, [fp, #-152]
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #24]
	mov	r1, r3
	mov	r0, r2
	bl	ether_addr_copy
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #20]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #16]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #12]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-164]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-60]
.L39:
	ldr	r0, [fp, #-152]
	bl	cpu_to_le32
	mov	r3, r0
	str	r3, [fp, #-64]
	ldr	r3, .L44+144
	ldr	r3, [r3]
	ldr	r2, .L44+148
	ldr	r1, [r2]
	mov	r2, #0
	mov	r0, r3
	bl	iwl_cmd_id
	mov	r1, r0
	sub	r3, fp, #80
	str	r3, [sp]
	ldr	r3, [fp, #-112]
	mov	r2, #0
	ldr	r0, [fp, #-160]
	bl	iwl_mvm_send_cmd_pdu
	mov	r3, r0
	cmp	r3, #0
	beq	.L1
	ldr	r1, .L44+152
	ldr	r0, [fp, #-160]
	bl	IWL_ERR
.L1:
	ldr	r3, .L44
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC3
	.word	IWL_MAX_TID_COUNT
	.word	IWL_UCODE_TLV_API_MBSSID_HE
	.word	.LC0
	.word	STA_CTXT_HE_RU_2MHZ_BLOCK
	.word	IEEE80211_HE_MAC_CAP0_HTC_HE
	.word	IWL_HE_HTC_SUPPORT
	.word	IEEE80211_HE_MAC_CAP1_LINK_ADAPTATION
	.word	IEEE80211_HE_MAC_CAP2_LINK_ADAPTATION
	.word	IWL_HE_HTC_LINK_ADAP_UNSOLICITED
	.word	IWL_HE_HTC_LINK_ADAP_BOTH
	.word	IEEE80211_HE_MAC_CAP2_BSR
	.word	IWL_HE_HTC_BSR_SUPP
	.word	IEEE80211_HE_MAC_CAP3_OMI_CONTROL
	.word	IWL_HE_HTC_OMI_SUPP
	.word	IEEE80211_HE_MAC_CAP4_BQR
	.word	IWL_HE_HTC_BQR_SUPP
	.word	IEEE80211_HE_PHY_CAP6_PPE_THRESHOLD_PRESENT
	.word	IEEE80211_PPE_THRES_NSS_MASK
	.word	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_MASK
	.word	IEEE80211_PPE_THRES_RU_INDEX_BITMASK_POS
	.word	MAX_HE_SUPP_NSS
	.word	.LC1
	.word	IEEE80211_PPE_THRES_INFO_PPET_SIZE
	.word	MAX_HE_CHANNEL_BW_INDX
	.word	STA_CTXT_HE_PACKET_EXT
	.word	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_MASK
	.word	IEEE80211_HE_PHY_CAP9_NOMIMAL_PKT_PADDING_RESERVED
	.word	IWL_HE_PKT_EXT_NONE
	.word	IWL_HE_PKT_EXT_BPSK
	.word	STA_CTXT_HE_MU_EDCA_CW
	.word	IEEE80211_NUM_ACS
	.word	STA_CTXT_HE_32BIT_BA_BITMAP
	.word	STA_CTXT_HE_ACK_ENABLED
	.word	STA_CTXT_HE_TRIG_RND_ALLOC
	.word	STA_CTXT_HE_REF_BSSID_VALID
	.word	STA_HE_CTXT_CMD
	.word	DATA_PATH_GROUP
	.word	.LC2
	.size	iwl_mvm_cfg_he_sta, .-iwl_mvm_cfg_he_sta
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
