	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_0
_decode_0:                              ## @decode_0
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	leaq	40(%rdi), %r15
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	testl	%eax, %eax
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_13
## %bb.1:
	movl	%eax, %ebx
	testb	$16, %r14b
	je	LBB0_4
## %bb.2:
	movq	%r15, %rdi
	callq	_bytestream2_tell
	andl	$3, %eax
	je	LBB0_4
## %bb.3:
	movl	$4, %esi
	subl	%eax, %esi
	movq	%r15, %rdi
	callq	_bytestream2_skip
LBB0_4:
	movq	%r12, -128(%rbp)                ## 8-byte Spill
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_be16
	movq	%r12, %rdx
	movl	%eax, %r12d
	sarl	$14, %eax
	movq	(%rdx), %rcx
	cltq
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx,%rax,8), %r13
	movslq	8(%rdx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movslq	12(%rdx), %rbx
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_bytestream2_get_bytes_left
	movl	%r14d, %ecx
	shll	$4, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rcx
	leaq	(,%rbx,4), %r15
	addq	%r13, %r15
	leal	(,%r12,4), %eax
	movzbl	%al, %r13d
	addl	%r13d, %r14d
	leal	(%r12,%r12), %eax
	movzbl	%al, %eax
	leaq	(%rcx,%rax,4), %rax
	shrl	$6, %r12d
	andl	$254, %r12d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	imulq	%r12, %rcx
	leaq	(%rax,%rcx,4), %rbx
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	16(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, (%rax,%rcx,4)
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	addq	$16, %rbx
	cmpl	%r14d, %r13d
	jge	LBB0_12
LBB0_8:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	8(%r12), %rdx
	leaq	(%rdx,%rdx,2), %rax
	leaq	(%rbx,%rax,4), %rax
	addq	$16, %rax
	cmpq	%r15, %rax
	ja	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	incl	%r13d
	movq	%r12, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_read4x4block
	testb	$63, %r13b
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movslq	8(%r12), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rbx,%rax,4), %rbx
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	decl	%ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_5
LBB0_13:
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movq	(%rax,%rcx,8), %r13
	movslq	12(%r12), %rax
	leaq	(,%rax,4), %r14
	addq	%r13, %r14
	xorl	%r15d, %r15d
	movq	%r12, %rbx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=1
	addq	$16, %r13
	movl	32(%rbx), %eax
	leal	15(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$4, %ecx
	cmpl	%ecx, %r15d
	jge	LBB0_20
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	callq	_set_src_position
	movq	-72(%rbp), %rcx
	movslq	8(%rbx), %rax
	shlq	$2, %rax
	leaq	(%rax,%rax,2), %rax
	addq	%rax, %rcx
	addq	$16, %rcx
	cmpq	-104(%rbp), %rcx
	ja	LBB0_6
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	%r13, %rax
	addq	$16, %rax
	cmpq	%r14, %rax
	ja	LBB0_6
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	%rbx, %r12
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_bytes_left
	cmpl	$3, %eax
	jle	LBB0_6
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	-72(%rbp), %rsi
	movq	%r12, %rbx
	movl	8(%r12), %ecx
	movq	%r13, %rdi
	movl	%ecx, %edx
	movl	$4, %r8d
	callq	_copy_block4
	incl	%r15d
	testb	$63, %r15b
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	movslq	8(%rbx), %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%r13,%rax,4), %r13
	jmp	LBB0_19
LBB0_20:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_bytestream2_get_le16
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$2, %esi
	callq	_bytestream2_skip
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%r15d, %eax
	jge	LBB0_21
LBB0_6:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_43:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	%rbx, %rdi
	callq	_bytestream2_tell
	movl	%eax, %r14d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_bytestream2_skipu
	movl	36(%r12), %edx
	testl	%edx, %edx
	jle	LBB0_22
## %bb.23:
	movq	%r12, %rsi
	movslq	%r14d, %rax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	(%r12), %rax
	movq	24(%r12), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %ecx
	xorl	%edi, %edi
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, -108(%rbp)               ## 4-byte Spill
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##       Child Loop BB0_29 Depth 3
	testl	%ecx, %ecx
	jle	LBB0_42
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	xorl	%edx, %edx
	jmp	LBB0_26
LBB0_40:                                ##   in Loop: Header=BB0_26 Depth=2
	movl	-112(%rbp), %eax                ## 4-byte Reload
	shrl	$2, %eax
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	addl	%eax, %edi
	movl	-96(%rbp), %edx                 ## 4-byte Reload
	addl	$4, %edx
	addq	$16, -48(%rbp)                  ## 8-byte Folded Spill
	cmpl	%ecx, %edx
	movl	-108(%rbp), %r15d               ## 4-byte Reload
	jge	LBB0_41
LBB0_26:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_29 Depth 3
	cmpl	%r15d, %edi
	jg	LBB0_6
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	%edx, -96(%rbp)                 ## 4-byte Spill
	movl	%edx, %esi
	andl	$4, %esi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	movslq	%edi, %rax
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	movl	%eax, %edx
	andl	$15, %edx
	sarl	$4, %eax
	movl	%esi, -112(%rbp)                ## 4-byte Spill
	testl	%esi, %esi
	cmovnel	%edx, %eax
	movslq	%eax, %r14
	movq	_block_sequences@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_40
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	$4, %r15d
	jmp	LBB0_29
LBB0_32:                                ##   in Loop: Header=BB0_29 Depth=3
	xorl	%r13d, %r13d
LBB0_33:                                ##   in Loop: Header=BB0_29 Depth=3
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_byte
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
LBB0_34:                                ##   in Loop: Header=BB0_29 Depth=3
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_byte
	movslq	%r13d, %rcx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdi
	movq	%r12, %r13
	movl	8(%r12), %esi
	movl	%eax, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	callq	_copy_color_mask
LBB0_39:                                ##   in Loop: Header=BB0_29 Depth=3
	movq	_block_sequences@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%r15), %eax
	addq	$4, %r15
	movl	8(%r13), %ecx
	testl	%eax, %eax
	je	LBB0_40
