	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_entropy_coded_image
_decode_entropy_coded_image:            ## @decode_entropy_coded_image
	.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	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r13
	movl	%esi, %eax
	leaq	(%rax,%rax,2), %rax
	shlq	$4, %rax
	movl	%esi, (%r13,%rax)
	leaq	(%rax,%r13), %rbx
	addq	$24, %rbx
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	24(%r13,%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	movl	%esi, %r12d
	callq	_av_frame_alloc
	movl	%r12d, %esi
	movq	%rax, %rdi
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_75
LBB0_2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_AV_PIX_FMT_ARGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movl	%r14d, (%rdi)
	movl	%r15d, 4(%rdi)
	movq	_IMAGE_ROLE_ARGB@GOTPCREL(%rip), %r12
	cmpl	%esi, (%r12)
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 40(%r13,%r14)
	je	LBB0_4
LBB0_5:
	movl	$1, %esi
	callq	_av_frame_get_buffer
LBB0_6:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testl	%eax, %eax
	js	LBB0_74
## %bb.7:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	12(%rax), %rbx
	movq	%rbx, %rdi
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_get_bits
	movl	%eax, 4(%r13,%r14)
	movl	%eax, %ecx
	addl	$-12, %ecx
	cmpl	$-12, %ecx
	ja	LBB0_10
## %bb.9:
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	8(%rcx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%eax, %ecx
LBB0_48:
	xorl	%eax, %eax
	callq	_av_log
LBB0_49:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_74
LBB0_12:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	$0, 4(%r13,%r14)
	jmp	LBB0_13
LBB0_10:
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movl	$1, %edi
	movl	%eax, %ecx
	shll	%cl, %edi
	movl	$4, %esi
	callq	_av_mallocz_array
	movq	%rax, 16(%r13,%r14)
	testq	%rax, %rax
	je	LBB0_11
LBB0_13:
	leaq	(%r14,%r13), %rax
	addq	$8, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$1, 8(%r13,%r14)
	movl	$1, %edi
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%r12)
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_18
## %bb.14:
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_get_bits1
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	callq	_decode_entropy_image
	testl	%eax, %eax
	js	LBB0_74
## %bb.17:
	movl	(%rbx), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, (%rax)
	jmp	LBB0_18
LBB0_4:
	movq	%rdi, -128(%rbp)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %edi
	leaq	-128(%rbp), %rsi
	xorl	%edx, %edx
	callq	_ff_thread_get_buffer
	jmp	LBB0_6
LBB0_75:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
LBB0_18:
	movq	%r14, %rbx
	movq	_HUFFMAN_CODES_PER_META_CODE@GOTPCREL(%rip), %r14
	imull	(%r14), %edi
	movl	$4, %esi
	callq	_av_mallocz_array
	movq	%rax, 32(%r13,%rbx)
	testq	%rax, %rax
	je	LBB0_11
## %bb.19:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %edx
	testl	%edx, %edx
	jle	LBB0_33
## %bb.20:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	addq	%r13, %rcx
	addq	$32, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	(%r14), %ecx
	xorl	%esi, %esi
	movq	_alphabet_sizes@GOTPCREL(%rip), %r12
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	testl	%ecx, %ecx
	jle	LBB0_31
	.p2align	4, 0x90
LBB0_22:
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	imull	%esi, %ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,4), %rbx
	xorl	%r13d, %r13d
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_read_huffman_code_simple
LBB0_29:                                ##   in Loop: Header=BB0_23 Depth=1
	incq	%r13
	movslq	(%r14), %rcx
	addq	$4, %rbx
	cmpq	%rcx, %r13
	jge	LBB0_30
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%r13,4), %r15d
	testq	%r13, %r13
	jne	LBB0_26
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	-28(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_23 Depth=1
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	addl	%eax, %r15d
LBB0_26:                                ##   in Loop: Header=BB0_23 Depth=1
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	callq	_get_bits1
	testq	%rax, %rax
	jne	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_23 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_read_huffman_code_normal
	testl	%eax, %eax
	jns	LBB0_29
	jmp	LBB0_74
	.p2align	4, 0x90
LBB0_30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	incl	%esi
	cmpl	%edx, %esi
	jge	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testl	%ecx, %ecx
	jg	LBB0_22
	jmp	LBB0_31
LBB0_11:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_74
LBB0_33:
	movq	(%r15), %rax
	movl	(%rax), %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movq	_IMAGE_ROLE_ARGB@GOTPCREL(%rip), %rsi
	cmpl	%ecx, (%rsi)
	jne	LBB0_34
## %bb.35:
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r15), %ecx
	testl	%ecx, %ecx
	cmovgl	%ecx, %edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_36
