	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lsp2lpc
_lsp2lpc:                               ## @lsp2lpc
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LPC_ORDER@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movl	%r14d, %r15d
	shrl	$31, %r15d
	addl	%r14d, %r15d
	sarl	%r15d
	incl	%r15d
	shlq	$2, %r15
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rsi
	testl	%r14d, %r14d
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	movq	_cos_tab@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %eax
	movq	(%r15), %rcx
	movq	%rax, %rdx
	shrq	$5, %rdx
	andl	$2044, %edx                     ## imm = 0x7FC
	movl	(%rcx,%rdx), %edi
	movl	4(%rcx,%rdx), %ecx
	subl	%edi, %ecx
	shll	$16, %edi
	shll	$9, %eax
	orl	$256, %eax                      ## imm = 0x100
	movzwl	%ax, %esi
	imull	%ecx, %esi
	addl	%edi, %esi
	movl	$32768, %edi                    ## imm = 0x8000
	callq	_av_sat_dadd32
	sarl	$16, %eax
	negl	%eax
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	movslq	(%r13), %r14
	cmpq	%r14, %rbx
	jl	LBB0_2
## %bb.3:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_4:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	$268435456, (%r15)              ## imm = 0x10000000
	movl	(%r12), %eax
	movl	8(%r12), %edi
	leal	(%rdi,%rax), %ecx
	shll	$14, %ecx
	movl	%ecx, %r9d
	movl	%ecx, 4(%r15)
	imull	%eax, %edi
	addl	$536870912, %edi                ## imm = 0x20000000
	movl	%edi, 8(%r15)
	movl	$268435456, (%rsi)              ## imm = 0x10000000
	movl	4(%r12), %eax
	movl	12(%r12), %ecx
	leal	(%rcx,%rax), %edx
	shll	$14, %edx
	movl	%edx, 4(%rsi)
	imull	%eax, %ecx
	addl	$536870912, %ecx                ## imm = 0x20000000
	movl	%ecx, 8(%rsi)
	movl	$268435456, %eax                ## imm = 0x10000000
	movl	$268435456, %ebx                ## imm = 0x10000000
	cmpl	$6, %r14d
	jl	LBB0_9
## %bb.5:
	movq	%r12, %r13
	movl	$2, %r12d
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	$3, %ecx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movl	$8, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	$1, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%r9d, %ebx
	movq	%r13, -96(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	leaq	(%r12,%r12), %r14
	movl	(%r13,%r12,8), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_MULL2
	addl	%eax, %ebx
	movl	%ebx, %edi
	callq	_av_clipl_int32
	leaq	1(%r12), %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	movl	%eax, 4(%r15,%r12,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-4(%rbx,%r12,4), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	(%rbx,%r12,4), %edi
	leaq	1(%r12,%r12), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	4(%r13,%r14,4), %esi
	callq	_MULL2
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	addl	%eax, %edi
	callq	_av_clipl_int32
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	movl	%eax, 4(%rbx,%r12,4)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	-128(%rbp), %r13                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %r12d
	shlq	$2, %r12
	movl	(%r15,%r12), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	callq	_MULL2
	movl	(%r15,%r14), %ecx
	sarl	%ecx
	addl	%eax, %ecx
	movl	%r13d, %ebx
	shlq	$2, %rbx
	movl	(%r15,%rbx), %eax
	sarl	%eax
	addl	%ecx, %eax
	movl	%eax, (%r15,%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12), %edi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,4), %esi
	callq	_MULL2
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi,%r14), %ecx
	sarl	%ecx
	addl	%eax, %ecx
	movl	(%rsi,%rbx), %eax
	sarl	%eax
	addl	%ecx, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rsi,%r14)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	decq	%r13
	decq	%rcx
	addq	$-4, %r14
	decq	%rax
	cmpq	$2, %rcx
	jg	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %ebx
	sarl	%ebx
	movl	%ebx, (%r15)
	movl	(%rsi), %eax
	sarl	%eax
	movl	%eax, (%rsi)
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12,%rcx,4), %edx
	shll	$16, %edx
	movq	-152(%rbp), %rcx                ## 8-byte Reload
	sarl	%cl, %edx
	addl	4(%r15), %edx
	sarl	%edx
	movl	%edx, 4(%r15)
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	movl	(%r12,%rdx,4), %edx
	shll	$16, %edx
	sarl	%cl, %edx
	addl	4(%rsi), %edx
	sarl	%edx
	movl	%edx, 4(%rsi)
	movq	_LPC_ORDER@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movl	%r14d, %edx
	shrl	$31, %edx
	addl	%r14d, %edx
	sarl	%edx
	movslq	%edx, %rdx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	cmpq	%rdx, %rdi
	jge	LBB0_9
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rdi, %rdx
	movq	%r12, %r13
	movl	(%r15,%rcx,4), %ebx
	movl	(%r15,%rdi,4), %edi
	incq	-128(%rbp)                      ## 8-byte Folded Spill
	incq	-120(%rbp)                      ## 8-byte Folded Spill
	addq	$4, -112(%rbp)                  ## 8-byte Folded Spill
	incq	-104(%rbp)                      ## 8-byte Folded Spill
	movq	%rdx, %r12
	jmp	LBB0_6
