	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_evaluate_freq_sqr_sums         ## -- Begin function evaluate_freq_sqr_sums
	.p2align	4, 0x90
_evaluate_freq_sqr_sums:                ## @evaluate_freq_sqr_sums
	.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
	movl	$0, (%r8)
	movl	$0, (%rcx)
	movl	$0, (%rdx)
	testl	%esi, %esi
	jle	LBB0_4
## %bb.1:
	movl	%esi, %r9d
	decq	%r9
	xorl	%r10d, %r10d
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi,%r11,4), %eax
	movzwl	%ax, %esi
	sarl	$16, %eax
	movl	%eax, %ebx
	imull	%eax, %ebx
	addl	%r10d, %ebx
	movl	%ebx, (%rdx)
	imull	%esi, %eax
	addl	%eax, (%rcx)
	imull	%esi, %esi
	addl	%esi, (%r8)
	cmpq	%r11, %r9
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx), %r10d
	incq	%r11
	jmp	LBB0_2
LBB0_4:
	popq	%rbx
	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	_evaluate_freq_sqr_sums         ; -- Begin function evaluate_freq_sqr_sums
	.p2align	2
_evaluate_freq_sqr_sums:                ; @evaluate_freq_sqr_sums
	.cfi_startproc
; %bb.0:
	str	wzr, [x4]
	str	wzr, [x3]
	str	wzr, [x2]
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w9, #0
	mov	w8, w1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x8, #1
	ldr	w10, [x0]
	asr	w11, w10, #16
	and	w10, w10, #0xffff
	madd	w9, w11, w11, w9
	str	w9, [x2]
	ldr	w9, [x3]
	madd	w9, w11, w10, w9
	str	w9, [x3]
	ldr	w9, [x4]
	madd	w9, w10, w10, w9
	str	w9, [x4]
	cbz	x8, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x2]
	add	x0, x0, #4
	b	LBB0_2
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
