	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function lsf_decode_fp
LCPI0_0:
	.quad	0x3fd51eb851eb851f              ## double 0.33000000000000002
	.quad	0x3fd51eb851eb851f              ## double 0.33000000000000002
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_1:
	.quad	0x3fd51eb851eb851f              ## double 0.33000000000000002
LCPI0_2:
	.quad	0x3ff4cccccccccccd              ## double 1.3
LCPI0_3:
	.quad	0x40189d8a54823854              ## double 6.153848
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_lsf_decode_fp:                         ## @lsf_decode_fp
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_LP_FILTER_ORDER@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%r12), %esi
	movq	_lsf_codebooks@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_dequant
	movq	%rbx, %r12
	movl	(%rbx), %esi
	testl	%esi, %esi
	jle	LBB0_18
## %bb.1:
	movq	_mean_lsf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$4, %esi
	jae	LBB0_3
## %bb.2:
	xorl	%ecx, %ecx
LBB0_13:
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %sil
	je	LBB0_15
## %bb.14:
	movss	(%r14,%rcx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	cvtss2sd	%xmm0, %xmm0
	movss	(%r15,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	mulsd	LCPI0_1(%rip), %xmm0
	addsd	%xmm1, %xmm0
	movss	(%rax,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	addsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, (%r13,%rcx,4)
	orq	$1, %rcx
LBB0_15:
	addq	%rsi, %rdx
	je	LBB0_18
## %bb.16:
	movsd	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r14,%rcx,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	movss	(%r15,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	movss	(%rax,%rcx,4), %xmm2            ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	addsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm2, %xmm1
	movss	%xmm1, (%r13,%rcx,4)
	movss	4(%r14,%rcx,4), %xmm1           ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	movss	4(%r15,%rcx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	mulsd	%xmm0, %xmm1
	addsd	%xmm2, %xmm1
	movss	4(%rax,%rcx,4), %xmm2           ## xmm2 = mem[0],zero,zero,zero
	cvtss2sd	%xmm2, %xmm2
	addsd	%xmm1, %xmm2
	xorps	%xmm1, %xmm1
	cvtsd2ss	%xmm2, %xmm1
	movss	%xmm1, 4(%r13,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %rsi
	jne	LBB0_17
	jmp	LBB0_18
LBB0_3:
	movq	%r13, %rdx
	subq	%r14, %rdx
	xorl	%ecx, %ecx
	cmpq	$16, %rdx
	jb	LBB0_13
## %bb.4:
	movq	%r13, %rdx
	subq	%r15, %rdx
	cmpq	$16, %rdx
	jb	LBB0_13
## %bb.5:
	movq	%r13, %rdx
	subq	%rax, %rdx
	cmpq	$16, %rdx
	jb	LBB0_13
## %bb.6:
	movl	%esi, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rdx
	movq	%rdx, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.8:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	movapd	LCPI0_0(%rip), %xmm0            ## xmm0 = [3.3000000000000002E-1,3.3000000000000002E-1]
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cvtps2pd	(%r14,%rdx,4), %xmm1
	cvtps2pd	8(%r14,%rdx,4), %xmm2
	cvtps2pd	(%r15,%rdx,4), %xmm3
	cvtps2pd	8(%r15,%rdx,4), %xmm4
	mulpd	%xmm0, %xmm2
	addpd	%xmm4, %xmm2
	mulpd	%xmm0, %xmm1
	addpd	%xmm3, %xmm1
	cvtps2pd	8(%rax,%rdx,4), %xmm3
	addpd	%xmm2, %xmm3
	cvtps2pd	(%rax,%rdx,4), %xmm2
	addpd	%xmm1, %xmm2
	cvtpd2ps	%xmm3, %xmm1
	cvtpd2ps	%xmm2, %xmm2
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movupd	%xmm2, (%r13,%rdx,4)
	cvtps2pd	16(%r14,%rdx,4), %xmm1
	cvtps2pd	24(%r14,%rdx,4), %xmm2
	cvtps2pd	16(%r15,%rdx,4), %xmm3
	cvtps2pd	24(%r15,%rdx,4), %xmm4
	mulpd	%xmm0, %xmm2
	addpd	%xmm4, %xmm2
	mulpd	%xmm0, %xmm1
	addpd	%xmm3, %xmm1
	cvtps2pd	24(%rax,%rdx,4), %xmm3
	addpd	%xmm2, %xmm3
	cvtps2pd	16(%rax,%rdx,4), %xmm2
	addpd	%xmm1, %xmm2
	cvtpd2ps	%xmm3, %xmm1
	cvtpd2ps	%xmm2, %xmm2
	unpcklpd	%xmm1, %xmm2                    ## xmm2 = xmm2[0],xmm1[0]
	movupd	%xmm2, 16(%r13,%rdx,4)
	addq	$8, %rdx
	addq	$-2, %rdi
	jne	LBB0_9
## %bb.10:
	testb	$1, %r8b
	je	LBB0_12
LBB0_11:
	cvtps2pd	(%r14,%rdx,4), %xmm0
	cvtps2pd	8(%r14,%rdx,4), %xmm1
	cvtps2pd	(%r15,%rdx,4), %xmm2
	cvtps2pd	8(%r15,%rdx,4), %xmm3
	movapd	LCPI0_0(%rip), %xmm4            ## xmm4 = [3.3000000000000002E-1,3.3000000000000002E-1]
	mulpd	%xmm4, %xmm1
	addpd	%xmm3, %xmm1
	mulpd	%xmm4, %xmm0
	addpd	%xmm2, %xmm0
	cvtps2pd	8(%rax,%rdx,4), %xmm2
	cvtps2pd	(%rax,%rdx,4), %xmm3
	addpd	%xmm1, %xmm2
	addpd	%xmm0, %xmm3
	cvtpd2ps	%xmm2, %xmm0
	cvtpd2ps	%xmm3, %xmm1
	unpcklpd	%xmm0, %xmm1                    ## xmm1 = xmm1[0],xmm0[0]
	movupd	%xmm1, (%r13,%rdx,4)
LBB0_12:
	cmpq	%rsi, %rcx
	jne	LBB0_13
LBB0_18:
	decl	%esi
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ff_sort_nearly_sorted_floats
	movq	_LSFQ_DIFF_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rbx
	movl	(%r12), %edx
	decl	%edx
	movq	%r13, %rdi
	callq	_ff_set_min_dist_lsf
	movslq	(%r12), %rax
	movss	-4(%r13,%rax,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movq	_M_PI@GOTPCREL(%rip), %r12
	movsd	(%r12), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_2(%rip), %xmm1
	callq	_FFMIN
	movss	%xmm0, 36(%r13)
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r14, %rdi
	movq	%rbx, %r14
	movq	%r15, %rsi
	callq	_memcpy
	movslq	(%rbx), %rax
	cmpq	$2, %rax
	jl	LBB0_23
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movss	(%r13,%rbx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	movss	%xmm0, (%r13,%rbx,4)
	incq	%rbx
	movslq	(%r14), %rax
	decq	%rax
	cmpq	%rax, %rbx
	jl	LBB0_20
	jmp	LBB0_21
LBB0_23:
	decq	%rax
LBB0_21:
	movsd	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero
	divsd	(%r12), %xmm0
	movss	(%r13,%rax,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	mulsd	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsd2ss	%xmm1, %xmm0
	movss	%xmm0, (%r13,%rax,4)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%edx, %edx
	testb	$1, %r8b
	jne	LBB0_11
	jmp	LBB0_12
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_LP_FILTER_ORDER,4,2            ## @LP_FILTER_ORDER
	.comm	_lsf_codebooks,4,2              ## @lsf_codebooks
	.comm	_mean_lsf,8,3                   ## @mean_lsf
	.comm	_LSFQ_DIFF_MIN,4,2              ## @LSFQ_DIFF_MIN
	.comm	_M_PI,8,3                       ## @M_PI
	.no_dead_strip	_lsf_decode_fp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lsf_decode_fp
_lsf_decode_fp:                         ; @lsf_decode_fp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x22, _LP_FILTER_ORDER@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LP_FILTER_ORDER@GOTPAGEOFF]
	ldr	w8, [x22]
	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	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	ldr	w1, [x2]
Lloh7:
	adrp	x8, _lsf_codebooks@GOTPAGE
Lloh8:
	ldr	x8, [x8, _lsf_codebooks@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_dequant
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
Lloh10:
	adrp	x9, _mean_lsf@GOTPAGE
Lloh11:
	ldr	x9, [x9, _mean_lsf@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	w8, #8
	b.hs	LBB0_11
; %bb.2:
	mov	x10, #0
LBB0_3:
	lsl	x13, x10, #2
	add	x11, x19, x13
	add	x9, x9, x13
	add	x12, x21, x13
	add	x13, x20, x13
	sub	x10, x8, x10
	mov	x14, #34079
	movk	x14, #20971, lsl #16
	movk	x14, #7864, lsl #32
	movk	x14, #16341, lsl #48
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	s0, [x13], #4
	ldr	s1, [x12], #4
	fcvt	d0, s0
	fcvt	d1, s1
	fmov	d2, x14
	fmadd	d0, d0, d2, d1
	ldr	s1, [x9], #4
	fcvt	d1, s1
	fadd	d0, d0, d1
	fcvt	s0, d0
	str	s0, [x11], #4
	subs	x10, x10, #1
	b.ne	LBB0_4
LBB0_5:
	sub	w1, w8, #1
	mov	x0, x19
	bl	_ff_sort_nearly_sorted_floats
Lloh13:
	adrp	x8, _LSFQ_DIFF_MIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LSFQ_DIFF_MIN@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	ldr	w8, [x22]
	sub	w2, w8, #1
	mov	x0, x19
	bl	_ff_set_min_dist_lsf
	ldrsw	x8, [x22]
	add	x8, x19, x8, lsl #2
	ldur	s0, [x8, #-4]
Lloh16:
	adrp	x23, _M_PI@GOTPAGE
Lloh17:
	ldr	x23, [x23, _M_PI@GOTPAGEOFF]
	ldr	d1, [x23]
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16372, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	bl	_FFMIN
	str	s0, [x19, #36]
	ldr	w8, [x22]
	lsl	w2, w8, #2
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	ldrsw	x8, [x22]
	cmp	w8, #1
	b.le	LBB0_8
; %bb.6:
	mov	x20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x21, x20, #2
	ldr	s0, [x19, x21]
	bl	_cos
	str	s0, [x19, x21]
	add	x20, x20, #1
	ldrsw	x8, [x22]
	sub	x8, x8, #1
	cmp	x20, x8
	b.lt	LBB0_7
	b	LBB0_9
LBB0_8:
	sub	x8, x8, #1
LBB0_9:
	ldr	d0, [x23]
	mov	x9, #14420
	movk	x9, #21634, lsl #16
	movk	x9, #40330, lsl #32
	movk	x9, #16408, lsl #48
	fmov	d1, x9
	fdiv	d0, d1, d0
	lsl	x8, x8, #2
	ldr	s1, [x19, x8]
	fcvt	d1, s1
	fmul	d0, d0, d1
	fcvt	s0, d0
	str	s0, [x19, x8]
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.10:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x10, #0
	sub	x11, x19, x20
	cmp	x11, #32
	b.lo	LBB0_3
; %bb.12:
	sub	x11, x19, x21
	cmp	x11, #32
	b.lo	LBB0_3
; %bb.13:
	sub	x11, x19, x9
	cmp	x11, #32
	b.lo	LBB0_3
; %bb.14:
	and	x10, x8, #0xfffffff8
	add	x11, x19, #16
	add	x12, x20, #16
	add	x13, x9, #16
	add	x14, x21, #16
	mov	x15, #34079
	movk	x15, #20971, lsl #16
	movk	x15, #7864, lsl #32
	movk	x15, #16341, lsl #48
	dup.2d	v0, x15
	mov	x15, x10
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldp	d1, d2, [x12, #-16]
	ldp	d3, d4, [x12], #32
	fcvtl	v1.2d, v1.2s
	fcvtl	v2.2d, v2.2s
	fcvtl	v3.2d, v3.2s
	fcvtl	v4.2d, v4.2s
	ldp	d5, d6, [x14, #-16]
	ldp	d7, d16, [x14], #32
	fcvtl	v5.2d, v5.2s
	fcvtl	v6.2d, v6.2s
	fcvtl	v7.2d, v7.2s
	fcvtl	v16.2d, v16.2s
	fmla.2d	v5, v0, v1
	fmla.2d	v6, v0, v2
	fmla.2d	v7, v0, v3
	fmla.2d	v16, v0, v4
	ldp	d1, d2, [x13, #-16]
	ldp	d3, d4, [x13], #32
	fcvtl	v1.2d, v1.2s
	fcvtl	v2.2d, v2.2s
	fcvtl	v3.2d, v3.2s
	fcvtl	v4.2d, v4.2s
	fadd.2d	v1, v5, v1
	fadd.2d	v2, v6, v2
	fadd.2d	v3, v7, v3
	fadd.2d	v4, v16, v4
	fcvtn	v1.2s, v1.2d
	fcvtn	v2.2s, v2.2d
	fcvtn	v3.2s, v3.2d
	fcvtn	v4.2s, v4.2d
	stp	d1, d2, [x11, #-16]
	stp	d3, d4, [x11], #32
	subs	x15, x15, #8
	b.ne	LBB0_15
; %bb.16:
	cmp	x10, x8
	b.ne	LBB0_3
	b	LBB0_5
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_LP_FILTER_ORDER,4,2            ; @LP_FILTER_ORDER
	.comm	_lsf_codebooks,4,2              ; @lsf_codebooks
	.comm	_mean_lsf,8,3                   ; @mean_lsf
	.comm	_LSFQ_DIFF_MIN,4,2              ; @LSFQ_DIFF_MIN
	.comm	_M_PI,8,3                       ; @M_PI
	.no_dead_strip	_lsf_decode_fp
.subsections_via_symbols
