	.file	"378240.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	indexTable, @object
	.size	indexTable, 64
indexTable:
	.long	-1
	.long	-1
	.long	-1
	.long	-1
	.long	2
	.long	4
	.long	6
	.long	8
	.long	-1
	.long	-1
	.long	-1
	.long	-1
	.long	2
	.long	4
	.long	6
	.long	8
	.align 32
	.type	stepsizeTable, @object
	.size	stepsizeTable, 356
stepsizeTable:
	.long	7
	.long	8
	.long	9
	.long	10
	.long	11
	.long	12
	.long	13
	.long	14
	.long	16
	.long	17
	.long	19
	.long	21
	.long	23
	.long	25
	.long	28
	.long	31
	.long	34
	.long	37
	.long	41
	.long	45
	.long	50
	.long	55
	.long	60
	.long	66
	.long	73
	.long	80
	.long	88
	.long	97
	.long	107
	.long	118
	.long	130
	.long	143
	.long	157
	.long	173
	.long	190
	.long	209
	.long	230
	.long	253
	.long	279
	.long	307
	.long	337
	.long	371
	.long	408
	.long	449
	.long	494
	.long	544
	.long	598
	.long	658
	.long	724
	.long	796
	.long	876
	.long	963
	.long	1060
	.long	1166
	.long	1282
	.long	1411
	.long	1552
	.long	1707
	.long	1878
	.long	2066
	.long	2272
	.long	2499
	.long	2749
	.long	3024
	.long	3327
	.long	3660
	.long	4026
	.long	4428
	.long	4871
	.long	5358
	.long	5894
	.long	6484
	.long	7132
	.long	7845
	.long	8630
	.long	9493
	.long	10442
	.long	11487
	.long	12635
	.long	13899
	.long	15289
	.long	16818
	.long	18500
	.long	20350
	.long	22385
	.long	24623
	.long	27086
	.long	29794
	.long	32767
	.local	state
	.comm	state,16,16
	.text
	.globl	adpcm_reset
	.type	adpcm_reset, @function
adpcm_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR state[rip], 0
	mov	DWORD PTR state[rip+4], 0
	mov	DWORD PTR state[rip+8], 0
	mov	DWORD PTR state[rip+12], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	adpcm_reset, .-adpcm_reset
	.globl	adpcm_valprev
	.type	adpcm_valprev, @function
