	.file	"extr_nl80211.c_ht_rateset_to_mask.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ht_rateset_to_mask, @function
ht_rateset_to_mask:
.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
	mov	rdi, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	xor	esi, esi
	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, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR IEEE80211_HT_MCS_MASK_LEN[rip]
	call	memset@PLT
	test	r12, r12
	je	.L2
	xor	r15d, r15d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L16:
	cmp	DWORD PTR IEEE80211_HT_MCS_MASK_LEN[rip], ebx
	jle	.L6
	mov	rcx, QWORD PTR [r14]
	movsx	rdx, ebx
	mov	r8d, eax
	and	r8d, DWORD PTR [rcx+rdx*4]
	je	.L1
	add	r15, 1
	cdqe
	or	QWORD PTR 0[rbp+rdx*8], rax
	cmp	r12, r15
	je	.L2
.L4:
	mov	rdi, QWORD PTR 0[r13+r15*8]
	mov	rbx, rdi
	and	edi, 7
	shr	rbx, 3
	call	BIT@PLT
	test	ebx, ebx
	jns	.L16
.L6:
	xor	r8d, r8d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r8d
	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
	mov	r8d, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ht_rateset_to_mask, .-ht_rateset_to_mask
	.comm	IEEE80211_HT_MCS_MASK_LEN,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_nl80211.c_ht_rateset_to_mask.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ht_rateset_to_mask, %function
ht_rateset_to_mask:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r2
	ldr	r8, .L16
	mov	r7, r0
	mov	r10, r1
	mov	r0, r3
	mov	r1, #0
	ldr	r2, [r8]
	mov	r5, r3
	bl	memset
	cmp	r6, #0
	beq	.L2
	mov	r9, #0
	sub	r10, r10, #4
	b	.L4
.L15:
	ldr	r3, [r7]
	ldr	ip, [r3, r4, lsl #2]
	ands	ip, r0, ip
	beq	.L1
	ldr	r3, [r5, r4, lsl #2]
	cmp	r6, r9
	orr	r0, r3, r0
	str	r0, [r5, r4, lsl #2]
	beq	.L2
.L4:
	ldr	r4, [r10, #4]!
	add	r9, r9, #1
	and	r0, r4, #7
	bl	BIT
	ldr	r3, [r8]
	lsr	r4, r4, #3
	cmp	r3, r4
	bgt	.L15
	mov	ip, #0
.L1:
	mov	r0, ip
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	ip, #1
	mov	r0, ip
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	.align	2
.L16:
	.word	IEEE80211_HT_MCS_MASK_LEN
	.size	ht_rateset_to_mask, .-ht_rateset_to_mask
	.comm	IEEE80211_HT_MCS_MASK_LEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
