	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sbr_sum_square_c
_sbr_sum_square_c:                      ## @sbr_sum_square_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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movq	_UINT64_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r11d
	movq	_INT32_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	imull	%eax, %eax
	movl	%r11d, %r8d
	subl	%eax, %r8d
	movl	%esi, %r9d
	pxor	%xmm1, %xmm1
	xorl	%r10d, %r10d
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	addl	%edx, %r13d
	addl	%r12d, %r13d
	addl	%eax, %r13d
	addl	%r13d, %r14d
	pxor	%xmm0, %xmm0
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movdqa	%xmm0, %xmm1
	cmpq	%r9, %r10
	jae	LBB0_10
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movdqu	(%rdi,%r10,8), %xmm0
	pmulld	%xmm0, %xmm0
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm2               ## xmm2 = xmm1[1,1,1,1]
	por	%xmm1, %xmm2
	movd	%xmm2, %eax
	addq	$2, %r10
	cmpl	%r8d, %eax
	jg	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r9, %r10
	jb	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movd	%xmm0, %r13d
	sarl	%cl, %r13d
	pextrd	$1, %xmm0, %edx
	sarl	%cl, %edx
	pextrd	$2, %xmm0, %r12d
	sarl	%cl, %r12d
	pextrd	$3, %xmm0, %eax
	sarl	%cl, %eax
	movl	%edx, %r15d
	orl	%r13d, %r15d
	movl	%r12d, %ebx
	orl	%eax, %ebx
	orl	%r15d, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r11d, %esi
	subl	%r14d, %esi
	sarl	$2, %esi
	cmpl	%esi, %ebx
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	sarl	%r13d
	sarl	%edx
	sarl	%r12d
	sarl	%eax
	sarl	%r14d
	incl	%ecx
	movl	%edx, %esi
	orl	%r13d, %esi
	movl	%r12d, %ebx
	orl	%eax, %ebx
	orl	%esi, %ebx
	jmp	LBB0_7
LBB0_1:
	xorl	%ecx, %ecx
	xorl	%r14d, %r14d
LBB0_10:
	incl	%r14d
	sarl	%r14d
	shrl	%r14d
	movl	$14, %esi
	subl	%ecx, %esi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_int2sf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_UINT64_MAX,4,2                 ## @UINT64_MAX
	.comm	_INT32_MIN,4,2                  ## @INT32_MIN
	.no_dead_strip	_sbr_sum_square_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sbr_sum_square_c
_sbr_sum_square_c:                      ; @sbr_sum_square_c
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x10, #0
	mov	w9, #0
	mov	w8, #0
	mov	w14, #0
	mov	w15, #0
	mov	w16, #0
	mov	w17, #0
Lloh0:
	adrp	x11, _UINT64_MAX@GOTPAGE
Lloh1:
	ldr	x11, [x11, _UINT64_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
Lloh3:
	adrp	x12, _INT32_MIN@GOTPAGE
Lloh4:
	ldr	x12, [x12, _INT32_MIN@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	msub	w12, w12, w12, w11
	mov	w13, w1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w17, #0
	mov	w16, #0
	mov	w15, #0
	mov	w14, #0
	add	w1, w2, w1
	add	w1, w1, w3
	add	w1, w1, w4
	add	w9, w1, w9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x13
	b.hs	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	x1, x10, #3
	add	x2, x0, x1
	ldp	w3, w2, [x2]
	madd	w17, w3, w3, w17
	madd	w16, w2, w2, w16
	orr	x1, x1, #0x8
	add	x1, x0, x1
	ldp	w2, w1, [x1]
	madd	w15, w2, w2, w15
	madd	w14, w1, w1, w14
	orr	w1, w16, w17
	orr	w1, w1, w15
	orr	w1, w1, w14
	add	x10, x10, #2
	cmp	w1, w12
	ccmp	x10, x13, #2, le
	b.lo	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	asr	w1, w17, w8
	asr	w2, w16, w8
	asr	w3, w15, w8
	asr	w4, w14, w8
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	orr	w14, w2, w1
	orr	w14, w14, w3
	orr	w14, w14, w4
	sub	w15, w11, w9
	cmp	w14, w15, asr #2
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	asr	w1, w1, #1
	asr	w2, w2, #1
	asr	w3, w3, #1
	asr	w4, w4, #1
	asr	w9, w9, #1
	add	w8, w8, #1
	b	LBB0_6
LBB0_8:
	mov	w8, #0
	mov	w9, #0
LBB0_9:
	add	w9, w9, #1
	asr	w9, w9, #1
	lsr	w0, w9, #1
	mov	w9, #14
	sub	w1, w9, w8
	b	_av_int2sf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UINT64_MAX,4,2                 ; @UINT64_MAX
	.comm	_INT32_MIN,4,2                  ; @INT32_MIN
	.no_dead_strip	_sbr_sum_square_c
.subsections_via_symbols
