	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_get_rate_section_index
__rtl8821ae_get_rate_section_index:     ## @_rtl8821ae_get_rate_section_index
	.cfi_startproc
## %bb.0:
	movl	%edi, %edx
	andl	$4095, %edx                     ## imm = 0xFFF
	leal	-3104(%rdx), %eax
	cmpl	$44, %eax
	jbe	LBB0_1
## %bb.2:
	leal	-3616(%rdx), %eax
	cmpl	$44, %eax
	ja	LBB0_4
LBB0_1:
	shrb	$2, %al
	movzbl	%al, %eax
	retq
LBB0_4:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_WARN_ONCE
	xorl	%eax, %eax
	popq	%rbp
	movzbl	%al, %eax
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl8821ae: Invalid RegAddr 0x%x\n"

	.no_dead_strip	__rtl8821ae_get_rate_section_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_get_rate_section_index
__rtl8821ae_get_rate_section_index:     ; @_rtl8821ae_get_rate_section_index
	.cfi_startproc
; %bb.0:
	and	w2, w0, #0xfff
	sub	w8, w2, #3104
	cmp	w8, #44
	b.ls	LBB0_2
; %bb.1:
	sub	w8, w2, #3616
	cmp	w8, #44
	b.hi	LBB0_3
LBB0_2:
	ubfx	w8, w8, #2, #6
	mov	w0, w8
	ret
LBB0_3:
	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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	mov	w0, wzr
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8821ae: Invalid RegAddr 0x%x\n"

	.no_dead_strip	__rtl8821ae_get_rate_section_index
.subsections_via_symbols