LBB0_9:
	cmpl	$2, %r14d
	jl	LBB0_12
## %bb.10:
	movq	%r12, %rdx
	movl	$-1, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	leaq	1(%r13), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%r15,%r13,4), %ecx
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	addl	%ecx, %ebx
	movl	4(%rsi,%r13,4), %ecx
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	subl	%eax, %r12d
	leal	(%r12,%rbx), %eax
	leal	32768(,%rax,8), %edi
	movq	%rdx, %r15
	callq	_av_clipl_int32
	sarl	$16, %eax
	movl	%eax, (%r15,%r13,4)
	subl	%r12d, %ebx
	leal	32768(,%rbx,8), %edi
	callq	_av_clipl_int32
	movq	_LPC_ORDER@GOTPCREL(%rip), %rdi
	movq	%r15, %rdx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	sarl	$16, %eax
	movl	(%rdi), %ecx
	addl	%r14d, %ecx
	movslq	%ecx, %rcx
	movl	%eax, (%rdx,%rcx,4)
	movl	(%rdi), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	decl	%r14d
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r13
	cmpq	%rcx, %rdi
	jl	LBB0_11
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.13:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LPC_ORDER,4,2                  ## @LPC_ORDER
	.comm	_cos_tab,8,3                    ## @cos_tab
	.no_dead_strip	_lsp2lpc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsp2lpc
_lsp2lpc:                               ; @lsp2lpc
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #48
	mov	x28, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x19, _LPC_ORDER@GOTPAGE
Lloh4:
	ldr	x19, [x19, _LPC_ORDER@GOTPAGEOFF]
	ldr	w12, [x19]
	cmp	w12, #0
	cinc	w8, w12, lt
	asr	w8, w8, #1
	add	w8, w8, #1
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x13, x10, #0x7fffffff0
	sub	x22, x9, x13
	mov	sp, x22
	mov	x9, x8
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x27, x8, x13
	mov	sp, x27
	cmp	w12, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x20, #0
Lloh9:
	adrp	x23, _cos_tab@GOTPAGE