LBB0_34:
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %r15                 ## 8-byte Reload
LBB0_36:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	cmpl	$0, 4(%rax)
	jle	LBB0_73
## %bb.37:
	leaq	(%rcx,%r13), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%r13), %rax
	addq	$4, %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_38
	.p2align	4, 0x90
LBB0_41:                                ##   in Loop: Header=BB0_38 Depth=1
	incl	%r13d
	xorl	%eax, %eax
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	sete	%al
	movl	$0, %ecx
	cmovel	%ecx, %r13d
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	addl	%eax, -56(%rbp)                 ## 4-byte Folded Spill
LBB0_71:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_72:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	(%r13), %rax
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	cmpl	4(%rax), %r12d
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movl	-72(%rbp), %r13d                ## 4-byte Reload
	jge	LBB0_73
LBB0_38:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_56 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
	movq	%r15, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %ecx
	callq	_get_huffman_group
	movq	%rax, %r14
	movq	_HUFF_IDX_GREEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%rbx, %rsi
	callq	_huff_reader_get_symbol
	movq	%rax, %rsi
	movq	_NUM_LITERAL_CODES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%esi, %eax
	jle	LBB0_42
## %bb.39:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	%r12d, %edx
	movq	%rbx, %r12
	movq	%rsi, %r15
	movl	%r13d, %esi
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	callq	_GET_PIXEL
	movq	%rax, %rbx
	movl	%r15d, 8(%rax)
	movq	_HUFF_IDX_RED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%r12, %rsi
	callq	_huff_reader_get_symbol
	movl	%eax, 4(%rbx)
	movq	_HUFF_IDX_BLUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%r12, %rsi
	callq	_huff_reader_get_symbol
	movl	%eax, 12(%rbx)
	movq	_HUFF_IDX_ALPHA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%r12, %rsi
	callq	_huff_reader_get_symbol
	movl	%eax, (%rbx)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	%rbx, %rdi
	callq	_AV_RB32
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %esi
	callq	_color_cache_put
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	_NUM_LENGTH_CODES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%eax, %ecx
	cmpl	%esi, %ecx
	jle	LBB0_65
## %bb.43:                              ##   in Loop: Header=BB0_38 Depth=1
	subl	%eax, %esi
	cmpl	$4, %esi
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	jge	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	%rsi, %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_GET_PIXEL
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	je	LBB0_66
## %bb.68:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_NUM_LITERAL_CODES@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_NUM_LENGTH_CODES@GOTPCREL(%rip), %rsi
	addl	(%rsi), %edx
	subl	%edx, %r14d
	movl	$1, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	cmpl	%edx, %r14d
	jge	LBB0_69
