	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vorbis_lsp_to_curve
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.space	4
	.space	4
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x40000000                      ## float 2
LCPI0_2:
	.long	0x40800000                      ## float 4
LCPI0_3:
	.long	0x00000000                      ## float 0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_vorbis_lsp_to_curve
	.p2align	4, 0x90
_vorbis_lsp_to_curve:                   ## @vorbis_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm1, -64(%rbp)                ## 4-byte Spill
	movss	%xmm0, -60(%rbp)                ## 4-byte Spill
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r8, %r13
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	_M_PI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	testl	%r9d, %r9d
	jle	LBB0_6
## %bb.1:
	movl	-72(%rbp), %r15d                ## 4-byte Reload
	leaq	-1(%r15), %rax
	movl	%r15d, %r14d
	andl	$3, %r14d
	cmpq	$3, %rax
	jae	LBB0_8
## %bb.2:
	xorl	%r12d, %r12d
	jmp	LBB0_3
LBB0_8:
	andl	$-4, %r15d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r13,%r12,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	addss	%xmm0, %xmm0
	movss	%xmm0, (%r13,%r12,4)
	movss	4(%r13,%r12,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	addss	%xmm0, %xmm0
	movss	%xmm0, 4(%r13,%r12,4)
	movss	8(%r13,%r12,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	addss	%xmm0, %xmm0
	movss	%xmm0, 8(%r13,%r12,4)
	movss	12(%r13,%r12,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	addss	%xmm0, %xmm0
	movss	%xmm0, 12(%r13,%r12,4)
	addq	$4, %r12
	cmpq	%r12, %r15
	jne	LBB0_9
LBB0_3:
	testq	%r14, %r14
	je	LBB0_6
## %bb.4:
	leaq	(,%r12,4), %r15
	addq	%r13, %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movss	(%r15,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	addss	%xmm0, %xmm0
	movss	%xmm0, (%r15,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_5
LBB0_6:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_28
## %bb.7:
	xorps	%xmm0, %xmm0
	cvtsi2ssl	-44(%rbp), %xmm0        ## 4-byte Folded Reload
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movslq	%ebx, %r15
	leal	-1(%rbx), %eax
	cltq
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	addq	$-2, %r15
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	shrq	%r15
	incq	%r15
	movl	%r15d, %eax
	andl	$3, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	andq	$-4, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_28
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_18 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	movslq	%eax, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %r12d
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	mulss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	callq	_cos
	addss	%xmm0, %xmm0
	movl	$1, %eax
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = <5.0E-1,5.0E-1,u,u>
	cmpl	$2, %ebx
	jl	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$1, %eax
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = <5.0E-1,5.0E-1,u,u>
	cmpq	$6, -104(%rbp)                  ## 8-byte Folded Reload
	jb	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movsldup	%xmm0, %xmm1                    ## xmm1 = xmm0[0,0,2,2]
	movl	$1, %eax
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = <5.0E-1,5.0E-1,u,u>
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	(%r13,%rcx,8), %xmm3            ## xmm3 = mem[0],zero
	movsd	8(%r13,%rcx,8), %xmm4           ## xmm4 = mem[0],zero
	movsd	16(%r13,%rcx,8), %xmm5          ## xmm5 = mem[0],zero
	movsd	24(%r13,%rcx,8), %xmm6          ## xmm6 = mem[0],zero
	movaps	%xmm1, %xmm7
	subps	%xmm3, %xmm7
	mulps	%xmm2, %xmm7
	movaps	%xmm1, %xmm2
	subps	%xmm4, %xmm2
	mulps	%xmm7, %xmm2
	movaps	%xmm1, %xmm3
	subps	%xmm5, %xmm3
	mulps	%xmm2, %xmm3
	movaps	%xmm1, %xmm2
	subps	%xmm6, %xmm2
	mulps	%xmm3, %xmm2
	addq	$8, %rax
	addq	$4, %rcx
	cmpq	%rcx, %r15
	jne	LBB0_15
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movsldup	%xmm0, %xmm1                    ## xmm1 = xmm0[0,0,2,2]
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	-4(%r13,%rax,4), %xmm3          ## xmm3 = mem[0],zero
	movaps	%xmm1, %xmm4
	subps	%xmm3, %xmm4
	mulps	%xmm4, %xmm2
	addq	$2, %rax
	decq	%rcx
	jne	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpl	%ebx, %eax
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_12 Depth=1
	movaps	%xmm0, %xmm3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	subss	(%r13,%rax,4), %xmm3
	mulss	%xmm2, %xmm3
	mulss	%xmm0, %xmm0
	movss	LCPI0_2(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	subss	%xmm0, %xmm1
	mulss	%xmm3, %xmm3
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movss	LCPI0_1(%rip), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	movaps	%xmm3, %xmm1
	subss	%xmm0, %xmm1
	addss	%xmm3, %xmm0
	mulss	%xmm2, %xmm0
	mulss	%xmm2, %xmm0
	movaps	%xmm0, %xmm3
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movshdup	%xmm2, %xmm0                    ## xmm0 = xmm2[1,1,3,3]
	mulss	%xmm0, %xmm1
	mulss	%xmm0, %xmm1
	addss	%xmm3, %xmm1
	ucomiss	LCPI0_3(%rip), %xmm1
	jb	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	xorps	%xmm0, %xmm0
	sqrtss	%xmm1, %xmm0
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movaps	%xmm1, %xmm0
	callq	_sqrt
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	movss	-60(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	divss	%xmm0, %xmm1
	subss	-64(%rbp), %xmm1                ## 4-byte Folded Reload
	movaps	%xmm1, %xmm0
	callq	_fromdB
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movss	(%rdx,%r14,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rdx,%r14,4)
	leal	1(%r14), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%r12d, 4(%rcx,%r14,4)
	jne	LBB0_11
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%r14
	leaq	(%rdx,%r14,4), %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%r14,4), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rsi, %rdi
	movss	(%rcx,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	%xmm1, (%rcx,%rsi,4)
	incq	%rsi
	cmpl	%r12d, (%rdx,%rdi,4)
	je	LBB0_27
## %bb.10:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	%esi, %eax
	jmp	LBB0_11
LBB0_28:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,4,2                       ## @M_PI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vorbis_lsp_to_curve            ; -- Begin function vorbis_lsp_to_curve
	.p2align	2
_vorbis_lsp_to_curve:                   ; @vorbis_lsp_to_curve
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	fmov	s8, s1
	fmov	s9, s0
	mov	x19, x5
	mov	x20, x4
	mov	x24, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _M_PI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _M_PI@GOTPAGEOFF]
Lloh2:
	ldr	w26, [x8]
	subs	w25, w5, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w27, w19
	mov	x28, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x28]
	bl	_cos
	fadd	s0, s0, s0
	str	s0, [x28], #4
	subs	x27, x27, #1
	b.ne	LBB0_2
LBB0_3:
	cmp	w21, #1
	b.lt	LBB0_18
; %bb.4:
	mov	w28, #0
	sdiv	w8, w26, w24
	scvtf	s10, w8
	sxtw	x24, w19
	sub	w8, w19, #2
	and	w8, w8, #0xfffffffe
	add	w8, w8, #3
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	sxtw	x26, w25
	add	x27, x22, #4
	fmov	s11, #4.00000000
	fmov	s12, #2.00000000
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	cmp	w28, w21
	b.ge	LBB0_18
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_16 Depth 2
	ldr	w25, [x22, w28, sxtw #2]
	scvtf	s0, w25
	fmul	s0, s10, s0
	bl	_cos
	fadd	s1, s0, s0
	cmp	w19, #2
	b.lt	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	dup.2s	v2, v1[0]
	movi.2s	v0, #63, lsl #24
	mov	x8, x20
	mov	w9, #1
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d3, [x8], #8
	fsub.2s	v3, v2, v3
	fmul.2s	v0, v0, v3
	add	x9, x9, #2
	cmp	x9, x24
	b.lt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w19
	b.ne	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	s2, [x20, x26, lsl #2]
	fsub	s2, s1, s2
	fmul.s	s3, s2, v0[0]
	fmsub	s2, s1, s1, s11
	fmul	s1, s3, s3
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	movi.2s	v0, #63, lsl #24
	mov	w8, #1
	cmp	w8, w19
	b.eq	LBB0_10
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	fsub	s2, s12, s1
	fadd	s1, s1, s12
	fmul.s	s1, s1, v0[0]
	fmul.s	s1, s1, v0[0]
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
	fmul.s	s2, s2, v0[1]
	fmul.s	s0, s2, v0[1]
	fadd	s1, s1, s0
	fsqrt	s0, s1
	fcmp	s0, s0
	b.vs	LBB0_17
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	sxtw	x28, w28
	fdiv	s0, s9, s0
	fsub	s0, s0, s8
	bl	_fromdB
	lsl	x8, x28, #2
	ldr	s1, [x23, x8]
	fmul	s1, s0, s1
	str	s1, [x23, x8]
	add	w28, w28, #1
	ldr	w8, [x22, w28, sxtw #2]
	cmp	w8, w25
	b.ne	LBB0_5
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x8, x28
	sxtw	x8, w8
	lsl	x9, x8, #2
	add	x8, x23, x9
	add	x9, x27, x9
LBB0_16:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s1, [x8]
	fmul	s1, s0, s1
	str	s1, [x8], #4
	ldr	w10, [x9], #4
	add	w28, w28, #1
	cmp	w10, w25
	b.eq	LBB0_16
	b	LBB0_5
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	fmov	s0, s1
	bl	_sqrt
	b	LBB0_14
LBB0_18:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,4,2                       ; @M_PI
.subsections_via_symbols