LBB0_29:                                ##   Parent Loop BB0_24 Depth=1
                                        ##     Parent Loop BB0_26 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	addl	$-2, %eax
	cmpl	$5, %eax
	ja	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_29 Depth=3
	leal	(%rcx,%rcx), %r13d
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=3
	xorl	%r13d, %r13d
LBB0_36:                                ##   in Loop: Header=BB0_29 Depth=3
	movq	%r12, %rbx
	movq	%r12, %rdi
	leaq	-72(%rbp), %rsi
	leaq	-104(%rbp), %rdx
	callq	_set_src_position
	movl	8(%r12), %ecx
LBB0_37:                                ##   in Loop: Header=BB0_29 Depth=3
	movslq	%r13d, %r13
	leaq	(,%r13,4), %rbx
	movq	-72(%rbp), %rax
	addq	%rbx, %rax
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rax
	addq	$16, %rax
	cmpq	-104(%rbp), %rax
	ja	LBB0_6
## %bb.38:                              ##   in Loop: Header=BB0_29 Depth=3
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_bytestream2_get_byte
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r13,4), %rdi
	movq	%r12, %r13
	movl	8(%r12), %esi
	addq	-72(%rbp), %rbx
	movl	%eax, %edx
	movq	%rbx, %rcx
	callq	_copy_src_mask
	jmp	LBB0_39
LBB0_30:                                ##   in Loop: Header=BB0_29 Depth=3
	movq	%r12, %r13
	jmp	LBB0_39
LBB0_41:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	%r12, %rax
	movl	36(%r12), %edx
LBB0_42:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	addl	$4, %ebx
	leal	(%rcx,%rcx,2), %eax
	cltq
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	leaq	(%rsi,%rax,4), %rsi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	cmpl	%edx, %ebx
	jl	LBB0_24
	jmp	LBB0_43
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_43
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
LJTI0_0:
	.long	L0_0_set_32
	.long	L0_0_set_33
	.long	L0_0_set_34
	.long	L0_0_set_35
	.long	L0_0_set_36
	.long	L0_0_set_37
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_block_sequences,8,3            ## @block_sequences
	.no_dead_strip	_decode_0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_0
_decode_0:                              ; @decode_0
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x23, x2
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	mov	x19, x0
	add	x20, x0, #40
	mov	x0, x20
	bl	_bytestream2_get_byte
	cbz	w0, LBB0_12