Lloh10:
	ldr	x23, [x23, _cos_tab@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x24, x20, #2
	ldr	w8, [x28, x24]
	ubfx	x9, x8, #7, #9
	ldr	x10, [x23]
	ldr	w11, [x10, x9, lsl #2]
	add	w9, w9, #1
	ldr	w9, [x10, w9, uxtw #2]
	sub	w9, w9, w11
	mov	w10, #256
	bfi	w10, w8, #9, #7
	mul	w8, w9, w10
	add	w1, w8, w11, lsl #16
	mov	w0, #32768
	bl	_av_sat_dadd32
	neg	w8, w0, asr #16
	str	w8, [x28, x24]
	add	x20, x20, #1
	ldrsw	x12, [x19]
	cmp	x20, x12
	b.lt	LBB0_2
LBB0_3:
	mov	w8, #268435456
	ldp	w9, w10, [x28]
	ldp	w11, w13, [x28, #8]
	add	w14, w11, w9
	lsl	w20, w14, #14
	stp	w8, w20, [x22]
	mov	w14, #536870912
	madd	w0, w11, w9, w14
	str	w0, [x22, #8]
	add	w9, w13, w10
	lsl	w9, w9, #14
	stp	w8, w9, [x27]
	madd	w9, w13, w10, w14
	str	w9, [x27, #8]
	mov	w9, #268435456
	cmp	w12, #6
	b.lt	LBB0_9
; %bb.4:
	stur	x28, [x29, #-128]               ; 8-byte Folded Spill
	mov	x26, #0
	add	x24, x27, #8
	add	x25, x22, #8
	mov	w19, #2
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	lsl	x8, x19, #1
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	lsl	x8, x19, #3
	ldr	w1, [x28, x8]
	bl	_MULL2
	add	w0, w0, w20
	bl	_av_clipl_int32
	add	x8, x19, #1
	stp	x8, x19, [x29, #-112]           ; 16-byte Folded Spill
	lsl	x23, x8, #2
	str	w0, [x22, x23]
	add	x8, x27, x19, lsl #2
	mov	x21, x27
	ldp	w27, w0, [x8, #-4]
	mov	w20, #1
	bfi	x20, x19, #1, #63
	ldr	w1, [x28, x20, lsl #2]
	bl	_MULL2
	add	w0, w0, w27
	mov	x19, x21
	bl	_av_clipl_int32
	str	w0, [x21, x23]
	stur	x26, [x29, #-120]               ; 8-byte Folded Spill
	mov	x23, x26
LBB0_6:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w8, w23, #1
	lsl	x27, x8, #2
	ldr	w0, [x22, x27]
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	ldr	w1, [x28, x8, lsl #2]
	bl	_MULL2
	lsl	x26, x23, #2
	ldr	w8, [x25, x26]
	add	w8, w0, w8, asr #1
	and	x19, x26, #0x3fffffffc
	ldr	w9, [x22, x19]
	add	w8, w8, w9, asr #1
	str	w8, [x25, x26]
	ldr	w0, [x21, x27]
	mov	x27, x21
	ldr	w1, [x28, x20, lsl #2]
	bl	_MULL2
	ldr	w8, [x24, x26]
	add	w8, w0, w8, asr #1
	ldr	w9, [x21, x19]
	add	w8, w8, w9, asr #1
	str	w8, [x24, x26]
	add	x8, x23, #2
	sub	x23, x23, #1
	cmp	x8, #2
	b.gt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w8, w10, [x22]
	asr	w9, w8, #1
	ldp	x13, x8, [x29, #-104]           ; 16-byte Folded Reload
	ldr	w8, [x28, x8, lsl #2]
	lsl	w8, w8, #16
	asr	w8, w8, w13
	add	w10, w8, w10
	ldp	w8, w11, [x27]
	asr	w8, w8, #1
	asr	w10, w10, #1
	ldr	w12, [x28, x20, lsl #2]
	stp	w9, w10, [x22]
	lsl	w10, w12, #16
	asr	w10, w10, w13
	add	w10, w10, w11
	asr	w10, w10, #1
	stp	w8, w10, [x27]
Lloh11:
	adrp	x10, _LPC_ORDER@GOTPAGE
Lloh12:
	ldr	x10, [x10, _LPC_ORDER@GOTPAGEOFF]
Lloh13:
	ldr	w12, [x10]
	cmp	w12, #0
	cinc	w10, w12, lt
	asr	w10, w10, #1
	ldur	x19, [x29, #-112]               ; 8-byte Folded Reload
	cmp	x19, w10, sxtw
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w20, [x22, x13, lsl #2]
	ldr	w0, [x22, x19, lsl #2]
	ldur	x26, [x29, #-120]               ; 8-byte Folded Reload
	add	x26, x26, #1
	b	LBB0_5
LBB0_9:
	cmp	w12, #2
	b.lt	LBB0_12
; %bb.10:
	mov	x10, #0
	add	x20, x27, #4
	add	x21, x22, #4
	mov	w22, #-1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	add	x19, x10, #1
	lsl	x23, x10, #2
	ldr	w24, [x21, x23]
	add	w25, w9, w24
	ldr	w26, [x20, x23]
	sub	w27, w26, w8
	add	w8, w27, w25
	lsl	w8, w8, #3
	add	w0, w8, #8, lsl #12             ; =32768
	bl	_av_clipl_int32
	asr	w8, w0, #16
	str	w8, [x28, x23]
	sub	w8, w25, w27
Lloh14:
	adrp	x23, _LPC_ORDER@GOTPAGE
Lloh15:
	ldr	x23, [x23, _LPC_ORDER@GOTPAGEOFF]
	lsl	w8, w8, #3
	add	w0, w8, #8, lsl #12             ; =32768
	bl	_av_clipl_int32
	asr	w8, w0, #16
	ldr	w9, [x23]
	add	w9, w22, w9
	str	w8, [x28, w9, sxtw #2]
	ldr	w8, [x23]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	sub	w22, w22, #1
	cmp	x19, w8, sxtw
	mov	x8, x26
	mov	x9, x24
	mov	x10, x19
	b.lt	LBB0_11
LBB0_12:
	ldur	x8, [x29, #-88]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.13:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_LPC_ORDER,4,2                  ; @LPC_ORDER
	.comm	_cos_tab,8,3                    ; @cos_tab
	.no_dead_strip	_lsp2lpc
.subsections_via_symbols
