	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpc_prediction
_lpc_prediction:                        ## @lpc_prediction
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $edx killed $edx def $rdx
	movl	16(%rbp), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %eax
	movl	%eax, (%rsi)
	cmpl	$2, %edx
	jl	LBB0_31
## %bb.1:
	movq	%rsi, %r13
	movq	%rdi, %r15
	testl	%r9d, %r9d
	je	LBB0_12
## %bb.2:
	movl	%ecx, %r12d
	cmpl	$31, %r9d
	jne	LBB0_5
## %bb.3:
	movl	%edx, %r14d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addl	(%r15,%rbx,8), %eax
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_sign_extend
	movl	%eax, (%r13,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_4
	jmp	LBB0_31
LBB0_12:
	addq	$4, %r13
	addq	$8, %r15
	leal	-4(,%rdx,4), %edx
	movq	%r13, %rdi
	movq	%r15, %rsi
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_memcpy                         ## TAILCALL
LBB0_5:
	testl	%r9d, %r9d
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	jle	LBB0_6
## %bb.13:
	leal	-1(%r9), %ecx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	leal	-2(%rdx), %r14d
	cmpl	%r14d, %ecx
	cmovbl	%ecx, %r14d
	addl	$2, %r14d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	addl	(%r15,%rbx,8), %eax
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_sign_extend
	movl	%eax, (%r13,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_14
## %bb.15:
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpl	%edx, %r14d
	jl	LBB0_8
	jmp	LBB0_31
LBB0_6:
	movl	$1, %r14d
	cmpl	%edx, %r14d
	jge	LBB0_31
LBB0_8:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leal	-1(%rax), %ecx
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shlq	%cl, %rsi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movslq	%r9d, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	%r14d, %r14d
	movl	%edx, %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%r9d, %esi
	movl	%esi, %eax
	andl	$-8, %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	addq	$-8, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%r13, %rax
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movl	%r12d, -68(%rbp)                ## 4-byte Spill
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	-176(%rbp), %r14                ## 8-byte Reload
	incq	%r14
	cmpq	-128(%rbp), %r14                ## 8-byte Folded Reload
	movq	-160(%rbp), %r13                ## 8-byte Reload
	movq	-152(%rbp), %r15                ## 8-byte Reload
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-168(%rbp), %rax                ## 8-byte Reload
	je	LBB0_31
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
	movq	%rax, %r12
	leaq	4(%rax), %rdi
	movl	(%rax), %ebx
	movl	$0, %eax
	testl	%r9d, %r9d
	jle	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$8, %r9d
	jae	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm1                ## xmm1 = xmm0[0,0,0,0]
	cmpq	$0, -104(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=1
	pxor	%xmm3, %xmm3
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	pxor	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	4(%r12,%rax,4), %xmm5
	movdqu	20(%r12,%rax,4), %xmm6
	movdqu	36(%r12,%rax,4), %xmm0
	movdqu	52(%r12,%rax,4), %xmm2
	psubd	%xmm1, %xmm5
	psubd	%xmm1, %xmm6
	movdqu	(%r8,%rax,4), %xmm7
	pmulld	%xmm5, %xmm7
	paddd	%xmm3, %xmm7
	movdqu	16(%r8,%rax,4), %xmm3
	pmulld	%xmm6, %xmm3
	paddd	%xmm4, %xmm3
	movdqu	32(%r8,%rax,4), %xmm4
	movdqu	48(%r8,%rax,4), %xmm5
	psubd	%xmm1, %xmm0
	pmulld	%xmm4, %xmm0
	paddd	%xmm7, %xmm0
	psubd	%xmm1, %xmm2
	pmulld	%xmm5, %xmm2
	paddd	%xmm3, %xmm2
	addq	$16, %rax
	movdqa	%xmm0, %xmm3
	movdqa	%xmm2, %xmm4
	addq	$-2, %rcx
	jne	LBB0_19
## %bb.20:                              ##   in Loop: Header=BB0_9 Depth=1
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_22
LBB0_21:                                ##   in Loop: Header=BB0_9 Depth=1
	movdqu	(%rdi,%rax,4), %xmm3
	movdqu	16(%rdi,%rax,4), %xmm4
	psubd	%xmm1, %xmm3
	psubd	%xmm1, %xmm4
	movdqu	(%r8,%rax,4), %xmm1
	pmulld	%xmm3, %xmm1
	paddd	%xmm1, %xmm0
	movdqu	16(%r8,%rax,4), %xmm1
	pmulld	%xmm4, %xmm1
	paddd	%xmm1, %xmm2
LBB0_22:                                ##   in Loop: Header=BB0_9 Depth=1
	paddd	%xmm2, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, %rcx
	cmpq	%rsi, %rdx
	je	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r12,%rcx,4), %edx
	subl	%ebx, %edx
	imull	(%r8,%rcx,4), %edx
	addl	%edx, %eax
	incq	%rcx
	cmpq	%rcx, %rsi
	jne	LBB0_23
LBB0_24:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%rdi, -168(%rbp)                ## 8-byte Spill
	movslq	%eax, %rdi
	addq	-144(%rbp), %rdi                ## 8-byte Folded Reload
	movq	-136(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $cl killed $cl killed $rcx
	sarq	%cl, %rdi
	movl	(%r15,%r14,8), %r15d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	addl	%ebx, %edi
	addl	%r15d, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	-68(%rbp), %esi                 ## 4-byte Reload
	callq	_sign_extend
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	movl	%eax, (%r13,%r14,4)
	movl	%r15d, %edi
	callq	_sign_only
	testl	%eax, %eax
	je	LBB0_30
## %bb.25:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_30
## %bb.26:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	%eax, %r14d
	imull	%r15d, %eax
	testl	%eax, %eax
	jle	LBB0_30
## %bb.27:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r13d
	subl	(%r12,%rbx,4), %r13d
	movl	%r13d, %edi
	callq	_sign_only
	imull	%r14d, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	subl	%eax, -4(%rcx,%rbx,4)
	imull	%r13d, %eax
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $cl killed $cl killed $rcx
	sarl	%cl, %eax
	cmpq	-184(%rbp), %rbx                ## 8-byte Folded Reload
	jge	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	imull	%ebx, %eax
	subl	%eax, %r15d
	movl	%r15d, %eax
	imull	%r14d, %eax
	incq	%rbx
	testl	%eax, %eax
	jg	LBB0_28
	jmp	LBB0_30
LBB0_17:                                ##   in Loop: Header=BB0_9 Depth=1
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	pxor	%xmm2, %xmm2
	testb	$1, -96(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_21
	jmp	LBB0_22
LBB0_31:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_lpc_prediction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpc_prediction
_lpc_prediction:                        ; @lpc_prediction
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	stur	w6, [x29, #-84]                 ; 4-byte Folded Spill
	stp	x0, x1, [sp, #48]               ; 16-byte Folded Spill
	ldr	w0, [x0]
	str	w0, [x1]
	subs	w8, w2, #2
	b.lt	LBB0_25
; %bb.1:
	mov	x27, x5
	mov	x25, x2
	cbz	w5, LBB0_5
; %bb.2:
	mov	x26, x3
	cmp	w27, #31
	b.ne	LBB0_6
; %bb.3:
	mov	w8, w25
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	add	x19, x9, #4
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x20, x9, #8
	sub	x21, x8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20], #8
	add	w0, w8, w0
	mov	x1, x26
	bl	_sign_extend
	str	w0, [x19], #4
	subs	x21, x21, #1
	b.ne	LBB0_4
	b	LBB0_25
LBB0_5:
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x0, x8, #4
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x1, x8, #8
	lsl	w8, w25, #2
	sub	w2, w8, #4
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	b	_memcpy
LBB0_6:
	mov	x24, x4
	subs	w9, w27, #1
	b.lt	LBB0_10
; %bb.7:
	cmp	w9, w8
	csel	w8, w9, w8, lo
	add	w19, w8, #2
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	add	x20, x8, #4
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x21, x8, #8
	sub	x22, x19, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21], #8
	add	w0, w8, w0
	mov	x1, x26
	bl	_sign_extend
	str	w0, [x20], #4
	subs	x22, x22, #1
	b.ne	LBB0_8
; %bb.9:
	cmp	w19, w25
	b.lt	LBB0_11
	b	LBB0_25
LBB0_10:
	mov	w19, #1
	cmp	w19, w25
	b.ge	LBB0_25
LBB0_11:
	ldur	w10, [x29, #-84]                ; 4-byte Folded Reload
	sub	w8, w10, #1
	mov	w9, #1
	lsl	x11, x9, x8
	mov	w8, w10
	stp	x8, x11, [sp, #16]              ; 16-byte Folded Spill
	sxtw	x8, w27
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	mov	w20, w27
	and	x10, x20, #0xfffffff0
	lsl	x8, x20, #2
	mov	w22, w19
	and	x23, x8, #0x3ffffffc0
	ldr	x19, [sp, #56]                  ; 8-byte Folded Reload
	mov	x8, x19
	mov	w9, w25
	stp	x10, x9, [sp]                   ; 16-byte Folded Spill
	str	w26, [sp, #44]                  ; 4-byte Folded Spill
	str	x27, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldp	x8, x22, [sp, #64]              ; 16-byte Folded Reload
	add	x22, x22, #1
	mov	x19, x8
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x22, x9
	ldr	w26, [sp, #44]                  ; 4-byte Folded Reload
	ldr	x27, [sp, #32]                  ; 8-byte Folded Reload
	b.eq	LBB0_25
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_18 Depth 2
                                        ;     Child Loop BB0_20 Depth 2
                                        ;     Child Loop BB0_23 Depth 2
	ldr	w21, [x8], #4
	cmp	w27, #1
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	b.lt	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	w27, #16
	b.hs	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x9, #0
	mov	w8, #0
	b	LBB0_20
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	w8, #0
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x8, #0
	dup.4s	v1, w21
	movi.2d	v0, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_18:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x9, x19, x8
	ldur	q5, [x9, #4]
	ldur	q6, [x9, #20]
	ldur	q7, [x9, #36]
	ldur	q16, [x9, #52]
	sub.4s	v5, v5, v1
	sub.4s	v6, v6, v1
	sub.4s	v7, v7, v1
	sub.4s	v16, v16, v1
	add	x9, x24, x8
	ldp	q17, q18, [x9]
	ldp	q19, q20, [x9, #32]
	mla.4s	v0, v5, v17
	mla.4s	v2, v6, v18
	mla.4s	v3, v7, v19
	mla.4s	v4, v16, v20
	add	x8, x8, #64
	cmp	x23, x8
	b.ne	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	add.4s	v0, v4, v0
	addv.4s	s0, v0
	fmov	w8, s0
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	mov	x9, x10
	cmp	x10, x20
	b.eq	LBB0_21
LBB0_20:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x10, x9, #2
	add	x11, x19, x10
	ldr	w11, [x11, #4]
	sub	w11, w11, w21
	ldr	w10, [x24, x10]
	madd	w8, w11, w10, w8
	add	x9, x9, #1
	cmp	x20, x9
	b.ne	LBB0_20
LBB0_21:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldr	x25, [x9, x22, lsl #3]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x9, w8, sxtw
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	asr	x8, x8, x9
	add	w9, w21, w25
	add	w0, w9, w8
	mov	x1, x26
	bl	_sign_extend
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	str	x22, [sp, #72]                  ; 8-byte Folded Spill
	str	w0, [x8, x22, lsl #2]
	mov	x0, x25
	bl	_sign_only
	cmp	w0, #0
	mul	w8, w0, w25
	ccmp	w27, #1, #8, ne
	ccmp	w8, #1, #8, ge
	b.lt	LBB0_12
; %bb.22:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x26, x0
	mov	x22, #0
LBB0_23:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x28, x22, #2
	add	x8, x19, x28
	ldr	w8, [x8, #4]
	sub	w27, w21, w8
	mov	x0, x27
	bl	_sign_only
	ldr	w9, [x24, x28]
	mul	w8, w0, w26
	sub	w9, w9, w8
	str	w9, [x24, x28]
	add	x22, x22, #1
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	cmp	x22, x9
	b.ge	LBB0_12
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=2
	mul	w8, w8, w27
	ldur	w9, [x29, #-84]                 ; 4-byte Folded Reload
	asr	w8, w8, w9
	msub	w25, w8, w22, w25
	mul	w8, w25, w26
	cmp	w8, #0
	b.gt	LBB0_23
	b	LBB0_12
LBB0_25:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_lpc_prediction
.subsections_via_symbols
