	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtlwifi_rate_mapping           ## -- Begin function rtlwifi_rate_mapping
	.p2align	4, 0x90
_rtlwifi_rate_mapping:                  ## @rtlwifi_rate_mapping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	addl	$-128, %ecx
	xorl	%eax, %eax
	cmpl	$19, %ecx
	jae	LBB0_12
## %bb.2:
	movslq	%ecx, %rax
	leaq	l_switch.table.rtlwifi_rate_mapping(%rip), %rcx
	jmp	LBB0_11
LBB0_3:
	testl	%esi, %esi
	je	LBB0_4
## %bb.9:
	addl	$-148, %ecx
	xorl	%eax, %eax
	cmpl	$15, %ecx
	jae	LBB0_12
## %bb.10:
	movslq	%ecx, %rax
	leaq	l_switch.table.rtlwifi_rate_mapping.3(%rip), %rcx
	jmp	LBB0_11
LBB0_4:
	movq	_NL80211_BAND_2GHZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rdx
	addl	$-164, %ecx
	cmpq	(%rdx), %rax
	jne	LBB0_7
## %bb.5:
	xorl	%eax, %eax
	cmpl	$12, %ecx
	jae	LBB0_12
## %bb.6:
	movslq	%ecx, %rax
	leaq	l_switch.table.rtlwifi_rate_mapping.1(%rip), %rcx
	jmp	LBB0_11
LBB0_7:
	xorl	%eax, %eax
	cmpl	$11, %ecx
	jae	LBB0_12
## %bb.8:
	movslq	%ecx, %rax
	leaq	l_switch.table.rtlwifi_rate_mapping.2(%rip), %rcx
LBB0_11:
	leaq	(%rcx,%rax,4), %rax
	movl	(%rax), %eax
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ## @NL80211_BAND_2GHZ
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.rtlwifi_rate_mapping
l_switch.table.rtlwifi_rate_mapping:
	.long	9                               ## 0x9
	.long	8                               ## 0x8
	.long	7                               ## 0x7
	.long	6                               ## 0x6
	.long	5                               ## 0x5
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	9                               ## 0x9
	.long	8                               ## 0x8
	.long	7                               ## 0x7
	.long	6                               ## 0x6
	.long	5                               ## 0x5
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.rtlwifi_rate_mapping.1
l_switch.table.rtlwifi_rate_mapping.1:
	.long	5                               ## 0x5
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	11                              ## 0xb
	.long	10                              ## 0xa
	.long	9                               ## 0x9
	.long	1                               ## 0x1
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	7                               ## 0x7
	.long	6                               ## 0x6
	.long	3                               ## 0x3

	.p2align	2                               ## @switch.table.rtlwifi_rate_mapping.2
l_switch.table.rtlwifi_rate_mapping.2:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	7                               ## 0x7
	.long	6                               ## 0x6
	.long	5                               ## 0x5
	.long	0                               ## 0x0
	.long	4                               ## 0x4
	.long	0                               ## 0x0
	.long	3                               ## 0x3
	.long	2                               ## 0x2

	.p2align	2                               ## @switch.table.rtlwifi_rate_mapping.3
l_switch.table.rtlwifi_rate_mapping.3:
	.long	9                               ## 0x9
	.long	8                               ## 0x8
	.long	7                               ## 0x7
	.long	6                               ## 0x6
	.long	5                               ## 0x5
	.long	4                               ## 0x4
	.long	3                               ## 0x3
	.long	2                               ## 0x2
	.long	15                              ## 0xf
	.long	14                              ## 0xe
	.long	13                              ## 0xd
	.long	12                              ## 0xc
	.long	11                              ## 0xb
	.long	10                              ## 0xa
	.long	1                               ## 0x1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtlwifi_rate_mapping           ; -- Begin function rtlwifi_rate_mapping
	.p2align	2
_rtlwifi_rate_mapping:                  ; @rtlwifi_rate_mapping
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_3
; %bb.1:
	sub	w8, w3, #128
	cmp	w8, #19
	b.hs	LBB0_12
