	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8723e_phy_get_power_base
_rtl8723e_phy_get_power_base:           ## @rtl8723e_phy_get_power_base
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_efuse
	movq	%rax, %r14
	movslq	%r15d, %r15
	leaq	-1(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r12), %ebx
	movq	(%r14), %rax
	movq	(%rax), %rax
	movl	-4(%rax,%r15,4), %r9d
	addl	%ebx, %r9d
	movl	%r9d, %eax
	shll	$24, %eax
	movl	%r9d, %ecx
	shll	$16, %ecx
	orl	%r9d, %ecx
	shll	$8, %r9d
	orl	%eax, %r9d
	orl	%ecx, %r9d
	movl	%r9d, (%r13)
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rcx
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	$65, %r8d
	callq	_RTPRINT
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %r13d
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	-4(%rax,%r15,4), %r9d
	addl	%r13d, %r9d
	movl	%r9d, %eax
	shll	$24, %eax
	movl	%r9d, %ecx
	shll	$16, %ecx
	orl	%r9d, %ecx
	shll	$8, %r9d
	orl	%eax, %r9d
	orl	%ecx, %r9d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r9d, 4(%rax)
	movq	_FPHY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PHY_TXPWR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rcx
	movl	$66, %r8d
	callq	_RTPRINT
	movq	(%r12), %rax
	movq	_HT_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_1
## %bb.2:
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	addl	(%rax,%r14,4), %ebx
	jmp	LBB0_3
LBB0_1:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_3:
	movl	%ebx, %eax
	shll	$24, %eax
	movl	%ebx, %ecx
	shll	$16, %ecx
	orl	%ebx, %ecx
	shll	$8, %ebx
	orl	%eax, %ebx
	orl	%ecx, %ebx
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movl	%ebx, (%r15)
	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	$65, %r8d
	movl	%ebx, %r9d
	callq	_RTPRINT
	movq	(%r12), %rax
	movq	_HT_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	8(%rax), %rax
	addl	(%rax,%r14,4), %r13d
LBB0_5:
	movl	%r13d, %eax
	shll	$24, %eax
	movl	%r13d, %ecx
	shll	$16, %ecx
	orl	%r13d, %ecx
	shll	$8, %r13d
	orl	%eax, %r13d
	orl	%ecx, %r13d
	movl	%r13d, 4(%r15)
	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	$66, %r8d
	movl	%r13d, %r9d
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RTPRINT                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FPHY,4,2                       ## @FPHY
	.comm	_PHY_TXPWR,4,2                  ## @PHY_TXPWR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" [OFDM power base index rf(%c) = 0x%x]\n"

	.comm	_HT_CHANNEL_WIDTH_20,8,3        ## @HT_CHANNEL_WIDTH_20
L_.str.1:                               ## @.str.1
	.asciz	" [MCS power base index rf(%c) = 0x%x]\n"

	.no_dead_strip	_rtl8723e_phy_get_power_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8723e_phy_get_power_base
_rtl8723e_phy_get_power_base:           ; @rtl8723e_phy_get_power_base
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x21, x0
	bl	_rtl_priv
	mov	x20, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_efuse
	mov	x21, x0
	sub	w8, w23, #1
	sxtw	x9, w8
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x9, [x0]
	ldr	x9, [x9]
	sbfiz	x25, x8, #2, #32
	ldr	w8, [x9, x25]
	ldr	w28, [x24]
	add	w8, w8, w28
	orr	w9, w8, w8, lsl #16
	orr	w9, w9, w8, lsl #24
	orr	w5, w9, w8, lsl #8
	str	w5, [x22]
Lloh0:
	adrp	x26, _FPHY@GOTPAGE
Lloh1:
	ldr	x26, [x26, _FPHY@GOTPAGEOFF]
	ldr	w1, [x26]
Lloh2:
	adrp	x27, _PHY_TXPWR@GOTPAGE
Lloh3:
	ldr	x27, [x27, _PHY_TXPWR@GOTPAGEOFF]
	ldr	w2, [x27]
Lloh4:
	adrp	x23, l_.str@PAGE
Lloh5:
	add	x23, x23, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x23
	mov	w4, #65
	bl	_RTPRINT
	ldr	w24, [x24, #4]
	ldr	x8, [x21]
	ldr	x8, [x8, #8]
	ldr	w8, [x8, x25]
	add	w8, w8, w24
	orr	w9, w8, w8, lsl #16
	orr	w9, w9, w8, lsl #24
	orr	w5, w9, w8, lsl #8
	str	w5, [x22, #4]
	ldr	w1, [x26]
	ldr	w2, [x27]
	mov	x0, x20
	mov	x3, x23
	mov	w4, #66
	bl	_RTPRINT
	ldr	x8, [x20]
Lloh6:
	adrp	x22, _HT_CHANNEL_WIDTH_20@GOTPAGE
Lloh7:
	ldr	x22, [x22, _HT_CHANNEL_WIDTH_20@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8, x9, lsl #2]
	add	w28, w28, w8
LBB0_2:
	orr	w8, w28, w28, lsl #16
	orr	w8, w8, w28, lsl #24
	orr	w5, w8, w28, lsl #8
	str	w5, [x19]
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w4, #65
	bl	_RTPRINT
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8, x9, lsl #2]
	add	w24, w24, w8
LBB0_4:
	orr	w8, w24, w24, lsl #16
	orr	w8, w8, w24, lsl #24
	orr	w5, w8, w24, lsl #8
	str	w5, [x19, #4]
	ldr	w1, [x26]
	ldr	w2, [x27]
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	w4, #66
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_RTPRINT
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FPHY,4,2                       ; @FPHY
	.comm	_PHY_TXPWR,4,2                  ; @PHY_TXPWR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" [OFDM power base index rf(%c) = 0x%x]\n"

	.comm	_HT_CHANNEL_WIDTH_20,8,3        ; @HT_CHANNEL_WIDTH_20
l_.str.1:                               ; @.str.1
	.asciz	" [MCS power base index rf(%c) = 0x%x]\n"

	.no_dead_strip	_rtl8723e_phy_get_power_base
.subsections_via_symbols
