	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dot11rate
_dot11rate:                             ## @dot11rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movslq	%esi, %rcx
	movl	(%rax,%rcx,4), %eax
	movq	_IEEE80211_RATE_MCS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	notl	%ecx
	andl	%ecx, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RATE_MCS,4,2         ## @IEEE80211_RATE_MCS
	.no_dead_strip	_dot11rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dot11rate
_dot11rate:                             ; @dot11rate
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w8, [x8, w1, sxtw #2]
Lloh0:
	adrp	x9, _IEEE80211_RATE_MCS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_RATE_MCS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, #0
	cinc	w10, w8, lt
	asr	w10, w10, #1
	bic	w11, w8, w9
	tst	w9, w8
	csel	w0, w10, w11, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RATE_MCS,4,2         ; @IEEE80211_RATE_MCS
	.no_dead_strip	_dot11rate
.subsections_via_symbols
