	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8821ae_get_rx_vht_nss
_rtl8821ae_get_rx_vht_nss:              ## @rtl8821ae_get_rx_vht_nss
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rdi
	callq	_get_rx_desc_rxmcs
	movq	_DESC_RATEVHT1SS_MCS0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_2
## %bb.1:
	movq	_DESC_RATEVHT1SS_MCS9@GOTPCREL(%rip), %rdx
	movl	$1, %ecx
	cmpq	(%rdx), %rax
	jle	LBB0_3
LBB0_2:
	movq	_DESC_RATEVHT2SS_MCS0@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	setge	%cl
	movq	_DESC_RATEVHT2SS_MCS9@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setle	%al
	andb	%cl, %al
	movzbl	%al, %ecx
	addq	%rcx, %rcx
LBB0_3:
	movq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_RATEVHT1SS_MCS0,8,3       ## @DESC_RATEVHT1SS_MCS0
	.comm	_DESC_RATEVHT1SS_MCS9,8,3       ## @DESC_RATEVHT1SS_MCS9
	.comm	_DESC_RATEVHT2SS_MCS0,8,3       ## @DESC_RATEVHT2SS_MCS0
	.comm	_DESC_RATEVHT2SS_MCS9,8,3       ## @DESC_RATEVHT2SS_MCS9
	.no_dead_strip	_rtl8821ae_get_rx_vht_nss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8821ae_get_rx_vht_nss
_rtl8821ae_get_rx_vht_nss:              ; @rtl8821ae_get_rx_vht_nss
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x0, x1
	bl	_get_rx_desc_rxmcs
Lloh0:
	adrp	x8, _DESC_RATEVHT1SS_MCS0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_RATEVHT1SS_MCS0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _DESC_RATEVHT1SS_MCS9@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DESC_RATEVHT1SS_MCS9@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #0, ge
	b.le	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DESC_RATEVHT2SS_MCS0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DESC_RATEVHT2SS_MCS0@GOTPAGEOFF]
Lloh8:
	adrp	x9, _DESC_RATEVHT2SS_MCS9@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DESC_RATEVHT2SS_MCS9@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	ldr	x9, [x9]
	cmp	x0, x9
	ccmp	x0, x8, #8, le
	mov	w8, #2
	csel	x0, xzr, x8, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_RATEVHT1SS_MCS0,8,3       ; @DESC_RATEVHT1SS_MCS0
	.comm	_DESC_RATEVHT1SS_MCS9,8,3       ; @DESC_RATEVHT1SS_MCS9
	.comm	_DESC_RATEVHT2SS_MCS0,8,3       ; @DESC_RATEVHT2SS_MCS0
	.comm	_DESC_RATEVHT2SS_MCS9,8,3       ; @DESC_RATEVHT2SS_MCS9
	.no_dead_strip	_rtl8821ae_get_rx_vht_nss
.subsections_via_symbols
