	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dequant_lsps
_dequant_lsps:                          ## @dequant_lsps
	.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
	movq	%r9, %r13
	movl	%r8d, %r15d
	movq	%rcx, %r14
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leal	(,%r12,8), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%r15d, %r15d
	jle	LBB0_21
## %bb.1:
	movq	%r14, %r11
	movq	24(%rbp), %rdx
	movl	%r15d, %r14d
	movl	%r12d, %esi
	leaq	(%rbx,%rsi,8), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	andl	$-4, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	addq	$-4, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movq	%rdi, %rax
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	andq	$-2, %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rax
	negq	%rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r11, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r11,%r15,4), %rax
	imulq	%r9, %rax
	leaq	(%r13,%rax,8), %r13
	incq	%r15
	cmpq	%r14, %r15
	je	LBB0_21
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
	movslq	%r12d, %r9
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%rcx,%r15,4), %r8
	imulq	%r9, %r8
	leaq	(,%r8,8), %r10
	addq	%r13, %r10
	movsd	(%rdx,%r15,8), %xmm0            ## xmm0 = mem[0],zero
	movq	16(%rbp), %rax
	movsd	(%rax,%r15,8), %xmm1            ## xmm1 = mem[0],zero
	cmpl	$4, %r12d
	jb	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%rsi,8), %rax
	addq	%r13, %rax
	leaq	(%rax,%r8,8), %rax
	cmpq	%rbx, %rax
	jbe	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	-96(%rbp), %r10                 ## 8-byte Folded Reload
	jae	LBB0_9
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, %rax
	testb	$1, %sil
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movsd	(%r10,%rdi,8), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	addsd	(%rbx,%rdi,8), %xmm2
	movsd	%xmm2, (%rbx,%rdi,8)
	movq	%rdi, %rax
	orq	$1, %rax
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	notq	%rdi
	cmpq	-104(%rbp), %rdi                ## 8-byte Folded Reload
	je	LBB0_2
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	8(,%r8,8), %rdi
	addq	%r13, %rdi
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsd	-8(%rdi,%rax,8), %xmm2          ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	addsd	(%rbx,%rax,8), %xmm2
	movsd	%xmm2, (%rbx,%rax,8)
	movsd	(%rdi,%rax,8), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm1, %xmm2
	addsd	%xmm0, %xmm2
	addsd	8(%rbx,%rax,8), %xmm2
	movsd	%xmm2, 8(%rbx,%rax,8)
	addq	$2, %rax
	cmpq	%rax, %rsi
	jne	LBB0_19
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movddup	%xmm1, %xmm3                    ## xmm3 = xmm1[0,0]
	movddup	%xmm0, %xmm2                    ## xmm2 = xmm0[0,0]
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_20
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	48(,%r8,8), %rax
	addq	%r13, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movupd	-48(%rax,%r11,8), %xmm4
	movupd	-32(%rax,%r11,8), %xmm5
	mulpd	%xmm3, %xmm4
	addpd	%xmm2, %xmm4
	mulpd	%xmm3, %xmm5
	addpd	%xmm2, %xmm5
	movupd	(%rbx,%r11,8), %xmm6
	addpd	%xmm4, %xmm6
	movupd	16(%rbx,%r11,8), %xmm4
	addpd	%xmm5, %xmm4
	movupd	32(%rbx,%r11,8), %xmm5
	movupd	48(%rbx,%r11,8), %xmm7
	movupd	%xmm6, (%rbx,%r11,8)
	movupd	%xmm4, 16(%rbx,%r11,8)
	movupd	-16(%rax,%r11,8), %xmm4
	movupd	(%rax,%r11,8), %xmm6
	mulpd	%xmm3, %xmm4
	addpd	%xmm2, %xmm4
	addpd	%xmm5, %xmm4
	mulpd	%xmm3, %xmm6
	addpd	%xmm2, %xmm6
	addpd	%xmm7, %xmm6
	movupd	%xmm4, 32(%rbx,%r11,8)
	movupd	%xmm6, 48(%rbx,%r11,8)
	addq	$8, %r11
	addq	$-2, %rdi
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_14
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movupd	(%r10,%r11,8), %xmm4
	movupd	16(%r10,%r11,8), %xmm5
	mulpd	%xmm3, %xmm4
	addpd	%xmm2, %xmm4
	mulpd	%xmm3, %xmm5
	addpd	%xmm2, %xmm5
	movupd	(%rbx,%r11,8), %xmm2
	addpd	%xmm4, %xmm2
	movupd	16(%rbx,%r11,8), %xmm3
	addpd	%xmm5, %xmm3
	movupd	%xmm2, (%rbx,%r11,8)
	movupd	%xmm3, 16(%rbx,%r11,8)
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rdi
	cmpq	%rsi, %rax
	movq	-88(%rbp), %r11                 ## 8-byte Reload
	je	LBB0_2
	jmp	LBB0_15
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r11d, %r11d
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_13
	jmp	LBB0_14
LBB0_21:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_dequant_lsps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dequant_lsps
_dequant_lsps:                          ; @dequant_lsps
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x7
	mov	x20, x6
	mov	x21, x5
	mov	x26, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	lsl	w2, w1, #3
	mov	w1, #0
	bl	_memset
	cmp	w26, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x8, #0
	mov	w9, w26
	mov	w10, w24
	and	x11, x10, #0xfffffff8
	add	x12, x25, #32
	sxtw	x13, w24
	add	x14, x25, w24, uxtw #3
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w15, [x22, x8, lsl #2]
	mul	w15, w15, w24
	add	x21, x21, w15, sxtw #3
	add	x8, x8, #1
	cmp	x8, x9
	b.eq	LBB0_12
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w24, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x15, [x23, x8, lsl #2]
	mul	x15, x15, x13
	lsl	x16, x8, #3
	ldr	d0, [x19, x16]
	ldr	d1, [x20, x16]
	cmp	w24, #8
	b.lo	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x16, x21, x15, lsl #3
	add	x17, x21, x10, lsl #3
	add	x17, x17, x15, lsl #3
	cmp	x17, x25
	ccmp	x16, x14, #2, hi
	b.lo	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	dup.2d	v2, v1[0]
	dup.2d	v3, v0[0]
	add	x16, x21, x15, lsl #3
	add	x16, x16, #32
	mov	x17, x12
	mov	x0, x11
LBB0_7:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x16, #-32]
	ldp	q6, q7, [x16], #64
	mov.16b	v16, v3
	fmla.2d	v16, v4, v2
	mov.16b	v4, v3
	fmla.2d	v4, v5, v2
	mov.16b	v5, v3
	fmla.2d	v5, v6, v2
	mov.16b	v6, v3
	fmla.2d	v6, v7, v2
	ldp	q7, q17, [x17, #-32]
	ldp	q18, q19, [x17]
	fadd.2d	v7, v7, v16
	fadd.2d	v4, v17, v4
	fadd.2d	v5, v18, v5
	fadd.2d	v6, v19, v6
	stp	q7, q4, [x17, #-32]
	stp	q5, q6, [x17], #64
	subs	x0, x0, #8
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, x11
	cmp	x11, x10
	b.eq	LBB0_2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x17, #0
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x16, x25, x17, lsl #3
	add	x15, x17, x15
	add	x15, x21, x15, lsl #3
	sub	x17, x10, x17
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	d2, [x15], #8
	fmadd	d2, d1, d2, d0
	ldr	d3, [x16]
	fadd	d2, d3, d2
	str	d2, [x16], #8
	subs	x17, x17, #1
	b.ne	LBB0_11
	b	LBB0_2
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_dequant_lsps
.subsections_via_symbols
