	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function comp_ppf_coeff
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_comp_ppf_coeff:                        ## @comp_ppf_coeff
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, -84(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	pxor	%xmm0, %xmm0
	movdqa	%xmm0, -80(%rbp)
	movl	$0, -64(%rbp)
	movq	_LPC_ORDER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$2, %rax
	addq	(%rdi), %rax
	movslq	%esi, %r14
	leaq	(%rax,%r14,4), %rbx
	leaq	-76(%rbp), %rdx
	movq	_SUBFRAME_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r13d, %ecx
	movl	$1, %r9d
	callq	_autocorr_max
	leaq	-68(%rbp), %rdx
	movl	(%r15), %r8d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movq	%r12, %r14
	movl	%eax, %r12d
	movl	%r13d, %ecx
	movl	$-1, %r9d
	callq	_autocorr_max
	movl	%eax, %r13d
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, 8(%r14)
	movl	$32767, (%r14)                  ## imm = 0x7FFF
	orl	%r12d, %eax
	je	LBB0_15
## %bb.1:
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_ff_g723_1_dot_product
	movl	%eax, -80(%rbp)
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.2:
	movslq	%r12d, %rax
	leaq	(%rbx,%rax,4), %rdi
	movl	(%r15), %edx
	movq	%rdi, %rsi
	callq	_ff_g723_1_dot_product
	movl	%eax, -72(%rbp)
LBB0_3:
	testl	%r13d, %r13d
	je	LBB0_5
## %bb.4:
	movslq	%r13d, %rax
	shlq	$2, %rax
	subq	%rax, %rbx
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_ff_g723_1_dot_product
	movl	%eax, -64(%rbp)
LBB0_5:
	movl	-80(%rbp), %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	-76(%rbp), %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	-72(%rbp), %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	-68(%rbp), %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	-64(%rbp), %edi
	movl	%eax, %esi
	callq	_FFMAX
	movl	%eax, %edi
	movl	$31, %esi
	callq	_ff_g723_1_normalize_bits
	movdqa	-80(%rbp), %xmm0
	movd	%eax, %xmm1
	pslld	%xmm1, %xmm0
	psrad	$16, %xmm0
	movdqa	%xmm0, -80(%rbp)
	movl	-64(%rbp), %r9d
	movl	%eax, %ecx
	shll	%cl, %r9d
	sarl	$16, %r9d
	movl	%r9d, -64(%rbp)
	testl	%r12d, %r12d
	je	LBB0_9
## %bb.6:
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.7:
	movd	%xmm0, %ecx
	pextrd	$1, %xmm0, %r8d
	pextrd	$2, %xmm0, %r9d
	movl	%r12d, %edi
	jmp	LBB0_8
LBB0_9:
	testl	%r12d, %r12d
	je	LBB0_10
## %bb.11:
	pextrd	$1, %xmm0, %r8d
	movl	%r8d, %ecx
	imull	%r8d, %ecx
	addl	$16384, %ecx                    ## imm = 0x4000
	shrl	$15, %ecx
	pextrd	$3, %xmm0, %eax
	imull	%r9d, %ecx
	movl	%eax, %edx
	imull	%eax, %edx
	addl	$16384, %edx                    ## imm = 0x4000
	shrl	$15, %edx
	pextrd	$2, %xmm0, %ebx
	imull	%ebx, %edx
	cmpl	%edx, %ecx
	jge	LBB0_12
## %bb.13:
	negl	%r13d
	movd	%xmm0, %ecx
	movl	%r13d, %edi
	movq	%r14, %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %r8d
	jmp	LBB0_14
LBB0_10:
	negl	%r13d
	movd	%xmm0, %ecx
	pextrd	$3, %xmm0, %r8d
	movl	%r13d, %edi
LBB0_8:
	movq	%r14, %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
LBB0_14:
	callq	_comp_ppf_gains
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movd	%xmm0, %ecx
	movl	%r12d, %edi
	movq	%r14, %rsi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %r9d
	jmp	LBB0_14
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LPC_ORDER,4,2                  ## @LPC_ORDER
	.comm	_SUBFRAME_LEN,4,2               ## @SUBFRAME_LEN
	.no_dead_strip	_comp_ppf_coeff
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comp_ppf_coeff
_comp_ppf_coeff:                        ; @comp_ppf_coeff
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x19, x4
	mov	x20, x3
	mov	x22, x2
	mov	x24, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	stp	xzr, xzr, [sp]
	str	wzr, [sp, #16]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _LPC_ORDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LPC_ORDER@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	add	x8, x8, x9, lsl #2
	add	x23, x8, w1, sxtw #2
	mov	x26, sp
	orr	x2, x26, #0x4
Lloh6:
	adrp	x25, _SUBFRAME_LEN@GOTPAGE
Lloh7:
	ldr	x25, [x25, _SUBFRAME_LEN@GOTPAGEOFF]
	ldr	w4, [x25]
	mov	x0, x23
	mov	x3, x22
	mov	w5, #1
	bl	_autocorr_max
	mov	x21, x0
	orr	x2, x26, #0xc
	ldr	w4, [x25]
	mov	x0, x23
	mov	x1, x24
	mov	x3, x22
	mov	w5, #-1
	bl	_autocorr_max
	stp	xzr, xzr, [x20, #8]
	mov	w8, #32767
	str	w8, [x20]
	orr	w8, w0, w21
	cbz	w8, LBB0_13
; %bb.1:
	mov	x22, x0
	ldr	w2, [x25]
	mov	x0, x23
	mov	x1, x23
	bl	_ff_g723_1_dot_product
	str	w0, [sp]
	cbz	w21, LBB0_3
; %bb.2:
	add	x0, x23, w21, sxtw #2
	ldr	w2, [x25]
	mov	x1, x0
	bl	_ff_g723_1_dot_product
	str	w0, [sp, #8]
LBB0_3:
	cbz	w22, LBB0_5
; %bb.4:
	sub	x0, x23, w22, sxtw #2
	ldr	w2, [x25]
	mov	x1, x0
	bl	_ff_g723_1_dot_product
	str	w0, [sp, #16]
LBB0_5:
	ldr	w0, [sp]
	mov	w1, #0
	bl	_FFMAX
	mov	x1, x0
	ldr	w0, [sp, #4]
	bl	_FFMAX
	mov	x1, x0
	ldr	w0, [sp, #8]
	bl	_FFMAX
	mov	x1, x0
	ldr	w0, [sp, #12]
	bl	_FFMAX
	mov	x1, x0
	ldr	w0, [sp, #16]
	bl	_FFMAX
	mov	w1, #31
	bl	_ff_g723_1_normalize_bits
	ldr	q0, [sp]
	dup.4s	v1, w0
	ushl.4s	v0, v0, v1
	sshr.4s	v0, v0, #16
	str	q0, [sp]
	ldr	w8, [sp, #16]
	lsl	w8, w8, w0
	asr	w5, w8, #16
	str	w5, [sp, #16]
	cmp	w21, #0
	ccmp	w22, #0, #0, ne
	b.eq	LBB0_9
; %bb.6:
	cbz	w21, LBB0_10
; %bb.7:
	mov.s	w4, v0[1]
	orr	w9, wzr, #0x4000
	madd	w8, w4, w4, w9
	lsr	w8, w8, #15
	mul	w10, w8, w5
	mov.s	w8, v0[3]
	madd	w9, w8, w8, w9
	lsr	w11, w9, #15
	mov.s	w9, v0[2]
	mul	w11, w11, w9
	cmp	w10, w11
	b.ge	LBB0_15
; %bb.8:
	neg	w0, w22
	fmov	w3, s0
	mov	x1, x20
	mov	x2, x19
	mov	x4, x8
	b	LBB0_12
LBB0_9:
	fmov	w3, s0
	mov.s	w4, v0[1]
	mov.s	w5, v0[2]
	mov	x0, x21
	b	LBB0_11
LBB0_10:
	neg	w0, w22
	fmov	w3, s0
	mov.s	w4, v0[3]
LBB0_11:
	mov	x1, x20
	mov	x2, x19
LBB0_12:
	bl	_comp_ppf_gains
LBB0_13:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	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
	add	sp, sp, #112
	ret
LBB0_15:
	fmov	w3, s0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	mov	x5, x9
	b	LBB0_12
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LPC_ORDER,4,2                  ; @LPC_ORDER
	.comm	_SUBFRAME_LEN,4,2               ; @SUBFRAME_LEN
	.no_dead_strip	_comp_ppf_coeff
.subsections_via_symbols
