	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function wma_lsp_to_curve
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.space	4
	.space	4
LCPI0_1:
	.space	4
	.long	0x40000000                      ## float 2
	.space	4
	.space	4
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_2:
	.long	0x40000000                      ## float 2
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_wma_lsp_to_curve:                      ## @wma_lsp_to_curve
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.2:
	movq	%r8, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%ecx, %r13d
	leaq	-4(%r8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorps	%xmm1, %xmm1
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movsldup	%xmm1, %xmm0                    ## xmm0 = xmm1[0,0,2,2]
	movaps	LCPI0_1(%rip), %xmm3            ## xmm3 = <u,2.0E+0,u,u>
	subps	%xmm0, %xmm3
	addss	LCPI0_2(%rip), %xmm1
	blendps	$2, %xmm3, %xmm1                ## xmm1 = xmm1[0],xmm3[1],xmm1[2,3]
	mulps	%xmm2, %xmm1
	mulps	%xmm2, %xmm1
	movshdup	%xmm1, %xmm0                    ## xmm0 = xmm1[1,1,3,3]
	addss	%xmm1, %xmm0
	movq	%r12, %rdi
	callq	_pow_m1_4
	movss	%xmm0, (%r15,%r14,4)
	maxss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	incq	%r14
	movaps	%xmm0, %xmm1
	cmpq	%r13, %r14
	je	LBB0_11
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_9 Depth 2
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	movq	(%r12), %rax
	movss	(%rax,%r14,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movq	_NB_LSP_COEFS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = <5.0E-1,5.0E-1,u,u>
	cmpl	$2, %esi
	jl	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movsldup	%xmm1, %xmm0                    ## xmm0 = xmm1[0,0,2,2]
	addq	$-2, %rsi
	movq	%rsi, %rcx
	shrq	%rcx
	incq	%rcx
	movl	%ecx, %eax
	andl	$3, %eax
	movl	$1, %edx
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = <5.0E-1,5.0E-1,u,u>
	cmpq	$6, %rsi
	jb	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	andq	$-4, %rcx
	movl	$1, %edx
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = <5.0E-1,5.0E-1,u,u>
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rbx,%rsi,8), %xmm3            ## xmm3 = mem[0],zero
	movsd	8(%rbx,%rsi,8), %xmm4           ## xmm4 = mem[0],zero
	movsd	16(%rbx,%rsi,8), %xmm5          ## xmm5 = mem[0],zero
	movsd	24(%rbx,%rsi,8), %xmm6          ## xmm6 = mem[0],zero
	movaps	%xmm0, %xmm7
	subps	%xmm3, %xmm7
	mulps	%xmm2, %xmm7
	movaps	%xmm0, %xmm2
	subps	%xmm4, %xmm2
	mulps	%xmm7, %xmm2
	movaps	%xmm0, %xmm3
	subps	%xmm5, %xmm3
	mulps	%xmm2, %xmm3
	movaps	%xmm0, %xmm2
	subps	%xmm6, %xmm2
	mulps	%xmm3, %xmm2
	addq	$8, %rdx
	addq	$4, %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%rcx,%rdx,8), %xmm3            ## xmm3 = mem[0],zero
	movaps	%xmm0, %xmm4
	subps	%xmm3, %xmm4
	mulps	%xmm4, %xmm2
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NB_LSP_COEFS,4,2               ## @NB_LSP_COEFS
	.no_dead_strip	_wma_lsp_to_curve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wma_lsp_to_curve
_wma_lsp_to_curve:                      ; @wma_lsp_to_curve
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x2
	cmp	w3, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, x4
	mov	x21, x1
	mov	x22, x0
	mov	x23, #0
	mov	w24, w3
	movi	d8, #0000000000000000
Lloh0:
	adrp	x25, _NB_LSP_COEFS@GOTPAGE
Lloh1:
	ldr	x25, [x25, _NB_LSP_COEFS@GOTPAGEOFF]
	movi.2s	v9, #64, lsl #24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	dup.2s	v2, v0[0]
	fsub.2s	v2, v9, v2
	fadd.2s	v0, v0, v9
	mov.s	v0[1], v2[1]
	fmul.2s	v0, v0, v1
	fmul.2s	v0, v1, v0
	faddp.2s	s0, v0
	mov	x0, x22
	bl	_pow_m1_4
	fcmp	s0, s8
	fcsel	s8, s0, s8, gt
	str	s0, [x21, x23, lsl #2]
	add	x23, x23, #1
	cmp	x23, x24
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	ldr	x8, [x22]
	ldr	s0, [x8, x23, lsl #2]
	ldr	w8, [x25]
	movi.2s	v1, #63, lsl #24
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	dup.2s	v2, v0[0]
	movi.2s	v1, #63, lsl #24
	mov	x9, x20
	mov	w10, #1
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d3, [x9], #8
	fsub.2s	v3, v2, v3
	fmul.2s	v1, v1, v3
	add	x10, x10, #2
	cmp	x10, x8
	b.lo	LBB0_5
	b	LBB0_2
LBB0_6:
	movi	d8, #0000000000000000
LBB0_7:
	str	s8, [x19]
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NB_LSP_COEFS,4,2               ; @NB_LSP_COEFS
	.no_dead_strip	_wma_lsp_to_curve
.subsections_via_symbols
