	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsse16_c
_nsse16_c:                              ## @nsse16_c
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%r8d, %r8d
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movslq	%ecx, %rax
	leaq	(%rsi,%rax,4), %r12
	addq	$4, %r12
	leaq	(%rdx,%rax,4), %rdi
	addq	$4, %rdi
	shlq	$2, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r13d, %ebx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movdqa	-224(%rbp), %xmm1               ## 16-byte Reload
	psubd	-128(%rbp), %xmm1               ## 16-byte Folded Reload
	movdqa	-192(%rbp), %xmm2               ## 16-byte Reload
	psubd	-112(%rbp), %xmm2               ## 16-byte Folded Reload
	movdqa	-208(%rbp), %xmm0               ## 16-byte Reload
	psubd	-160(%rbp), %xmm0               ## 16-byte Folded Reload
	movdqa	-176(%rbp), %xmm3               ## 16-byte Reload
	psubd	-144(%rbp), %xmm3               ## 16-byte Folded Reload
	pmulld	%xmm3, %xmm3
	pmulld	%xmm0, %xmm0
	paddd	%xmm3, %xmm0
	pmulld	%xmm2, %xmm2
	pmulld	%xmm1, %xmm1
	paddd	%xmm2, %xmm1
	paddd	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %eax
	movl	-48(%rbp), %r14d                ## 4-byte Reload
	addl	%eax, %r14d
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r15
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	addq	%rax, %rdx
	addq	%rax, %r12
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	%rax, %rdi
	movl	%ebx, %r13d
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	%r8d, %eax
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movups	(%r15), %xmm0
	movaps	%xmm0, -208(%rbp)               ## 16-byte Spill
	movups	16(%r15), %xmm0
	movaps	%xmm0, -224(%rbp)               ## 16-byte Spill
	movups	32(%r15), %xmm0
	movaps	%xmm0, -176(%rbp)               ## 16-byte Spill
	movups	48(%r15), %xmm0
	movaps	%xmm0, -192(%rbp)               ## 16-byte Spill
	movups	(%rdx), %xmm0
	movaps	%xmm0, -160(%rbp)               ## 16-byte Spill
	movups	16(%rdx), %xmm0
	movaps	%xmm0, -128(%rbp)               ## 16-byte Spill
	movups	32(%rdx), %xmm0
	movaps	%xmm0, -144(%rbp)               ## 16-byte Spill
	movq	%rdx, %r9
	movdqu	48(%rdx), %xmm0
	movdqa	%xmm0, -112(%rbp)               ## 16-byte Spill
	incl	%eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	cmpl	%r8d, %eax
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jge	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-4(%r12,%r14), %eax
	addl	4(%r15,%r14), %eax
	movl	(%r15,%r14), %edi
	subl	%eax, %edi
	addl	(%r12,%r14), %edi
	callq	_FFABS
	movl	%eax, %ebx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-4(%rdx,%r14), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	4(%rcx,%r14), %eax
	movl	(%rcx,%r14), %edi
	subl	%eax, %edi
	addl	(%rdx,%r14), %edi
	callq	_FFABS
	addl	%r13d, %ebx
	subl	%eax, %ebx
	addq	$4, %r14
	movl	%ebx, %r13d
	cmpq	$60, %r14
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, %edi
	callq	_FFABS
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.9:
	movq	(%rcx), %rcx
	imull	(%rcx), %eax
	jmp	LBB0_11
LBB0_10:
	shll	$3, %eax
LBB0_11:
	addl	%r14d, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nsse16_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsse16_c
_nsse16_c:                              ; @nsse16_c
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x28, x27, [sp, #144]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #160]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #176]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #192]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
                                        ; kill: def $w3 killed $w3 def $x3
	cmp	w4, #1
	str	x0, [sp]                        ; 8-byte Folded Spill
	b.lt	LBB0_6
; %bb.1:
	mov	x21, x2
	mov	x19, x1
	mov	w26, #0
	mov	w22, #0
	mov	w25, #0
	sbfiz	x27, x3, #2, #32
	str	w4, [sp, #12]                   ; 4-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	q2, q0, [sp, #48]               ; 32-byte Folded Reload
	ldp	q1, q3, [sp, #16]               ; 32-byte Folded Reload
	sub.4s	v0, v0, v1
	ldp	q4, q1, [sp, #80]               ; 32-byte Folded Reload
	sub.4s	v1, v1, v2
	ldr	q2, [sp, #112]                  ; 16-byte Folded Reload
	sub.4s	v2, v2, v3
	ldur	q3, [x29, #-96]                 ; 16-byte Folded Reload
	sub.4s	v3, v3, v4
	mul.4s	v3, v3, v3
	mul.4s	v1, v1, v1
	mla.4s	v1, v0, v0
	mla.4s	v3, v2, v2
	add.4s	v0, v3, v1
	addv.4s	s0, v0
	fmov	w8, s0
	add	w25, w8, w25
	add	x19, x19, x27
	add	x21, x21, x27
	ldr	w4, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w26, w4
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	q0, [x19, #32]
	stur	q0, [x29, #-96]                 ; 16-byte Folded Spill
	ldr	q1, [x19, #48]
	ldr	q0, [x19]
	stp	q1, q0, [sp, #96]               ; 32-byte Folded Spill
	ldr	q1, [x19, #16]
	ldr	q0, [x21, #32]
	stp	q1, q0, [sp, #64]               ; 32-byte Folded Spill
	ldr	q1, [x21, #48]
	add	w26, w26, #1
	ldr	q0, [x21]
	stp	q0, q1, [sp, #32]               ; 32-byte Folded Spill
	ldr	q0, [x21, #16]
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	cmp	w26, w4
	b.ge	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x21
	mov	x23, x19
	mov	w20, #15
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x23]
	add	x9, x23, x27
	ldr	w10, [x23, #4]!
	ldp	w11, w9, [x9]
	add	w10, w11, w10
	sub	w8, w8, w10
	add	w0, w8, w9
	bl	_FFABS
	mov	x24, x0
	ldr	w8, [x28]
	add	x9, x28, x27
	ldr	w10, [x28, #4]!
	ldp	w11, w9, [x9]
	add	w10, w11, w10
	sub	w8, w8, w10
	add	w0, w8, w9
	bl	_FFABS
	add	w8, w24, w22
	sub	w22, w8, w0
	subs	x20, x20, #1
	b.ne	LBB0_5
	b	LBB0_2
LBB0_6:
	mov	w25, #0
	mov	w22, #0
LBB0_7:
	mov	x0, x22
	bl	_FFABS
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x8, [x8]
	ldr	w8, [x8]
	mul	w8, w8, w0
	b	LBB0_10
LBB0_9:
	lsl	w8, w0, #3
LBB0_10:
	add	w0, w8, w25
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #192]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #176]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #160]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nsse16_c
.subsections_via_symbols
