	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_cinepak
_decode_cinepak:                        ## @decode_cinepak
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -96(%rbp)                 ## 4-byte Spill
	movl	%r8d, -128(%rbp)                ## 4-byte Spill
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movl	%edx, -124(%rbp)                ## 4-byte Spill
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movl	24(%rbp), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %r12d
	movq	_in_buffer@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, %rbx
	shlq	$16, %rbx
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, %r15
	shlq	$8, %r15
	orq	%rbx, %r15
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, %r14
	orq	%rax, %r15
	cmpl	$32, %r12d
	je	LBB0_7
## %bb.1:
	cmpl	$16, %r12d
	je	LBB0_6
## %bb.2:
	cmpl	$15, %r12d
	jne	LBB0_3
## %bb.4:
	movq	_cvid_v4_15@GOTPCREL(%rip), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_cvid_v1_15@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_7:
	movq	_cvid_v4_32@GOTPCREL(%rip), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_cvid_v1_32@GOTPCREL(%rip), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$4, %eax
	jmp	LBB0_8
LBB0_6:
	movq	_cvid_v4_16@GOTPCREL(%rip), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_cvid_v1_16@GOTPCREL(%rip), %rax
LBB0_5:
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$2, %eax
	jmp	LBB0_8
LBB0_3:
	movq	_cvid_v4_24@GOTPCREL(%rip), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_cvid_v1_24@GOTPCREL(%rip), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$3, %eax
LBB0_8:
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	leal	(,%rax,8), %esi
	movl	-128(%rbp), %edi                ## 4-byte Reload
	callq	_get_stride
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movslq	-124(%rbp), %rax                ## 4-byte Folded Reload
	cmpq	%rax, %r15
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	je	LBB0_11
## %bb.9:
	andl	$1, %r14d
	addq	%r14, %r15
	movq	%rax, %rcx
	cmpq	%rax, %r15
	je	LBB0_12
## %bb.10:
	leaq	L_.str(%rip), %rdi
	movl	-124(%rbp), %esi                ## 4-byte Reload
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_ERR
LBB0_11:
	movq	%r15, %rcx
