	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_acelp_lsf2lspd              ## -- Begin function ff_acelp_lsf2lspd
	.p2align	4, 0x90
_ff_acelp_lsf2lspd:                     ## @ff_acelp_lsf2lspd
	.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
	testl	%edx, %edx
	jle	LBB0_17
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	%edx, %r13d
	cmpl	$1, %edx
	je	LBB0_2
## %bb.3:
	movq	_M_PI@GOTPCREL(%rip), %rcx
	leaq	8(%rcx), %rax
	cmpq	%rax, %r12
	jae	LBB0_6
## %bb.4:
	leaq	(%r12,%r13,8), %rax
	cmpq	_M_PI@GOTPCREL(%rip), %rax
	jbe	LBB0_6
LBB0_2:
	xorl	%ebx, %ebx
LBB0_12:
	movq	%rbx, %r15
	notq	%r15
	testb	$1, %r13b
	je	LBB0_14
## %bb.13:
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	movss	(%r14,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm0
	callq	_cos
	movsd	%xmm0, (%r12,%rbx,8)
	orq	$1, %rbx
LBB0_14:
	addq	%r13, %r15
	je	LBB0_17
## %bb.15:
	movq	_M_PI@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movsd	(%r15), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	movss	(%r14,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm0
	callq	_cos
	movsd	%xmm0, (%r12,%rbx,8)
	movsd	(%r15), %xmm1                   ## xmm1 = mem[0],zero
	addsd	%xmm1, %xmm1
	movss	4(%r14,%rbx,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	mulsd	%xmm1, %xmm0
	callq	_cos
	movsd	%xmm0, 8(%r12,%rbx,8)
	addq	$2, %rbx
	cmpq	%rbx, %r13
	jne	LBB0_16
	jmp	LBB0_17
LBB0_6:
	movl	%r13d, %ebx
	andl	$-2, %ebx
	leaq	-2(%rbx), %rax
	movq	%rax, %r15
	shrq	%r15
	incq	%r15
	testq	%rax, %rax
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	je	LBB0_18
## %bb.7:
	andq	$-2, %r15
	movsd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	movddup	%xmm0, %xmm0                    ## xmm0 = xmm0[0,0]
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cvtps2pd	(%r14,%r13,4), %xmm0
	mulpd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	movapd	%xmm0, -96(%rbp)                ## 16-byte Spill
	callq	_cos
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	movaps	-96(%rbp), %xmm0                ## 16-byte Reload
	movhlps	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_cos
	movaps	-64(%rbp), %xmm1                ## 16-byte Reload
	movlhps	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movups	%xmm1, (%r12,%r13,8)
	cvtps2pd	8(%r14,%r13,4), %xmm0
	mulpd	-80(%rbp), %xmm0                ## 16-byte Folded Reload
	movapd	%xmm0, -96(%rbp)                ## 16-byte Spill
	callq	_cos
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	movapd	-96(%rbp), %xmm0                ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_cos
	movapd	-64(%rbp), %xmm1                ## 16-byte Reload
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movupd	%xmm1, 16(%r12,%r13,8)
	addq	$4, %r13
	addq	$-2, %r15
	jne	LBB0_8
## %bb.9:
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_11
LBB0_10:
	movq	_M_PI@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	addsd	%xmm0, %xmm0
	movddup	%xmm0, %xmm1                    ## xmm1 = xmm0[0,0]
	cvtps2pd	(%r14,%r13,4), %xmm0
	mulpd	%xmm1, %xmm0
	movapd	%xmm0, -64(%rbp)                ## 16-byte Spill
	callq	_cos
	movapd	%xmm0, -80(%rbp)                ## 16-byte Spill
	movapd	-64(%rbp), %xmm0                ## 16-byte Reload
	unpckhpd	%xmm0, %xmm0                    ## xmm0 = xmm0[1,1]
	callq	_cos
	movapd	-80(%rbp), %xmm1                ## 16-byte Reload
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movupd	%xmm1, (%r12,%r13,8)
LBB0_11:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	cmpq	%r13, %rbx
	jne	LBB0_12
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%r13d, %r13d
	testb	$1, -104(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_M_PI,8,3                       ## @M_PI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_acelp_lsf2lspd              ; -- Begin function ff_acelp_lsf2lspd
	.p2align	2
_ff_acelp_lsf2lspd:                     ; @ff_acelp_lsf2lspd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cmp	w2, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w22, w2
Lloh0:
	adrp	x21, _M_PI@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_PI@GOTPAGEOFF]
	cmp	w2, #1
	b.eq	LBB0_6
; %bb.2:
	add	x8, x20, x22, lsl #3
	add	x9, x21, #8
	cmp	x20, x9
	ccmp	x8, x21, #0, lo
	b.hi	LBB0_6
; %bb.3:
	and	x23, x22, #0xfffffffe
	mov	x24, x23
	mov	x25, x20
	mov	x26, x19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21]
	fadd	d0, d0, d0
	ldr	d1, [x26], #8
	fcvtl	v1.2d, v1.2s
	fmul.2d	v0, v1, v0[0]
	str	q0, [sp]                        ; 16-byte Folded Spill
	mov	d0, v0[1]
	bl	_cos
	str	q0, [sp, #16]                   ; 16-byte Folded Spill
	ldr	q0, [sp]                        ; 16-byte Folded Reload
                                        ; kill: def $d0 killed $d0 killed $q0
	bl	_cos
                                        ; kill: def $d0 killed $d0 def $q0
	ldr	q1, [sp, #16]                   ; 16-byte Folded Reload
	mov.d	v0[1], v1[0]
	str	q0, [x25], #16
	subs	x24, x24, #2
	b.ne	LBB0_4
; %bb.5:
	cmp	x23, x22
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x23, #0
LBB0_7:
	add	x20, x20, x23, lsl #3
	sub	x22, x22, x23
	add	x19, x19, x23, lsl #2
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x21]
	fadd	d0, d0, d0
	ldr	s1, [x19], #4
	fcvt	d1, s1
	fmul	d0, d0, d1
	bl	_cos
	str	d0, [x20], #8
	subs	x22, x22, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_M_PI,8,3                       ; @M_PI
.subsections_via_symbols
