	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92d_get_txpower_index
__rtl92d_get_txpower_index:             ## @_rtl92d_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, %r14
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	(%r13), %rcx
	movq	_BAND_ON_2_4G@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	(%rax), %rdx
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rdx,%rcx,8), %rsi
	movq	-8(%rsi,%r15,8), %rsi
	movq	%rsi, (%r12,%rcx,8)
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rdx,%rcx,8), %rdx
	movq	-8(%rdx,%r15,8), %rdx
	jmp	LBB0_3
LBB0_2:
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%r12,%rcx,8)
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
LBB0_3:
	movq	%rdx, (%r12,%rcx,8)
	movq	8(%r13), %rcx
	movq	_RF_1T2R@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.4:
	movq	_RF_1T1R@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.6:
	movq	_RF_2T2R@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_9
## %bb.7:
	movq	16(%rax), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	8(%rax), %rcx
LBB0_8:
	movq	_RF90_PATH_A@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rdx
	movq	-8(%rdx,%r15,8), %rdx
	movq	%rdx, (%r14,%rax,8)
	movq	_RF90_PATH_B@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rcx,%rax,8), %rcx
	movq	(%rcx), %rcx
	movq	-8(%rcx,%r15,8), %rcx
	movq	%rcx, (%r14,%rax,8)
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BAND_ON_2_4G,8,3               ## @BAND_ON_2_4G
	.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	__rtl92d_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 _rtl92d_get_txpower_index
__rtl92d_get_txpower_index:             ; @_rtl92d_get_txpower_index
	.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	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x23, x0
	bl	_rtl_priv
	mov	x21, x0
	mov	x0, x23
	bl	_rtl_priv
	bl	_rtl_efuse
	sub	x8, x22, #1
	ldr	x11, [x21]
Lloh0:
	adrp	x9, _BAND_ON_2_4G@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BAND_ON_2_4G@GOTPAGEOFF]
Lloh2:
	ldr	x12, [x9]
Lloh3:
	adrp	x10, _RF90_PATH_A@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RF90_PATH_A@GOTPAGEOFF]
Lloh5:
	adrp	x9, _RF90_PATH_B@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RF90_PATH_B@GOTPAGEOFF]
	cmp	x11, x12
	b.ne	LBB0_2
; %bb.1:
	ldr	x11, [x0]
	ldr	x12, [x10]
	lsl	x12, x12, #3
	ldr	x13, [x11, x12]
	lsl	x14, x8, #3
	ldr	x13, [x13, x14]
	str	x13, [x20, x12]
	ldr	x12, [x9]
	ldr	x11, [x11, x12, lsl #3]
	ldr	x11, [x11, x14]
	b	LBB0_3
LBB0_2:
	mov	x11, #0
	ldr	x12, [x10]
	str	xzr, [x20, x12, lsl #3]
	ldr	x12, [x9]
LBB0_3:
	str	x11, [x20, x12, lsl #3]
	ldr	x11, [x21, #8]
Lloh7:
	adrp	x12, _RF_1T2R@GOTPAGE
Lloh8:
	ldr	x12, [x12, _RF_1T2R@GOTPAGEOFF]
Lloh9:
	ldr	x12, [x12]
Lloh10:
	adrp	x13, _RF_1T1R@GOTPAGE
Lloh11:
	ldr	x13, [x13, _RF_1T1R@GOTPAGEOFF]
Lloh12:
	ldr	x13, [x13]
	cmp	x11, x12
	ccmp	x11, x13, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	x11, [x0, #8]
	b	LBB0_7
LBB0_5:
Lloh13:
	adrp	x12, _RF_2T2R@GOTPAGE
Lloh14:
	ldr	x12, [x12, _RF_2T2R@GOTPAGEOFF]
Lloh15:
	ldr	x12, [x12]
	cmp	x11, x12
	b.ne	LBB0_8
; %bb.6:
	ldr	x11, [x0, #16]
LBB0_7:
	ldr	x10, [x10]
	lsl	x10, x10, #3
	ldr	x12, [x11, x10]
	ldr	x12, [x12, x8, lsl #3]
	str	x12, [x19, x10]
	ldr	x9, [x9]
	add	x10, x11, x9, lsl #3
	ldr	x10, [x10]
	ldr	x8, [x10, x8, lsl #3]
	str	x8, [x19, x9, lsl #3]
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_BAND_ON_2_4G,8,3               ; @BAND_ON_2_4G
	.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	__rtl92d_get_txpower_index
.subsections_via_symbols
