	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function checkmcs
_checkmcs:                              ## @checkmcs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_IEEE80211_RV
	movl	%eax, %r14d
	movq	_IEEE80211_FIXED_RATE_NONE@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_1
LBB0_7:
	movl	$1, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_IEEE80211_RATE_MCS@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	testl	%r15d, (%rcx)
	je	LBB0_8
## %bb.2:
	cmpl	$0, (%r12)
	jle	LBB0_8
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_IEEE80211_RV
	cmpl	%r14d, %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_4
## %bb.6:
	xorl	%eax, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_FIXED_RATE_NONE,4,2  ## @IEEE80211_FIXED_RATE_NONE
	.comm	_IEEE80211_RATE_MCS,4,2         ## @IEEE80211_RATE_MCS
	.no_dead_strip	_checkmcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function checkmcs
_checkmcs:                              ; @checkmcs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_IEEE80211_RV
Lloh0:
	adrp	x8, _IEEE80211_FIXED_RATE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IEEE80211_FIXED_RATE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #1
	b	LBB0_8
LBB0_2:
Lloh3:
	adrp	x8, _IEEE80211_RATE_MCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_RATE_MCS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_7
; %bb.3:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x20, x0
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_IEEE80211_RV
	cmp	w0, w20
	b.eq	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_5
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_FIXED_RATE_NONE,4,2  ; @IEEE80211_FIXED_RATE_NONE
	.comm	_IEEE80211_RATE_MCS,4,2         ; @IEEE80211_RATE_MCS
	.no_dead_strip	_checkmcs
.subsections_via_symbols
