	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wlc_phy_txpwr_nphy_po_apply
_wlc_phy_txpwr_nphy_po_apply:           ## @wlc_phy_txpwr_nphy_po_apply
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	cmpq	%rcx, %rdx
	ja	LBB0_11
## %bb.1:
	addq	%rsi, %rsi
	negq	%rsi
	leaq	1(%rcx), %rax
	leaq	1(%rdx), %r9
	cmpq	%r9, %rax
	cmovaq	%rax, %r9
	subq	%rdx, %r9
	cmpq	$4, %r9
	jb	LBB0_10
## %bb.2:
	movq	%r9, %r8
	andq	$-4, %r8
	movq	%rsi, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	leaq	-4(%r8), %rax
	movq	%rax, %r10
	shrq	$2, %r10
	incq	%r10
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r10, %r11
	andq	$-2, %r11
	leaq	(%rdi,%rdx,8), %rbx
	addq	$48, %rbx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-48(%rbx,%rax,8), %xmm1
	movdqu	-32(%rbx,%rax,8), %xmm2
	movdqu	-16(%rbx,%rax,8), %xmm3
	movdqu	(%rbx,%rax,8), %xmm4
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, -48(%rbx,%rax,8)
	movdqu	%xmm2, -32(%rbx,%rax,8)
	paddq	%xmm0, %xmm3
	paddq	%xmm0, %xmm4
	movdqu	%xmm3, -16(%rbx,%rax,8)
	movdqu	%xmm4, (%rbx,%rax,8)
	addq	$8, %rax
	addq	$-2, %r11
	jne	LBB0_5
## %bb.6:
	testb	$1, %r10b
	je	LBB0_8
LBB0_7:
	addq	%rdx, %rax
	movdqu	(%rdi,%rax,8), %xmm1
	movdqu	16(%rdi,%rax,8), %xmm2
	paddq	%xmm0, %xmm1
	paddq	%xmm0, %xmm2
	movdqu	%xmm1, (%rdi,%rax,8)
	movdqu	%xmm2, 16(%rdi,%rax,8)
LBB0_8:
	cmpq	%r8, %r9
	je	LBB0_11
## %bb.9:
	addq	%r8, %rdx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	addq	%rsi, (%rdi,%rdx,8)
	incq	%rdx
	cmpq	%rcx, %rdx
	jbe	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	testb	$1, %r10b
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wlc_phy_txpwr_nphy_po_apply
.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_po_apply
_wlc_phy_txpwr_nphy_po_apply:           ; @wlc_phy_txpwr_nphy_po_apply
	.cfi_startproc
; %bb.0:
	cmp	x2, x3
	b.hi	LBB0_7
; %bb.1:
	neg	x8, x1, lsl #1
	add	x9, x3, #1
	add	x10, x2, #1
	cmp	x9, x10
	csinc	x9, x9, x2, hi
	sub	x10, x9, x2
	cmp	x10, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x9, x2
	b	LBB0_6
LBB0_3:
	and	x11, x10, #0xfffffffffffffff8
	add	x9, x11, x2
	dup.2d	v0, x8
	add	x12, x0, x2, lsl #3
	add	x12, x12, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x12, #-32]
	ldp	q3, q4, [x12]
	add.2d	v1, v1, v0
	add.2d	v2, v2, v0
	add.2d	v3, v3, v0
	add.2d	v4, v4, v0
	stp	q1, q2, [x12, #-32]
	stp	q3, q4, [x12], #64
	subs	x13, x13, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x11
	b.eq	LBB0_7
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x9, #3
	ldr	x11, [x0, x10]
	add	x11, x11, x8
	str	x11, [x0, x10]
	add	x9, x9, #1
	cmp	x9, x3
	b.ls	LBB0_6
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wlc_phy_txpwr_nphy_po_apply
.subsections_via_symbols