## %bb.70:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	12(%rcx), %rcx
	movslq	%r14d, %rdx
	movl	(%rcx,%rdx,4), %esi
	movq	%rax, %rdi
	callq	_AV_WB32
	incl	%r13d
	xorl	%eax, %eax
	cmpl	-48(%rbp), %r13d                ## 4-byte Folded Reload
	sete	%al
	movl	$0, %ecx
	cmovel	%ecx, %r13d
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	addl	%eax, %r12d
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	jmp	LBB0_71
LBB0_45:                                ##   in Loop: Header=BB0_38 Depth=1
	leal	-2(%rsi), %ecx
	shrl	%ecx
	andl	$1, %esi
	orl	$2, %esi
	shll	%cl, %esi
	movq	%rbx, %rdi
	movq	%rbx, %r12
	movq	%rsi, %rbx
	movl	%ecx, %esi
	callq	_get_bits
	addl	%ebx, %eax
	movq	%r12, %rbx
	movl	-56(%rbp), %r12d                ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_46:                                ##   in Loop: Header=BB0_38 Depth=1
	movq	_HUFF_IDX_DIST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r14,%rax,4), %rdi
	movq	%rbx, %rsi
	callq	_huff_reader_get_symbol
	movq	%rax, %r14
	cmpl	$40, %r14d
	jae	LBB0_47
## %bb.50:                              ##   in Loop: Header=BB0_38 Depth=1
	cmpl	$4, %r14d
	jb	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_38 Depth=1
	leal	-2(%r14), %ecx
	shrl	%ecx
	andl	$1, %r14d
	orl	$2, %r14d
	shll	%cl, %r14d
	movq	%rbx, %rdi
	movl	%ecx, %esi
	callq	_get_bits
	addl	%r14d, %eax
	movl	%eax, %r14d
LBB0_52:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%r14d, %eax
	movq	_NUM_SHORT_DISTANCES@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	jge	LBB0_54
## %bb.53:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	_lz77_distance_offsets@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	4(%rax), %esi
	imull	%r15d, %esi
	addl	(%rax), %esi
	movl	$1, %edi
	callq	_FFMAX
	jmp	LBB0_55
LBB0_54:                                ##   in Loop: Header=BB0_38 Depth=1
	incl	%eax
LBB0_55:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	%eax, %esi
	subl	%r13d, %esi
	negl	%esi
	subl	%r13d, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	cmovgl	%ecx, %esi
	cmpl	%r15d, %eax
	jl	LBB0_58
	.p2align	4, 0x90
LBB0_56:                                ##   Parent Loop BB0_38 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	decl	%r12d
	subl	%r15d, %eax
	cmpl	%r15d, %eax
	jge	LBB0_56
LBB0_58:                                ##   in Loop: Header=BB0_38 Depth=1
	movl	%r15d, %ecx
	subl	%eax, %ecx
	xorl	%edx, %edx
	testl	%eax, %eax
	setg	%dl
	cmovgl	%ecx, %esi
	subl	%edx, %r12d
	xorl	%edi, %edi
	callq	_FFMAX
	movl	%eax, %r14d
	xorl	%edi, %edi
	movl	%r12d, %esi
	callq	_FFMAX
	movl	%eax, %r12d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	testl	%eax, %eax
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	js	LBB0_71
## %bb.59:                              ##   in Loop: Header=BB0_38 Depth=1
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	incl	%eax
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_38 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	%r14d, %esi
	movl	%r12d, %edx
	callq	_GET_PIXEL
	movq	%rax, %r15
	movq	(%r13), %rdi
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_GET_PIXEL
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_AV_COPY32
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_62
## %bb.61:                              ##   in Loop: Header=BB0_60 Depth=2
	movq	%r13, %rdi
	callq	_AV_RB32
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%eax, %esi
	callq	_color_cache_put
LBB0_62:                                ##   in Loop: Header=BB0_60 Depth=2
	incl	%ebx
	incl	%r14d
	xorl	%eax, %eax
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, %ebx
	movl	$0, %ecx
	cmovel	%ecx, %ebx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	sete	%al
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	addl	%eax, %ebx
	xorl	%eax, %eax
	cmpl	%esi, %r14d
	sete	%dl
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rdi
	movl	4(%rdi), %ecx
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	cmpl	%ecx, %ebx
	je	LBB0_72
## %bb.63:                              ##   in Loop: Header=BB0_60 Depth=2
	movb	%dl, %al
	addl	%eax, %r12d
	cmpl	%ecx, %r12d
	je	LBB0_72
