	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_txpwr_nphy_srom_convert
_wlc_phy_txpwr_nphy_srom_convert:       ## @wlc_phy_txpwr_nphy_srom_convert
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $r8d killed $r8d def $r8
	movl	%r8d, %eax
	subl	%ecx, %eax
	jl	LBB0_6
## %bb.1:
	movslq	%ecx, %r10
	incl	%eax
	testb	$1, %al
	je	LBB0_3
## %bb.2:
	movl	(%rsi), %r9d
	addl	%r9d, %r9d
	andl	$30, %r9d
	movl	%edx, %eax
	subl	%r9d, %eax
	movl	%eax, (%rdi,%r10,4)
	incq	%r10
LBB0_3:
	cmpl	%ecx, %r8d
	je	LBB0_6
## %bb.4:
	subl	%r10d, %r8d
	incl	%r8d
	movl	%r10d, %r9d
	subl	%ecx, %r9d
	leal	(,%r10,4), %r11d
	shll	$2, %ecx
	subl	%ecx, %r11d
	leaq	(%rdi,%r10,4), %r10
	addq	$4, %r10
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r9,%rdi), %ecx
	sarl	$2, %ecx
	movslq	%ecx, %rcx
	movl	(%rsi,%rcx,4), %eax
	movl	%r11d, %ecx
	andb	$12, %cl
	sarl	%cl, %eax
	addl	%eax, %eax
	andl	$30, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	%ecx, -4(%r10,%rdi,4)
	leal	(%r9,%rdi), %eax
	incl	%eax
	sarl	$2, %eax
	cltq
	movl	(%rsi,%rax,4), %eax
	leal	4(%r11), %ecx
	andb	$12, %cl
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	addl	%eax, %eax
	andl	$30, %eax
	movl	%edx, %ecx
	subl	%eax, %ecx
	movl	%ecx, (%r10,%rdi,4)
	addq	$2, %rdi
	addl	$8, %r11d
	cmpl	%edi, %r8d
	jne	LBB0_5
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_phy_txpwr_nphy_srom_convert
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wlc_phy_txpwr_nphy_srom_convert
_wlc_phy_txpwr_nphy_srom_convert:       ; @wlc_phy_txpwr_nphy_srom_convert
	.cfi_startproc
; %bb.0:
	cmp	w3, w4
	b.gt	LBB0_3
; %bb.1:
	mov	x8, #0
	mov	w9, #0
	add	x10, x0, w3, sxtw #2
	sub	w11, w4, w3
	add	w11, w11, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	asr	w12, w9, #2
	ldr	w12, [x1, w12, sxtw #2]
	and	w13, w8, #0xc
	asr	w12, w12, w13
	ubfiz	w12, w12, #1, #4
	sub	w12, w2, w12
	str	w12, [x10, x8]
	add	w9, w9, #1
	add	x8, x8, #4
	cmp	w11, w9
	b.ne	LBB0_2
LBB0_3:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_phy_txpwr_nphy_srom_convert
.subsections_via_symbols
