	.file	"extr_mlme.c_ieee80211_verify_sta_he_mcs_support.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ieee80211_verify_sta_he_mcs_support, @function
ieee80211_verify_sta_he_mcs_support:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ieee80211_get_he_sta_cap@PLT
	test	rax, rax
	je	.L9
	test	rbx, rbx
	je	.L9
	mov	edi, DWORD PTR [rbx]
	mov	rbp, rax
	lea	rbx, 24[rbp]
	call	le16_to_cpu@PLT
	mov	r13d, eax
.L8:
	mov	edi, DWORD PTR 0[rbp]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	mov	r8d, DWORD PTR IEEE80211_HE_MCS_NOT_SUPPORTED[rip]
	mov	ecx, 14
	.p2align 4,,10
	.p2align 3
.L7:
	mov	edi, r13d
	mov	edx, r12d
	mov	esi, eax
	sar	edi, cl
	sar	edx, cl
	sar	esi, cl
	and	edi, 3
	and	edx, 3
	and	esi, 3
	cmp	r8d, edi
	je	.L5
	cmp	r8d, esi
	je	.L6
	cmp	r8d, edx
	je	.L6
	cmp	edx, esi
	cmovg	edx, esi
	cmp	edx, edi
	jl	.L6
.L5:
	sub	ecx, 2
	cmp	ecx, -2
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	add	rbp, 8
	cmp	rbx, rbp
	jne	.L8
.L9:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ieee80211_verify_sta_he_mcs_support, .-ieee80211_verify_sta_he_mcs_support
	.comm	IEEE80211_HE_MCS_NOT_SUPPORTED,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_mlme.c_ieee80211_verify_sta_he_mcs_support.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_verify_sta_he_mcs_support, %function
ieee80211_verify_sta_he_mcs_support:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	bl	ieee80211_get_he_sta_cap
	clz	r7, r5
	cmp	r0, #0
	lsr	r7, r7, #5
	moveq	r7, #1
	cmp	r7, #0
	beq	.L2
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r4, r0
	ldr	r0, [r5]
	bl	le16_to_cpu
	mov	r9, r0
	ldr	r6, .L13
	add	r5, r4, #4
.L7:
	ldr	r0, [r4, r7, lsl #3]
	bl	le16_to_cpu
	mov	r8, r0
	ldr	r0, [r5, r7, lsl #3]
	bl	le16_to_cpu
	mov	r2, #14
	ldr	ip, [r6]
.L6:
	asr	r1, r9, r2
	and	r1, r1, #3
	asr	r3, r8, r2
	asr	lr, r0, r2
	cmp	ip, r1
	and	r3, r3, #3
	and	lr, lr, #3
	sub	r2, r2, #2
	beq	.L4
	cmp	ip, r3
	cmpne	ip, lr
	beq	.L5
	cmp	r3, lr
	movge	r3, lr
	cmp	r3, r1
	blt	.L5
.L4:
	cmn	r2, #2
	bne	.L6
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	add	r7, r7, #1
	cmp	r7, #3
	bne	.L7
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	.align	2
.L13:
	.word	IEEE80211_HE_MCS_NOT_SUPPORTED
	.size	ieee80211_verify_sta_he_mcs_support, .-ieee80211_verify_sta_he_mcs_support
	.comm	IEEE80211_HE_MCS_NOT_SUPPORTED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
