	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_lspf
_decode_lspf:                           ## @decode_lspf
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rcx
	movq	_evrc_lspq_nb_codebooks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax,%rcx,4), %r11d
	testl	%r11d, %r11d
	jle	LBB0_22
## %bb.1:
	movq	_evrc_lspq_codebooks@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r10
	movq	_evrc_lspq_codebooks_row_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rcx,8), %r12
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	%r11, %r13
	je	LBB0_22
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	movl	(%r12,%r13,4), %r8d
	testl	%r8d, %r8d
	jle	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r10,%r13,8), %r14
	movq	8(%rdi), %rbx
	movq	16(%rdi), %rcx
	movslq	(%rcx,%r13,4), %r15
	movslq	%r8d, %rcx
	imulq	%rcx, %r15
	cltq
	cmpl	$8, %ecx
	jb	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rbx,%rax,4), %rcx
	leaq	(%r14,%r15,4), %rdx
	subq	%rdx, %rcx
	cmpq	$32, %rcx
	jae	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %r9
	notq	%r9
	addq	%r8, %r9
	movq	%r8, %rcx
	andq	$3, %rcx
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r14,%r15,4), %rdx
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rdx,%rsi,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rbx,%rax,4)
	incq	%rax
	incq	%rsi
	decq	%rcx
	jne	LBB0_17
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, %r9
	jb	LBB0_2
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	subq	%rsi, %r8
	addq	%rsi, %r15
	leaq	(%r14,%r15,4), %rcx
	addq	$12, %rcx
	leaq	(%rbx,%rax,4), %rsi
	addq	$12, %rsi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	-12(%rcx,%rdx,4), %xmm0         ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -12(%rsi,%rdx,4)
	movss	-8(%rcx,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -8(%rsi,%rdx,4)
	movss	-4(%rcx,%rdx,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, -4(%rsi,%rdx,4)
	movss	(%rcx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movss	%xmm0, (%rsi,%rdx,4)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	%rdx, %rax
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r8d, %esi
	andl	$-8, %esi
	leaq	-8(%rsi), %rcx
	movq	%rcx, %r12
	shrq	$3, %r12
	incq	%r12
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rcx
	andq	$-2, %rcx
	leaq	(%rbx,%rax,4), %r9
	addq	$48, %r9
	leaq	(%r14,%r15,4), %r10
	addq	$48, %r10
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	-48(%r10,%rdx,4), %xmm0
	movups	-32(%r10,%rdx,4), %xmm1
	movups	%xmm0, -48(%r9,%rdx,4)
	movups	%xmm1, -32(%r9,%rdx,4)
	movups	-16(%r10,%rdx,4), %xmm0
	movups	(%r10,%rdx,4), %xmm1
	movups	%xmm0, -16(%r9,%rdx,4)
	movups	%xmm1, (%r9,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rcx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %r12b
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rdx,%rax), %rcx
	addq	%r15, %rdx
	movups	(%r14,%rdx,4), %xmm0
	movups	16(%r14,%rdx,4), %xmm1
	movups	%xmm0, (%rbx,%rcx,4)
	movups	%xmm1, 16(%rbx,%rcx,4)
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	%rsi, %rax
	cmpq	%r8, %rsi
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_2
	jmp	LBB0_15
LBB0_22:
	movq	_FILTER_ORDER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	jl	LBB0_26
## %bb.23:
	movq	8(%rdi), %rcx
	movss	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	movl	$1, %edx
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movaps	%xmm0, %xmm1
	movss	(%rcx,%rdx,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm1
	jae	LBB0_31
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_24
LBB0_26:
	xorl	%eax, %eax
	cmpl	$2, %r11d
	jl	LBB0_32
## %bb.27:
	decl	%r11d
	movq	_evrc_lspq_codebooks_row_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_MIN_LSP_SEP@GOTPCREL(%rip), %rcx
	xorps	%xmm0, %xmm0
	cvtsi2ssq	(%rcx), %xmm0
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %rax
	movq	8(%rdi), %rcx
	xorl	%edx, %edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rax,%rdx,4), %rdi
	movslq	%esi, %rsi
	addq	%rdi, %rsi
	movss	(%rcx,%rsi,4), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movslq	%esi, %rdi
	subss	-4(%rcx,%rdi,4), %xmm1
	ucomiss	%xmm1, %xmm0
	jae	LBB0_31
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	incq	%rdx
	cmpq	%rdx, %r11
	jne	LBB0_28
## %bb.30:
	xorl	%eax, %eax
	jmp	LBB0_32
LBB0_31:
	movl	$-1, %eax
LBB0_32:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_evrc_lspq_codebooks,8,3        ## @evrc_lspq_codebooks
	.comm	_evrc_lspq_nb_codebooks,8,3     ## @evrc_lspq_nb_codebooks
	.comm	_evrc_lspq_codebooks_row_sizes,8,3 ## @evrc_lspq_codebooks_row_sizes
	.comm	_FILTER_ORDER,4,2               ## @FILTER_ORDER
	.comm	_MIN_LSP_SEP,8,3                ## @MIN_LSP_SEP
	.no_dead_strip	_decode_lspf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_lspf
_decode_lspf:                           ; @decode_lspf
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _evrc_lspq_nb_codebooks@GOTPAGE
Lloh1:
	ldr	x9, [x9, _evrc_lspq_nb_codebooks@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w9, [x9, x8, lsl #2]
Lloh3:
	adrp	x10, _evrc_lspq_codebooks_row_sizes@GOTPAGE
Lloh4:
	ldr	x10, [x10, _evrc_lspq_codebooks_row_sizes@GOTPAGEOFF]
	cmp	w9, #1
	b.lt	LBB0_13
; %bb.1:
	mov	x11, #0
	mov	w15, #0
Lloh5:
	adrp	x12, _evrc_lspq_codebooks@GOTPAGE
Lloh6:
	ldr	x12, [x12, _evrc_lspq_codebooks@GOTPAGEOFF]
Lloh7:
	ldr	x12, [x12]
	ldr	x12, [x12, x8, lsl #3]
	ldr	x13, [x10]
	ldr	x13, [x13, x8, lsl #3]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x11, #1
	cmp	x11, x9
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w16, [x13, x11, lsl #2]
	cmp	w16, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x17, [x12, x11, lsl #3]
	ldp	x14, x1, [x0, #8]
	ldrsw	x1, [x1, x11, lsl #2]
	sxtw	x2, w16
	mul	x1, x1, x2
	sxtw	x15, w15
	cmp	w16, #16
	b.lo	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x3, x14, x15, lsl #2
	add	x4, x17, x1, lsl #2
	sub	x2, x3, x4
	cmp	x2, #64
	b.hs	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, #0
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x2, x1
	add	x17, x17, x1, lsl #2
	sub	x16, x16, x2
	mov	x1, x15
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	s0, [x17], #4
	add	x15, x1, #1
	str	s0, [x14, x1, lsl #2]
	mov	x1, x15
	subs	x16, x16, #1
	b.ne	LBB0_9
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	and	x2, x16, #0xfffffff0
	add	x15, x2, x15
	add	x3, x3, #32
	add	x4, x4, #32
	mov	x5, x2
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x4, #-32]
	ldp	q2, q3, [x4], #64
	stp	q0, q1, [x3, #-32]
	stp	q2, q3, [x3], #64
	subs	x5, x5, #16
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x2, x16
	b.eq	LBB0_2
	b	LBB0_8
LBB0_13:
Lloh8:
	adrp	x11, _FILTER_ORDER@GOTPAGE
Lloh9:
	ldr	x11, [x11, _FILTER_ORDER@GOTPAGEOFF]
Lloh10:
	ldr	w12, [x11]
	cmp	w12, #1
	b.le	LBB0_17
; %bb.14:
	ldr	x11, [x0, #8]
	ldr	s0, [x11], #4
	sub	x12, x12, #1
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	fmov	s1, s0
	ldr	s0, [x11]
	fcmp	s0, s1
	b.ls	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x11, x11, #4
	subs	x12, x12, #1
	b.ne	LBB0_15
LBB0_17:
	cmp	w9, #2
	b.lt	LBB0_21
; %bb.18:
	mov	w11, #0
	sub	w9, w9, #1
	ldr	x10, [x10]
	ldr	x8, [x10, x8, lsl #3]
	ldr	x10, [x0, #8]
Lloh11:
	adrp	x12, _MIN_LSP_SEP@GOTPAGE
Lloh12:
	ldr	x12, [x12, _MIN_LSP_SEP@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
	scvtf	s0, x12
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x12, [x8]
	add	x11, x12, w11, sxtw
	add	x12, x10, x11, lsl #2
	ldp	s2, s1, [x12, #-4]
	fsub	s1, s1, s2
	fcmp	s1, s0
	b.ls	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	add	x8, x8, #4
	subs	x9, x9, #1
	b.ne	LBB0_19
LBB0_21:
	mov	w0, #0
	ret
LBB0_22:
	mov	w0, #-1
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_evrc_lspq_codebooks,8,3        ; @evrc_lspq_codebooks
	.comm	_evrc_lspq_nb_codebooks,8,3     ; @evrc_lspq_nb_codebooks
	.comm	_evrc_lspq_codebooks_row_sizes,8,3 ; @evrc_lspq_codebooks_row_sizes
	.comm	_FILTER_ORDER,4,2               ; @FILTER_ORDER
	.comm	_MIN_LSP_SEP,8,3                ; @MIN_LSP_SEP
	.no_dead_strip	_decode_lspf
.subsections_via_symbols
