	.file	"extr_rf.c_rtl88e_phy_get_power_base.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	" [OFDM power base index rf(%c) = 0x%x]\n"
	.align 8
.LC1:
	.string	" [MCS power base index rf(%c) = 0x%x]\n"
	.text
	.p2align 4
	.type	rtl88e_phy_get_power_base, @function
rtl88e_phy_get_power_base:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rcx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR 64[rsp]
	call	rtl_priv@PLT
	mov	r8d, 65
	mov	r14, rax
	mov	eax, DWORD PTR [r15]
	mov	rdi, r14
	mov	r9d, eax
	mov	ecx, eax
	mov	edx, eax
	sal	ecx, 16
	sal	r9d, 24
	or	r9d, ecx
	sal	edx, 8
	lea	rcx, .LC0[rip]
	or	r9d, eax
	or	r9d, edx
	mov	DWORD PTR 0[r13], r9d
	mov	edx, DWORD PTR PHY_TXPWR[rip]
	mov	esi, DWORD PTR FPHY[rip]
	call	RTPRINT@PLT
	mov	eax, DWORD PTR 4[r15]
	mov	esi, DWORD PTR FPHY[rip]
	mov	r8d, 66
	mov	rdi, r14
	lea	r15, .LC1[rip]
	mov	r9d, eax
	mov	ecx, eax
	mov	edx, eax
	sal	ecx, 16
	sal	r9d, 24
	or	r9d, ecx
	sal	edx, 8
	lea	rcx, .LC0[rip]
	or	r9d, eax
	or	r9d, edx
	mov	edx, DWORD PTR PHY_TXPWR[rip]
	mov	DWORD PTR 4[r13], r9d
	xor	r13d, r13d
	call	RTPRINT@PLT
	mov	rax, QWORD PTR HT_CHANNEL_WIDTH_20[rip]
	cmp	QWORD PTR [r14], rax
	je	.L10
.L2:
	mov	eax, DWORD PTR [rbx+r13*4]
.L3:
	mov	r9d, eax
	mov	edx, eax
	sal	r9d, 24
	sal	edx, 16
	or	r9d, edx
	or	r9d, eax
	sal	eax, 8
	or	r9d, eax
	mov	DWORD PTR [r12+r13*4], r9d
	test	r13, r13
	je	.L4
	mov	edx, DWORD PTR PHY_TXPWR[rip]
	mov	esi, DWORD PTR FPHY[rip]
	mov	rcx, r15
	mov	rdi, r14
	mov	r8d, 66
	call	RTPRINT@PLT
	cmp	r13d, 1
	jne	.L7
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR PHY_TXPWR[rip]
	mov	esi, DWORD PTR FPHY[rip]
	mov	rcx, r15
	mov	rdi, r14
	mov	r8d, 65
	call	RTPRINT@PLT
.L7:
	mov	rax, QWORD PTR HT_CHANNEL_WIDTH_20[rip]
	add	r13, 1
	cmp	QWORD PTR [r14], rax
	jne	.L2
.L10:
	mov	eax, DWORD PTR 0[rbp+r13*4]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	rtl88e_phy_get_power_base, .-rtl88e_phy_get_power_base
	.comm	PHY_TXPWR,4,4
	.comm	HT_CHANNEL_WIDTH_20,8,8
	.comm	FPHY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rf.c_rtl88e_phy_get_power_base.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" [OFDM power base index rf(%c) = 0x%x]\012\000"
	.align	2
.LC1:
	.ascii	" [MCS power base index rf(%c) = 0x%x]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl88e_phy_get_power_base, %function
rtl88e_phy_get_power_base:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r1
	sub	sp, sp, #28
	ldr	fp, [sp, #68]
	str	r2, [sp, #20]
	str	r3, [sp, #12]
	bl	rtl_priv
	mov	r6, #65
	ldr	r2, [r4]
	mov	r5, r0
	lsl	r3, r2, #16
	orr	r3, r3, r2, lsl #24
	orr	r3, r3, r2
	mov	r7, #66
	orr	r3, r3, r2, lsl #8
	ldr	r9, .L10
	ldr	r8, .L10+4
	str	r3, [fp]
	ldr	r2, [r9]
	ldr	r1, [r8]
	str	r3, [sp, #4]
	str	r6, [sp]
	ldr	r3, .L10+8
	bl	RTPRINT
	ldr	r2, [r4, #4]
	mov	r4, #0
	lsl	r3, r2, #16
	orr	r3, r3, r2, lsl #24
	orr	r3, r3, r2
	orr	r3, r3, r2, lsl #8
	str	r3, [fp, #4]
	mov	r0, r5
	str	r3, [sp, #4]
	ldr	r2, [r9]
	ldr	r3, .L10+8
	ldr	r1, [r8]
	str	r7, [sp]
	str	r6, [sp, #16]
	bl	RTPRINT
	ldr	r3, [sp, #72]
	ldr	fp, .L10+12
	ldr	r10, .L10+16
	sub	r6, r3, #4
.L6:
	ldr	r3, [fp]
	ldr	r2, [r5]
	cmp	r2, r3
	ldreq	r3, [sp, #20]
	ldrne	r3, [sp, #12]
	cmp	r4, #0
	ldr	r2, [r3, r4, lsl #2]
	lsl	r3, r2, #16
	orr	r3, r3, r2, lsl #24
	orr	r3, r3, r2
	orr	r3, r3, r2, lsl #8
	str	r3, [r6, #4]!
	ldr	r1, [r8]
	ldr	r2, [r9]
	str	r3, [sp, #4]
	beq	.L4
	mov	r3, r10
	mov	r0, r5
	str	r7, [sp]
	bl	RTPRINT
	cmp	r4, #1
	bne	.L7
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldr	r3, [sp, #16]
	mov	r0, r5
	str	r3, [sp]
	mov	r3, r10
	bl	RTPRINT
.L7:
	add	r4, r4, #1
	b	.L6
.L11:
	.align	2
.L10:
	.word	PHY_TXPWR
	.word	FPHY
	.word	.LC0
	.word	HT_CHANNEL_WIDTH_20
	.word	.LC1
	.size	rtl88e_phy_get_power_base, .-rtl88e_phy_get_power_base
	.comm	PHY_TXPWR,4,4
	.comm	HT_CHANNEL_WIDTH_20,4,4
	.comm	FPHY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
