	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92ee_store_tx_power_by_rate
__rtl92ee_store_tx_power_by_rate:       ## @_rtl92ee_store_tx_power_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movl	%esi, %r13d
	movl	16(%rbp), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_rtl_priv
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	__rtl92ee_get_rate_section_index
	movq	_BAND_ON_2_4G@GOTPCREL(%rip), %rcx
	cmpl	%r13d, (%rcx)
	je	LBB0_4
## %bb.1:
	movq	_BAND_ON_5G@GOTPCREL(%rip), %rcx
	cmpl	%r13d, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movl	%r13d, %r8d
	jmp	LBB0_3
LBB0_4:
	movq	_MAX_RF_PATH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-1(%rcx), %edx
	cmpl	%r15d, %edx
	jae	LBB0_6
## %bb.5:
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rcx
	movq	%r12, %rdi
	movl	%r15d, %r8d
	jmp	LBB0_3
LBB0_6:
	cmpl	%r14d, %ecx
	jle	LBB0_7
## %bb.8:
	movq	(%r12), %rcx
	movl	%r13d, %edx
	movq	(%rcx,%rdx,8), %rcx
	movl	%r15d, %edx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%r14d, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%rcx,%rax,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rcx
	movq	%r12, %rdi
	movl	%r14d, %r8d
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RT_TRACE                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BAND_ON_2_4G,4,2               ## @BAND_ON_2_4G
	.comm	_BAND_ON_5G,4,2                 ## @BAND_ON_5G
	.comm	_FPHY,4,2                       ## @FPHY
	.comm	_PHY_TXPWR,4,2                  ## @PHY_TXPWR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid Band %d\n"

	.comm	_MAX_RF_PATH,4,2                ## @MAX_RF_PATH
L_.str.1:                               ## @.str.1
	.asciz	"Invalid RfPath %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Invalid TxNum %d\n"

	.no_dead_strip	__rtl92ee_store_tx_power_by_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92ee_store_tx_power_by_rate
__rtl92ee_store_tx_power_by_rate:       ; @_rtl92ee_store_tx_power_by_rate
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x23, x6
	mov	x24, x4
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x24
	bl	__rtl92ee_get_rate_section_index
Lloh0:
	adrp	x8, _BAND_ON_2_4G@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BAND_ON_2_4G@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BAND_ON_5G@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BAND_ON_5G@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w22
	ccmp	w9, w22, #4, ne
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _MAX_RF_PATH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_RF_PATH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w9, w8, #1
	cmp	w9, w20
	b.hs	LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _FPHY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _PHY_TXPWR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PHY_TXPWR@GOTPAGEOFF]
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh16:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x4, x20
	b	LBB0_7
LBB0_3:
Lloh17:
	adrp	x8, _FPHY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _PHY_TXPWR@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PHY_TXPWR@GOTPAGEOFF]
Lloh22:
	adrp	x3, l_.str@PAGE
Lloh23:
	add	x3, x3, l_.str@PAGEOFF
Lloh24:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x4, x22
	b	LBB0_7
LBB0_4:
	cmp	w8, w19
	b.le	LBB0_6
; %bb.5:
	ldr	x8, [x21]
	ldr	x8, [x8, w22, uxtw #3]
	ldr	x8, [x8, w20, uxtw #3]
	ldr	x8, [x8, w19, sxtw #3]
	str	w23, [x8, x0, lsl #2]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh25:
	adrp	x8, _FPHY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FPHY@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _PHY_TXPWR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _PHY_TXPWR@GOTPAGEOFF]
Lloh30:
	adrp	x3, l_.str.2@PAGE
Lloh31:
	add	x3, x3, l_.str.2@PAGEOFF
Lloh32:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x4, x19
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_RT_TRACE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh24
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_BAND_ON_2_4G,4,2               ; @BAND_ON_2_4G
	.comm	_BAND_ON_5G,4,2                 ; @BAND_ON_5G
	.comm	_FPHY,4,2                       ; @FPHY
	.comm	_PHY_TXPWR,4,2                  ; @PHY_TXPWR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid Band %d\n"

	.comm	_MAX_RF_PATH,4,2                ; @MAX_RF_PATH
l_.str.1:                               ; @.str.1
	.asciz	"Invalid RfPath %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Invalid TxNum %d\n"

	.no_dead_strip	__rtl92ee_store_tx_power_by_rate
.subsections_via_symbols