; %bb.2:
Lloh0:
	adrp	x9, l_switch.table.rtlwifi_rate_mapping@PAGE
Lloh1:
	add	x9, x9, l_switch.table.rtlwifi_rate_mapping@PAGEOFF
	b	LBB0_11
LBB0_3:
	cbz	w1, LBB0_6
; %bb.4:
	sub	w8, w3, #148
	cmp	w8, #15
	b.hs	LBB0_12
; %bb.5:
Lloh2:
	adrp	x9, l_switch.table.rtlwifi_rate_mapping.3@PAGE
Lloh3:
	add	x9, x9, l_switch.table.rtlwifi_rate_mapping.3@PAGEOFF
	b	LBB0_11
LBB0_6:
Lloh4:
	adrp	x8, _NL80211_BAND_2GHZ@GOTPAGE
Lloh5:
	ldr	x8, [x8, _NL80211_BAND_2GHZ@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x8]
	ldr	x8, [x0]
	ldr	x10, [x8]
	sub	w8, w3, #164
	cmp	x9, x10
	b.ne	LBB0_9
; %bb.7:
	cmp	w8, #12
	b.hs	LBB0_12
; %bb.8:
Lloh7:
	adrp	x9, l_switch.table.rtlwifi_rate_mapping.1@PAGE
Lloh8:
	add	x9, x9, l_switch.table.rtlwifi_rate_mapping.1@PAGEOFF
	b	LBB0_11
LBB0_9:
	cmp	w8, #11
	b.hs	LBB0_12
; %bb.10:
Lloh9:
	adrp	x9, l_switch.table.rtlwifi_rate_mapping.2@PAGE
Lloh10:
	add	x9, x9, l_switch.table.rtlwifi_rate_mapping.2@PAGEOFF
LBB0_11:
	add	x8, x9, w8, sxtw #2
	ldr	w0, [x8]
	ret
LBB0_12:
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_BAND_2GHZ,8,3          ; @NL80211_BAND_2GHZ
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.rtlwifi_rate_mapping
l_switch.table.rtlwifi_rate_mapping:
	.long	9                               ; 0x9
	.long	8                               ; 0x8
	.long	7                               ; 0x7
	.long	6                               ; 0x6
	.long	5                               ; 0x5
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	9                               ; 0x9
	.long	8                               ; 0x8
	.long	7                               ; 0x7
	.long	6                               ; 0x6
	.long	5                               ; 0x5
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.rtlwifi_rate_mapping.1
l_switch.table.rtlwifi_rate_mapping.1:
	.long	5                               ; 0x5
	.long	4                               ; 0x4
	.long	2                               ; 0x2
	.long	11                              ; 0xb
	.long	10                              ; 0xa
	.long	9                               ; 0x9
	.long	1                               ; 0x1
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	7                               ; 0x7
	.long	6                               ; 0x6
	.long	3                               ; 0x3

	.p2align	2                               ; @switch.table.rtlwifi_rate_mapping.2
l_switch.table.rtlwifi_rate_mapping.2:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	7                               ; 0x7
	.long	6                               ; 0x6
	.long	5                               ; 0x5
	.long	0                               ; 0x0
	.long	4                               ; 0x4
	.long	0                               ; 0x0
	.long	3                               ; 0x3
	.long	2                               ; 0x2

	.p2align	2                               ; @switch.table.rtlwifi_rate_mapping.3
l_switch.table.rtlwifi_rate_mapping.3:
	.long	9                               ; 0x9
	.long	8                               ; 0x8
	.long	7                               ; 0x7
	.long	6                               ; 0x6
	.long	5                               ; 0x5
	.long	4                               ; 0x4
	.long	3                               ; 0x3
	.long	2                               ; 0x2
	.long	15                              ; 0xf
	.long	14                              ; 0xe
	.long	13                              ; 0xd
	.long	12                              ; 0xc
	.long	11                              ; 0xb
	.long	10                              ; 0xa
	.long	1                               ; 0x1

.subsections_via_symbols
