	.file	"extr_phy_n.c_wlc_phy_txpwr_nphy_srom_convert.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	wlc_phy_txpwr_nphy_srom_convert, @function
wlc_phy_txpwr_nphy_srom_convert:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	ecx, r8d
	jg	.L1
	sub	r8d, ecx
	movsx	rcx, ecx
	lea	r9, [rdi+rcx*4]
	xor	edi, edi
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, edi
	mov	ecx, edi
	sar	eax, 2
	and	ecx, 3
	cdqe
	sal	ecx, 2
	mov	eax, DWORD PTR [rsi+rax*4]
	sar	eax, cl
	mov	ecx, edx
	and	eax, 15
	add	eax, eax
	sub	ecx, eax
	mov	rax, rdi
	mov	DWORD PTR [r9+rdi*4], ecx
	add	rdi, 1
	cmp	rax, r8
	jne	.L3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	wlc_phy_txpwr_nphy_srom_convert, .-wlc_phy_txpwr_nphy_srom_convert
	.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_phy_n.c_wlc_phy_txpwr_nphy_srom_convert.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wlc_phy_txpwr_nphy_srom_convert, %function
wlc_phy_txpwr_nphy_srom_convert:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r4, [sp, #8]
	cmp	r3, r4
	popgt	{r4, pc}
	mov	ip, #0
	add	r4, r4, #1
	sub	r4, r4, r3
	sub	r3, r3, #-1073741823
	add	lr, r0, r3, lsl #2
.L3:
	asr	r3, ip, #2
	ldr	r3, [r1, r3, lsl #2]
	and	r0, ip, #3
	lsl	r0, r0, #2
	asr	r3, r3, r0
	and	r3, r3, #15
	add	ip, ip, #1
	sub	r3, r2, r3, lsl #1
	cmp	r4, ip
	str	r3, [lr, #4]!
	bne	.L3
	pop	{r4, pc}
	.size	wlc_phy_txpwr_nphy_srom_convert, .-wlc_phy_txpwr_nphy_srom_convert
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
