	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function celt_pitch_xcorr
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_celt_pitch_xcorr:                      ## @celt_pitch_xcorr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r8d killed $r8d def $r8
	movl	%ecx, %r15d
	movq	%rdx, %r13
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	cmpl	$4, %r8d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jl	LBB0_4
## %bb.1:
	leal	-3(%r8), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	leaq	-80(%rbp), %rdx
	movl	%r15d, %ecx
	callq	_xcorr_kernel
	movaps	-80(%rbp), %xmm0
	movups	%xmm0, (%r13,%r14,4)
	addq	$4, %r14
	addq	$16, %rbx
	cmpl	%r14d, -44(%rbp)                ## 4-byte Folded Reload
	jg	LBB0_2
## %bb.3:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_4:
	cmpl	%r8d, %r14d
	jge	LBB0_7
## %bb.5:
	movl	%r14d, %eax
	leaq	(%r13,%rax,4), %r13
	leaq	(%rsi,%rax,4), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_celt_inner_prod
	movss	%xmm0, (%r13)
	addq	$4, %r13
	addq	$4, %rbx
	incl	%r14d
	cmpl	-56(%rbp), %r14d                ## 4-byte Folded Reload
	jl	LBB0_6
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_celt_pitch_xcorr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function celt_pitch_xcorr
_celt_pitch_xcorr:                      ; @celt_pitch_xcorr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x4
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	cmp	w4, #4
	b.lt	LBB0_4
; %bb.1:
	mov	w25, #0
	sub	w26, w19, #3
	mov	x24, x22
	mov	x27, x23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	stp	xzr, xzr, [sp]
	mov	x2, sp
	mov	x0, x21
	mov	x1, x24
	mov	x3, x20
	bl	_xcorr_kernel
	ldr	q0, [sp]
	str	q0, [x27], #16
	add	x24, x24, #16
	add	w25, w25, #4
	cmp	w26, w25
	b.gt	LBB0_2
; %bb.3:
	cmp	w25, w19
	b.lt	LBB0_5
	b	LBB0_7
LBB0_4:
	mov	w25, #0
	cmp	w25, w19
	b.ge	LBB0_7
LBB0_5:
	mov	w8, w25
	lsl	x8, x8, #2
	add	x23, x23, x8
	add	x22, x22, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_celt_inner_prod
	str	s0, [x23], #4
	add	x22, x22, #4
	add	w25, w25, #1
	cmp	w25, w19
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_celt_pitch_xcorr
.subsections_via_symbols