## %bb.64:                              ##   in Loop: Header=BB0_60 Depth=2
	cmpl	%esi, %r14d
	movl	$0, %eax
	cmovel	%eax, %r14d
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	jne	LBB0_60
	jmp	LBB0_72
LBB0_73:
	xorl	%eax, %eax
LBB0_74:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_66:
	movl	8(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_67
LBB0_69:
	movl	8(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
LBB0_67:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_49
LBB0_47:
	movl	8(%r15), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %ecx
	jmp	LBB0_48
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_PIX_FMT_ARGB,4,2            ## @AV_PIX_FMT_ARGB
	.comm	_IMAGE_ROLE_ARGB,4,2            ## @IMAGE_ROLE_ARGB
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid color cache bits: %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_HUFFMAN_CODES_PER_META_CODE,4,2 ## @HUFFMAN_CODES_PER_META_CODE
	.comm	_alphabet_sizes,8,3             ## @alphabet_sizes
	.comm	_HUFF_IDX_GREEN,8,3             ## @HUFF_IDX_GREEN
	.comm	_NUM_LITERAL_CODES,4,2          ## @NUM_LITERAL_CODES
	.comm	_HUFF_IDX_RED,8,3               ## @HUFF_IDX_RED
	.comm	_HUFF_IDX_BLUE,8,3              ## @HUFF_IDX_BLUE
	.comm	_HUFF_IDX_ALPHA,8,3             ## @HUFF_IDX_ALPHA
	.comm	_NUM_LENGTH_CODES,4,2           ## @NUM_LENGTH_CODES
	.comm	_HUFF_IDX_DIST,8,3              ## @HUFF_IDX_DIST
L_.str.1:                               ## @.str.1
	.asciz	"distance prefix code too large: %d\n"

	.comm	_NUM_SHORT_DISTANCES,4,2        ## @NUM_SHORT_DISTANCES
	.comm	_lz77_distance_offsets,8,3      ## @lz77_distance_offsets
L_.str.2:                               ## @.str.2
	.asciz	"color cache not found\n"

L_.str.3:                               ## @.str.3
	.asciz	"color cache index out-of-bounds\n"

	.no_dead_strip	_decode_entropy_coded_image
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_entropy_coded_image
_decode_entropy_coded_image:            ; @decode_entropy_coded_image
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x24, [x0, #16]
	mov	w8, #48
	umaddl	x8, w1, w8, x24
	str	w1, [x8]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	mov	x20, x8
	ldr	x0, [x20, #24]!
	cbnz	x0, LBB0_2
; %bb.1:
	bl	_av_frame_alloc
	str	x0, [x20]
	cbz	x0, LBB0_17
LBB0_2:
	mov	w25, w22
Lloh0:
	adrp	x8, _AV_PIX_FMT_ARGB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_PIX_FMT_ARGB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w21, w8, [x0, #4]
	str	w23, [x0]
Lloh3:
	adrp	x23, _IMAGE_ROLE_ARGB@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IMAGE_ROLE_ARGB@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, w22
	b.ne	LBB0_4
; %bb.3:
	mov	w8, #48
	madd	x8, x25, x8, x24
	ldr	w8, [x8, #40]
	cbz	w8, LBB0_16
LBB0_4:
	mov	w1, #1
	bl	_av_frame_get_buffer
	tbnz	w0, #31, LBB0_64
LBB0_5:
	add	x21, x19, #12
	mov	x0, x21
	bl	_get_bits1
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x21
	mov	w1, #4
	bl	_get_bits
                                        ; kill: def $w0 killed $w0 def $x0
	mov	w8, #48
	madd	x8, x25, x8, x24
	str	w0, [x8, #4]
	sub	w8, w0, #12
	cmn	w8, #12
	b.hi	LBB0_11
; %bb.7:
	ldr	w8, [x19, #8]
Lloh5:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x9]
	str	x0, [sp]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
LBB0_8:
	mov	x0, x8
LBB0_9:
	bl	_av_log
Lloh10:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_64
LBB0_10:
	mov	w8, #48
	madd	x8, x25, x8, x24
	str	wzr, [x8, #4]
	b	LBB0_12
LBB0_11:
	mov	w8, #1
	lsl	w0, w8, w0
	mov	w1, #4
	bl	_av_mallocz_array
	mov	w8, #48
	madd	x8, x25, x8, x24
	str	x0, [x8, #16]
	cbz	x0, LBB0_32
LBB0_12:
	mov	w8, #48
	madd	x28, x25, x8, x24
	mov	w8, #1
	str	w8, [x28, #8]!
	ldr	w9, [x23]
	cmp	w9, w22
	b.ne	LBB0_19
; %bb.13:
	mov	x0, x21
	bl	_get_bits1
	cbz	x0, LBB0_18
; %bb.14:
	mov	x0, x19
	bl	_decode_entropy_image
	tbnz	w0, #31, LBB0_64
; %bb.15:
	ldr	w8, [x19]
	str	w8, [x28]
	b	LBB0_19
LBB0_16:
	str	x0, [sp, #56]
	ldr	w0, [x19, #8]
	add	x1, sp, #56
	mov	w2, #0
	bl	_ff_thread_get_buffer
	tbz	w0, #31, LBB0_5
	b	LBB0_64
LBB0_17:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	b	_AVERROR
LBB0_18:
	ldr	w8, [x28]
LBB0_19:
Lloh16:
	adrp	x27, _HUFFMAN_CODES_PER_META_CODE@GOTPAGE
Lloh17:
	ldr	x27, [x27, _HUFFMAN_CODES_PER_META_CODE@GOTPAGEOFF]
	ldr	w9, [x27]
	mul	w0, w9, w8
	mov	w1, #4
	bl	_av_mallocz_array
	mov	w8, #48
	madd	x12, x25, x8, x24
	str	x0, [x12, #32]!
	cbz	x0, LBB0_32
; %bb.20:
	stp	x25, x24, [sp, #8]              ; 16-byte Folded Spill
	str	x20, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_33
; %bb.21:
	mov	w20, #0
	mov	w9, #48
	ldp	x11, x10, [sp, #8]              ; 16-byte Folded Reload
	madd	x9, x11, x9, x10
	add	x26, x9, #4
	ldr	w9, [x27]
Lloh18:
	adrp	x25, _alphabet_sizes@GOTPAGE
Lloh19:
	ldr	x25, [x25, _alphabet_sizes@GOTPAGEOFF]
	stp	x12, x28, [sp, #24]             ; 16-byte Folded Spill
	cmp	w9, #1
	b.lt	LBB0_30
LBB0_22:
	mov	x28, #0
	mul	w8, w9, w20
	add	x23, x0, w8, sxtw #2
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_read_huffman_code_simple
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x28, x28, #1
	ldrsw	x9, [x27]
	add	x23, x23, #4
	cmp	x28, x9
	b.ge	LBB0_29
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	w24, [x8, x28, lsl #2]
	cbnz	x28, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x26]
	mov	w9, #1
	lsl	w9, w9, w8
	add	w9, w9, w24
	cmp	w8, #1
	csel	w24, w24, w9, lt
LBB0_27:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x21
	bl	_get_bits1
	cbnz	x0, LBB0_23
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_read_huffman_code_normal
	tbz	w0, #31, LBB0_24
	b	LBB0_64
LBB0_29:
	ldp	x12, x28, [sp, #24]             ; 16-byte Folded Reload
	ldr	w8, [x28]
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=1
	ldr	x0, [x12]
	cmp	w9, #1
	b.ge	LBB0_22
	b	LBB0_30
LBB0_32:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_64
LBB0_33:
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x8, [x26]
	ldr	w20, [x8]
Lloh23:
	adrp	x9, _IMAGE_ROLE_ARGB@GOTPAGE
Lloh24:
	ldr	x9, [x9, _IMAGE_ROLE_ARGB@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w9, w22
	b.ne	LBB0_35
; %bb.34:
	ldr	w9, [x19, #4]
	cmp	w9, #0
	csel	w20, w9, w20, gt
LBB0_35:
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.lt	LBB0_63
; %bb.36:
	mov	w22, #0
	mov	w23, #0
	mov	w8, #48
	ldp	x10, x9, [sp, #8]               ; 16-byte Folded Reload
	madd	x8, x10, x8, x9
	add	x9, x8, #4
	add	x8, x8, #16
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	b	LBB0_40
LBB0_37:                                ;   in Loop: Header=BB0_40 Depth=1
	add	w8, w22, #1
	cmp	w8, w20
	cinc	w23, w23, eq
	csinc	w22, wzr, w22, eq
LBB0_38:                                ;   in Loop: Header=BB0_40 Depth=1
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=1
	ldr	x8, [x26]
	ldr	w8, [x8, #4]
	cmp	w23, w8
	b.ge	LBB0_63
LBB0_40:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_56 Depth 2
                                        ;     Child Loop BB0_59 Depth 2
	mov	x0, x19
	ldr	x1, [sp, #48]                   ; 8-byte Folded Reload
	mov	x2, x22
	mov	x3, x23
	bl	_get_huffman_group
	mov	x24, x0
Lloh26:
	adrp	x8, _HUFF_IDX_GREEN@GOTPAGE
Lloh27:
	ldr	x8, [x8, _HUFF_IDX_GREEN@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	add	x0, x0, x8, lsl #2
	mov	x1, x21
	bl	_huff_reader_get_symbol
	mov	x25, x0
Lloh29:
	adrp	x8, _NUM_LITERAL_CODES@GOTPAGE
Lloh30:
	ldr	x8, [x8, _NUM_LITERAL_CODES@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w8, w25
	b.le	LBB0_43
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	ldr	x0, [x26]
	mov	x1, x22
	mov	x2, x23
	bl	_GET_PIXEL
	mov	x26, x0
	str	w25, [x0, #8]
Lloh32:
	adrp	x8, _HUFF_IDX_RED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HUFF_IDX_RED@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	add	x0, x24, x8, lsl #2
	mov	x1, x21
	bl	_huff_reader_get_symbol
	str	w0, [x26, #4]
Lloh35:
	adrp	x8, _HUFF_IDX_BLUE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _HUFF_IDX_BLUE@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	add	x0, x24, x8, lsl #2
	mov	x1, x21
	bl	_huff_reader_get_symbol
	str	w0, [x26, #12]
Lloh38:
	adrp	x8, _HUFF_IDX_ALPHA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _HUFF_IDX_ALPHA@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	add	x0, x24, x8, lsl #2
	mov	x1, x21
	bl	_huff_reader_get_symbol
	str	w0, [x26]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cbz	w8, LBB0_37
; %bb.42:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x0, x26
	bl	_AV_RB32
	mov	x1, x0
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_color_cache_put
	b	LBB0_37
LBB0_43:                                ;   in Loop: Header=BB0_40 Depth=1
Lloh41:
	adrp	x9, _NUM_LENGTH_CODES@GOTPAGE
Lloh42:
	ldr	x9, [x9, _NUM_LENGTH_CODES@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	add	w9, w9, w8
	cmp	w9, w25
	b.le	LBB0_51
; %bb.44:                               ;   in Loop: Header=BB0_40 Depth=1
	sub	w26, w25, w8
	cmp	w26, #4
	b.lt	LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_40 Depth=1
	sub	w8, w26, #2
	lsr	w1, w8, #1
	mov	w8, #2
	bfxil	w8, w26, #0, #1
	lsl	w25, w8, w1
	mov	x0, x21
	bl	_get_bits
	add	w26, w0, w25
LBB0_46:                                ;   in Loop: Header=BB0_40 Depth=1
Lloh44:
	adrp	x8, _HUFF_IDX_DIST@GOTPAGE
Lloh45:
	ldr	x8, [x8, _HUFF_IDX_DIST@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	add	x0, x24, x8, lsl #2
	mov	x1, x21
	bl	_huff_reader_get_symbol
	cmp	w0, #40
	b.hs	LBB0_65
; %bb.47:                               ;   in Loop: Header=BB0_40 Depth=1
	cmp	w0, #4
	b.lo	LBB0_49
; %bb.48:                               ;   in Loop: Header=BB0_40 Depth=1
	sub	w8, w0, #2
	lsr	w1, w8, #1
	mov	w8, #2
	bfxil	w8, w0, #0, #1
	lsl	w24, w8, w1
	mov	x0, x21
	bl	_get_bits
	add	w0, w0, w24
LBB0_49:                                ;   in Loop: Header=BB0_40 Depth=1
Lloh47:
	adrp	x8, _NUM_SHORT_DISTANCES@GOTPAGE
Lloh48:
	ldr	x8, [x8, _NUM_SHORT_DISTANCES@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	subs	w8, w0, w8
	b.ge	LBB0_54
; %bb.50:                               ;   in Loop: Header=BB0_40 Depth=1
Lloh50:
	adrp	x8, _lz77_distance_offsets@GOTPAGE
Lloh51:
	ldr	x8, [x8, _lz77_distance_offsets@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, sxtw #3]
	ldp	w9, w8, [x8]
	madd	w1, w8, w20, w9
	mov	w0, #1
	bl	_FFMAX
	b	LBB0_55
LBB0_51:                                ;   in Loop: Header=BB0_40 Depth=1
	ldr	x0, [x26]
	mov	x1, x22
	mov	x2, x23
	bl	_GET_PIXEL
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w9, [x8]
	cbz	w9, LBB0_66
; %bb.52:                               ;   in Loop: Header=BB0_40 Depth=1
Lloh53:
	adrp	x8, _NUM_LITERAL_CODES@GOTPAGE
Lloh54:
	ldr	x8, [x8, _NUM_LITERAL_CODES@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x10, _NUM_LENGTH_CODES@GOTPAGE
Lloh57:
	ldr	x10, [x10, _NUM_LENGTH_CODES@GOTPAGEOFF]
Lloh58:
	ldr	w10, [x10]
	add	w8, w8, w10
	sub	w8, w25, w8
	mov	w10, #1
	lsl	w9, w10, w9
	cmp	w8, w9
	b.ge	LBB0_67
; %bb.53:                               ;   in Loop: Header=BB0_40 Depth=1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	ldr	x9, [x9]
	ldr	w1, [x9, w8, sxtw #2]
	bl	_AV_WB32
	add	w8, w22, #1
	cmp	w8, w20
	cinc	w23, w23, eq
	csinc	w22, wzr, w22, eq
	b	LBB0_39
LBB0_54:                                ;   in Loop: Header=BB0_40 Depth=1
	add	w0, w8, #1
LBB0_55:                                ;   in Loop: Header=BB0_40 Depth=1
	sub	w8, w22, w0
	subs	w9, w0, w22
	csel	w9, w9, wzr, gt
	csel	w8, wzr, w8, gt
	mov	x10, x23
	cmp	w9, w20
	b.lt	LBB0_57
LBB0_56:                                ;   Parent Loop BB0_40 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w10, w10, #1
	sub	w9, w9, w20
	cmp	w9, w20
	b.ge	LBB0_56
LBB0_57:                                ;   in Loop: Header=BB0_40 Depth=1
	sub	w11, w20, w9
	cmp	w9, #0
	csel	w1, w11, w8, gt
	cset	w8, gt
	sub	w24, w10, w8
	mov	w0, #0
	bl	_FFMAX
	mov	x25, x0
	mov	w0, #0
	mov	x1, x24
	bl	_FFMAX
	tbnz	w26, #31, LBB0_38
; %bb.58:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x24, x0
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x0, [x8]
	add	w28, w26, #1
	mov	x26, x8
LBB0_59:                                ;   Parent Loop BB0_40 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x1, x25
	mov	x2, x24
	bl	_GET_PIXEL
	mov	x27, x0
	ldr	x0, [x26]
	mov	x1, x22
	mov	x2, x23
	bl	_GET_PIXEL
	mov	x26, x0
	mov	x1, x27
	bl	_AV_COPY32
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cbz	w8, LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=2
	mov	x0, x26
	bl	_AV_RB32
	mov	x1, x0
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	bl	_color_cache_put
LBB0_61:                                ;   in Loop: Header=BB0_59 Depth=2
	add	w9, w22, #1
	add	w8, w25, #1
	cmp	w9, w20
	cinc	w23, w23, eq
	csinc	w22, wzr, w22, eq
	cmp	w8, w20
	cinc	w24, w24, eq
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	ldr	x0, [x26]
	ldr	w9, [x0, #4]
	cmp	w23, w9
	ccmp	w24, w9, #4, ne
	b.eq	LBB0_39
; %bb.62:                               ;   in Loop: Header=BB0_59 Depth=2
	cmp	w8, w20
	csel	w25, wzr, w8, eq
	subs	w28, w28, #1
	b.ne	LBB0_59
	b	LBB0_39
LBB0_63:
	mov	w0, #0
LBB0_64:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_65:
	ldr	w8, [x19, #8]
Lloh59:
	adrp	x9, _AV_LOG_ERROR@GOTPAGE
Lloh60:
	ldr	x9, [x9, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh61:
	ldr	w1, [x9]
	str	x0, [sp]
Lloh62:
	adrp	x2, l_.str.1@PAGE
Lloh63:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_66:
	ldr	w0, [x19, #8]
Lloh64:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh65:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh66:
	ldr	w1, [x8]
Lloh67:
	adrp	x2, l_.str.2@PAGE
Lloh68:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_9
LBB0_67:
	ldr	w0, [x19, #8]
Lloh69:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
Lloh72:
	adrp	x2, l_.str.3@PAGE
Lloh73:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_9
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_PIX_FMT_ARGB,4,2            ; @AV_PIX_FMT_ARGB
	.comm	_IMAGE_ROLE_ARGB,4,2            ; @IMAGE_ROLE_ARGB
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid color cache bits: %d\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_HUFFMAN_CODES_PER_META_CODE,4,2 ; @HUFFMAN_CODES_PER_META_CODE
	.comm	_alphabet_sizes,8,3             ; @alphabet_sizes
	.comm	_HUFF_IDX_GREEN,8,3             ; @HUFF_IDX_GREEN
	.comm	_NUM_LITERAL_CODES,4,2          ; @NUM_LITERAL_CODES
	.comm	_HUFF_IDX_RED,8,3               ; @HUFF_IDX_RED
	.comm	_HUFF_IDX_BLUE,8,3              ; @HUFF_IDX_BLUE
	.comm	_HUFF_IDX_ALPHA,8,3             ; @HUFF_IDX_ALPHA
	.comm	_NUM_LENGTH_CODES,4,2           ; @NUM_LENGTH_CODES
	.comm	_HUFF_IDX_DIST,8,3              ; @HUFF_IDX_DIST
l_.str.1:                               ; @.str.1
	.asciz	"distance prefix code too large: %d\n"

	.comm	_NUM_SHORT_DISTANCES,4,2        ; @NUM_SHORT_DISTANCES
	.comm	_lz77_distance_offsets,8,3      ; @lz77_distance_offsets
l_.str.2:                               ; @.str.2
	.asciz	"color cache not found\n"

l_.str.3:                               ; @.str.3
	.asciz	"color cache index out-of-bounds\n"

	.no_dead_strip	_decode_entropy_coded_image
.subsections_via_symbols
