	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8821ae_rate_to_bitmap_2ssvht
__rtl8821ae_rate_to_bitmap_2ssvht:      ## @_rtl8821ae_rate_to_bitmap_2ssvht
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %ebx
	callq	_le16_to_cpu
	andl	$3, %eax
	xorl	%r14d, %r14d
	cmpl	$3, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %eax
	leaq	l_switch.table._rtl8821ae_rate_to_bitmap_2ssvht(%rip), %rcx
	movl	(%rcx,%rax,4), %r14d
LBB0_2:
	movl	%ebx, %edi
	callq	_le16_to_cpu
	shrl	$2, %eax
	andl	$3, %eax
	cmpl	$2, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	orl	$261120, %r14d                  ## imm = 0x3FC00
	jmp	LBB0_8
LBB0_7:
	orl	$1047552, %r14d                 ## imm = 0xFFC00
	jmp	LBB0_8
LBB0_6:
	orl	$523264, %r14d                  ## imm = 0x7FC00
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__rtl8821ae_rate_to_bitmap_2ssvht
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table._rtl8821ae_rate_to_bitmap_2ssvht
l_switch.table._rtl8821ae_rate_to_bitmap_2ssvht:
	.long	255                             ## 0xff
	.long	511                             ## 0x1ff
	.long	1023                            ## 0x3ff

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8821ae_rate_to_bitmap_2ssvht
__rtl8821ae_rate_to_bitmap_2ssvht:      ; @_rtl8821ae_rate_to_bitmap_2ssvht
	.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, x0
	bl	_le16_to_cpu
	and	w8, w0, #0x3
	cmp	w8, #3
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #0
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x9, l_switch.table._rtl8821ae_rate_to_bitmap_2ssvht@PAGE
Lloh1:
	add	x9, x9, l_switch.table._rtl8821ae_rate_to_bitmap_2ssvht@PAGEOFF
	ldr	w20, [x9, w8, uxtw #2]
LBB0_3:
	mov	x0, x19
	bl	_le16_to_cpu
	ubfx	w8, w0, #2, #2
	orr	w9, w20, #0xffc00
	orr	w10, w20, #0x7fc00
	orr	w11, w20, #0x3fc00
	cmp	w8, #0
	csel	w11, w20, w11, ne
	cmp	w8, #1
	csel	w10, w10, w11, eq
	cmp	w8, #2
	csel	w0, w9, w10, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__rtl8821ae_rate_to_bitmap_2ssvht
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table._rtl8821ae_rate_to_bitmap_2ssvht
l_switch.table._rtl8821ae_rate_to_bitmap_2ssvht:
	.long	255                             ; 0xff
	.long	511                             ; 0x1ff
	.long	1023                            ; 0x3ff

.subsections_via_symbols
