	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_fw_vht_highest_rx_mcs_index
_rs_fw_vht_highest_rx_mcs_index:        ## @rs_fw_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
	cmpl	$128, %edx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_6
## %bb.3:
	movq	_IWL_TLC_MNG_HT_RATE_MCS7@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_5:
	movq	_IWL_TLC_MNG_HT_RATE_MCS9@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_4:
	movq	_IWL_TLC_MNG_HT_RATE_MCS8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_6:
	movl	$1, %edi
	callq	_WARN_ON_ONCE
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IWL_TLC_MNG_HT_RATE_MCS7,4,2   ## @IWL_TLC_MNG_HT_RATE_MCS7
	.comm	_IWL_TLC_MNG_HT_RATE_MCS8,4,2   ## @IWL_TLC_MNG_HT_RATE_MCS8
	.comm	_IWL_TLC_MNG_HT_RATE_MCS9,4,2   ## @IWL_TLC_MNG_HT_RATE_MCS9
	.no_dead_strip	_rs_fw_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_fw_vht_highest_rx_mcs_index
_rs_fw_vht_highest_rx_mcs_index:        ; @rs_fw_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
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _IWL_TLC_MNG_HT_RATE_MCS7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IWL_TLC_MNG_HT_RATE_MCS7@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_4:
Lloh3:
	adrp	x8, _IWL_TLC_MNG_HT_RATE_MCS9@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IWL_TLC_MNG_HT_RATE_MCS9@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_5:
Lloh6:
	adrp	x8, _IWL_TLC_MNG_HT_RATE_MCS8@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IWL_TLC_MNG_HT_RATE_MCS8@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_7
LBB0_6:
	mov	w0, #1
	bl	_WARN_ON_ONCE
	mov	w0, #0
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
	.cfi_endproc
                                        ; -- End function
	.comm	_IWL_TLC_MNG_HT_RATE_MCS7,4,2   ; @IWL_TLC_MNG_HT_RATE_MCS7
	.comm	_IWL_TLC_MNG_HT_RATE_MCS8,4,2   ; @IWL_TLC_MNG_HT_RATE_MCS8
	.comm	_IWL_TLC_MNG_HT_RATE_MCS9,4,2   ; @IWL_TLC_MNG_HT_RATE_MCS9
	.no_dead_strip	_rs_fw_vht_highest_rx_mcs_index
.subsections_via_symbols
