	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92ee_get_txpower_by_rate
__rtl92ee_get_txpower_by_rate:          ## @_rtl92ee_get_txpower_by_rate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r15d
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_rtl_priv
	movq	%rax, %r13
	movl	%r15d, %edi
	movl	%ebx, %esi
	callq	__rtl92ee_phy_get_ratesection_intxpower_byrate
	movq	_RF_2TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_RF_1TX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	leal	-128(%rbx), %ecx
	cmpl	$28, %ecx
	jae	LBB0_1
## %bb.2:
	movslq	%ecx, %rdx
	leaq	l_switch.table._rtl92ee_get_txpower_by_rate(%rip), %rcx
	movl	(%rcx,%rdx,4), %ecx
	jmp	LBB0_3
LBB0_1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_WARN_ONCE
	movl	%r13d, %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	xorl	%ecx, %ecx
LBB0_3:
	addl	$-129, %ebx
	cmpl	$8, %ebx
	cmovbl	%r12d, %r14d
	movq	(%r13), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	(%rsi,%rdx,8), %rsi
	movl	%r15d, %edx
	movq	(%rsi,%rdx,8), %rsi
	movslq	%r14d, %rdx
	movq	(%rsi,%rdx,8), %rsi
	movslq	%eax, %rdx
	movl	(%rsi,%rdx,4), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	movzbl	%al, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_TX_NUM_NONIMPLEMENT,4,2     ## @RF_TX_NUM_NONIMPLEMENT
	.comm	_RF_2TX,4,2                     ## @RF_2TX
	.comm	_RF_1TX,4,2                     ## @RF_1TX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl8192ee: Rate_Section is Illegal\n"

	.no_dead_strip	__rtl92ee_get_txpower_by_rate
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table._rtl92ee_get_txpower_by_rate
l_switch.table._rtl92ee_get_txpower_by_rate:
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	16                              ## 0x10
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	24                              ## 0x18
	.long	16                              ## 0x10
	.long	24                              ## 0x18

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92ee_get_txpower_by_rate
__rtl92ee_get_txpower_by_rate:          ; @_rtl92ee_get_txpower_by_rate
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	bl	_rtl_priv
	mov	x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	__rtl92ee_phy_get_ratesection_intxpower_byrate
	mov	x23, x0
Lloh0:
	adrp	x8, _RF_2TX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RF_2TX@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _RF_1TX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RF_1TX@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	sub	w8, w21, #128
	cmp	w8, #28
	b.hs	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, l_switch.table._rtl92ee_get_txpower_by_rate@PAGE
Lloh7:
	add	x9, x9, l_switch.table._rtl92ee_get_txpower_by_rate@PAGEOFF
	ldr	w8, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_WARN_ONCE
	mov	w8, #0
LBB0_3:
	sub	w9, w21, #129
	cmp	w9, #8
	csel	w9, w24, w25, lo
	ldr	x10, [x22]
	ldr	x10, [x10, w20, uxtw #3]
	ldr	x10, [x10, w19, uxtw #3]
	ldr	x9, [x10, w9, sxtw #3]
	ldr	w9, [x9, w23, sxtw #2]
	asr	w8, w9, w8
	and	w0, w8, #0xff
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_TX_NUM_NONIMPLEMENT,4,2     ; @RF_TX_NUM_NONIMPLEMENT
	.comm	_RF_2TX,4,2                     ; @RF_2TX
	.comm	_RF_1TX,4,2                     ; @RF_1TX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8192ee: Rate_Section is Illegal\n"

	.no_dead_strip	__rtl92ee_get_txpower_by_rate
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table._rtl92ee_get_txpower_by_rate
l_switch.table._rtl92ee_get_txpower_by_rate:
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	16                              ; 0x10
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	24                              ; 0x18
	.long	16                              ; 0x10
	.long	24                              ; 0x18

.subsections_via_symbols
