	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lsf2poly
LCPI0_0:
	.long	4096                            ## 0x1000
	.long	4096                            ## 0x1000
	.long	4096                            ## 0x1000
	.long	4096                            ## 0x1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lsf2poly:                              ## @lsf2poly
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$112, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_LPC_FILTERORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-128(%rbp), %r14
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_lsf2lsp
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_get_lsp_poly
	leaq	-124(%rbp), %rdi
	leaq	-56(%rbp), %rsi
	callq	_get_lsp_poly
	movl	-60(%rbp), %ecx
	movl	-36(%rbp), %eax
	movdqa	-80(%rbp), %xmm2
	movdqu	-56(%rbp), %xmm3
	movl	$4096, (%rbx)                   ## imm = 0x1000
	movdqu	-76(%rbp), %xmm4
	movl	-64(%rbp), %edx
	leal	(%rcx,%rdx), %esi
	subl	-40(%rbp), %eax
	movdqu	-52(%rbp), %xmm0
	pshufd	$144, %xmm4, %xmm1              ## xmm1 = xmm4[0,0,1,2]
	pblendw	$3, %xmm2, %xmm1                ## xmm1 = xmm2[0,1],xmm1[2,3,4,5,6,7]
	paddd	%xmm4, %xmm1
	pshufd	$144, %xmm0, %xmm2              ## xmm2 = xmm0[0,0,1,2]
	pblendw	$3, %xmm3, %xmm2                ## xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
	paddd	LCPI0_0(%rip), %xmm1
	psubd	%xmm2, %xmm0
	movdqa	%xmm1, %xmm2
	pshufd	$108, %xmm1, %xmm3              ## xmm3 = xmm1[0,3,2,1]
	psubd	%xmm0, %xmm1
	movd	%xmm1, %edi
	shrl	$13, %edi
	movl	%edi, 40(%rbx)
	paddd	%xmm0, %xmm2
	psrld	$13, %xmm2
	movdqu	%xmm2, 4(%rbx)
	addl	%edx, %ecx
	addl	$4096, %ecx                     ## imm = 0x1000
	leal	(%rax,%rsi), %edx
	addl	$4096, %edx                     ## imm = 0x1000
	shrl	$13, %edx
	movl	%edx, 20(%rbx)
	movd	%ecx, %xmm1
	pblendw	$3, %xmm1, %xmm3                ## xmm3 = xmm1[0,1],xmm3[2,3,4,5,6,7]
	pshufd	$108, %xmm0, %xmm0              ## xmm0 = xmm0[0,3,2,1]
	movd	%eax, %xmm1
	pblendw	$252, %xmm0, %xmm1              ## xmm1 = xmm1[0,1],xmm0[2,3,4,5,6,7]
	psubd	%xmm1, %xmm3
	psrld	$13, %xmm3
	movdqu	%xmm3, 24(%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$112, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LPC_FILTERORDER,4,2            ## @LPC_FILTERORDER
	.no_dead_strip	_lsf2poly
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsf2poly
_lsf2poly:                              ; @lsf2poly
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-40]
Lloh3:
	adrp	x9, _LPC_FILTERORDER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LPC_FILTERORDER@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
	mov	x20, sp
	mov	x1, sp
	mov	x0, x8
	bl	_lsf2lsp
	add	x21, sp, #40
	mov	x0, sp
	add	x1, sp, #40
	bl	_get_lsp_poly
	add	x0, x20, #4
	add	x1, x21, #24
	bl	_get_lsp_poly
	ldr	w8, [sp, #60]
	ldr	w9, [sp, #84]
	ldr	d0, [sp, #40]
	ldr	d1, [sp, #64]
	mov	w10, #4096
	str	w10, [x19]
	ldur	q2, [sp, #44]
	mov.s	w10, v2[3]
	add	w8, w8, w10
	ldur	q3, [sp, #68]
	mov.s	w10, v3[3]
	ext.16b	v0, v0, v0, #4
	ext.16b	v0, v0, v2, #12
	add.4s	v0, v2, v0
	ext.16b	v1, v1, v1, #4
	ext.16b	v1, v1, v3, #12
	sub.4s	v1, v3, v1
	movi.4s	v2, #16, lsl #8
	add.4s	v0, v0, v2
	add.4s	v2, v0, v1
	ushr.4s	v2, v2, #13
	stur	q2, [x19, #4]
	sub.4s	v0, v0, v1
	ushr.4s	v0, v0, #13
	rev64.4s	v0, v0
	ext.16b	v0, v0, v0, #8
	stur	q0, [x19, #28]
	add	w8, w8, #1, lsl #12             ; =4096
	sub	w9, w9, w10
	add	w10, w8, w9
	lsr	w10, w10, #13
	sub	w8, w8, w9
	lsr	w8, w8, #13
	stp	w10, w8, [x19, #20]
	ldur	x8, [x29, #-40]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LPC_FILTERORDER,4,2            ; @LPC_FILTERORDER
	.no_dead_strip	_lsf2poly
.subsections_via_symbols
