	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function autocorr_max
_autocorr_max:                          ## @autocorr_max
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movl	%r8d, %r13d
	movq	%rdx, %r12
	movl	%esi, %r14d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_PITCH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$-3, %edi
	movl	%ecx, %esi
	callq	_FFMIN
	movl	%eax, %ebx
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	jle	LBB0_2
## %bb.1:
	movq	_FRAME_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r13d, %r14d
	subl	%r14d, %edi
	movq	_PITCH_MAX@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	leal	3(%rbx), %esi
	callq	_FFMIN
	movl	%eax, %r13d
	jmp	LBB0_3
LBB0_2:
	leal	3(%rbx), %r13d
LBB0_3:
	leal	-3(%rbx), %eax
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	cmpl	%r13d, %eax
	jle	LBB0_4
LBB0_8:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	cltq
	movslq	-48(%rbp), %r15                 ## 4-byte Folded Reload
	imulq	%r15, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r14
	shlq	$2, %r15
	addl	$4, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incl	%ebx
	addq	%r15, %r14
	cmpl	%ebx, %r13d
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_ff_g723_1_dot_product
	cmpl	(%r12), %eax
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, (%r12)
	leal	-3(%rbx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_PITCH_MAX,4,2                  ## @PITCH_MAX
	.comm	_FRAME_LEN,4,2                  ## @FRAME_LEN
	.no_dead_strip	_autocorr_max
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function autocorr_max
_autocorr_max:                          ; @autocorr_max
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x5
	mov	x19, x4
	mov	x20, x2
	mov	x24, x1
	mov	x21, x0
Lloh0:
	adrp	x25, _PITCH_MAX@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PITCH_MAX@GOTPAGEOFF]
	ldr	w8, [x25]
	sub	w0, w8, #3
	mov	x1, x3
	bl	_FFMIN
	mov	x22, x0
	cmp	w23, #1
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _FRAME_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FRAME_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x25]
	add	w10, w19, w24
	sub	w8, w8, w10
	add	w0, w8, w9
	add	w1, w22, #3
	bl	_FFMIN
	b	LBB0_3
LBB0_2:
	add	w0, w22, #3
LBB0_3:
	sub	w8, w22, #3
	cmp	w8, w0
	b.le	LBB0_6
; %bb.4:
	mov	w24, #0
LBB0_5:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w24, #0
	smull	x8, w23, w8
	add	x25, x21, x8, lsl #2
	sbfiz	x23, x23, #2, #32
	add	w26, w0, #4
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w22, w22, #1
	add	x25, x25, x23
	cmp	w26, w22
	b.eq	LBB0_5
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x25
	mov	x2, x19
	bl	_ff_g723_1_dot_product
	ldr	w8, [x20]
	cmp	w0, w8
	b.le	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	str	w0, [x20]
	sub	w24, w22, #3
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PITCH_MAX,4,2                  ; @PITCH_MAX
	.comm	_FRAME_LEN,4,2                  ; @FRAME_LEN
	.no_dead_strip	_autocorr_max
.subsections_via_symbols