adpcm_valprev:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, state[rip]
	mov	eax, DWORD PTR [rdx+rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	adpcm_valprev, .-adpcm_valprev
	.globl	adpcm_index
	.type	adpcm_index, @function
adpcm_index:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, state[rip+8]
	mov	eax, DWORD PTR [rdx+rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	adpcm_index, .-adpcm_index
	.globl	adpcm_loop_reset
	.type	adpcm_loop_reset, @function
adpcm_loop_reset:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, esi
	mov	WORD PTR -8[rbp], ax
	mov	eax, edx
	mov	BYTE PTR -12[rbp], al
	movsx	eax, WORD PTR -8[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, state[rip]
	mov	DWORD PTR [rcx+rdx], eax
	movzx	eax, BYTE PTR -12[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, state[rip+8]
	mov	DWORD PTR [rcx+rdx], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	adpcm_loop_reset, .-adpcm_loop_reset
	.globl	adpcm_encode_mono
	.type	adpcm_encode_mono, @function
adpcm_encode_mono:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	cmp	QWORD PTR -56[rbp], 0
	je	.L8
	cmp	QWORD PTR -64[rbp], 0
	je	.L8
	cmp	DWORD PTR -68[rbp], 1
	jg	.L9
.L8:
	mov	eax, 0
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -68[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR state[rip+8]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -16[rbp], 1
	jmp	.L11
.L24:
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -56[rbp], rdx
	movzx	eax, WORD PTR [rax]
	cwde
	mov	DWORD PTR -8[rbp], eax
	mov	edx, DWORD PTR state[rip]
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	sar	eax, 28
	and	eax, 8
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L12
	neg	DWORD PTR -32[rbp]
.L12:
	mov	DWORD PTR -36[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 3
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L13
	mov	DWORD PTR -36[rbp], 4
	mov	eax, DWORD PTR -28[rbp]
	sub	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -24[rbp], eax
.L13:
	sar	DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L14
	or	DWORD PTR -36[rbp], 2
	mov	eax, DWORD PTR -28[rbp]
	sub	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -24[rbp], eax
.L14:
	sar	DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L15
	or	DWORD PTR -36[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -24[rbp], eax
.L15:
	cmp	DWORD PTR -4[rbp], 0
	je	.L16
	mov	eax, DWORD PTR state[rip]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR state[rip], eax
	jmp	.L17
.L16:
	mov	edx, DWORD PTR state[rip]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR state[rip], eax
.L17:
	mov	eax, DWORD PTR state[rip]
	cmp	eax, 32767
	jle	.L18
	mov	DWORD PTR state[rip], 32767
	jmp	.L19
.L18:
	mov	eax, DWORD PTR state[rip]
	cmp	eax, -32768
	jge	.L19
	mov	DWORD PTR state[rip], -32768
.L19:
	mov	eax, DWORD PTR -4[rbp]
	or	DWORD PTR -36[rbp], eax
	mov	ecx, DWORD PTR state[rip+8]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, indexTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	DWORD PTR state[rip+8], eax
	mov	eax, DWORD PTR state[rip+8]
	test	eax, eax
	jns	.L20
	mov	DWORD PTR state[rip+8], 0
.L20:
	mov	eax, DWORD PTR state[rip+8]
	cmp	eax, 88
	jle	.L21
	mov	DWORD PTR state[rip+8], 88
.L21:
	mov	eax, DWORD PTR state[rip+8]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	je	.L22
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 4
	and	eax, 255
	mov	DWORD PTR -20[rbp], eax
	jmp	.L23
.L22:
	mov	eax, DWORD PTR -36[rbp]
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
.L23:
	cmp	DWORD PTR -16[rbp], 0
	sete	al
	movzx	eax, al
	mov	DWORD PTR -16[rbp], eax
	sub	DWORD PTR -68[rbp], 1
.L11:
	cmp	DWORD PTR -68[rbp], 0
	jg	.L24
	cmp	DWORD PTR -16[rbp], 0
	jne	.L25
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -64[rbp], rdx
	mov	edx, DWORD PTR -20[rbp]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -12[rbp], 1
.L25:
	mov	eax, DWORD PTR -12[rbp]
.L10:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	adpcm_encode_mono, .-adpcm_encode_mono
	.globl	adpcm_decode_mono
	.type	adpcm_decode_mono, @function
adpcm_decode_mono:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	je	.L27
	cmp	QWORD PTR -48[rbp], 0
	je	.L27
	cmp	DWORD PTR -52[rbp], 0
	jg	.L28
.L27:
	mov	eax, 0
	jmp	.L29
.L28:
	sal	DWORD PTR -52[rbp]
	mov	eax, DWORD PTR state[rip]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR state[rip+8]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L30
.L42:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 1
	test	eax, eax
	je	.L31
	mov	eax, DWORD PTR -12[rbp]
	and	eax, 15
	mov	DWORD PTR -32[rbp], eax
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	sar	eax, 4
	and	eax, 15
	mov	DWORD PTR -32[rbp], eax
.L32:
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, indexTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	jns	.L33
	mov	DWORD PTR -16[rbp], 0
.L33:
	cmp	DWORD PTR -16[rbp], 88
	jle	.L34
	mov	DWORD PTR -16[rbp], 88
.L34:
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 8
	mov	DWORD PTR -4[rbp], eax
	and	DWORD PTR -32[rbp], 7
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 3
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 4
	test	eax, eax
	je	.L35
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -20[rbp], eax
.L35:
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 2
	test	eax, eax
	je	.L36
	mov	eax, DWORD PTR -28[rbp]
	sar	eax
	add	DWORD PTR -20[rbp], eax
.L36:
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 1
	test	eax, eax
	je	.L37
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 2
	add	DWORD PTR -20[rbp], eax
.L37:
	cmp	DWORD PTR -4[rbp], 0
	je	.L38
	mov	eax, DWORD PTR -20[rbp]
	sub	DWORD PTR -24[rbp], eax
	jmp	.L39
.L38:
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -24[rbp], eax
.L39:
	cmp	DWORD PTR -24[rbp], 32767
	jle	.L40
	mov	DWORD PTR -24[rbp], 32767
	jmp	.L41
.L40:
	cmp	DWORD PTR -24[rbp], -32768
	jge	.L41
	mov	DWORD PTR -24[rbp], -32768
.L41:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, DWORD PTR -24[rbp]
	mov	WORD PTR [rax], dx
	add	DWORD PTR -8[rbp], 1
.L30:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L42
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR state[rip], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR state[rip+8], eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
.L29:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	adpcm_decode_mono, .-adpcm_decode_mono
	.globl	adpcm_encode_stereo
	.type	adpcm_encode_stereo, @function
adpcm_encode_stereo:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	cmp	QWORD PTR -40[rbp], 0
	je	.L44
	cmp	QWORD PTR -48[rbp], 0
	je	.L44
	cmp	DWORD PTR -52[rbp], 3
	jg	.L45
.L44:
	mov	eax, 0
	jmp	.L46
.L45:
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	DWORD PTR -52[rbp], eax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L47
.L68:
	mov	eax, DWORD PTR state[rip+8]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, WORD PTR [rax]
	cwde
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR state[rip]
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 28
	and	eax, 8
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L48
	neg	DWORD PTR -28[rbp]
.L48:
	mov	DWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	sar	eax, 3
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L49
	mov	DWORD PTR -32[rbp], 4
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -24[rbp], eax
.L49:
	sar	DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L50
	or	DWORD PTR -32[rbp], 2
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -24[rbp], eax
.L50:
	sar	DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L51
	or	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -24[rbp], eax
.L51:
	cmp	DWORD PTR -12[rbp], 0
	je	.L52
	mov	eax, DWORD PTR state[rip]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR state[rip], eax
	jmp	.L53
.L52:
	mov	edx, DWORD PTR state[rip]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR state[rip], eax
.L53:
	mov	eax, DWORD PTR state[rip]
	cmp	eax, 32767
	jle	.L54
	mov	DWORD PTR state[rip], 32767
	jmp	.L55
.L54:
	mov	eax, DWORD PTR state[rip]
	cmp	eax, -32768
	jge	.L55
	mov	DWORD PTR state[rip], -32768
.L55:
	mov	eax, DWORD PTR -12[rbp]
	or	DWORD PTR -32[rbp], eax
	mov	ecx, DWORD PTR state[rip+8]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, indexTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	DWORD PTR state[rip+8], eax
	mov	eax, DWORD PTR state[rip+8]
	test	eax, eax
	jns	.L56
	mov	DWORD PTR state[rip+8], 0
.L56:
	mov	eax, DWORD PTR state[rip+8]
	cmp	eax, 88
	jle	.L57
	mov	DWORD PTR state[rip+8], 88
.L57:
	mov	eax, DWORD PTR state[rip+8]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	sal	eax, 4
	and	eax, 255
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR state[rip+12]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -40[rbp], rdx
	movzx	eax, WORD PTR [rax]
	cwde
	mov	DWORD PTR -16[rbp], eax
	mov	edx, DWORD PTR state[rip+4]
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, edx
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 28
	and	eax, 8
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	je	.L58
	neg	DWORD PTR -28[rbp]
.L58:
	mov	DWORD PTR -32[rbp], 0
	mov	eax, DWORD PTR -8[rbp]
	sar	eax, 3
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L59
	mov	DWORD PTR -32[rbp], 4
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -24[rbp], eax
.L59:
	sar	DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L60
	or	DWORD PTR -32[rbp], 2
	mov	eax, DWORD PTR -8[rbp]
	sub	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -24[rbp], eax
.L60:
	sar	DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L61
	or	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -24[rbp], eax
.L61:
	cmp	DWORD PTR -12[rbp], 0
	je	.L62
	mov	eax, DWORD PTR state[rip+4]
	sub	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR state[rip+4], eax
	jmp	.L63
.L62:
	mov	edx, DWORD PTR state[rip+4]
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	mov	DWORD PTR state[rip+4], eax
.L63:
	mov	eax, DWORD PTR state[rip+4]
	cmp	eax, 32767
	jle	.L64
	mov	DWORD PTR state[rip+4], 32767
	jmp	.L65
.L64:
	mov	eax, DWORD PTR state[rip+4]
	cmp	eax, -32768
	jge	.L65
	mov	DWORD PTR state[rip+4], -32768
.L65:
	mov	eax, DWORD PTR -12[rbp]
	or	DWORD PTR -32[rbp], eax
	mov	ecx, DWORD PTR state[rip+12]
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, indexTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	DWORD PTR state[rip+12], eax
	mov	eax, DWORD PTR state[rip+12]
	test	eax, eax
	jns	.L66
	mov	DWORD PTR state[rip+12], 0
.L66:
	mov	eax, DWORD PTR state[rip+12]
	cmp	eax, 88
	jle	.L67
	mov	DWORD PTR state[rip+12], 88
.L67:
	mov	eax, DWORD PTR state[rip+12]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 15
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, edx
	or	ecx, eax
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -48[rbp], rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -20[rbp], 1
.L47:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -52[rbp]
	jl	.L68
	mov	eax, DWORD PTR -20[rbp]
.L46:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	adpcm_encode_stereo, .-adpcm_encode_stereo
	.globl	adpcm_decode_stereo
	.type	adpcm_decode_stereo, @function
adpcm_decode_stereo:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -32[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -36[rbp], 0
	mov	DWORD PTR -48[rbp], 0
	cmp	QWORD PTR -72[rbp], 0
	je	.L70
	cmp	QWORD PTR -80[rbp], 0
	je	.L70
	cmp	DWORD PTR -84[rbp], 0
	jg	.L71
.L70:
	mov	eax, 0
	jmp	.L93
.L71:
	mov	eax, DWORD PTR state[rip]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR state[rip+4]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR state[rip+8]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR state[rip+12]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -48[rbp], 0
	jmp	.L73
.L92:
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -72[rbp], rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	sar	eax, 4
	and	eax, 15
	mov	DWORD PTR -40[rbp], eax
	mov	ecx, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, indexTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jns	.L74
	mov	DWORD PTR -16[rbp], 0
.L74:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 88
	jle	.L75
	mov	DWORD PTR -16[rbp], 88
.L75:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 8
	mov	DWORD PTR -44[rbp], eax
	and	DWORD PTR -40[rbp], 7
	mov	eax, DWORD PTR -32[rbp]
	sar	eax, 3
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 4
	test	eax, eax
	je	.L76
	mov	eax, DWORD PTR -32[rbp]
	add	DWORD PTR -52[rbp], eax
.L76:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 2
	test	eax, eax
	je	.L77
	mov	eax, DWORD PTR -32[rbp]
	sar	eax
	add	DWORD PTR -52[rbp], eax
.L77:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 1
	test	eax, eax
	je	.L78
	mov	eax, DWORD PTR -32[rbp]
	sar	eax, 2
	add	DWORD PTR -52[rbp], eax
.L78:
	cmp	DWORD PTR -44[rbp], 0
	je	.L79
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -24[rbp], eax
	jmp	.L80
.L79:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -24[rbp], eax
.L80:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 32767
	jle	.L81
	mov	DWORD PTR -24[rbp], 32767
	jmp	.L82
.L81:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, -32768
	jge	.L82
	mov	DWORD PTR -24[rbp], -32768
.L82:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -32[rbp], eax
	mov	ecx, DWORD PTR -24[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -80[rbp], rdx
	mov	edx, ecx
	mov	WORD PTR [rax], dx
	mov	eax, DWORD PTR -36[rbp]
	and	eax, 15
	mov	DWORD PTR -40[rbp], eax
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, indexTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	test	eax, eax
	jns	.L83
	mov	DWORD PTR -12[rbp], 0
.L83:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 88
	jle	.L84
	mov	DWORD PTR -12[rbp], 88
.L84:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 8
	mov	DWORD PTR -44[rbp], eax
	and	DWORD PTR -40[rbp], 7
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 3
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 4
	test	eax, eax
	je	.L85
	mov	eax, DWORD PTR -28[rbp]
	add	DWORD PTR -52[rbp], eax
.L85:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 2
	test	eax, eax
	je	.L86
	mov	eax, DWORD PTR -28[rbp]
	sar	eax
	add	DWORD PTR -52[rbp], eax
.L86:
	mov	eax, DWORD PTR -40[rbp]
	and	eax, 1
	test	eax, eax
	je	.L87
	mov	eax, DWORD PTR -28[rbp]
	sar	eax, 2
	add	DWORD PTR -52[rbp], eax
.L87:
	cmp	DWORD PTR -44[rbp], 0
	je	.L88
	mov	eax, DWORD PTR -20[rbp]
	sub	eax, DWORD PTR -52[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L89
.L88:
	mov	edx, DWORD PTR -20[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -20[rbp], eax
.L89:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 32767
	jle	.L90
	mov	DWORD PTR -20[rbp], 32767
	jmp	.L91
.L90:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, -32768
	jge	.L91
	mov	DWORD PTR -20[rbp], -32768
.L91:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, stepsizeTable[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR -28[rbp], eax
	mov	ecx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, 2[rax]
	mov	QWORD PTR -80[rbp], rdx
	mov	edx, ecx
	mov	WORD PTR [rax], dx
	add	DWORD PTR -48[rbp], 1
.L73:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L92
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR state[rip], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR state[rip+4], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	DWORD PTR state[rip+8], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR state[rip+12], eax
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 2
.L93:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L94
	call	__stack_chk_fail@PLT
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	adpcm_decode_stereo, .-adpcm_decode_stereo
	.globl	adpcm_encode
	.type	adpcm_encode, @function
adpcm_encode:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	DWORD PTR -24[rbp], ecx
	cmp	DWORD PTR -24[rbp], 2
	jne	.L96
	mov	edx, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	adpcm_encode_stereo
	jmp	.L97
.L96:
	mov	edx, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	adpcm_encode_mono
.L97:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	adpcm_encode, .-adpcm_encode
	.globl	adpcm_decode
	.type	adpcm_decode, @function
adpcm_decode:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	DWORD PTR -24[rbp], ecx
	cmp	DWORD PTR -24[rbp], 2
	jne	.L99
	mov	edx, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	adpcm_decode_stereo
	jmp	.L100
.L99:
	mov	edx, DWORD PTR -20[rbp]
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	adpcm_decode_mono
.L100:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	adpcm_decode, .-adpcm_decode
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"378240.c"
	.text
	.data
	.align	2
	.type	indexTable, %object
	.size	indexTable, 64
indexTable:
	.word	-1
	.word	-1
	.word	-1
	.word	-1
	.word	2
	.word	4
	.word	6
	.word	8
	.word	-1
	.word	-1
	.word	-1
	.word	-1
	.word	2
	.word	4
	.word	6
	.word	8
	.align	2
	.type	stepsizeTable, %object
	.size	stepsizeTable, 356
stepsizeTable:
	.word	7
	.word	8
	.word	9
	.word	10
	.word	11
	.word	12
	.word	13
	.word	14
	.word	16
	.word	17
	.word	19
	.word	21
	.word	23
	.word	25
	.word	28
	.word	31
	.word	34
	.word	37
	.word	41
	.word	45
	.word	50
	.word	55
	.word	60
	.word	66
	.word	73
	.word	80
	.word	88
	.word	97
	.word	107
	.word	118
	.word	130
	.word	143
	.word	157
	.word	173
	.word	190
	.word	209
	.word	230
	.word	253
	.word	279
	.word	307
	.word	337
	.word	371
	.word	408
	.word	449
	.word	494
	.word	544
	.word	598
	.word	658
	.word	724
	.word	796
	.word	876
	.word	963
	.word	1060
	.word	1166
	.word	1282
	.word	1411
	.word	1552
	.word	1707
	.word	1878
	.word	2066
	.word	2272
	.word	2499
	.word	2749
	.word	3024
	.word	3327
	.word	3660
	.word	4026
	.word	4428
	.word	4871
	.word	5358
	.word	5894
	.word	6484
	.word	7132
	.word	7845
	.word	8630
	.word	9493
	.word	10442
	.word	11487
	.word	12635
	.word	13899
	.word	15289
	.word	16818
	.word	18500
	.word	20350
	.word	22385
	.word	24623
	.word	27086
	.word	29794
	.word	32767
	.local	state
	.comm	state,16,4
	.text
	.align	2
	.global	adpcm_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_reset, %function
adpcm_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L2
	mov	r2, #0
	str	r2, [r3, #12]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	state
	.size	adpcm_reset, .-adpcm_reset
	.align	2
	.global	adpcm_valprev
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_valprev, %function
adpcm_valprev:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, .L6
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L7:
	.align	2
.L6:
	.word	state
	.size	adpcm_valprev, .-adpcm_valprev
	.align	2
	.global	adpcm_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_index, %function
adpcm_index:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, .L10
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	ldr	r3, [r2, r3, lsl #2]
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	state
	.size	adpcm_index, .-adpcm_index
	.align	2
	.global	adpcm_loop_reset
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_loop_reset, %function
adpcm_loop_reset:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, r1
	strh	r3, [fp, #-10]	@ movhi
	mov	r3, r2
	strb	r3, [fp, #-11]
	ldrsh	r2, [fp, #-10]
	ldr	r1, .L13
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldrb	r2, [fp, #-11]	@ zero_extendqisi2
	ldr	r1, .L13
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	str	r2, [r1, r3, lsl #2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	state
	.size	adpcm_loop_reset, .-adpcm_loop_reset
	.align	2
	.global	adpcm_encode_mono
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_encode_mono, %function
adpcm_encode_mono:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #60
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-56]
	cmp	r3, #1
	bgt	.L17
.L16:
	mov	r3, #0
	b	.L18
.L17:
	ldr	r3, [fp, #-56]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, .L34
	ldr	r3, [r3, #8]
	ldr	r2, .L34+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L19
.L32:
	ldr	r3, [fp, #-48]
	add	r2, r3, #2
	str	r2, [fp, #-48]
	ldrsh	r3, [r3]
	str	r3, [fp, #-12]
	ldr	r3, .L34
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	asr	r3, r3, #28
	and	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-36]
	rsb	r3, r3, #0
	str	r3, [fp, #-36]
.L20:
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L21
	mov	r3, #4
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L21:
	ldr	r3, [fp, #-32]
	asr	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L22
	ldr	r3, [fp, #-40]
	orr	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	sub	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L22:
	ldr	r3, [fp, #-32]
	asr	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-40]
	orr	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L23:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, .L34
	str	r3, [r2]
	b	.L25
.L24:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, .L34
	str	r3, [r2]
.L25:
	ldr	r3, .L34
	ldr	r3, [r3]
	cmp	r3, #32768
	blt	.L26
	ldr	r3, .L34
	ldr	r2, .L34+8
	str	r2, [r3]
	b	.L27
.L26:
	ldr	r3, .L34
	ldr	r3, [r3]
	cmn	r3, #32768
	bge	.L27
	ldr	r3, .L34
	ldr	r2, .L34+12
	str	r2, [r3]
.L27:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-8]
	orr	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, .L34
	ldr	r2, [r3, #8]
	ldr	r1, .L34+16
	ldr	r3, [fp, #-40]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	ldr	r2, .L34
	str	r3, [r2, #8]
	ldr	r3, .L34
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bge	.L28
	ldr	r3, .L34
	mov	r2, #0
	str	r2, [r3, #8]
.L28:
	ldr	r3, .L34
	ldr	r3, [r3, #8]
	cmp	r3, #88
	ble	.L29
	ldr	r3, .L34
	mov	r2, #88
	str	r2, [r3, #8]
.L29:
	ldr	r3, .L34
	ldr	r3, [r3, #8]
	ldr	r2, .L34+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #4
	and	r3, r3, #255
	str	r3, [fp, #-24]
	b	.L31
.L30:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-52]
	add	r1, r3, #1
	str	r1, [fp, #-52]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L31:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
.L19:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bgt	.L32
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-52]
	add	r2, r3, #1
	str	r2, [fp, #-52]
	ldr	r2, [fp, #-24]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L33:
	ldr	r3, [fp, #-16]
.L18:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L35:
	.align	2
.L34:
	.word	state
	.word	stepsizeTable
	.word	32767
	.word	-32768
	.word	indexTable
	.size	adpcm_encode_mono, .-adpcm_encode_mono
	.align	2
	.global	adpcm_decode_mono
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_decode_mono, %function
adpcm_decode_mono:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #52
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L37
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bgt	.L38
.L37:
	mov	r3, #0
	b	.L39
.L38:
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, .L53
	ldr	r3, [r3, #8]
	str	r3, [fp, #-20]
	ldr	r2, .L53+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L40
.L52:
	ldr	r3, [fp, #-12]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-16]
	and	r3, r3, #15
	str	r3, [fp, #-36]
	b	.L42
.L41:
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	asr	r3, r3, #4
	and	r3, r3, #15
	str	r3, [fp, #-36]
.L42:
	ldr	r2, .L53+8
	ldr	r3, [fp, #-36]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L43
	mov	r3, #0
	str	r3, [fp, #-20]
.L43:
	ldr	r3, [fp, #-20]
	cmp	r3, #88
	ble	.L44
	mov	r3, #88
	str	r3, [fp, #-20]
.L44:
	ldr	r3, [fp, #-36]
	and	r3, r3, #8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-36]
	and	r3, r3, #7
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-36]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L45
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L45:
	ldr	r3, [fp, #-36]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-32]
	asr	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L46:
	ldr	r3, [fp, #-36]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L47
	ldr	r3, [fp, #-32]
	asr	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L47:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L48
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	str	r3, [fp, #-28]
	b	.L49
.L48:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L49:
	ldr	r3, [fp, #-28]
	cmp	r3, #32768
	blt	.L50
	ldr	r3, .L53+12
	str	r3, [fp, #-28]
	b	.L51
.L50:
	ldr	r3, [fp, #-28]
	cmn	r3, #32768
	bge	.L51
	ldr	r3, .L53+16
	str	r3, [fp, #-28]
.L51:
	ldr	r2, .L53+4
	ldr	r3, [fp, #-20]
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r2, r3, #2
	str	r2, [fp, #-44]
	ldr	r2, [fp, #-28]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L52
	ldr	r2, .L53
	ldr	r3, [fp, #-28]
	str	r3, [r2]
	ldr	r2, .L53
	ldr	r3, [fp, #-20]
	str	r3, [r2, #8]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
.L39:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L54:
	.align	2
.L53:
	.word	state
	.word	stepsizeTable
	.word	indexTable
	.word	32767
	.word	-32768
	.size	adpcm_decode_mono, .-adpcm_decode_mono
	.align	2
	.global	adpcm_encode_stereo
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_encode_stereo, %function
adpcm_encode_stereo:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #52
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L56
	ldr	r3, [fp, #-48]
	cmp	r3, #3
	bgt	.L57
.L56:
	mov	r3, #0
	b	.L58
.L57:
	ldr	r3, [fp, #-48]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L59
.L80:
	ldr	r3, .L81
	ldr	r3, [r3, #8]
	ldr	r2, .L81+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	add	r2, r3, #2
	str	r2, [fp, #-40]
	ldrsh	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L81
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #28
	and	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L60
	ldr	r3, [fp, #-32]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
.L60:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-12]
	asr	r3, r3, #3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L61
	mov	r3, #4
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L61:
	ldr	r3, [fp, #-12]
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L62
	ldr	r3, [fp, #-36]
	orr	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L62:
	ldr	r3, [fp, #-12]
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L63
	ldr	r3, [fp, #-36]
	orr	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L63:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L81
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, .L81
	str	r3, [r2]
	b	.L65
.L64:
	ldr	r3, .L81
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, .L81
	str	r3, [r2]
.L65:
	ldr	r3, .L81
	ldr	r3, [r3]
	cmp	r3, #32768
	blt	.L66
	ldr	r3, .L81
	ldr	r2, .L81+8
	str	r2, [r3]
	b	.L67
.L66:
	ldr	r3, .L81
	ldr	r3, [r3]
	cmn	r3, #32768
	bge	.L67
	ldr	r3, .L81
	ldr	r2, .L81+12
	str	r2, [r3]
.L67:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, .L81
	ldr	r2, [r3, #8]
	ldr	r1, .L81+16
	ldr	r3, [fp, #-36]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	ldr	r2, .L81
	str	r3, [r2, #8]
	ldr	r3, .L81
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bge	.L68
	ldr	r3, .L81
	mov	r2, #0
	str	r2, [r3, #8]
.L68:
	ldr	r3, .L81
	ldr	r3, [r3, #8]
	cmp	r3, #88
	ble	.L69
	ldr	r3, .L81
	mov	r2, #88
	str	r2, [r3, #8]
.L69:
	ldr	r3, .L81
	ldr	r3, [r3, #8]
	ldr	r2, .L81+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #4
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, .L81
	ldr	r3, [r3, #12]
	ldr	r2, .L81+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-40]
	add	r2, r3, #2
	str	r2, [fp, #-40]
	ldrsh	r3, [r3]
	str	r3, [fp, #-20]
	ldr	r3, .L81
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-20]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #28
	and	r3, r3, #8
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L70
	ldr	r3, [fp, #-32]
	rsb	r3, r3, #0
	str	r3, [fp, #-32]
.L70:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-12]
	asr	r3, r3, #3
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L71
	mov	r3, #4
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L71:
	ldr	r3, [fp, #-12]
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L72
	ldr	r3, [fp, #-36]
	orr	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L72:
	ldr	r3, [fp, #-12]
	asr	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L73
	ldr	r3, [fp, #-36]
	orr	r3, r3, #1
	str	r3, [fp, #-36]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L73:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L81
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, .L81
	str	r3, [r2, #4]
	b	.L75
.L74:
	ldr	r3, .L81
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, .L81
	str	r3, [r2, #4]
.L75:
	ldr	r3, .L81
	ldr	r3, [r3, #4]
	cmp	r3, #32768
	blt	.L76
	ldr	r3, .L81
	ldr	r2, .L81+8
	str	r2, [r3, #4]
	b	.L77
.L76:
	ldr	r3, .L81
	ldr	r3, [r3, #4]
	cmn	r3, #32768
	bge	.L77
	ldr	r3, .L81
	ldr	r2, .L81+12
	str	r2, [r3, #4]
.L77:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-16]
	orr	r3, r2, r3
	str	r3, [fp, #-36]
	ldr	r3, .L81
	ldr	r2, [r3, #12]
	ldr	r1, .L81+16
	ldr	r3, [fp, #-36]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	ldr	r2, .L81
	str	r3, [r2, #12]
	ldr	r3, .L81
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bge	.L78
	ldr	r3, .L81
	mov	r2, #0
	str	r2, [r3, #12]
.L78:
	ldr	r3, .L81
	ldr	r3, [r3, #12]
	cmp	r3, #88
	ble	.L79
	ldr	r3, .L81
	mov	r2, #88
	str	r2, [r3, #12]
.L79:
	ldr	r3, .L81
	ldr	r3, [r3, #12]
	ldr	r2, .L81+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	and	r3, r3, #15
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #24
	asr	r3, r3, #24
	orr	r3, r2, r3
	lsl	r3, r3, #24
	asr	r2, r3, #24
	ldr	r3, [fp, #-44]
	add	r1, r3, #1
	str	r1, [fp, #-44]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L59:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L80
	ldr	r3, [fp, #-24]
.L58:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L82:
	.align	2
.L81:
	.word	state
	.word	stepsizeTable
	.word	32767
	.word	-32768
	.word	indexTable
	.size	adpcm_encode_stereo, .-adpcm_encode_stereo
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	adpcm_decode_stereo
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_decode_stereo, %function
adpcm_decode_stereo:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L109
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L84
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L84
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bgt	.L85
.L84:
	mov	r3, #0
	b	.L107
.L85:
	ldr	r3, .L109+4
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	ldr	r3, .L109+4
	ldr	r3, [r3, #4]
	str	r3, [fp, #-20]
	ldr	r3, .L109+4
	ldr	r3, [r3, #8]
	str	r3, [fp, #-16]
	ldr	r3, .L109+4
	ldr	r3, [r3, #12]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	ldr	r2, .L109+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-12]
	ldr	r2, .L109+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L87
.L106:
	ldr	r3, [fp, #-56]
	add	r2, r3, #1
	str	r2, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	asr	r3, r3, #4
	and	r3, r3, #15
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-16]
	ldr	r1, .L109+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L88
	mov	r3, #0
	str	r3, [fp, #-16]
.L88:
	ldr	r3, [fp, #-16]
	cmp	r3, #88
	ble	.L89
	mov	r3, #88
	str	r3, [fp, #-16]
.L89:
	ldr	r3, [fp, #-40]
	and	r3, r3, #8
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	and	r3, r3, #7
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-40]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L90
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L90:
	ldr	r3, [fp, #-40]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L91
	ldr	r3, [fp, #-32]
	asr	r3, r3, #1
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L91:
	ldr	r3, [fp, #-40]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L92
	ldr	r3, [fp, #-32]
	asr	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L92:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L93
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	b	.L94
.L93:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-24]
.L94:
	ldr	r3, [fp, #-24]
	cmp	r3, #32768
	blt	.L95
	ldr	r3, .L109+16
	str	r3, [fp, #-24]
	b	.L96
.L95:
	ldr	r3, [fp, #-24]
	cmn	r3, #32768
	bge	.L96
	ldr	r3, .L109+20
	str	r3, [fp, #-24]
.L96:
	ldr	r3, [fp, #-16]
	ldr	r2, .L109+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-60]
	add	r1, r3, #2
	str	r1, [fp, #-60]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-36]
	and	r3, r3, #15
	str	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	ldr	r1, .L109+12
	ldr	r3, [fp, #-40]
	ldr	r3, [r1, r3, lsl #2]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L97
	mov	r3, #0
	str	r3, [fp, #-12]
.L97:
	ldr	r3, [fp, #-12]
	cmp	r3, #88
	ble	.L98
	mov	r3, #88
	str	r3, [fp, #-12]
.L98:
	ldr	r3, [fp, #-40]
	and	r3, r3, #8
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	and	r3, r3, #7
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-28]
	asr	r3, r3, #3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-40]
	and	r3, r3, #4
	cmp	r3, #0
	beq	.L99
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L99:
	ldr	r3, [fp, #-40]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L100
	ldr	r3, [fp, #-28]
	asr	r3, r3, #1
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L100:
	ldr	r3, [fp, #-40]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L101
	ldr	r3, [fp, #-28]
	asr	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
.L101:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L102
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-52]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	b	.L103
.L102:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-20]
.L103:
	ldr	r3, [fp, #-20]
	cmp	r3, #32768
	blt	.L104
	ldr	r3, .L109+16
	str	r3, [fp, #-20]
	b	.L105
.L104:
	ldr	r3, [fp, #-20]
	cmn	r3, #32768
	bge	.L105
	ldr	r3, .L109+20
	str	r3, [fp, #-20]
.L105:
	ldr	r3, [fp, #-12]
	ldr	r2, .L109+8
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-60]
	add	r1, r3, #2
	str	r1, [fp, #-60]
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L87:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L106
	ldr	r3, [fp, #-24]
	ldr	r2, .L109+4
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	ldr	r2, .L109+4
	str	r3, [r2, #4]
	ldr	r3, [fp, #-16]
	ldr	r2, .L109+4
	str	r3, [r2, #8]
	ldr	r3, [fp, #-12]
	ldr	r2, .L109+4
	str	r3, [r2, #12]
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #2
.L107:
	ldr	r2, .L109
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L108
	bl	__stack_chk_fail
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC0
	.word	state
	.word	stepsizeTable
	.word	indexTable
	.word	32767
	.word	-32768
	.size	adpcm_decode_stereo, .-adpcm_decode_stereo
	.align	2
	.global	adpcm_encode
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_encode, %function
adpcm_encode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L112
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	adpcm_encode_stereo
	mov	r3, r0
	b	.L113
.L112:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	adpcm_encode_mono
	mov	r3, r0
.L113:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	adpcm_encode, .-adpcm_encode
	.align	2
	.global	adpcm_decode
	.syntax unified
	.arm
	.fpu softvfp
	.type	adpcm_decode, %function
adpcm_decode:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L115
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	adpcm_decode_stereo
	mov	r3, r0
	b	.L116
.L115:
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	adpcm_decode_mono
	mov	r3, r0
.L116:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	adpcm_decode, .-adpcm_decode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
