	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function lsf2lsp_5
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lsf2lsp_5:                             ## @lsf2lsp_5
	.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
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	24(%rdi), %r13
	movq	_LP_FILTER_ORDER@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	leaq	(,%r15,4), %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	_lsf_5_1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -96(%rbp)
	movq	_lsf_5_2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -88(%rbp)
	movq	_lsf_5_3@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r13), %r9
	movq	%r9, %rcx
	andq	$-2, %rcx
	movq	(%rax,%rcx,4), %rax
	movq	%rax, -80(%rbp)
	movq	_lsf_5_4@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -72(%rbp)
	movq	_lsf_5_5@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	32(%r13), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -64(%rbp)
	testl	%r15d, %r15d
	jle	LBB0_16
## %bb.1:
	movq	(%r14), %rax
	movq	_LSF_R_FAC@GOTPCREL(%rip), %rcx
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movq	_PRED_FAC_MODE_12k2@GOTPCREL(%rip), %rcx
	movss	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	movq	_lsf_5_mean@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	$8, %r15d
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
LBB0_12:
	movq	%rdx, %rsi
	notq	%rsi
	testb	$1, %r15b
	je	LBB0_14
## %bb.13:
	movss	(%rax,%rdx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	mulss	%xmm1, %xmm2
	addss	(%rcx,%rdx,4), %xmm2
	movss	%xmm2, (%rbx,%rdx,4)
	orq	$1, %rdx
LBB0_14:
	addq	%r15, %rsi
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movss	(%rax,%rdx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	mulss	%xmm1, %xmm2
	addss	(%rcx,%rdx,4), %xmm2
	movss	%xmm2, (%rbx,%rdx,4)
	movss	4(%rax,%rdx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm2
	mulss	%xmm1, %xmm2
	addss	4(%rcx,%rdx,4), %xmm2
	movss	%xmm2, 4(%rbx,%rdx,4)
	addq	$2, %rdx
	cmpq	%rdx, %r15
	jne	LBB0_15
	jmp	LBB0_16
LBB0_3:
	movq	%rbx, %rsi
	subq	%rax, %rsi
	xorl	%edx, %edx
	cmpq	$32, %rsi
	jb	LBB0_12
## %bb.4:
	movq	%rbx, %rsi
	subq	%rcx, %rsi
	cmpq	$32, %rsi
	jb	LBB0_12
## %bb.5:
	movl	%r15d, %edx
	andl	$-8, %edx
	movaps	%xmm0, %xmm3
	shufps	$0, %xmm0, %xmm3                ## xmm3 = xmm3[0,0],xmm0[0,0]
	movaps	%xmm1, %xmm2
	shufps	$0, %xmm1, %xmm2                ## xmm2 = xmm2[0,0],xmm1[0,0]
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.7:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rax,%rsi,4), %xmm4
	movups	16(%rax,%rsi,4), %xmm5
	mulps	%xmm3, %xmm4
	mulps	%xmm3, %xmm5
	movups	(%rcx,%rsi,4), %xmm6
	movups	16(%rcx,%rsi,4), %xmm7
	mulps	%xmm2, %xmm4
	addps	%xmm6, %xmm4
	mulps	%xmm2, %xmm5
	addps	%xmm7, %xmm5
	movaps	%xmm4, (%rbx,%rsi,4)
	movaps	%xmm5, 16(%rbx,%rsi,4)
	movups	32(%rax,%rsi,4), %xmm4
	movups	48(%rax,%rsi,4), %xmm5
	mulps	%xmm3, %xmm4
	mulps	%xmm3, %xmm5
	movups	32(%rcx,%rsi,4), %xmm6
	movups	48(%rcx,%rsi,4), %xmm7
	mulps	%xmm2, %xmm4
	addps	%xmm6, %xmm4
	mulps	%xmm2, %xmm5
	addps	%xmm7, %xmm5
	movaps	%xmm4, 32(%rbx,%rsi,4)
	movaps	%xmm5, 48(%rbx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movups	(%rax,%rsi,4), %xmm4
	movups	16(%rax,%rsi,4), %xmm5
	mulps	%xmm3, %xmm4
	mulps	%xmm3, %xmm5
	movups	(%rcx,%rsi,4), %xmm3
	movups	16(%rcx,%rsi,4), %xmm6
	mulps	%xmm2, %xmm4
	addps	%xmm3, %xmm4
	mulps	%xmm2, %xmm5
	addps	%xmm6, %xmm5
	movaps	%xmm4, (%rbx,%rsi,4)
	movaps	%xmm5, 16(%rbx,%rsi,4)
LBB0_11:
	cmpq	%r15, %rdx
	jne	LBB0_12
LBB0_16:
	movq	8(%r14), %rax
	movl	4(%rax), %esi
	andl	$1, %r9d
	subq	$8, %rsp
	leaq	-96(%rbp), %r15
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	pushq	$0
	callq	_lsf2lsp_for_mode12k2
	addq	$16, %rsp
	movq	8(%r14), %rax
	movl	12(%rax), %esi
	movq	16(%r13), %r9
	andl	$1, %r9d
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movl	$2, %r8d
	pushq	$1
	callq	_lsf2lsp_for_mode12k2
	addq	$16, %rsp
	movq	8(%r14), %rax
	movl	16(%r14), %esi
	movl	(%rax), %edi
	movl	4(%rax), %edx
	movl	(%r12), %ecx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_weighted_vector_sumd
	movq	8(%r14), %rax
	movl	4(%rax), %esi
	movl	8(%rax), %edi
	movl	12(%rax), %edx
	movl	(%r12), %ecx
	movsd	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	movaps	%xmm0, %xmm1
	callq	_weighted_vector_sumd
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.17:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LP_FILTER_ORDER,4,2            ## @LP_FILTER_ORDER
	.comm	_lsf_5_1,8,3                    ## @lsf_5_1
	.comm	_lsf_5_2,8,3                    ## @lsf_5_2
	.comm	_lsf_5_3,8,3                    ## @lsf_5_3
	.comm	_lsf_5_4,8,3                    ## @lsf_5_4
	.comm	_lsf_5_5,8,3                    ## @lsf_5_5
	.comm	_LSF_R_FAC,4,2                  ## @LSF_R_FAC
	.comm	_PRED_FAC_MODE_12k2,4,2         ## @PRED_FAC_MODE_12k2
	.comm	_lsf_5_mean,8,3                 ## @lsf_5_mean
	.no_dead_strip	_lsf2lsp_5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsf2lsp_5
_lsf2lsp_5:                             ; @lsf2lsp_5
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x22, [x0, #24]
Lloh3:
	adrp	x21, _LP_FILTER_ORDER@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LP_FILTER_ORDER@GOTPAGEOFF]
	ldr	w12, [x21]
	lsl	x8, x12, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
Lloh7:
	adrp	x8, _lsf_5_1@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lsf_5_1@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldp	x9, x10, [x22]
	ldr	x8, [x8, x9, lsl #3]
	stur	x8, [x29, #-80]
Lloh10:
	adrp	x8, _lsf_5_2@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lsf_5_2@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	ldr	x8, [x8, x10, lsl #3]
	stur	x8, [x29, #-72]
Lloh13:
	adrp	x8, _lsf_5_3@GOTPAGE
Lloh14:
	ldr	x8, [x8, _lsf_5_3@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x8]
	ldp	x8, x10, [x22, #16]
	lsl	x11, x8, #2
	and	x11, x11, #0xfffffffffffffff8
	ldr	x9, [x9, x11]
	stur	x9, [x29, #-64]
Lloh16:
	adrp	x9, _lsf_5_4@GOTPAGE
Lloh17:
	ldr	x9, [x9, _lsf_5_4@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	ldr	x9, [x9, x10, lsl #3]
	stur	x9, [x29, #-56]
Lloh19:
	adrp	x9, _lsf_5_5@GOTPAGE
Lloh20:
	ldr	x9, [x9, _lsf_5_5@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	ldr	x10, [x22, #32]
	ldr	x9, [x9, x10, lsl #3]
	stur	x9, [x29, #-48]
	cmp	w12, #1
	b.lt	LBB0_5
; %bb.1:
	ldr	x9, [x19]
Lloh22:
	adrp	x10, _LSF_R_FAC@GOTPAGE
Lloh23:
	ldr	x10, [x10, _LSF_R_FAC@GOTPAGEOFF]
Lloh24:
	adrp	x11, _PRED_FAC_MODE_12k2@GOTPAGE
Lloh25:
	ldr	x11, [x11, _PRED_FAC_MODE_12k2@GOTPAGEOFF]
Lloh26:
	ldr	s0, [x10]
Lloh27:
	ldr	s1, [x11]
Lloh28:
	adrp	x10, _lsf_5_mean@GOTPAGE
Lloh29:
	ldr	x10, [x10, _lsf_5_mean@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	cmp	w12, #16
	b.hs	LBB0_7
; %bb.2:
	mov	x11, #0
LBB0_3:
	lsl	x14, x11, #2
	add	x13, x20, x14
	add	x10, x10, x14
	add	x9, x9, x14
	sub	x11, x12, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s2, [x9], #4
	fmul	s2, s2, s0
	ldr	s3, [x10], #4
	fmadd	s2, s2, s1, s3
	str	s2, [x13], #4
	subs	x11, x11, #1
	b.ne	LBB0_4
LBB0_5:
	ldr	x9, [x19, #8]
	ldr	w1, [x9, #4]
	and	x5, x8, #0x1
	sub	x3, x29, #80
	mov	x0, x19
	mov	x2, x20
	mov	w4, #0
	mov	w6, #0
	bl	_lsf2lsp_for_mode12k2
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #12]
	ldr	x8, [x22, #16]
	and	x5, x8, #0x1
	sub	x3, x29, #80
	mov	x0, x19
	mov	x2, x20
	mov	w4, #2
	mov	w6, #1
	bl	_lsf2lsp_for_mode12k2
	ldr	x8, [x19, #8]
	ldr	w1, [x19, #16]
	ldp	w0, w2, [x8]
	ldr	w3, [x21]
	fmov	d0, #0.50000000
	fmov	d1, #0.50000000
	bl	_weighted_vector_sumd
	ldr	x8, [x19, #8]
	ldp	w1, w0, [x8, #4]
	ldr	w2, [x8, #12]
	ldr	w3, [x21]
	fmov	d0, #0.50000000
	fmov	d1, #0.50000000
	bl	_weighted_vector_sumd
	ldur	x8, [x29, #-40]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.6:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x11, #0
	sub	x13, x20, x9
	cmp	x13, #64
	b.lo	LBB0_3
; %bb.8:
	sub	x13, x20, x10
	cmp	x13, #64
	b.lo	LBB0_3
; %bb.9:
	and	x11, x12, #0xfffffff0
	dup.4s	v2, v0[0]
	dup.4s	v3, v1[0]
	add	x13, x20, #32
	add	x14, x9, #32
	add	x15, x10, #32
	mov	x16, x11
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x14, #-32]
	ldp	q6, q7, [x14], #64
	fmul.4s	v4, v4, v2
	fmul.4s	v5, v5, v2
	fmul.4s	v6, v6, v2
	fmul.4s	v7, v7, v0[0]
	ldp	q16, q17, [x15, #-32]
	ldp	q18, q19, [x15], #64
	fmla.4s	v16, v3, v4
	fmla.4s	v17, v3, v5
	fmla.4s	v18, v3, v6
	fmla.4s	v19, v3, v7
	stp	q16, q17, [x13, #-32]
	stp	q18, q19, [x13], #64
	subs	x16, x16, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x11, x12
	b.ne	LBB0_3
	b	LBB0_5
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_LP_FILTER_ORDER,4,2            ; @LP_FILTER_ORDER
	.comm	_lsf_5_1,8,3                    ; @lsf_5_1
	.comm	_lsf_5_2,8,3                    ; @lsf_5_2
	.comm	_lsf_5_3,8,3                    ; @lsf_5_3
	.comm	_lsf_5_4,8,3                    ; @lsf_5_4
	.comm	_lsf_5_5,8,3                    ; @lsf_5_5
	.comm	_LSF_R_FAC,4,2                  ; @LSF_R_FAC
	.comm	_PRED_FAC_MODE_12k2,4,2         ; @PRED_FAC_MODE_12k2
	.comm	_lsf_5_mean,8,3                 ; @lsf_5_mean
	.no_dead_strip	_lsf2lsp_5
.subsections_via_symbols
