	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_ofdm_to_mcs_powers_nphy ## -- Begin function wlc_phy_ofdm_to_mcs_powers_nphy
	.p2align	4, 0x90
_wlc_phy_ofdm_to_mcs_powers_nphy:       ## @wlc_phy_ofdm_to_mcs_powers_nphy
	.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 $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	movslq	%edx, %r8
	cmpl	%edx, %esi
	jge	LBB0_1
## %bb.2:
	movslq	%esi, %r10
	movslq	%edx, %r9
	subl	%esi, %edx
	movq	%r10, %rsi
	notq	%rsi
	testb	$1, %dl
	jne	LBB0_4
## %bb.3:
	movq	%r10, %rdx
	addq	%r9, %rsi
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	movq	%r8, %r9
	jmp	LBB0_7
LBB0_4:
	movslq	%ecx, %rcx
	movl	(%rdi,%rcx,4), %edx
	movl	%edx, (%rdi,%r10,4)
	addl	$2, %ecx
	leaq	1(%r10), %rdx
	addq	%r9, %rsi
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%ecx, %rcx
	movl	(%rdi,%rcx,4), %esi
	movl	%esi, (%rdi,%rdx,4)
	xorl	%esi, %esi
	cmpq	%rdx, %r10
	sete	%sil
	leal	(%rsi,%rcx), %eax
	leal	1(%rsi,%rcx), %ecx
	movslq	%ecx, %rcx
	movl	(%rdi,%rcx,4), %ecx
	movl	%ecx, 4(%rdi,%rdx,4)
	leaq	1(%rdx), %rcx
	xorl	%esi, %esi
	cmpq	%r10, %rcx
	sete	%sil
	leal	(%rsi,%rax), %ecx
	addl	$2, %ecx
	addq	$2, %rdx
	cmpq	%r9, %rdx
	jne	LBB0_6
LBB0_7:
	movl	-4(%rdi,%r8,4), %eax
	movl	%eax, (%rdi,%r9,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wlc_phy_ofdm_to_mcs_powers_nphy ; -- Begin function wlc_phy_ofdm_to_mcs_powers_nphy
	.p2align	2
_wlc_phy_ofdm_to_mcs_powers_nphy:       ; @wlc_phy_ofdm_to_mcs_powers_nphy
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	cmp	w1, w2
	b.ge	LBB0_3
; %bb.1:
	mov	x9, #0
	mov	x8, x2
	sxtw	x8, w8
	add	x10, x0, w1, sxtw #2
	sub	x11, x8, w1, sxtw
	mov	w12, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x0, w3, sxtw #2]
	str	w13, [x10, x9, lsl #2]
	cmp	x9, #0
	cinc	w13, w12, eq
	add	w3, w13, w3
	add	x9, x9, #1
	cmp	x11, x9
	b.ne	LBB0_2
	b	LBB0_4
LBB0_3:
	sxtw	x8, w2
LBB0_4:
	sub	w9, w2, #1
	ldr	w9, [x0, w9, sxtw #2]
	str	w9, [x0, x8, lsl #2]
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
