	.file	"extr_util.c_ieee80211_mandatory_rates.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ieee80211_mandatory_rates
	.type	ieee80211_mandatory_rates, @function
ieee80211_mandatory_rates:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	edx, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, 1
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rax, QWORD PTR [rdi]
	xor	edi, edi
	mov	rbx, rdx
	mov	rax, QWORD PTR [rax]
	mov	rbp, QWORD PTR [rax+rdx*8]
	test	rbp, rbp
	sete	dil
	call	WARN_ON@PLT
	test	rax, rax
	jne	.L1
	cmp	DWORD PTR IEEE80211_BAND_2GHZ[rip], ebx
	mov	r12d, DWORD PTR IEEE80211_RATE_MANDATORY_A[rip]
	je	.L15
.L4:
	mov	eax, DWORD PTR 0[rbp]
	mov	r14, QWORD PTR 8[rbp]
	test	eax, eax
	jle	.L8
	xor	ebx, ebx
	xor	r13d, r13d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L1
.L6:
	test	DWORD PTR [r14+rbx*4], r12d
	je	.L5
	mov	edi, ebx
	add	rbx, 1
	call	BIT@PLT
	or	r13d, eax
	cmp	DWORD PTR 0[rbp], ebx
	jg	.L6
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L15:
	.cfi_restore_state
	mov	r12d, DWORD PTR IEEE80211_RATE_MANDATORY_B[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	xor	r13d, r13d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ieee80211_mandatory_rates, .-ieee80211_mandatory_rates
	.comm	IEEE80211_RATE_MANDATORY_B,4,4
	.comm	IEEE80211_RATE_MANDATORY_A,4,4
	.comm	IEEE80211_BAND_2GHZ,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_util.c_ieee80211_mandatory_rates.c"
	.text
	.align	2
	.global	ieee80211_mandatory_rates
	.syntax unified
	.arm
	.fpu softvfp
	.type	ieee80211_mandatory_rates, %function
ieee80211_mandatory_rates:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	mov	r4, r1
	ldr	r8, [r3, r1, lsl #2]
	clz	r0, r8
	lsr	r0, r0, #5
	bl	WARN_ON
	subs	r6, r0, #0
	movne	r6, #1
	bne	.L1
	ldm	r8, {r2, r5}
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, r4
	ldreq	r3, .L14+4
	ldrne	r3, .L14+8
	cmp	r2, #0
	ldr	r7, [r3]
	ble	.L1
	mov	r4, #0
	sub	r5, r5, #4
	b	.L6
.L5:
	add	r4, r4, #1
	cmp	r2, r4
	ble	.L1
.L6:
	ldr	r3, [r5, #4]!
	tst	r7, r3
	beq	.L5
	mov	r0, r4
	bl	BIT
	ldr	r2, [r8]
	add	r4, r4, #1
	cmp	r2, r4
	orr	r6, r6, r0
	bgt	.L6
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	.align	2
.L14:
	.word	IEEE80211_BAND_2GHZ
	.word	IEEE80211_RATE_MANDATORY_B
	.word	IEEE80211_RATE_MANDATORY_A
	.size	ieee80211_mandatory_rates, .-ieee80211_mandatory_rates
	.comm	IEEE80211_RATE_MANDATORY_B,4,4
	.comm	IEEE80211_RATE_MANDATORY_A,4,4
	.comm	IEEE80211_BAND_2GHZ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
