	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function construct_vector
_construct_vector:                      ## @construct_vector
	.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
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SUBL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	shlq	$2, %rbx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rax
	movq	%r14, %rbx
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	movl	$16384, %esi                    ## imm = 0x4000
	xorl	%edx, %edx
	callq	_gain_dequantization
	movl	4(%r15), %edi
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	movl	$1, %edx
	callq	_gain_dequantization
	movl	8(%r15), %edi
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%eax, %esi
	movl	$2, %edx
	callq	_gain_dequantization
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	-68(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movl	-72(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %r8d
	callq	_get_codebook
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edx
	movq	%r13, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_get_codebook
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %ecx
	movl	%r15d, %r8d
	callq	_get_codebook
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.1:
	movl	%r15d, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r14,4), %esi
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_SPL_MUL_16_16
	movl	%eax, %r12d
	movl	(%r13,%r14,4), %esi
	movl	-80(%rbp), %edi                 ## 4-byte Reload
	callq	_SPL_MUL_16_16
	movq	%r13, %r15
	movq	%rbx, %r13
	movl	%eax, %ebx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14,4), %esi
	movl	-76(%rbp), %edi                 ## 4-byte Reload
	callq	_SPL_MUL_16_16
                                        ## kill: def $eax killed $eax def $rax
	addl	%r12d, %ebx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	addl	%ebx, %eax
	addl	$8192, %eax                     ## imm = 0x2000
	movq	%r13, %rbx
	movq	%r15, %r13
	sarl	$14, %eax
	movl	%eax, (%r12,%r14,4)
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CB_NSTAGES,4,2                 ## @CB_NSTAGES
	.comm	_SUBL,4,2                       ## @SUBL
	.no_dead_strip	_construct_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function construct_vector
_construct_vector:                      ; @construct_vector
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #32
	stp	w4, w5, [x29, #-96]             ; 8-byte Folded Spill
	mov	x28, x3
	mov	x26, x2
	mov	x25, 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, #-88]
Lloh3:
	adrp	x8, _SUBL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SUBL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x12, x10, #0x7fffffff0
	sub	x20, x9, x12
	mov	sp, x20
	mov	x9, x8
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x21, x9, x12
	mov	sp, x21
	mov	x9, x8
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	ldr	w0, [x2]
	mov	w1, #16384
	mov	w2, #0
	bl	_gain_dequantization
	mov	x23, x0
	ldr	w0, [x26, #4]
	mov	x1, x23
	mov	w2, #1
	bl	_gain_dequantization
	mov	x24, x0
	ldr	w0, [x26, #8]
	mov	x1, x24
	mov	w2, #2
	bl	_gain_dequantization
	mov	x26, x0
	ldr	w2, [x25]
	mov	x0, x20
	mov	x27, x28
	stur	x28, [x29, #-104]               ; 8-byte Folded Spill
	mov	x1, x28
	ldp	w28, w4, [x29, #-96]            ; 8-byte Folded Reload
	mov	x3, x28
	bl	_get_codebook
	ldr	w2, [x25, #4]
	mov	x0, x21
	mov	x1, x27
	mov	x3, x28
	ldur	w27, [x29, #-92]                ; 4-byte Folded Reload
	mov	x4, x27
	bl	_get_codebook
	ldr	w2, [x25, #8]
	mov	x0, x22
	ldur	x1, [x29, #-104]                ; 8-byte Folded Reload
	mov	x3, x28
	mov	x4, x27
	bl	_get_codebook
	cmp	w27, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w28, w27
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x20], #4
	mov	x0, x23
	bl	_SPL_MUL_16_16
	mov	x25, x0
	ldr	w1, [x21], #4
	mov	x0, x24
	bl	_SPL_MUL_16_16
	mov	x27, x0
	ldr	w1, [x22], #4
	mov	x0, x26
	bl	_SPL_MUL_16_16
	add	w8, w25, w27
	add	w8, w8, w0
	add	w8, w8, #2, lsl #12             ; =8192
	asr	w8, w8, #14
	str	w8, [x19], #4
	subs	x28, x28, #1
	b.ne	LBB0_2
LBB0_3:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CB_NSTAGES,4,2                 ; @CB_NSTAGES
	.comm	_SUBL,4,2                       ; @SUBL
	.no_dead_strip	_construct_vector
.subsections_via_symbols
