	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dpcm_decode_frame
_dpcm_decode_frame:                     ## @dpcm_decode_frame
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rcx), %ebx
	movq	16(%rdi), %r14
	movslq	(%rdi), %r12
	movl	%r12d, %eax
	decl	%eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	setne	%al
	movl	%ebx, %edx
	andb	%al, %dl
	movzbl	%dl, %eax
	subl	%eax, %ebx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	4(%rcx), %esi
	leaq	-60(%rbp), %rdi
	movl	%ebx, %edx
	callq	_bytestream2_init
	movq	8(%r13), %rax
	movl	(%rax), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	(%r13), %eax
	addl	%eax, %eax
	subl	%eax, %ebx
	testl	%ebx, %ebx
	jg	LBB0_8
	jmp	LBB0_7
LBB0_5:
	cmpl	$3, 4(%r13)
	setne	%cl
	shll	%cl, %ebx
	testl	%ebx, %ebx
	jg	LBB0_8
	jmp	LBB0_7
LBB0_2:
	addl	$-8, %ebx
LBB0_6:
	testl	%ebx, %ebx
	jle	LBB0_7
LBB0_8:
	movl	(%r13), %ecx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	je	LBB0_10
## %bb.9:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
	movl	(%r13), %ecx
LBB0_10:
	leal	(%rbx,%rcx), %eax
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, (%r15)
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_50
## %bb.11:
	movq	8(%r13), %rax
	movl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_49
