	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function precalc
_precalc:                               ## @precalc
	.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	_DCA_ADPCM_VQCODEBOOK_SZ@GOTPCREL(%rip), %r9
	movl	(%r9), %eax
	testl	%eax, %eax
	jle	LBB0_13
## %bb.1:
	movq	_DCA_ADPCM_COEFFS@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	xorl	%r11d, %r11d
	movq	_ff_dca_adpcm_vb@GOTPCREL(%rip), %r8
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9), %eax
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rdi
	incq	%r11
	movslq	%eax, %rdx
	cmpq	%rdx, %r11
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r8), %r10
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r14
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	movslq	%ecx, %rax
	incq	%r13
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movslq	%ecx, %rdx
	cmpq	%rdx, %r13
	jge	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r10,%r11,8), %rdx
	movl	(%rdx,%r13,8), %r12d
	movq	(%rdi), %rsi
	movslq	%r14d, %r14
	movl	%r12d, %ecx
	imull	%r12d, %ecx
	movl	%ecx, (%rsi,%r14,4)
	leaq	1(%r13), %rbx
	movslq	(%r15), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	(%rdx,%r13,8), %rdx
	leaq	(%rsi,%r14,4), %rbx
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rdx,%rsi,8), %eax
	imull	%r12d, %eax
	testq	%rsi, %rsi
	setne	%cl
	shll	%cl, %eax
	movl	%eax, (%rbx,%rsi,4)
	movslq	(%r15), %rcx
	leaq	(%rsi,%r13), %rax
	incq	%rax
	incq	%rsi
	cmpq	%rcx, %rax
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=2
	addq	%rsi, %r14
	jmp	LBB0_10
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_ADPCM_VQCODEBOOK_SZ,4,2    ## @DCA_ADPCM_VQCODEBOOK_SZ
	.comm	_DCA_ADPCM_COEFFS,4,2           ## @DCA_ADPCM_COEFFS
	.comm	_ff_dca_adpcm_vb,8,3            ## @ff_dca_adpcm_vb
	.no_dead_strip	_precalc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function precalc
_precalc:                               ; @precalc
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DCA_ADPCM_VQCODEBOOK_SZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCA_ADPCM_VQCODEBOOK_SZ@GOTPAGEOFF]
	ldr	w13, [x8]
	cmp	w13, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x9, #0
Lloh2:
	adrp	x10, _DCA_ADPCM_COEFFS@GOTPAGE
Lloh3:
	ldr	x10, [x10, _DCA_ADPCM_COEFFS@GOTPAGEOFF]
	ldr	w12, [x10]
Lloh4:
	adrp	x11, _ff_dca_adpcm_vb@GOTPAGE
Lloh5:
	ldr	x11, [x11, _ff_dca_adpcm_vb@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w13, [x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x0, #8
	add	x9, x9, #1
	cmp	x9, w13, sxtw
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	cmp	w12, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x13, #0
	mov	w15, #0
	ldr	x14, [x11]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x15, x17, #1
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
                                        ; kill: def $w15 killed $w15 killed $x15 def $x15
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x13, x13, #1
	cmp	x13, w12, sxtw
	b.ge	LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	cmp	x13, w12, sxtw
	b.ge	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x2, [x14, x9, lsl #3]
	ldr	x16, [x2, x13, lsl #3]
	ldr	x1, [x0]
	sxtw	x17, w15
	mul	w12, w16, w16
	str	w12, [x1, w15, sxtw #2]
	add	x15, x13, #1
	ldrsw	x12, [x10]
	cmp	x15, x12
	b.ge	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x12, x2, x13, lsl #3
	mov	w15, #1
	add	x1, x1, x17, lsl #2
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_9 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x2, [x12, x15, lsl #3]
	mul	w2, w2, w16
	cmp	x15, #0
	cset	w3, ne
	lsl	w2, w2, w3
	str	w2, [x1, x15, lsl #2]
	ldrsw	x2, [x10]
	add	x15, x15, #1
	add	x3, x13, x15
	cmp	x3, x2
	b.lt	LBB0_12
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x15, x17, x15
	mov	x12, x2
	b	LBB0_7
LBB0_14:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_ADPCM_VQCODEBOOK_SZ,4,2    ; @DCA_ADPCM_VQCODEBOOK_SZ
	.comm	_DCA_ADPCM_COEFFS,4,2           ; @DCA_ADPCM_COEFFS
	.comm	_ff_dca_adpcm_vb,8,3            ; @ff_dca_adpcm_vb
	.no_dead_strip	_precalc
.subsections_via_symbols
