	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl8723e_get_txpower_index
__rtl8723e_get_txpower_index:           ## @_rtl8723e_get_txpower_index
	.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
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdx
	movq	-8(%rdx,%r13,8), %rdx
	movq	%rdx, (%r14,%rcx,8)
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	-8(%rax,%r13,8), %rax
	movq	%rax, (%r14,%rcx,8)
	movq	%r12, %rdi
	callq	_get_rf_type
	movq	_RF_1T2R@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	callq	_get_rf_type
	movq	_RF_1T1R@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	movq	8(%r15), %rcx
LBB0_5:
	movq	(%rbx), %rax
	movq	(%rcx,%rax,8), %rdx
	movq	-8(%rdx,%r13,8), %rdx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rdx, (%rsi,%rax,8)
	movq	%rsi, %rdx
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rcx
	movq	(%rcx), %rcx
	movq	-8(%rcx,%r13,8), %rcx
	movq	%rcx, (%rsi,%rax,8)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%r12, %rdi
	callq	_get_rf_type
	movq	_RF_2T2R@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movq	16(%r15), %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_RF90_PATH_A,8,3                ## @RF90_PATH_A
	.comm	_RF90_PATH_B,8,3                ## @RF90_PATH_B
	.comm	_RF_1T2R,8,3                    ## @RF_1T2R
	.comm	_RF_1T1R,8,3                    ## @RF_1T1R
	.comm	_RF_2T2R,8,3                    ## @RF_2T2R
	.no_dead_strip	__rtl8723e_get_txpower_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl8723e_get_txpower_index
__rtl8723e_get_txpower_index:           ; @_rtl8723e_get_txpower_index
	.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	x19, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x20
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x20, x0
	sub	x23, x23, #1
	ldr	x8, [x0]
Lloh0:
	adrp	x25, _RF90_PATH_A@GOTPAGE
Lloh1:
	ldr	x25, [x25, _RF90_PATH_A@GOTPAGEOFF]
	ldr	x9, [x25]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	lsl	x11, x23, #3
	ldr	x10, [x10, x11]
	str	x10, [x22, x9]
Lloh2:
	adrp	x24, _RF90_PATH_B@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RF90_PATH_B@GOTPAGEOFF]
	ldr	x9, [x24]
	lsl	x9, x9, #3
	ldr	x8, [x8, x9]
	ldr	x8, [x8, x11]
	str	x8, [x22, x9]
	mov	x0, x21
	bl	_get_rf_type
Lloh4:
	adrp	x8, _RF_1T2R@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RF_1T2R@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_get_rf_type
Lloh7:
	adrp	x8, _RF_1T1R@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RF_1T1R@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_2:
	ldr	x9, [x20, #8]
LBB0_3:
	ldr	x8, [x25]
	lsl	x8, x8, #3
	ldr	x10, [x9, x8]
	ldr	x10, [x10, x23, lsl #3]
	str	x10, [x19, x8]
	ldr	x8, [x24]
	add	x9, x9, x8, lsl #3
	ldr	x9, [x9]
	ldr	x9, [x9, x23, lsl #3]
	str	x9, [x19, x8, lsl #3]
LBB0_4:
	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
LBB0_5:
	mov	x0, x21
	bl	_get_rf_type
Lloh10:
	adrp	x8, _RF_2T2R@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RF_2T2R@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.6:
	ldr	x9, [x20, #16]
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_RF90_PATH_A,8,3                ; @RF90_PATH_A
	.comm	_RF90_PATH_B,8,3                ; @RF90_PATH_B
	.comm	_RF_1T2R,8,3                    ; @RF_1T2R
	.comm	_RF_1T1R,8,3                    ; @RF_1T1R
	.comm	_RF_2T2R,8,3                    ; @RF_2T2R
	.no_dead_strip	__rtl8723e_get_txpower_index
.subsections_via_symbols
