	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_vht_highest_rx_mcs_index
_rs_vht_highest_rx_mcs_index:           ## @rs_vht_highest_rx_mcs_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	movl	(%rdi), %edi
	callq	_le16_to_cpu
	addl	%ebx, %ebx
	addb	$-2, %bl
	movl	$3, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	andl	%eax, %edx
	sarl	%cl, %edx
	movq	_IEEE80211_VHT_MCS_SUPPORT_0_7@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_2
## %bb.1:
	movq	_IWL_RATE_MCS_7_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_2:
	movq	_IEEE80211_VHT_MCS_SUPPORT_0_8@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_4
## %bb.3:
	movq	_IWL_RATE_MCS_8_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_4:
	movq	_IEEE80211_VHT_MCS_SUPPORT_0_9@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_6
## %bb.5:
	movq	_IWL_RATE_MCS_9_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_6:
	movq	_IEEE80211_VHT_MCS_NOT_SUPPORTED@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %edx
	setne	%dil
	callq	_WARN_ON_ONCE
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_7,4,2 ## @IEEE80211_VHT_MCS_SUPPORT_0_7
	.comm	_IWL_RATE_MCS_7_INDEX,4,2       ## @IWL_RATE_MCS_7_INDEX
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_8,4,2 ## @IEEE80211_VHT_MCS_SUPPORT_0_8
	.comm	_IWL_RATE_MCS_8_INDEX,4,2       ## @IWL_RATE_MCS_8_INDEX
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_9,4,2 ## @IEEE80211_VHT_MCS_SUPPORT_0_9
	.comm	_IWL_RATE_MCS_9_INDEX,4,2       ## @IWL_RATE_MCS_9_INDEX
	.comm	_IEEE80211_VHT_MCS_NOT_SUPPORTED,4,2 ## @IEEE80211_VHT_MCS_NOT_SUPPORTED
	.no_dead_strip	_rs_vht_highest_rx_mcs_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_vht_highest_rx_mcs_index
_rs_vht_highest_rx_mcs_index:           ; @rs_vht_highest_rx_mcs_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	w0, [x0]
	bl	_le16_to_cpu
	lsl	w8, w19, #1
	sub	w8, w8, #2
	mov	w9, #3
	lsl	w9, w9, w8
	and	w9, w0, w9
	asr	w8, w9, w8
Lloh0:
	adrp	x9, _IEEE80211_VHT_MCS_SUPPORT_0_7@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_VHT_MCS_SUPPORT_0_7@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _IWL_RATE_MCS_7_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_RATE_MCS_7_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_2:
Lloh6:
	adrp	x9, _IEEE80211_VHT_MCS_SUPPORT_0_8@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_VHT_MCS_SUPPORT_0_8@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.3:
Lloh9:
	adrp	x8, _IWL_RATE_MCS_8_INDEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IWL_RATE_MCS_8_INDEX@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x9, _IEEE80211_VHT_MCS_SUPPORT_0_9@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IEEE80211_VHT_MCS_SUPPORT_0_9@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _IWL_RATE_MCS_9_INDEX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IWL_RATE_MCS_9_INDEX@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x9, _IEEE80211_VHT_MCS_NOT_SUPPORTED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IEEE80211_VHT_MCS_NOT_SUPPORTED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_WARN_ON_ONCE
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_7,4,2 ; @IEEE80211_VHT_MCS_SUPPORT_0_7
	.comm	_IWL_RATE_MCS_7_INDEX,4,2       ; @IWL_RATE_MCS_7_INDEX
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_8,4,2 ; @IEEE80211_VHT_MCS_SUPPORT_0_8
	.comm	_IWL_RATE_MCS_8_INDEX,4,2       ; @IWL_RATE_MCS_8_INDEX
	.comm	_IEEE80211_VHT_MCS_SUPPORT_0_9,4,2 ; @IEEE80211_VHT_MCS_SUPPORT_0_9
	.comm	_IWL_RATE_MCS_9_INDEX,4,2       ; @IWL_RATE_MCS_9_INDEX
	.comm	_IEEE80211_VHT_MCS_NOT_SUPPORTED,4,2 ; @IEEE80211_VHT_MCS_NOT_SUPPORTED
	.no_dead_strip	_rs_vht_highest_rx_mcs_index
.subsections_via_symbols