## %bb.12:
	movq	8(%r15), %rax
	movq	(%rax), %r15
	movl	%ebx, %eax
	leaq	(%r15,%rax,4), %rsi
	leaq	LJTI0_1(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jmpq	*%rcx
LBB0_32:
	movabsq	$17179869188, %rax              ## imm = 0x400000004
	movq	%rax, -80(%rbp)
	cmpl	$0, (%r13)
	jle	LBB0_35
## %bb.33:
	xorl	%ebx, %ebx
	leaq	-60(%rbp), %r14
	.p2align	4, 0x90
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_le16u
	movl	%eax, %edi
	movl	$16, %esi
	callq	_sign_extend
	movl	%eax, -56(%rbp,%rbx,4)
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_34
LBB0_35:
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	jbe	LBB0_49
## %bb.36:
	leaq	-60(%rbp), %r13
	xorl	%r12d, %r12d
	jmp	LBB0_37
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_37 Depth=1
	movl	-80(%rbp,%r14,4), %ebx
	addl	%ecx, %ecx
	subl	%ecx, %ebx
LBB0_40:                                ##   in Loop: Header=BB0_37 Depth=1
	movl	%ebx, -80(%rbp,%r14,4)
	andl	$-4, %eax
	shll	$8, %eax
	movl	%eax, %edi
	movl	$16, %esi
	callq	_sign_extend
	testl	%ebx, %ebx
	movl	$0, %ecx
	cmovlel	%ecx, %ebx
	movl	%ebx, %ecx
	sarl	%cl, %eax
	movl	%ebx, -80(%rbp,%r14,4)
	addl	-56(%rbp,%r14,4), %eax
	movl	%eax, %edi
	callq	_av_clip_int16
	movl	%eax, -56(%rbp,%r14,4)
	movl	%eax, (%r15)
	addq	$4, %r15
	xorl	-64(%rbp), %r12d                ## 4-byte Folded Reload
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_49
LBB0_37:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	callq	_bytestream2_get_byteu
	movl	%eax, %ecx
	andl	$3, %ecx
	movslq	%r12d, %r14
	cmpl	$3, %ecx
	jne	LBB0_39
## %bb.38:                              ##   in Loop: Header=BB0_37 Depth=1
	movl	-80(%rbp,%r14,4), %ebx
	incl	%ebx
	jmp	LBB0_40
LBB0_3:
	subl	(%r13), %ebx
	addl	$-6, %ebx
	testl	%ebx, %ebx
	jg	LBB0_8
LBB0_7:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_50
LBB0_41:
	cmpl	$3, 4(%r13)
	jne	LBB0_45
## %bb.42:
	cmpq	%r15, %rsi
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jbe	LBB0_49
## %bb.43:
	xorl	%ebx, %ebx
	movq	_sol_table_16@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_44:                                ## =>This Inner Loop Header: Depth=1
	leaq	-60(%rbp), %rdi
	callq	_bytestream2_get_byteu
	movq	(%r13), %rcx
	movl	%eax, %edx
	andl	$127, %edx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, %edi
	negl	%edi
	testb	$-128, %al
	movq	8(%r14), %rax
	cmovel	%ecx, %edi
	movslq	%ebx, %rbx
	addl	(%rax,%rbx,4), %edi
	movl	%edi, (%rax,%rbx,4)
	callq	_av_clip_int16
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%eax, (%r15)
	addq	$4, %r15
	xorl	%r12d, %ebx
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_44
	jmp	LBB0_49
LBB0_16:
	cmpq	%r15, %rsi
	jbe	LBB0_49
## %bb.17:
	xorl	%ebx, %ebx
	leaq	-60(%rbp), %r12
	movabsq	$549755813888, %r13             ## imm = 0x8000000000
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_47:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	$0, (%rcx,%rbx,4)
	xorl	%edi, %edi
LBB0_48:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	(%r14), %rdx
	shlq	$32, %rax
	addq	%r13, %rax
	sarq	$30, %rax
	addl	(%rdx,%rax), %edi
	movl	%edi, (%rcx,%rbx,4)
	callq	_av_clip_int16
	movq	8(%r14), %rcx
	movl	%eax, (%rcx,%rbx,4)
	movl	%eax, (%r15)
	addq	$4, %r15
	xorl	-64(%rbp), %ebx                 ## 4-byte Folded Reload
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_49
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byteu
	movq	8(%r14), %rcx
	movslq	%ebx, %rbx
	testb	$1, %al
	je	LBB0_47
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	(%rcx,%rbx,4), %edi
	jmp	LBB0_48
LBB0_20:
	leaq	-60(%rbp), %rdi
	movl	$6, %esi
	callq	_bytestream2_skipu
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.21:
	leaq	-60(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_get_byteu
	shll	$8, %eax
	movl	%eax, %edi
	movl	$16, %esi
	callq	_sign_extend
	movl	%eax, -52(%rbp)
	movq	%rbx, %rdi
	callq	_bytestream2_get_byteu
	shll	$8, %eax
	jmp	LBB0_23
LBB0_26:
	leaq	-60(%rbp), %rdi
	movl	$6, %esi
	callq	_bytestream2_skipu
	cmpl	$0, (%r13)
	jle	LBB0_29
## %bb.27:
	xorl	%ebx, %ebx
	leaq	-60(%rbp), %r14
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_le16u
	movl	%eax, %edi
	movl	$16, %esi
	callq	_sign_extend
	movl	%eax, -56(%rbp,%rbx,4)
	movl	%eax, (%r15)
	addq	$4, %r15
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_28
LBB0_29:
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jae	LBB0_49
## %bb.30:
	xorl	%ebx, %ebx
	leaq	-60(%rbp), %r14
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	_interplay_delta_table@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r14, %rdi
	callq	_bytestream2_get_byteu
	movslq	%ebx, %rbx
	movl	-56(%rbp,%rbx,4), %edi
	addl	(%r13,%rax,4), %edi
	callq	_av_clip_int16
	movl	%eax, -56(%rbp,%rbx,4)
	movl	%eax, (%r15)
	addq	$4, %r15
	xorl	%r12d, %ebx
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_31
	jmp	LBB0_49
LBB0_13:
	cmpq	%r15, %rsi
	jbe	LBB0_49
## %bb.14:
	xorl	%ebx, %ebx
	leaq	-60(%rbp), %r12
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byteu
	movq	(%r14), %rcx
	movq	8(%r14), %rdx
	movslq	%ebx, %rbx
	movl	(%rdx,%rbx,4), %esi
	addl	(%rcx,%rax,4), %esi
	movl	%esi, (%rdx,%rbx,4)
	movl	%esi, (%r15)
	addq	$4, %r15
	xorl	$1, %ebx
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_15
	jmp	LBB0_49
LBB0_45:
	leaq	(%r15,%rax,8), %r13
	.p2align	4, 0x90
LBB0_46:                                ## =>This Inner Loop Header: Depth=1
	leaq	-60(%rbp), %rdi
	callq	_bytestream2_get_byteu
	movq	%rax, %rbx
	movq	8(%r14), %rax
	movq	16(%r14), %rcx
	movl	%ebx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	movl	(%rax), %edi
	addl	(%rcx,%rdx,4), %edi
	movl	%edi, (%rax)
	callq	_av_clip_uint8
	movq	8(%r14), %rcx
	movl	%eax, (%rcx)
	cltq
	movq	%rax, (%r15)
	movq	16(%r14), %rax
	andl	$15, %ebx
	movl	-4(%rcx,%r12,4), %edi
	addl	(%rax,%rbx,4), %edi
	movl	%edi, -4(%rcx,%r12,4)
	callq	_av_clip_uint8
	movq	8(%r14), %rcx
	movl	%eax, -4(%rcx,%r12,4)
	cltq
	movq	%rax, 8(%r15)
	addq	$16, %r15
	cmpq	%r13, %r15
	jb	LBB0_46
	jmp	LBB0_49
LBB0_22:
	leaq	-60(%rbp), %rdi
	callq	_bytestream2_get_le16u
                                        ## kill: def $eax killed $eax def $rax
LBB0_23:
	movl	%eax, %edi
	movl	$16, %esi
	callq	_sign_extend
	movl	%eax, -56(%rbp)
	cmpq	%r15, -72(%rbp)                 ## 8-byte Folded Reload
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jbe	LBB0_49
## %bb.24:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r13
	leaq	-60(%rbp), %rdi
	callq	_bytestream2_get_byteu
	movslq	%ebx, %rbx
	movl	-56(%rbp,%rbx,4), %edi
	addl	(%r13,%rax,4), %edi
	callq	_av_clip_int16
	movl	%eax, -56(%rbp,%rbx,4)
	movl	%eax, (%r15)
	addq	$4, %r15
	xorl	%r12d, %ebx
	cmpq	-72(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_25
LBB0_49:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
LBB0_50:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_52
## %bb.51:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_52:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_3
	.long	L0_0_set_6
.set L0_1_set_32, LBB0_32-LJTI0_1
.set L0_1_set_41, LBB0_41-LJTI0_1
.set L0_1_set_16, LBB0_16-LJTI0_1
.set L0_1_set_20, LBB0_20-LJTI0_1
.set L0_1_set_26, LBB0_26-LJTI0_1
.set L0_1_set_13, LBB0_13-LJTI0_1
LJTI0_1:
	.long	L0_1_set_32
	.long	L0_1_set_41
	.long	L0_1_set_16
	.long	L0_1_set_20
	.long	L0_1_set_26
	.long	L0_1_set_13
	.end_data_region
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"packet is too small\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"channels have differing number of samples\n"

	.comm	_interplay_delta_table,8,3      ## @interplay_delta_table
	.comm	_sol_table_16,8,3               ## @sol_table_16
	.no_dead_strip	_dpcm_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dpcm_decode_frame
_dpcm_decode_frame:                     ; @dpcm_decode_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x26, [x0, #16]
	ldrsw	x8, [x0]
	sub	x24, x8, #1
	cmp	w24, #0
	cset	w8, ne
	ldp	w9, w1, [x3]
	bic	w22, w9, w8
	add	x0, sp, #12
	mov	x2, x22
	bl	_bytestream2_init
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_21
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x21]
	sub	w22, w22, w8, lsl #1
	cmp	w22, #0
	b.gt	LBB0_6
	b	LBB0_21
LBB0_3:
	ldr	w8, [x21, #4]
	cmp	w8, #3
	cset	w8, ne
	lsl	w22, w22, w8
	cmp	w22, #0
	b.gt	LBB0_6
	b	LBB0_21
LBB0_4:
	sub	w22, w22, #8
LBB0_5:
	cmp	w22, #0
	b.le	LBB0_21
LBB0_6:
	ldr	w8, [x21]
	sdiv	w9, w22, w8
	msub	w9, w9, w8, w22
	cbz	w9, LBB0_8
; %bb.7:
Lloh5:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_av_log
	ldr	w8, [x21]
LBB0_8:
	add	w9, w22, w8
	sub	w9, w9, #1
	sdiv	w8, w9, w8
	str	w8, [x23]
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_50
; %bb.9:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_49
; %bb.10:
	ldr	x9, [x23, #8]
	ldr	x23, [x9]
	add	x25, x23, w22, uxtw #2
Lloh10:
	adrp	x9, lJTI0_1@PAGE
Lloh11:
	add	x9, x9, lJTI0_1@PAGEOFF
	adr	x10, LBB0_11
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_11:
	mov	x8, #17179869188
	str	x8, [sp]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.12:
	mov	x22, #0
	add	x26, sp, #16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_le16u
	mov	w1, #16
	bl	_sign_extend
	str	w0, [x26, x22, lsl #2]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_13
LBB0_14:
	cmp	x25, x23
	b.ls	LBB0_49
; %bb.15:
	mov	w21, #0
	mov	x22, sp
	add	x26, sp, #16
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=1
	mov	x9, x21
	sxtw	x27, w9
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x22, x9]
	sub	w28, w10, w8, lsl #1
	str	w28, [x22, x9]
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	lsl	w8, w0, #8
	and	w0, w8, #0xfffffc00
	mov	w1, #16
	bl	_sign_extend
	lsl	x27, x27, #2
	cmp	w28, #0
	csel	w8, w28, wzr, gt
	str	w8, [x22, x27]
	asr	w8, w0, w8
	ldr	w9, [x26, x27]
	add	w0, w9, w8
	bl	_av_clip_int16
	str	w0, [x26, x27]
	str	w0, [x23], #4
	eor	w21, w21, w24
	cmp	x23, x25
	b.hs	LBB0_49
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	and	w8, w0, #0x3
	cmp	w8, #3
	b.ne	LBB0_16
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	sxtw	x27, w21
	sbfiz	x8, x21, #2, #32
	ldr	w9, [x22, x8]
	add	w28, w9, #1
	str	w28, [x22, x8]
	b	LBB0_17
LBB0_20:
	ldr	w8, [x21]
	sub	w8, w22, w8
	sub	w22, w8, #6
	cmp	w22, #0
	b.gt	LBB0_6
LBB0_21:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_50
LBB0_22:
	ldr	w8, [x21, #4]
	cmp	w8, #3
	b.ne	LBB0_43
; %bb.23:
	cmp	x25, x23
	b.ls	LBB0_49
; %bb.24:
	mov	w21, #0
Lloh20:
	adrp	x22, _sol_table_16@GOTPAGE
Lloh21:
	ldr	x22, [x22, _sol_table_16@GOTPAGEOFF]
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	ldr	x8, [x22]
	and	x9, x0, #0x7f
	ldr	w8, [x8, x9, lsl #2]
	ldr	x9, [x26, #8]
	sbfiz	x27, x21, #2, #32
	ldr	w10, [x9, x27]
	tst	x0, #0x80
	cneg	w8, w8, ne
	add	w0, w10, w8
	str	w0, [x9, x27]
	bl	_av_clip_int16
	ldr	x8, [x26, #8]
	str	w0, [x8, x27]
	str	w0, [x23], #4
	eor	w21, w21, w24
	cmp	x23, x25
	b.lo	LBB0_25
	b	LBB0_49
LBB0_26:
	cmp	x25, x23
	b.ls	LBB0_49
; %bb.27:
	mov	w22, #0
	mov	x21, #549755813888
	b	LBB0_30
LBB0_28:                                ;   in Loop: Header=BB0_30 Depth=1
	mov	w9, #0
	str	wzr, [x8, x22, lsl #2]
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=1
	ldr	x10, [x26]
	add	x11, x21, x0, lsl #32
	asr	x11, x11, #30
	ldr	w10, [x10, x11]
	add	w0, w9, w10
	lsl	x27, x22, #2
	str	w0, [x8, x27]
	bl	_av_clip_int16
	ldr	x8, [x26, #8]
	str	w0, [x8, x27]
	str	w0, [x23], #4
	eor	w22, w22, w24
	cmp	x23, x25
	b.hs	LBB0_49
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	ldr	x8, [x26, #8]
	sxtw	x22, w22
	tbz	w0, #0, LBB0_28
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	w9, [x8, x22, lsl #2]
	b	LBB0_29
LBB0_32:
	add	x0, sp, #12
	mov	w1, #6
	bl	_bytestream2_skipu
	add	x0, sp, #12
	cbz	w24, LBB0_45
; %bb.33:
	bl	_bytestream2_get_byteu
	lsl	w0, w0, #8
	mov	w1, #16
	bl	_sign_extend
	str	w0, [sp, #20]
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	lsl	w0, w0, #8
	b	LBB0_46
LBB0_34:
	add	x0, sp, #12
	mov	w1, #6
	bl	_bytestream2_skipu
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_37
; %bb.35:
	mov	x22, #0
	add	x26, sp, #16
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_le16u
	mov	w1, #16
	bl	_sign_extend
	str	w0, [x26, x22, lsl #2]
	str	w0, [x23], #4
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_36
LBB0_37:
	cmp	x23, x25
	b.hs	LBB0_49
; %bb.38:
	mov	w21, #0
Lloh22:
	adrp	x22, _interplay_delta_table@GOTPAGE
Lloh23:
	ldr	x22, [x22, _interplay_delta_table@GOTPAGEOFF]
	add	x26, sp, #16
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x22]
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	ldr	w8, [x27, x0, lsl #2]
	sbfiz	x27, x21, #2, #32
	ldr	w9, [x26, x27]
	add	w0, w9, w8
	bl	_av_clip_int16
	str	w0, [x26, x27]
	str	w0, [x23], #4
	eor	w21, w21, w24
	cmp	x23, x25
	b.lo	LBB0_39
	b	LBB0_49
LBB0_40:
	cmp	x25, x23
	b.ls	LBB0_49
; %bb.41:
	mov	w21, #0
LBB0_42:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	ldp	x8, x9, [x26]
	ldr	w8, [x8, x0, lsl #2]
	sbfiz	x10, x21, #2, #32
	ldr	w11, [x9, x10]
	add	w8, w11, w8
	str	w8, [x9, x10]
	str	w8, [x23], #4
	eor	w21, w21, #0x1
	cmp	x23, x25
	b.lo	LBB0_42
	b	LBB0_49
LBB0_43:
	mov	w8, w22
	add	x22, x23, x8, lsl #3
	lsl	x24, x24, #2
LBB0_44:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	mov	x21, x0
	asr	w8, w21, #4
	ldp	x10, x9, [x26, #8]
	ldr	w8, [x9, w8, sxtw #2]
	ldr	w9, [x10]
	add	w0, w9, w8
	str	w0, [x10]
	bl	_av_clip_uint8
	ldr	x8, [x26, #8]
	str	w0, [x8]
	sxtw	x9, w0
	str	x9, [x23]
	ldr	x9, [x26, #16]
	and	x10, x21, #0xf
	ldr	w9, [x9, x10, lsl #2]
	ldr	w10, [x8, x24]
	add	w0, w10, w9
	str	w0, [x8, x24]
	bl	_av_clip_uint8
	ldr	x8, [x26, #8]
	str	w0, [x8, x24]
	sxtw	x8, w0
	str	x8, [x23, #8]
	add	x23, x23, #16
	cmp	x23, x22
	b.lo	LBB0_44
	b	LBB0_49
LBB0_45:
	bl	_bytestream2_get_le16u
LBB0_46:
	mov	w1, #16
	bl	_sign_extend
	str	w0, [sp, #16]
	cmp	x25, x23
	b.ls	LBB0_49
; %bb.47:
	mov	w21, #0
	add	x22, sp, #16
LBB0_48:                                ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x26]
	add	x0, sp, #12
	bl	_bytestream2_get_byteu
	ldr	w8, [x27, x0, lsl #2]
	sbfiz	x27, x21, #2, #32
	ldr	w9, [x22, x27]
	add	w0, w9, w8
	bl	_av_clip_int16
	str	w0, [x22, x27]
	str	w0, [x23], #4
	eor	w21, w21, w24
	cmp	x23, x25
	b.lo	LBB0_48
LBB0_49:
	mov	w8, #1
	str	w8, [x20]
	ldr	w0, [x19]
LBB0_50:
	ldr	x8, [sp, #24]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.51:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
lJTI0_1:
	.byte	(LBB0_11-LBB0_11)>>2
	.byte	(LBB0_22-LBB0_11)>>2
	.byte	(LBB0_26-LBB0_11)>>2
	.byte	(LBB0_32-LBB0_11)>>2
	.byte	(LBB0_34-LBB0_11)>>2
	.byte	(LBB0_40-LBB0_11)>>2
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"packet is too small\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"channels have differing number of samples\n"

	.comm	_interplay_delta_table,8,3      ; @interplay_delta_table
	.comm	_sol_table_16,8,3               ; @sol_table_16
	.no_dead_strip	_dpcm_decode_frame
.subsections_via_symbols
