	.file	"extr_ieee80211_ioctl.c_checkmcs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	checkmcs, @function
checkmcs:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	edi, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, esi
	call	IEEE80211_RV@PLT
	cmp	DWORD PTR IEEE80211_FIXED_RATE_NONE[rip], ebx
	je	.L2
	test	DWORD PTR IEEE80211_RATE_MCS[rip], ebx
	je	.L5
	mov	edx, DWORD PTR 0[rbp]
	test	edx, edx
	jle	.L5
	mov	r12d, eax
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	add	rbx, 1
	cmp	DWORD PTR 0[rbp], ebx
	jle	.L5
.L6:
	mov	rax, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [rax+rbx*4]
	call	IEEE80211_RV@PLT
	cmp	eax, r12d
	jne	.L10
.L2:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	checkmcs, .-checkmcs
	.comm	IEEE80211_RATE_MCS,4,4
	.comm	IEEE80211_FIXED_RATE_NONE,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_ieee80211_ioctl.c_checkmcs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkmcs, %function
checkmcs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	mov	r0, r1
	bl	IEEE80211_RV
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L2
	ldr	r3, .L11+4
	ldr	r3, [r3]
	tst	r4, r3
	beq	.L5
	ldr	r3, [r5]
	cmp	r3, #0
	ble	.L5
	mov	r6, r0
	mov	r4, #0
	b	.L6
.L10:
	ldr	r3, [r5]
	cmp	r3, r4
	ble	.L5
.L6:
	ldr	r3, [r5, #4]
	ldr	r0, [r3, r4, lsl #2]
	bl	IEEE80211_RV
	cmp	r0, r6
	add	r4, r4, #1
	bne	.L10
.L2:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	IEEE80211_FIXED_RATE_NONE
	.word	IEEE80211_RATE_MCS
	.size	checkmcs, .-checkmcs
	.comm	IEEE80211_RATE_MCS,4,4
	.comm	IEEE80211_FIXED_RATE_NONE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
