	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inverse_adpcm
_inverse_adpcm:                         ## @inverse_adpcm
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	cmpl	%r8d, %ecx
	jge	LBB0_7
## %bb.1:
	movslq	%r9d, %rax
	movslq	%ecx, %r12
	shlq	$3, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_DCA_ADPCM_COEFFS@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	cmpl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	je	LBB0_7
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax,%r12,8)
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 16(%rbp)
	jle	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r12,8), %r14
	addq	-56(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r12,4), %ebx
	movl	16(%rbp), %r13d
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%r15), %rax
	shlq	$3, %rax
	movq	%r14, %rsi
	subq	%rax, %rsi
	movl	%ebx, %edi
	callq	_ff_dcaadpcm_predict
	addq	(%r14), %rax
	movq	%rax, %rdi
	callq	_clip23
	movq	%rax, (%r14)
	addq	$8, %r14
	decq	%r13
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCA_ADPCM_COEFFS,4,2           ## @DCA_ADPCM_COEFFS
	.no_dead_strip	_inverse_adpcm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inverse_adpcm
_inverse_adpcm:                         ; @inverse_adpcm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w5 killed $w5 def $x5
                                        ; kill: def $w3 killed $w3 def $x3
	str	x1, [sp, #8]                    ; 8-byte Folded Spill
	cmp	w3, w4
	b.ge	LBB0_7
; %bb.1:
	mov	x19, x6
	mov	x20, x4
	mov	x21, x2
	mov	x23, x0
	sxtw	x8, w5
	str	x8, [sp]                        ; 8-byte Folded Spill
	sxtw	x26, w3
Lloh0:
	adrp	x27, _DCA_ADPCM_COEFFS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _DCA_ADPCM_COEFFS@GOTPAGEOFF]
	mov	w22, w6
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	cmp	w26, w20
	b.eq	LBB0_7
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldr	x8, [x21, x26, lsl #3]
	cbz	x8, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x9, x8, [sp]                    ; 16-byte Folded Reload
	ldr	w24, [x8, x26, lsl #2]
	ldr	x8, [x23, x26, lsl #3]
	add	x25, x8, x9, lsl #3
	mov	x28, x22
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x8, [x27]
	sub	x1, x25, x8, lsl #3
	mov	x0, x24
	bl	_ff_dcaadpcm_predict
	ldr	x8, [x25]
	add	x0, x8, x0
	bl	_clip23
	str	x0, [x25], #8
	subs	x28, x28, #1
	b.ne	LBB0_6
	b	LBB0_2
LBB0_7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DCA_ADPCM_COEFFS,4,2           ; @DCA_ADPCM_COEFFS
	.no_dead_strip	_inverse_adpcm
.subsections_via_symbols