; %bb.1:
	mov	x21, x0
	tbz	w23, #4, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_bytestream2_tell
	ands	w8, w0, #0x3
	b.eq	LBB0_4
; %bb.3:
	mov	w9, #4
	sub	w1, w9, w8
	mov	x0, x20
	bl	_bytestream2_skip
LBB0_4:
	mov	w26, #12
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	bl	_bytestream2_get_be16
	mov	x23, x0
	asr	w8, w0, #14
	ldr	x9, [x19]
	ldr	x25, [x9, w8, sxtw #3]
	ldp	w22, w27, [x19, #8]
                                        ; kill: def $w27 killed $w27 def $x27
	sxtw	x27, w27
	mov	x0, x20
	bl	_bytestream2_get_le16
	mov	x24, x0
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	w0, w24, lsl #4
	b.lt	LBB0_19
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sbfx	x8, x23, #14, #18
	add	x27, x25, x27, lsl #2
	ubfiz	w28, w23, #2, #6
	add	w24, w24, w28
	ubfiz	w9, w23, #1, #7
	add	x9, x25, w9, uxtw #2
	lsr	w10, w23, #6
	and	w10, w10, #0xfe
	mul	w10, w22, w10
	add	x23, x9, w10, sxtw #2
	ldr	x9, [x19, #16]
	mov	w10, #1
	str	w10, [x9, x8, lsl #2]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x23, x23, #16
	cmp	w28, w24
	b.ge	LBB0_11
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x19, #8]
	add	w8, w2, w2, lsl #1
	add	x8, x23, w8, sxtw #2
	add	x8, x8, #16
	cmp	x8, x27
	b.hi	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	w28, w28, #1
	mov	x0, x19
	mov	x1, x23
	bl	_read4x4block
	tst	w28, #0x3f
	b.ne	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=2
	ldrsw	x8, [x19, #8]
	madd	x23, x8, x26, x23
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	subs	w21, w21, #1
	b.ne	LBB0_5
LBB0_12:
	mov	w23, #0
	ldr	x8, [x19]
	ldr	x9, [x19, #24]
	ldr	x21, [x8, x9, lsl #3]
	ldrsw	x8, [x19, #12]
	add	x24, x21, x8, lsl #2
	mov	w25, #12
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x21, x21, #16
	ldr	w8, [x19, #32]
	add	w9, w8, #15
	cmp	w8, #0
	csel	w8, w9, w8, lt
	cmp	w23, w8, asr #4
	b.ge	LBB0_18
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	bl	_set_src_position
	ldp	x10, x8, [sp, #32]
	ldrsw	x9, [x19, #8]
	add	x9, x9, x9, lsl #1
	lsl	x9, x9, #2
	add	x8, x8, x9
	add	x8, x8, #16
	add	x9, x21, x9
	add	x9, x9, #16
	cmp	x8, x10
	ccmp	x9, x24, #2, ls
	b.hi	LBB0_19
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	w0, #3
	b.le	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x1, [sp, #40]
	ldr	w2, [x19, #8]
	mov	x0, x21
	mov	x3, x2
	mov	w4, #4
	bl	_copy_block4
	add	w23, w23, #1
	tst	w23, #0x3f
	b.ne	LBB0_13
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=1
	ldrsw	x8, [x19, #8]
	madd	x21, x8, x25, x21
	b	LBB0_13
LBB0_18:
	mov	x0, x20
	bl	_bytestream2_get_le16
	mov	x21, x0
	mov	x0, x20
	mov	w1, #2
	bl	_bytestream2_skip
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	w0, w21
	b.ge	LBB0_21
LBB0_19:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_21:
	mov	x0, x20
	bl	_bytestream2_tell
	mov	x24, x0
	mov	x0, x20
	mov	x1, x21
	bl	_bytestream2_skipu
	ldr	w9, [x19, #36]
	cmp	w9, #1
	b.lt	LBB0_41
; %bb.22:
	mov	w25, #0
	mov	w11, #0
	mov	w23, #0
	ldr	x8, [x19]
	ldr	x10, [x19, #24]
	ldr	x27, [x8, x10, lsl #3]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	add	x8, x8, w24, sxtw #2
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	w8, [x19, #8]
Lloh3:
	adrp	x24, _block_sequences@GOTPAGE
Lloh4:
	ldr	x24, [x24, _block_sequences@GOTPAGEOFF]
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
LBB0_23:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
                                        ;       Child Loop BB0_33 Depth 3
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	str	w11, [sp, #8]                   ; 4-byte Folded Spill
	mov	w22, #0
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=2
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	add	w25, w25, w9, lsr #2
	add	w22, w22, #4
	add	x27, x27, #16
	cmp	w22, w8
	ldr	w21, [sp, #12]                  ; 4-byte Folded Reload
	b.ge	LBB0_39
LBB0_26:                                ;   Parent Loop BB0_23 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_33 Depth 3
	cmp	w25, w21
	b.gt	LBB0_19
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w9, [x9, w25, sxtw #2]
	and	w10, w9, #0xf
	asr	w9, w9, #4
	ands	w11, w22, #0x4
	str	w11, [sp, #24]                  ; 4-byte Folded Spill
	csel	w10, w9, w10, eq
	ldr	x9, [x24]
	ldr	x9, [x9, w10, sxtw #3]
	ldr	w9, [x9]
	cbz	w9, LBB0_25
; %bb.28:                               ;   in Loop: Header=BB0_26 Depth=2
	sxtw	x21, w10
	mov	w26, #4
	b	LBB0_33
LBB0_29:                                ;   in Loop: Header=BB0_33 Depth=3
	mov	w28, #0
LBB0_30:                                ;   in Loop: Header=BB0_33 Depth=3
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x23, x0
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=3
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x2, x0
	add	x0, x27, w28, sxtw #2
	ldr	w1, [x19, #8]
	mov	x3, x23
	bl	_copy_color_mask
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=3
	ldr	x8, [x24]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w9, [x8, x26]
	ldr	w8, [x19, #8]
	add	x26, x26, #4
	cbz	w9, LBB0_25
LBB0_33:                                ;   Parent Loop BB0_23 Depth=1
                                        ;     Parent Loop BB0_26 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	w9, w9, #2
	cmp	w9, #5
	b.hi	LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=3
	lsl	w28, w8, #1
Lloh5:
	adrp	x12, lJTI0_0@PAGE
Lloh6:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_29
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=3
	mov	w28, #0
LBB0_36:                                ;   in Loop: Header=BB0_33 Depth=3
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	bl	_set_src_position
	ldr	w8, [x19, #8]
LBB0_37:                                ;   in Loop: Header=BB0_33 Depth=3
	ldr	x9, [sp, #40]
	add	x9, x9, w28, sxtw #2
	add	x8, x9, w8, sxtw #2
	add	x8, x8, #16
	ldr	x9, [sp, #32]
	cmp	x8, x9
	b.hi	LBB0_19
; %bb.38:                               ;   in Loop: Header=BB0_33 Depth=3
	sxtw	x28, w28
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x2, x0
	lsl	x8, x28, #2
	add	x0, x27, x8
	ldr	w1, [x19, #8]
	ldr	x9, [sp, #40]
	add	x3, x9, x8
	bl	_copy_src_mask
	b	LBB0_32
LBB0_39:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	w9, [x19, #36]
	ldr	w11, [sp, #8]                   ; 4-byte Folded Reload
LBB0_40:                                ;   in Loop: Header=BB0_23 Depth=1
	mov	w0, #0
	add	w11, w11, #4
	add	w10, w8, w8, lsl #1
	add	x27, x27, w10, sxtw #2
	cmp	w11, w9
	b.lt	LBB0_23
	b	LBB0_20
LBB0_41:
	mov	w0, #0
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_29-LBB0_29)>>2
	.byte	(LBB0_30-LBB0_29)>>2
	.byte	(LBB0_31-LBB0_29)>>2
	.byte	(LBB0_35-LBB0_29)>>2
	.byte	(LBB0_36-LBB0_29)>>2
	.byte	(LBB0_37-LBB0_29)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_block_sequences,8,3            ; @block_sequences
	.no_dead_strip	_decode_0
.subsections_via_symbols