LBB0_12:
	movq	%rcx, -208(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_get_word
	movzwl	%ax, %r12d
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	movl	(%rcx), %ebx
	cmpl	%ebx, %r12d
	jbe	LBB0_22
## %bb.13:
	movzwl	%ax, %eax
	movq	_MAX_STRIPS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jae	LBB0_15
## %bb.14:
	movl	%r12d, %r13d
	movq	-176(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	$1040, %edi                     ## imm = 0x410
	callq	_heap_alloc
	movq	16(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	$1040, %edi                     ## imm = 0x410
	callq	_heap_alloc
	movq	8(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	testq	%rax, %rax
	je	LBB0_21
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_17
LBB0_22:
	movq	-176(%rbp), %rax                ## 8-byte Reload
	movl	%r12d, (%rax)
	movzwl	-48(%rbp), %esi                 ## 2-byte Folded Reload
	movzwl	%r15w, %edx
	leaq	L_.str.4(%rip), %rdi
	movl	%r12d, %ecx
	movq	-208(%rbp), %r8                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_TRACE
	testl	%r12d, %r12d
	je	LBB0_108
## %bb.23:
	movl	-128(%rbp), %eax                ## 4-byte Reload
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movq	-192(%rbp), %rax                ## 8-byte Reload
	andl	$1, %eax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_107:                               ##   in Loop: Header=BB0_24 Depth=1
	incq	%rdx
	cmpq	-224(%rbp), %rdx                ## 8-byte Folded Reload
	je	LBB0_108
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
                                        ##       Child Loop BB0_99 Depth 3
                                        ##       Child Loop BB0_38 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
                                        ##         Child Loop BB0_84 Depth 4
                                        ##       Child Loop BB0_43 Depth 3
                                        ##       Child Loop BB0_73 Depth 3
                                        ##         Child Loop BB0_76 Depth 4
                                        ##       Child Loop BB0_72 Depth 3
                                        ##       Child Loop BB0_60 Depth 3
                                        ##         Child Loop BB0_61 Depth 4
                                        ##       Child Loop BB0_50 Depth 3
                                        ##       Child Loop BB0_54 Depth 3
                                        ##         Child Loop BB0_55 Depth 4
                                        ##       Child Loop BB0_47 Depth 3
                                        ##       Child Loop BB0_104 Depth 3
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	-176(%rbp), %rbx                ## 8-byte Reload
	movq	8(%rbx), %rcx
	movq	16(%rbx), %rax
	movq	(%rax,%rdx,8), %rsi
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	(%rcx,%rdx,8), %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	testq	%rdx, %rdx
	je	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	cmpq	$0, -192(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	$2147483648, %ecx               ## imm = 0x80000000
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	leal	(%rcx,%r12), %r15d
	addl	$2147483647, %r15d              ## imm = 0x7FFFFFFF
	movq	(%rax,%r15,8), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	$1040, %edx                     ## imm = 0x410
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %rdi
	movq	(%rax,%r15,8), %rsi
	movl	$1040, %edx                     ## imm = 0x410
	callq	_memcpy
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, %r12
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	addq	%rbx, %r13
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	addq	$-12, %r15
	cmpq	-184(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	L_.str.5(%rip), %rdi
	movl	%r12d, %esi
	movl	-128(%rbp), %edx                ## 4-byte Reload
	xorl	%eax, %eax
	callq	_WARN
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=1
	subq	$8, %rsp
	leaq	L_.str.6(%rip), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movq	%r15, %rcx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	movq	-88(%rbp), %r9                  ## 8-byte Reload
	xorl	%eax, %eax
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	pushq	%r13
	pushq	%rbx
	pushq	%r12
	callq	_TRACE
	addq	$32, %rsp
	cmpq	$13, -48(%rbp)                  ## 8-byte Folded Reload
	jl	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=1
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_105:                               ##   in Loop: Header=BB0_32 Depth=2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_106:                               ##   in Loop: Header=BB0_32 Depth=2
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	jle	LBB0_107
LBB0_32:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_99 Depth 3
                                        ##       Child Loop BB0_38 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
                                        ##         Child Loop BB0_84 Depth 4
                                        ##       Child Loop BB0_43 Depth 3
                                        ##       Child Loop BB0_73 Depth 3
                                        ##         Child Loop BB0_76 Depth 4
                                        ##       Child Loop BB0_72 Depth 3
                                        ##       Child Loop BB0_60 Depth 3
                                        ##         Child Loop BB0_61 Depth 4
                                        ##       Child Loop BB0_50 Depth 3
                                        ##       Child Loop BB0_54 Depth 3
                                        ##         Child Loop BB0_55 Depth 4
                                        ##       Child Loop BB0_47 Depth 3
                                        ##       Child Loop BB0_104 Depth 3
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_get_word
	movq	%rax, %rbx
	leaq	L_.str.7(%rip), %rdi
	movq	%r13, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_TRACE
	subq	%rbx, %r15
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	-8192(%r13), %rax
	rolq	$56, %rax
	cmpq	$18, %rax
	ja	LBB0_102
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	leaq	-4(%rbx), %r15
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_45:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$8704, %r13                     ## imm = 0x2200
	movq	%r15, %rax
	movq	-112(%rbp), %r15                ## 8-byte Reload
	cmoveq	-120(%rbp), %r15                ## 8-byte Folded Reload
	movabsq	$3074457345618258603, %rcx      ## imm = 0x2AAAAAAAAAAAAAAB
	imulq	%rcx
	incq	%rbx
	cmpq	$11, %rbx
	jb	LBB0_105
## %bb.46:                              ##   in Loop: Header=BB0_32 Depth=2
	movq	%rdx, %r12
	shrq	$63, %r12
	addq	%rdx, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	(%r15,%rbx,4), %rdi
	xorl	%esi, %esi
	callq	_read_codebook
	incl	%ebx
	cmpq	%rbx, %r12
	ja	LBB0_47
	jmp	LBB0_65
LBB0_51:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$8960, %r13                     ## imm = 0x2300
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmoveq	-120(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpq	$5, %rbx
	jl	LBB0_105
## %bb.52:                              ##   in Loop: Header=BB0_32 Depth=2
	xorl	%r13d, %r13d
	jmp	LBB0_54
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_54 Depth=3
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	subq	%r15, %r13
	movq	%r12, %r15
	testq	%r12, %r12
	jle	LBB0_65
LBB0_54:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_55 Depth 4
	xorl	%eax, %eax
	callq	_get_long
	movq	%rax, %rbx
	addq	$-4, %r15
	movq	%r15, %r12
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r13,4), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_57:                                ##   in Loop: Header=BB0_55 Depth=4
	addq	%rbx, %rbx
	addq	$4, %r13
	decq	%r15
	cmpl	$-32, %r15d
	je	LBB0_53
LBB0_55:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ##       Parent Loop BB0_54 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	testl	$-2147483648, %ebx              ## imm = 0x80000000
	je	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_55 Depth=4
	addq	$-6, %r12
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_read_codebook
	jmp	LBB0_57
LBB0_48:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$9728, %r13                     ## imm = 0x2600
	movq	%r15, %rax
	movq	-112(%rbp), %r15                ## 8-byte Reload
	cmoveq	-120(%rbp), %r15                ## 8-byte Folded Reload
	leaq	3(%rax), %r12
	testq	%rax, %rax
	cmovnsq	%rax, %r12
	decq	%rbx
	cmpq	$7, %rbx
	jb	LBB0_65
## %bb.49:                              ##   in Loop: Header=BB0_32 Depth=2
	sarq	$2, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	(%r15,%rbx,4), %rdi
	movl	$1, %esi
	callq	_read_codebook
	incl	%ebx
	cmpq	%rbx, %r12
	ja	LBB0_50
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_32 Depth=2
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_106
LBB0_58:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$9984, %r13                     ## imm = 0x2700
	movq	-112(%rbp), %rax                ## 8-byte Reload
	cmoveq	-120(%rbp), %rax                ## 8-byte Folded Reload
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpq	$5, %rbx
	jl	LBB0_105
## %bb.59:                              ##   in Loop: Header=BB0_32 Depth=2
	xorl	%r13d, %r13d
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_60 Depth=3
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	subq	%r15, %r13
	movq	%r12, %r15
	testq	%r12, %r12
	jle	LBB0_65
LBB0_60:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_61 Depth 4
	xorl	%eax, %eax
	callq	_get_long
	movq	%rax, %rbx
	addq	$-4, %r15
	movq	%r15, %r12
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	leaq	(%rax,%r13,4), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_61
	.p2align	4, 0x90
LBB0_63:                                ##   in Loop: Header=BB0_61 Depth=4
	addq	%rbx, %rbx
	addq	$4, %r13
	decq	%r15
	cmpl	$-32, %r15d
	je	LBB0_64
LBB0_61:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ##       Parent Loop BB0_60 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	testl	$-2147483648, %ebx              ## imm = 0x80000000
	je	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_61 Depth=4
	addq	$-4, %r12
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_read_codebook
	jmp	LBB0_63
LBB0_102:                               ##   in Loop: Header=BB0_32 Depth=2
	leaq	L_.str.8(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_ERR
	cmpq	$5, %rbx
	jl	LBB0_105
## %bb.103:                             ##   in Loop: Header=BB0_32 Depth=2
	addq	$-3, %rbx
	.p2align	4, 0x90
LBB0_104:                               ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_skip_byte
	decq	%rbx
	cmpq	$1, %rbx
	jg	LBB0_104
	jmp	LBB0_105
LBB0_44:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$5, %rbx
	jl	LBB0_70
	.p2align	4, 0x90
## %bb.69:                              ##   in Loop: Header=BB0_32 Depth=2
	cmpq	%r12, %r14
	jae	LBB0_70
LBB0_73:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_76 Depth 4
	xorl	%eax, %eax
	callq	_get_long
	addq	$-4, %r15
	cmpq	%r12, %r14
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jae	LBB0_74
## %bb.75:                              ##   in Loop: Header=BB0_73 Depth=3
	xorl	%r15d, %r15d
	movq	%r14, %r12
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_76:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ##       Parent Loop BB0_73 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_77
## %bb.78:                              ##   in Loop: Header=BB0_76 Depth=4
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movq	-160(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	callq	_get_addr
	movl	%eax, %ebx
	movq	-168(%rbp), %r14                ## 8-byte Reload
	addq	%r14, %rbx
	xorl	%eax, %eax
	callq	_get_byte
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	*-136(%rbp)                     ## 8-byte Folded Reload
	decq	-88(%rbp)                       ## 8-byte Folded Spill
	jmp	LBB0_79
	.p2align	4, 0x90
LBB0_77:                                ##   in Loop: Header=BB0_76 Depth=4
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, %rbx
	addq	$-4, -88(%rbp)                  ## 8-byte Folded Spill
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	-92(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %ecx
	movq	-160(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	callq	_get_addr
	movl	%eax, %edi
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	addq	%rsi, %rdi
	movslq	-104(%rbp), %rax                ## 4-byte Folded Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %r8
	movslq	-152(%rbp), %rax                ## 4-byte Folded Reload
	leaq	(%rdx,%rax,4), %r9
	movslq	-200(%rbp), %rax                ## 4-byte Folded Reload
	leaq	(%rdx,%rax,4), %rax
	movslq	%ebx, %rcx
	leaq	(%rdx,%rcx,4), %rbx
	movl	%r14d, %edx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	*-144(%rbp)                     ## 8-byte Folded Reload
	addq	$16, %rsp
LBB0_79:                                ##   in Loop: Header=BB0_76 Depth=4
	addq	$4, %r13
	leaq	4(%r12), %r14
	cmpq	-184(%rbp), %r13                ## 8-byte Folded Reload
	cmovbq	%r12, %r14
	movl	$0, %eax
	cmovaeq	%rax, %r13
	cmpl	$30, %r15d
	ja	LBB0_66
## %bb.80:                              ##   in Loop: Header=BB0_76 Depth=4
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %rax
	incl	%r15d
	movq	%r14, %r12
	cmpq	-80(%rbp), %r14                 ## 8-byte Folded Reload
	jb	LBB0_76
	jmp	LBB0_66
	.p2align	4, 0x90
LBB0_74:                                ##   in Loop: Header=BB0_73 Depth=3
	movq	-48(%rbp), %r13                 ## 8-byte Reload
LBB0_66:                                ##   in Loop: Header=BB0_73 Depth=3
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	testq	%r15, %r15
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_67
## %bb.68:                              ##   in Loop: Header=BB0_73 Depth=3
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	cmpq	%r12, %r14
	jb	LBB0_73
LBB0_70:                                ##   in Loop: Header=BB0_32 Depth=2
	testq	%r15, %r15
	jg	LBB0_71
	jmp	LBB0_105
LBB0_39:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$5, %rbx
	jge	LBB0_40
LBB0_41:                                ##   in Loop: Header=BB0_32 Depth=2
	testq	%r15, %r15
	jle	LBB0_105
## %bb.42:                              ##   in Loop: Header=BB0_32 Depth=2
	incq	%r15
	.p2align	4, 0x90
LBB0_43:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_skip_byte
	decq	%r15
	cmpq	$1, %r15
	ja	LBB0_43
	jmp	LBB0_105
	.p2align	4, 0x90
LBB0_82:                                ##   in Loop: Header=BB0_40 Depth=3
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_97:                                ##   in Loop: Header=BB0_40 Depth=3
	testq	%r15, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_41
LBB0_40:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_84 Depth 4
	cmpq	%r12, %r14
	jae	LBB0_41
## %bb.81:                              ##   in Loop: Header=BB0_40 Depth=3
	xorl	%eax, %eax
	callq	_get_long
	addq	$-4, %r15
	cmpq	%r12, %r14
	jae	LBB0_82
## %bb.83:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	$2147483648, %ebx               ## imm = 0x80000000
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_84:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ##       Parent Loop BB0_40 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	testq	%rbx, %rax
	je	LBB0_85
## %bb.86:                              ##   in Loop: Header=BB0_84 Depth=4
	cmpq	$1, %rbx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_89
## %bb.87:                              ##   in Loop: Header=BB0_84 Depth=4
	testq	%r15, %r15
	js	LBB0_105
## %bb.88:                              ##   in Loop: Header=BB0_84 Depth=4
	xorl	%eax, %eax
	movq	%rsi, %rbx
	callq	_get_long
	movq	%rbx, %rsi
	addq	$-4, %r15
	movl	$2147483648, %ebx               ## imm = 0x80000000
	jmp	LBB0_90
	.p2align	4, 0x90
LBB0_85:                                ##   in Loop: Header=BB0_84 Depth=4
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_94
	.p2align	4, 0x90
LBB0_89:                                ##   in Loop: Header=BB0_84 Depth=4
	shrq	%rbx
LBB0_90:                                ##   in Loop: Header=BB0_84 Depth=4
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	testq	%rbx, %rax
	je	LBB0_92
## %bb.91:                              ##   in Loop: Header=BB0_84 Depth=4
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, %r12
	addq	$-4, %r15
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	-68(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movl	-92(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movq	-160(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	callq	_get_addr
	movl	%eax, %edi
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	addq	%rsi, %rdi
	movslq	-152(%rbp), %rax                ## 4-byte Folded Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rax,4), %r8
	movslq	-200(%rbp), %rax                ## 4-byte Folded Reload
	leaq	(%rdx,%rax,4), %r9
	movslq	-232(%rbp), %rax                ## 4-byte Folded Reload
	leaq	(%rdx,%rax,4), %r10
	movslq	%r12d, %rcx
	leaq	(%rdx,%rcx,4), %rax
	movl	%r13d, %edx
	movl	%r15d, %ecx
	pushq	%rax
	pushq	%r10
	callq	*-144(%rbp)                     ## 8-byte Folded Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$16, %rsp
	jmp	LBB0_93
	.p2align	4, 0x90
LBB0_92:                                ##   in Loop: Header=BB0_84 Depth=4
	decq	%r15
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rdx
	movl	-92(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %ecx
	movq	-160(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	callq	_get_addr
	movl	%eax, %r15d
	movq	-168(%rbp), %r12                ## 8-byte Reload
	addq	%r12, %r15
	xorl	%eax, %eax
	callq	_get_byte
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r8
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	callq	*-136(%rbp)                     ## 8-byte Folded Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_93:                                ##   in Loop: Header=BB0_84 Depth=4
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_94:                                ##   in Loop: Header=BB0_84 Depth=4
	addq	$4, %rsi
	leaq	4(%r14), %rax
	cmpq	-184(%rbp), %rsi                ## 8-byte Folded Reload
	cmovaeq	%rax, %r14
	movl	$0, %eax
	cmovaeq	%rax, %rsi
	cmpq	$2, %rbx
	jb	LBB0_95
## %bb.96:                              ##   in Loop: Header=BB0_84 Depth=4
	shrq	%rbx
	cmpq	%r12, %r14
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	movq	-104(%rbp), %rax                ## 8-byte Reload
	jb	LBB0_84
	jmp	LBB0_97
LBB0_95:                                ##   in Loop: Header=BB0_40 Depth=3
	movq	-88(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_97
LBB0_34:                                ##   in Loop: Header=BB0_32 Depth=2
	cmpq	$5, %rbx
	jl	LBB0_35
## %bb.98:                              ##   in Loop: Header=BB0_32 Depth=2
	cmpq	%r12, %r14
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jae	LBB0_36
	.p2align	4, 0x90
LBB0_99:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r14, %r15
	movl	-68(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	movq	%r14, %rdx
	movl	-92(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movq	-160(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	callq	_get_addr
	movl	%eax, %ebx
	movq	-168(%rbp), %r14                ## 8-byte Reload
	addq	%r14, %rbx
	xorl	%eax, %eax
	callq	_get_byte
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax,4), %r8
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	callq	*-136(%rbp)                     ## 8-byte Folded Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$4, %rsi
	leaq	4(%r15), %r14
	cmpq	-184(%rbp), %rsi                ## 8-byte Folded Reload
	cmovbq	%r15, %r14
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	-1(%rcx), %r15
	movl	$0, %eax
	cmovaeq	%rax, %rsi
	cmpq	$2, %rcx
	jl	LBB0_100
## %bb.101:                             ##   in Loop: Header=BB0_99 Depth=3
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	cmpq	%r12, %r14
	jb	LBB0_99
	jmp	LBB0_36
LBB0_67:                                ##   in Loop: Header=BB0_32 Depth=2
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	testq	%r15, %r15
	jle	LBB0_105
LBB0_71:                                ##   in Loop: Header=BB0_32 Depth=2
	incq	%r15
	.p2align	4, 0x90
LBB0_72:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_skip_byte
	decq	%r15
	cmpq	$1, %r15
	ja	LBB0_72
	jmp	LBB0_105
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=2
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_36
LBB0_100:                               ##   in Loop: Header=BB0_32 Depth=2
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_36:                                ##   in Loop: Header=BB0_32 Depth=2
	testq	%r15, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_105
## %bb.37:                              ##   in Loop: Header=BB0_32 Depth=2
	incq	%r15
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_32 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	xorl	%eax, %eax
	callq	_skip_byte
	decq	%r15
	cmpq	$1, %r15
	ja	LBB0_38
	jmp	LBB0_105
LBB0_108:
	movq	-216(%rbp), %rax                ## 8-byte Reload
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	cmpq	%rax, %rcx
	je	LBB0_110
## %bb.109:
	movl	%ecx, %ebx
	andl	$1, %ebx
	addq	%rcx, %rbx
	cmpq	%rax, %rbx
	jne	LBB0_111
LBB0_110:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
LBB0_111:
	xorl	%eax, %eax
	callq	_skip_byte
	xorl	%eax, %eax
	callq	_get_byte
	movq	%rax, %r14
	shlq	$16, %r14
	xorl	%eax, %eax
	callq	_get_byte
	shlq	$8, %rax
	orq	%rax, %r14
	xorl	%eax, %eax
	callq	_get_byte
	orq	%rax, %r14
	leaq	L_.str.9(%rip), %rdi
	movl	-124(%rbp), %esi                ## 4-byte Reload
	movl	%ebx, %edx
	movq	%r14, %rcx
	xorl	%eax, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN                           ## TAILCALL
LBB0_18:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_19
LBB0_21:
	leaq	L_.str.3(%rip), %rdi
LBB0_19:
	xorl	%eax, %eax
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR                            ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_45, LBB0_45-LJTI0_0
.set L0_0_set_51, LBB0_51-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_58, LBB0_58-LJTI0_0
.set L0_0_set_102, LBB0_102-LJTI0_0
.set L0_0_set_44, LBB0_44-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
LJTI0_0:
	.long	L0_0_set_45
	.long	L0_0_set_51
	.long	L0_0_set_45
	.long	L0_0_set_51
	.long	L0_0_set_48
	.long	L0_0_set_58
	.long	L0_0_set_48
	.long	L0_0_set_58
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_102
	.long	L0_0_set_44
	.long	L0_0_set_39
	.long	L0_0_set_34
	.end_data_region
                                        ## -- End function
	.comm	_in_buffer,8,3                  ## @in_buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CVID: corruption %d (QT/AVI) != %ld (CV)\n"

	.comm	_MAX_STRIPS,8,3                 ## @MAX_STRIPS
L_.str.1:                               ## @.str.1
	.asciz	"CVID: strip overflow (more than %d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"CVID: codebook v4 alloc err\n"

L_.str.3:                               ## @.str.3
	.asciz	"CVID: codebook v1 alloc err\n"

L_.str.4:                               ## @.str.4
	.asciz	"CVID: %ux%u, strips %u, length %lu\n"

L_.str.5:                               ## @.str.5
	.asciz	"CVID: Warning x1 (%ld) != width (%d)\n"

L_.str.6:                               ## @.str.6
	.asciz	"   %d) %04lx %04ld <%ld,%ld> <%ld,%ld> yt %ld\n"

L_.str.7:                               ## @.str.7
	.asciz	"        %04lx %04ld\n"

L_.str.8:                               ## @.str.8
	.asciz	"CVID: unknown chunk_id %08lx\n"

L_.str.9:                               ## @.str.9
	.asciz	"CVID: END INFO chunk size %d cvid size1 %ld cvid size2 %ld\n"

	.no_dead_strip	_decode_cinepak
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_cinepak
_decode_cinepak:                        ; @decode_cinepak
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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
	stp	w5, w7, [x29, #-104]            ; 8-byte Folded Spill
	mov	x24, x6
	mov	x23, x4
	stur	x3, [x29, #-112]                ; 8-byte Folded Spill
	mov	x21, x2
	mov	x25, x0
Lloh0:
	adrp	x8, _in_buffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _in_buffer@GOTPAGEOFF]
Lloh2:
	str	x1, [x8]
	bl	_get_byte
	mov	x22, x0
	bl	_get_byte
	mov	x19, x0
	bl	_get_byte
	lsl	x8, x0, #8
	orr	x20, x8, x19, lsl #16
	bl	_get_byte
	mov	x19, x0
Lloh3:
	adrp	x8, _cvid_v4_24@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cvid_v4_24@GOTPAGEOFF]
Lloh5:
	adrp	x9, _cvid_v1_24@GOTPAGE
Lloh6:
	ldr	x9, [x9, _cvid_v1_24@GOTPAGEOFF]
	orr	x26, x20, x0
	mov	w10, #3
Lloh7:
	adrp	x11, _cvid_v4_32@GOTPAGE
Lloh8:
	ldr	x11, [x11, _cvid_v4_32@GOTPAGEOFF]
Lloh9:
	adrp	x12, _cvid_v1_32@GOTPAGE
Lloh10:
	ldr	x12, [x12, _cvid_v1_32@GOTPAGEOFF]
	mov	w13, #4
Lloh11:
	adrp	x14, _cvid_v4_16@GOTPAGE
Lloh12:
	ldr	x14, [x14, _cvid_v4_16@GOTPAGEOFF]
Lloh13:
	adrp	x15, _cvid_v1_16@GOTPAGE
Lloh14:
	ldr	x15, [x15, _cvid_v1_16@GOTPAGEOFF]
	mov	w16, #2
Lloh15:
	adrp	x17, _cvid_v4_15@GOTPAGE
Lloh16:
	ldr	x17, [x17, _cvid_v4_15@GOTPAGEOFF]
Lloh17:
	adrp	x0, _cvid_v1_15@GOTPAGE
Lloh18:
	ldr	x0, [x0, _cvid_v1_15@GOTPAGEOFF]
	mov	w1, #2
	cmp	w24, #15
	csel	w10, w10, w1, ne
	csel	x9, x9, x0, ne
	csel	x8, x8, x17, ne
	cmp	w24, #16
	csel	w10, w16, w10, eq
	csel	x9, x15, x9, eq
	csel	x8, x14, x8, eq
	cmp	w24, #32
	csel	w10, w13, w10, eq
	csel	x9, x12, x9, eq
	str	x9, [sp, #144]                  ; 8-byte Folded Spill
	csel	x8, x11, x8, eq
	str	x8, [sp, #120]                  ; 8-byte Folded Spill
	stur	w10, [x29, #-116]               ; 4-byte Folded Spill
	lsl	w1, w10, #3
	str	w23, [sp, #76]                  ; 4-byte Folded Spill
	mov	x0, x23
	bl	_get_stride
	stur	w0, [x29, #-120]                ; 4-byte Folded Spill
	sxtw	x23, w21
	cmp	x26, x23
	b.eq	LBB0_3
; %bb.1:
	and	x8, x19, #0x1
	add	x19, x26, x8
	cmp	x19, x23
	mov	x26, x23
	b.eq	LBB0_3
; %bb.2:
	mov	x8, x21
	stp	x8, x19, [sp]
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ERR
	mov	x26, x19
LBB0_3:
	bl	_get_word
	mov	x19, x0
	bl	_get_word
	mov	x24, x0
	bl	_get_word
	and	w8, w0, #0xffff
	ldr	w20, [x25]
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	cmp	w8, w20
	b.ls	LBB0_8
; %bb.4:
Lloh21:
	adrp	x8, _MAX_STRIPS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MAX_STRIPS@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x8, w0, uxth
	b.ls	LBB0_87
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1040
	bl	_heap_alloc
	ldr	x8, [x25, #16]
	str	x0, [x8, x20, lsl #3]
	cbz	x0, LBB0_89
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1040
	bl	_heap_alloc
	ldr	x8, [x25, #8]
	str	x0, [x8, x20, lsl #3]
	cbz	x0, LBB0_90
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #1
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x8, x20
	b.ne	LBB0_5
LBB0_8:
	stp	x21, x23, [sp, #48]             ; 16-byte Folded Spill
	str	x25, [sp, #96]                  ; 8-byte Folded Spill
	ldr	x20, [sp, #88]                  ; 8-byte Folded Reload
	str	w20, [x25]
	and	x1, x19, #0xffff
	and	x2, x24, #0xffff
	mov	x8, x20
	str	x26, [sp, #64]                  ; 8-byte Folded Spill
	stp	x8, x26, [sp]
Lloh24:
	adrp	x0, l_.str.4@PAGE
Lloh25:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_TRACE
	cbz	w20, LBB0_84
; %bb.9:
	mov	x20, #0
	mov	x28, #0
	mov	x25, #0
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	mov	w8, w8
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	and	x8, x22, #0x1
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x20, x20, #1
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	cmp	x20, x8
	b.eq	LBB0_84
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_20 Depth 2
                                        ;       Child Loop BB0_64 Depth 3
                                        ;       Child Loop BB0_68 Depth 3
                                        ;       Child Loop BB0_71 Depth 3
                                        ;         Child Loop BB0_74 Depth 4
                                        ;       Child Loop BB0_62 Depth 3
                                        ;       Child Loop BB0_51 Depth 3
                                        ;         Child Loop BB0_54 Depth 4
                                        ;       Child Loop BB0_49 Depth 3
                                        ;       Child Loop BB0_38 Depth 3
                                        ;         Child Loop BB0_40 Depth 4
                                        ;       Child Loop BB0_34 Depth 3
                                        ;       Child Loop BB0_28 Depth 3
                                        ;         Child Loop BB0_30 Depth 4
                                        ;       Child Loop BB0_24 Depth 3
                                        ;       Child Loop BB0_45 Depth 3
	lsl	x9, x20, #3
	ldr	x10, [sp, #96]                  ; 8-byte Folded Reload
	ldp	x10, x8, [x10, #8]
	ldr	x11, [x8, x9]
	str	x11, [sp, #136]                 ; 8-byte Folded Spill
	ldr	x9, [x10, x9]
	stur	x9, [x29, #-136]                ; 8-byte Folded Spill
	cbz	x20, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	cbnz	x9, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	sub	w9, w20, #1
	lsl	x19, x9, #3
	ldr	x1, [x8, x19]
	ldr	x0, [sp, #136]                  ; 8-byte Folded Reload
	mov	w2, #1040
	bl	_memcpy
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #8]
	ldr	x0, [x8, x20, lsl #3]
	ldr	x1, [x8, x19]
	mov	w2, #1040
	bl	_memcpy
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	bl	_get_word
	mov	x22, x0
	bl	_get_word
	mov	x24, x0
	bl	_get_word
	mov	x23, x0
	bl	_get_word
	mov	x26, x0
	bl	_get_word
	mov	x27, x0
	bl	_get_word
	mov	x19, x0
	sub	x21, x24, #12
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x0, x8
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh26:
	adrp	x0, l_.str.5@PAGE
Lloh27:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	ldr	w2, [sp, #76]                   ; 4-byte Folded Reload
	bl	_WARN
LBB0_16:                                ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x25, x27
	stp	x27, x25, [sp, #32]
	stp	x23, x19, [sp, #16]
	stp	x21, x26, [sp]
Lloh28:
	adrp	x0, l_.str.6@PAGE
Lloh29:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	bl	_TRACE
	cmp	x24, #13
	b.lt	LBB0_10
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x24, #0
	str	x25, [sp, #128]                 ; 8-byte Folded Spill
	str	x20, [sp, #104]                 ; 8-byte Folded Spill
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	x20, [sp, #104]                 ; 8-byte Folded Reload
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	x21, [sp, #112]                 ; 8-byte Folded Reload
	cmp	x21, #0
	b.le	LBB0_10
LBB0_20:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_64 Depth 3
                                        ;       Child Loop BB0_68 Depth 3
                                        ;       Child Loop BB0_71 Depth 3
                                        ;         Child Loop BB0_74 Depth 4
                                        ;       Child Loop BB0_62 Depth 3
                                        ;       Child Loop BB0_51 Depth 3
                                        ;         Child Loop BB0_54 Depth 4
                                        ;       Child Loop BB0_49 Depth 3
                                        ;       Child Loop BB0_38 Depth 3
                                        ;         Child Loop BB0_40 Depth 4
                                        ;       Child Loop BB0_34 Depth 3
                                        ;       Child Loop BB0_28 Depth 3
                                        ;         Child Loop BB0_30 Depth 4
                                        ;       Child Loop BB0_24 Depth 3
                                        ;       Child Loop BB0_45 Depth 3
	bl	_get_word
	mov	x27, x0
	bl	_get_word
	mov	x19, x0
Lloh30:
	adrp	x0, l_.str.7@PAGE
Lloh31:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x27
	mov	x2, x19
	bl	_TRACE
	sub	x21, x21, x19
	str	x21, [sp, #112]                 ; 8-byte Folded Spill
	sub	x8, x27, #2, lsl #12            ; =8192
	ror	x8, x8, #8
	cmp	x8, #18
	b.hi	LBB0_43
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=2
	sub	x22, x19, #4
Lloh32:
	adrp	x11, lJTI0_0@PAGE
Lloh33:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_22
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_22:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	w8, #8704
	cmp	x27, x8
	ldr	x8, [sp, #136]                  ; 8-byte Folded Reload
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	csel	x20, x9, x8, eq
	add	x8, x19, #1
	cmp	x8, #11
	b.lo	LBB0_18
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x19, #0
	mov	x8, #-6148914691236517206
	movk	x8, #43691
	movk	x8, #10922, lsl #48
	smulh	x8, x22, x8
	add	x21, x8, x8, lsr #63
LBB0_24:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, x20, x19, lsl #2
	mov	w1, #0
	bl	_read_codebook
	add	w19, w19, #1
	cmp	x21, x19
	b.hi	LBB0_24
	b	LBB0_18
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	w8, #8960
	cmp	x27, x8
	ldr	x8, [sp, #136]                  ; 8-byte Folded Reload
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	csel	x20, x9, x8, eq
	cmp	x19, #5
	b.lt	LBB0_18
; %bb.26:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x21, #0
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_28 Depth=3
	sub	x21, x21, x25
	cmp	x22, #1
	b.lt	LBB0_42
LBB0_28:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_30 Depth 4
	bl	_get_long
	mov	x19, x0
	mov	x25, #0
	sub	x22, x22, #4
	add	x27, x20, x21, lsl #2
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=4
	lsl	x19, x19, #1
	add	x27, x27, #4
	sub	x25, x25, #1
	cmn	w25, #32
	b.eq	LBB0_27
LBB0_30:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ;       Parent Loop BB0_28 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	tbz	w19, #31, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=4
	sub	x22, x22, #6
	mov	x0, x27
	mov	w1, #0
	bl	_read_codebook
	b	LBB0_29
LBB0_32:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	w8, #9728
	cmp	x27, x8
	ldr	x8, [sp, #136]                  ; 8-byte Folded Reload
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	csel	x20, x9, x8, eq
	add	x8, x22, #3
	cmp	x22, #0
	csel	x8, x8, x22, lt
	sub	x9, x19, #1
	cmp	x9, #7
	b.lo	LBB0_18
; %bb.33:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x19, #0
	asr	x21, x8, #2
LBB0_34:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x0, x20, x19, lsl #2
	mov	w1, #1
	bl	_read_codebook
	add	w19, w19, #1
	cmp	x21, x19
	b.hi	LBB0_34
	b	LBB0_18
LBB0_35:                                ;   in Loop: Header=BB0_20 Depth=2
	mov	w8, #9984
	cmp	x27, x8
	ldr	x8, [sp, #136]                  ; 8-byte Folded Reload
	ldur	x9, [x29, #-136]                ; 8-byte Folded Reload
	csel	x20, x9, x8, eq
	cmp	x19, #5
	b.lt	LBB0_18
; %bb.36:                               ;   in Loop: Header=BB0_20 Depth=2
	mov	x21, #0
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=3
	sub	x21, x21, x25
	cmp	x22, #1
	b.lt	LBB0_42
LBB0_38:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_40 Depth 4
	bl	_get_long
	mov	x19, x0
	mov	x25, #0
	sub	x22, x22, #4
	add	x27, x20, x21, lsl #2
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=4
	lsl	x19, x19, #1
	add	x27, x27, #4
	sub	x25, x25, #1
	cmn	w25, #32
	b.eq	LBB0_37
LBB0_40:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ;       Parent Loop BB0_38 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	tbz	w19, #31, LBB0_39
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=4
	sub	x22, x22, #4
	mov	x0, x27
	mov	w1, #1
	bl	_read_codebook
	b	LBB0_39
LBB0_42:                                ;   in Loop: Header=BB0_20 Depth=2
	ldr	x20, [sp, #104]                 ; 8-byte Folded Reload
	ldr	x25, [sp, #128]                 ; 8-byte Folded Reload
	b	LBB0_19
LBB0_43:                                ;   in Loop: Header=BB0_20 Depth=2
	str	x27, [sp]
Lloh34:
	adrp	x0, l_.str.8@PAGE
Lloh35:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_ERR
	cmp	x19, #5
	b.lt	LBB0_18
; %bb.44:                               ;   in Loop: Header=BB0_20 Depth=2
	sub	x19, x19, #3
LBB0_45:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_skip_byte
	sub	x19, x19, #1
	cmp	x19, #1
	b.gt	LBB0_45
	b	LBB0_18
LBB0_46:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	x19, #5
	b.ge	LBB0_51
LBB0_47:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	x22, #1
	b.lt	LBB0_18
; %bb.48:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x19, x22, #1
LBB0_49:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_skip_byte
	sub	x19, x19, #1
	cmp	x19, #1
	b.hi	LBB0_49
	b	LBB0_18
LBB0_50:                                ;   in Loop: Header=BB0_51 Depth=3
	cmp	x22, #1
	b.lt	LBB0_47
LBB0_51:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_54 Depth 4
	cmp	x28, x25
	b.hs	LBB0_47
; %bb.52:                               ;   in Loop: Header=BB0_51 Depth=3
	bl	_get_long
	sub	x22, x22, #4
	cmp	x28, x25
	b.hs	LBB0_50
; %bb.53:                               ;   in Loop: Header=BB0_51 Depth=3
	mov	x19, x0
	mov	w26, #0
LBB0_54:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ;       Parent Loop BB0_51 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	tbnz	w19, #31, LBB0_56
; %bb.55:                               ;   in Loop: Header=BB0_54 Depth=4
	ldp	w5, w21, [x29, #-104]           ; 8-byte Folded Reload
	mov	x0, x21
	mov	x1, x24
	mov	x2, x28
	mov	x23, x24
	ldp	w24, w4, [x29, #-120]           ; 8-byte Folded Reload
	mov	x3, x24
	bl	_get_addr
	mov	x27, x22
	ldur	x22, [x29, #-112]               ; 8-byte Folded Reload
	add	x20, x22, w0, uxtw
	bl	_get_byte
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x4, x8, x0, lsl #2
	mov	x0, x20
	mov	x1, x22
	mov	x22, x27
	mov	x2, x24
	mov	x3, x21
	ldr	x8, [sp, #144]                  ; 8-byte Folded Reload
	blr	x8
	sub	x22, x27, #1
	b	LBB0_57
LBB0_56:                                ;   in Loop: Header=BB0_54 Depth=4
	bl	_get_byte
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	bl	_get_byte
	mov	x21, x0
	bl	_get_byte
	mov	x25, x0
	bl	_get_byte
	mov	x20, x0
	sub	x27, x22, #4
	ldp	w5, w22, [x29, #-104]           ; 8-byte Folded Reload
	mov	x0, x22
	mov	x1, x24
	mov	x2, x28
	mov	x23, x24
	ldp	w24, w4, [x29, #-120]           ; 8-byte Folded Reload
	mov	x3, x24
	bl	_get_addr
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	add	x0, x1, w0, uxtw
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	lsl	x8, x8, #32
	ldr	x9, [sp, #136]                  ; 8-byte Folded Reload
	add	x4, x9, x8, asr #30
	lsl	x8, x21, #32
	add	x5, x9, x8, asr #30
	lsl	x8, x25, #32
	add	x6, x9, x8, asr #30
	lsl	x8, x20, #32
	add	x7, x9, x8, asr #30
	mov	x2, x24
	mov	x3, x22
	mov	x22, x27
	ldp	x8, x25, [sp, #120]             ; 16-byte Folded Reload
	blr	x8
LBB0_57:                                ;   in Loop: Header=BB0_54 Depth=4
	add	x8, x23, #4
	add	x9, x28, #4
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	cmp	x8, x10
	csel	x28, x28, x9, lo
	csel	x24, x8, xzr, lo
	cmp	w26, #30
	b.hi	LBB0_50
; %bb.58:                               ;   in Loop: Header=BB0_54 Depth=4
	lsl	x19, x19, #1
	add	w26, w26, #1
	cmp	x28, x25
	b.lo	LBB0_54
	b	LBB0_50
LBB0_59:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	x19, #5
	b.ge	LBB0_71
LBB0_60:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	x22, #1
	b.lt	LBB0_18
; %bb.61:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x19, x22, #1
LBB0_62:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_skip_byte
	sub	x19, x19, #1
	cmp	x19, #1
	b.hi	LBB0_62
	b	LBB0_18
LBB0_63:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	x19, #5
	b.lt	LBB0_66
LBB0_64:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x28, x25
	b.hs	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_64 Depth=3
	mov	x20, x22
	ldp	w5, w21, [x29, #-104]           ; 8-byte Folded Reload
	mov	x0, x21
	mov	x1, x24
	mov	x2, x28
	ldp	w23, w4, [x29, #-120]           ; 8-byte Folded Reload
	mov	x3, x23
	bl	_get_addr
	ldur	x22, [x29, #-112]               ; 8-byte Folded Reload
	add	x19, x22, w0, uxtw
	bl	_get_byte
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x4, x8, x0, lsl #2
	mov	x0, x19
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	ldr	x8, [sp, #144]                  ; 8-byte Folded Reload
	blr	x8
	sub	x22, x20, #1
	add	x8, x24, #4
	add	x9, x28, #4
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	cmp	x8, x10
	csel	x28, x28, x9, lo
	csel	x24, x8, xzr, lo
	cmp	x20, #1
	b.gt	LBB0_64
LBB0_66:                                ;   in Loop: Header=BB0_20 Depth=2
	cmp	x22, #1
	b.lt	LBB0_18
; %bb.67:                               ;   in Loop: Header=BB0_20 Depth=2
	add	x19, x22, #1
LBB0_68:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	bl	_skip_byte
	sub	x19, x19, #1
	cmp	x19, #1
	b.hi	LBB0_68
	b	LBB0_18
LBB0_69:                                ;   in Loop: Header=BB0_71 Depth=3
	mov	x22, x23
LBB0_70:                                ;   in Loop: Header=BB0_71 Depth=3
	cmp	x22, #1
	b.lt	LBB0_60
LBB0_71:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_74 Depth 4
	cmp	x28, x25
	b.hs	LBB0_60
; %bb.72:                               ;   in Loop: Header=BB0_71 Depth=3
	bl	_get_long
	sub	x22, x22, #4
	cmp	x28, x25
	b.hs	LBB0_70
; %bb.73:                               ;   in Loop: Header=BB0_71 Depth=3
	mov	x27, x0
	mov	w19, #-2147483648
LBB0_74:                                ;   Parent Loop BB0_11 Depth=1
                                        ;     Parent Loop BB0_20 Depth=2
                                        ;       Parent Loop BB0_71 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	tst	x27, x19
	b.eq	LBB0_79
; %bb.75:                               ;   in Loop: Header=BB0_74 Depth=4
	cmp	x19, #1
	b.ne	LBB0_80
; %bb.76:                               ;   in Loop: Header=BB0_74 Depth=4
	tbnz	x22, #63, LBB0_18
; %bb.77:                               ;   in Loop: Header=BB0_74 Depth=4
	bl	_get_long
	mov	x27, x0
	sub	x22, x22, #4
	mov	w19, #-2147483648
	tst	x27, x19
	b.ne	LBB0_81
LBB0_78:                                ;   in Loop: Header=BB0_74 Depth=4
	sub	x23, x22, #1
	ldp	w5, w21, [x29, #-104]           ; 8-byte Folded Reload
	mov	x0, x21
	mov	x1, x24
	mov	x2, x28
	mov	x26, x24
	ldp	w24, w4, [x29, #-120]           ; 8-byte Folded Reload
	mov	x3, x24
	bl	_get_addr
	ldur	x22, [x29, #-112]               ; 8-byte Folded Reload
	add	x20, x22, w0, uxtw
	bl	_get_byte
	ldur	x8, [x29, #-136]                ; 8-byte Folded Reload
	add	x4, x8, x0, lsl #2
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	mov	x24, x26
	mov	x3, x21
	ldr	x8, [sp, #144]                  ; 8-byte Folded Reload
	blr	x8
	b	LBB0_82
LBB0_79:                                ;   in Loop: Header=BB0_74 Depth=4
	mov	x23, x22
	b	LBB0_82
LBB0_80:                                ;   in Loop: Header=BB0_74 Depth=4
	lsr	x19, x19, #1
	tst	x27, x19
	b.eq	LBB0_78
LBB0_81:                                ;   in Loop: Header=BB0_74 Depth=4
	bl	_get_byte
	stur	x0, [x29, #-128]                ; 8-byte Folded Spill
	bl	_get_byte
	mov	x21, x0
	bl	_get_byte
	mov	x25, x0
	bl	_get_byte
	mov	x20, x27
	mov	x27, x0
	sub	x23, x22, #4
	ldp	w5, w22, [x29, #-104]           ; 8-byte Folded Reload
	mov	x0, x22
	mov	x1, x24
	mov	x2, x28
	mov	x26, x24
	ldp	w24, w4, [x29, #-120]           ; 8-byte Folded Reload
	mov	x3, x24
	bl	_get_addr
	ldur	x1, [x29, #-112]                ; 8-byte Folded Reload
	add	x0, x1, w0, uxtw
	ldur	x8, [x29, #-128]                ; 8-byte Folded Reload
	lsl	x8, x8, #32
	ldr	x9, [sp, #136]                  ; 8-byte Folded Reload
	add	x4, x9, x8, asr #30
	lsl	x8, x21, #32
	add	x5, x9, x8, asr #30
	lsl	x8, x25, #32
	add	x6, x9, x8, asr #30
	lsl	x8, x27, #32
	mov	x27, x20
	add	x7, x9, x8, asr #30
	mov	x2, x24
	mov	x24, x26
	mov	x3, x22
	ldp	x8, x25, [sp, #120]             ; 16-byte Folded Reload
	blr	x8
LBB0_82:                                ;   in Loop: Header=BB0_74 Depth=4
	add	x8, x24, #4
	add	x9, x28, #4
	ldur	x10, [x29, #-96]                ; 8-byte Folded Reload
	cmp	x8, x10
	csel	x28, x28, x9, lo
	csel	x24, x8, xzr, lo
	cmp	x19, #2
	b.lo	LBB0_69
; %bb.83:                               ;   in Loop: Header=BB0_74 Depth=4
	lsr	x19, x19, #1
	cmp	x28, x25
	mov	x22, x23
	b.lo	LBB0_74
	b	LBB0_70
LBB0_84:
	ldp	x10, x9, [sp, #56]              ; 16-byte Folded Reload
	cmp	x9, x10
	b.eq	LBB0_88
; %bb.85:
	and	x8, x9, #0x1
	add	x19, x8, x9
	cmp	x19, x10
	b.eq	LBB0_88
; %bb.86:
	bl	_skip_byte
	bl	_get_byte
	mov	x20, x0
	bl	_get_byte
	lsl	x8, x0, #8
	orr	x20, x8, x20, lsl #16
	bl	_get_byte
	orr	x8, x20, x0
	str	x8, [sp]
Lloh36:
	adrp	x0, l_.str.9@PAGE
Lloh37:
	add	x0, x0, l_.str.9@PAGEOFF
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x19
	bl	_WARN
	b	LBB0_88
LBB0_87:
	str	x8, [sp]
Lloh38:
	adrp	x0, l_.str.1@PAGE
Lloh39:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ERR
LBB0_88:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
LBB0_89:
Lloh40:
	adrp	x0, l_.str.2@PAGE
Lloh41:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_91
LBB0_90:
Lloh42:
	adrp	x0, l_.str.3@PAGE
Lloh43:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_91:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	b	_ERR
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_25-LBB0_22)>>2
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_25-LBB0_22)>>2
	.byte	(LBB0_32-LBB0_22)>>2
	.byte	(LBB0_35-LBB0_22)>>2
	.byte	(LBB0_32-LBB0_22)>>2
	.byte	(LBB0_35-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_43-LBB0_22)>>2
	.byte	(LBB0_46-LBB0_22)>>2
	.byte	(LBB0_59-LBB0_22)>>2
	.byte	(LBB0_63-LBB0_22)>>2
                                        ; -- End function
	.comm	_in_buffer,8,3                  ; @in_buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CVID: corruption %d (QT/AVI) != %ld (CV)\n"

	.comm	_MAX_STRIPS,8,3                 ; @MAX_STRIPS
l_.str.1:                               ; @.str.1
	.asciz	"CVID: strip overflow (more than %d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"CVID: codebook v4 alloc err\n"

l_.str.3:                               ; @.str.3
	.asciz	"CVID: codebook v1 alloc err\n"

l_.str.4:                               ; @.str.4
	.asciz	"CVID: %ux%u, strips %u, length %lu\n"

l_.str.5:                               ; @.str.5
	.asciz	"CVID: Warning x1 (%ld) != width (%d)\n"

l_.str.6:                               ; @.str.6
	.asciz	"   %d) %04lx %04ld <%ld,%ld> <%ld,%ld> yt %ld\n"

l_.str.7:                               ; @.str.7
	.asciz	"        %04lx %04ld\n"

l_.str.8:                               ; @.str.8
	.asciz	"CVID: unknown chunk_id %08lx\n"

l_.str.9:                               ; @.str.9
	.asciz	"CVID: END INFO chunk size %d cvid size1 %ld cvid size2 %ld\n"

	.no_dead_strip	_decode_cinepak
.subsections_via_symbols
