	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flic_decode_frame_24BPP
_flic_decode_frame_24BPP:               ## @flic_decode_frame_24BPP
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %rbx
	movq	(%rdi), %r14
	leaq	-44(%rbp), %rdi
	movq	%rcx, %rsi
	movl	%r8d, %edx
	callq	_bytestream2_init
	movq	(%r14), %rsi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_ff_reget_buffer
	testl	%eax, %eax
	js	LBB0_94
## %bb.1:
	movq	(%r14), %rax
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	8(%r14), %rcx
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	(%rdx), %rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	imull	(%rcx), %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, %ebx
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_bytestream2_skip
	movq	%r14, %rdi
	callq	_bytestream2_get_le16
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	$8, %esi
	callq	_bytestream2_skip
	cmpl	%r15d, %ebx
	cmovael	%r15d, %ebx
	cmpl	$15, %ebx
	ja	LBB0_3
LBB0_2:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_94
LBB0_3:
	movl	%r15d, -92(%rbp)                ## 4-byte Spill
	addl	$-16, %ebx
	movq	-104(%rbp), %r14                ## 8-byte Reload
	je	LBB0_89
## %bb.4:
	cmpl	$0, -112(%rbp)                  ## 4-byte Folded Reload
	jle	LBB0_89
## %bb.5:
	leaq	-44(%rbp), %r15
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_24 Depth 2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##         Child Loop BB0_59 Depth 4
                                        ##         Child Loop BB0_29 Depth 4
                                        ##     Child Loop BB0_14 Depth 2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##         Child Loop BB0_70 Depth 4
                                        ##         Child Loop BB0_19 Depth 4
                                        ##     Child Loop BB0_79 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
                                        ##       Child Loop BB0_42 Depth 3
                                        ##         Child Loop BB0_49 Depth 4
                                        ##         Child Loop BB0_45 Depth 4
	movq	%r15, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$4, %eax
	jl	LBB0_89
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, %ecx
	cmpl	%ebx, %eax
	jbe	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
	movl	%ebx, %r12d
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%rcx, %r12
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_tell
                                        ## kill: def $eax killed $eax def $rax
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	leal	(%r12,%rax), %r13d
	addl	$-4, %r13d
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	leal	-128(%rax), %ecx
	cmpl	$10, %ecx
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	ja	LBB0_84
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	jmpq	*%rcx
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movq	%rax, %r12
	testl	%r12d, %r12d
	jle	LBB0_85
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_35 Depth=2
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	decl	%r12d
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
LBB0_52:                                ##   in Loop: Header=BB0_35 Depth=2
	addl	%eax, %ebx
	testl	%r12d, %r12d
	jle	LBB0_85
LBB0_35:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_42 Depth 3
                                        ##         Child Loop BB0_49 Depth 4
                                        ##         Child Loop BB0_45 Depth 4
	movq	%r15, %rdi
	callq	_bytestream2_tell
	addl	$2, %eax
	cmpl	%r13d, %eax
	jg	LBB0_85
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	cmpl	-116(%rbp), %ebx                ## 4-byte Folded Reload
	ja	LBB0_2
## %bb.37:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_bytestream2_get_le16
	movq	%rax, %rdi
	movl	$16, %esi
	callq	_sign_extend
	testl	%eax, %eax
	js	LBB0_38
## %bb.40:                              ##   in Loop: Header=BB0_35 Depth=2
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	movl	%eax, %ebx
	callq	_CHECK_PIXEL_PTR
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	je	LBB0_51
## %bb.41:                              ##   in Loop: Header=BB0_35 Depth=2
	xorl	%r13d, %r13d
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_42
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_42 Depth=3
	incl	%r13d
	movl	%r14d, %ebx
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	leaq	-44(%rbp), %r15
	je	LBB0_51
LBB0_42:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_49 Depth 4
                                        ##         Child Loop BB0_45 Depth 4
	movq	%r15, %rdi
	callq	_bytestream2_tell
	addl	$2, %eax
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_51
## %bb.43:                              ##   in Loop: Header=BB0_42 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	leal	(%rax,%rax,2), %r14d
	addl	%ebx, %r14d
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_sign_extend
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_44
## %bb.46:                              ##   in Loop: Header=BB0_42 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_tell
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%r12,2), %eax
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_51
## %bb.47:                              ##   in Loop: Header=BB0_42 Depth=3
	leal	(%r12,%r12,2), %edi
	callq	_CHECK_PIXEL_PTR
	testl	%r12d, %r12d
	je	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_42 Depth=3
	movslq	%r14d, %rbx
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ##       Parent Loop BB0_42 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_le24
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_AV_WL24
	addq	$3, %rbx
	addl	$3, %r14d
	decl	%r12d
	jne	LBB0_49
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_42 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_get_le24
	movl	%eax, %r15d
	leal	(%r12,%r12,2), %edi
	negl	%edi
	callq	_CHECK_PIXEL_PTR
	negl	%r12d
	movslq	%r14d, %rbx
	cmpl	$2, %r12d
	movl	$1, %eax
	cmovll	%eax, %r12d
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_35 Depth=2
                                        ##       Parent Loop BB0_42 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_AV_WL24
	addq	$3, %rbx
	addl	$3, %r14d
	decl	%r12d
	jne	LBB0_45
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_35 Depth=2
	negl	%eax
	movq	8(%r14), %rcx
	cmpl	%eax, (%rcx)
	jb	LBB0_2
## %bb.39:                              ##   in Loop: Header=BB0_35 Depth=2
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	imull	(%rcx), %eax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_52
LBB0_76:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	-6(%rax), %ebx
	movq	8(%r14), %rax
	movl	4(%rax), %edi
	movl	$2, %esi
	callq	_FFALIGN
                                        ## kill: def $eax killed $eax def $rax
	movq	8(%r14), %rcx
	movl	(%rcx), %edx
	imull	%edx, %eax
	leal	(%rax,%rax,2), %eax
	cmpl	%eax, %ebx
	jbe	LBB0_77
## %bb.95:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.6(%rip), %rdx
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bytestream2_skip
	jmp	LBB0_85
LBB0_82:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	callq	_ff_dlog
	jmp	LBB0_83
LBB0_84:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.7(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_85
LBB0_53:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
LBB0_83:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leal	-6(%rax), %esi
	movq	%r15, %rdi
	callq	_bytestream2_skip
	jmp	LBB0_85
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_85
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_74:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	8(%rdx), %rax
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
LBB0_75:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	(%rdx), %rcx
	movq	8(%rcx), %rcx
	addl	(%rcx), %ebx
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	cmpl	(%rax), %ecx
	movq	%rdx, %r14
	jae	LBB0_85
LBB0_14:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_16 Depth 3
                                        ##         Child Loop BB0_70 Depth 4
                                        ##         Child Loop BB0_19 Depth 4
	movl	%ecx, -72(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	8(%r14), %rax
	movq	%r14, %rdx
	movl	4(%rax), %r14d
	testl	%r14d, %r14d
	jle	LBB0_75
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r13d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_73:                                ##   in Loop: Header=BB0_16 Depth=3
	testl	%r14d, %r14d
	leaq	-44(%rbp), %r15
	jle	LBB0_74
LBB0_16:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_14 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_70 Depth 4
                                        ##         Child Loop BB0_19 Depth 4
	movq	%r15, %rdi
	callq	_bytestream2_tell
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jge	LBB0_74
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_sign_extend
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_67
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_get_le24
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	leal	(%rbx,%rbx,2), %edi
	callq	_CHECK_PIXEL_PTR
	movslq	%r13d, %r12
	addq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_19 Depth=4
	addq	$3, %r12
	addl	$3, %r13d
	decl	%ebx
	je	LBB0_73
LBB0_19:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_14 Depth=2
                                        ##       Parent Loop BB0_16 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%r14d, %r15d
	movq	%r12, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_AV_WL24
	leal	-1(%r15), %r14d
	testl	%r15d, %r15d
	jg	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=4
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_67:                                ##   in Loop: Header=BB0_16 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_tell
	leal	(%rbx,%rbx,2), %edi
	subl	%edi, %eax
	cmpl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_74
## %bb.68:                              ##   in Loop: Header=BB0_16 Depth=3
	negl	%edi
	callq	_CHECK_PIXEL_PTR
	testl	%ebx, %ebx
	jns	LBB0_73
## %bb.69:                              ##   in Loop: Header=BB0_16 Depth=3
	negl	%ebx
	movslq	%r13d, %r15
	cmpl	$2, %ebx
	movl	$1, %eax
	cmovll	%eax, %ebx
	addq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	jmp	LBB0_70
	.p2align	4, 0x90
LBB0_72:                                ##   in Loop: Header=BB0_70 Depth=4
	addq	$3, %r15
	addl	$3, %r13d
	decl	%ebx
	je	LBB0_73
LBB0_70:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_14 Depth=2
                                        ##       Parent Loop BB0_16 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%r14d, %r12d
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_le24
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_AV_WL24
	leal	-1(%r12), %r14d
	testl	%r12d, %r12d
	jg	LBB0_72
## %bb.71:                              ##   in Loop: Header=BB0_70 Depth=4
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.5(%rip), %rdx
	movl	%r14d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_72
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_85
## %bb.23:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_65:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	8(%r14), %rax
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
LBB0_66:                                ##   in Loop: Header=BB0_24 Depth=2
	movq	(%r14), %rcx
	movq	8(%rcx), %rcx
	addl	(%rcx), %ebx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	incl	%ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %ecx
	jae	LBB0_85
LBB0_24:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_26 Depth 3
                                        ##         Child Loop BB0_59 Depth 4
                                        ##         Child Loop BB0_29 Depth 4
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	movq	8(%r14), %rax
	movl	4(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_66
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=2
	leal	(%rcx,%rcx,2), %r14d
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=3
	movl	-72(%rbp), %eax                 ## 4-byte Reload
	addl	%ebx, %eax
	movl	%eax, %ebx
LBB0_63:                                ##   in Loop: Header=BB0_26 Depth=3
	leaq	-44(%rbp), %r15
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	testl	%r14d, %r14d
	jle	LBB0_65
LBB0_26:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_59 Depth 4
                                        ##         Child Loop BB0_29 Depth 4
	movq	%r15, %rdi
	callq	_bytestream2_tell
	cmpl	%r13d, %eax
	jge	LBB0_65
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %rdi
	movl	$8, %esi
	callq	_sign_extend
	movl	%eax, %r12d
	testl	%eax, %eax
	jle	LBB0_55
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %r15
	movl	%r12d, %edi
	callq	_CHECK_PIXEL_PTR
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %r13
	addq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_29 Depth=4
	incq	%rbx
	cmpl	%ebx, %r12d
	je	LBB0_32
LBB0_29:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ##       Parent Loop BB0_26 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%r14d, %eax
	movb	%r15b, (%r13,%rbx)
	leal	-1(%rax), %r14d
	testl	%eax, %eax
	jg	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=4
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.3(%rip), %rdx
	movl	%r14d, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_26 Depth=3
	movq	%r15, %rdi
	callq	_bytestream2_tell
	subl	%r12d, %eax
	cmpl	%r13d, %eax
	jg	LBB0_65
## %bb.56:                              ##   in Loop: Header=BB0_26 Depth=3
	movl	%r12d, %r15d
	negl	%r15d
	movl	%r15d, %edi
	callq	_CHECK_PIXEL_PTR
	testl	%r12d, %r12d
	js	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_26 Depth=3
	leaq	-44(%rbp), %r15
	testl	%r14d, %r14d
	jg	LBB0_26
	jmp	LBB0_65
LBB0_58:                                ##   in Loop: Header=BB0_26 Depth=3
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %r12
	cmpl	$2, %r15d
	movl	$1, %eax
	cmovll	%eax, %r15d
	addq	-80(%rbp), %r12                 ## 8-byte Folded Reload
	xorl	%r13d, %r13d
	jmp	LBB0_59
	.p2align	4, 0x90
LBB0_61:                                ##   in Loop: Header=BB0_59 Depth=4
	incq	%r13
	cmpl	%r13d, %r15d
	je	LBB0_62
LBB0_59:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_24 Depth=2
                                        ##       Parent Loop BB0_26 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movl	%r14d, %ebx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_byte
	movb	%al, (%r12,%r13)
	leal	-1(%rbx), %r14d
	testl	%ebx, %ebx
	jg	LBB0_61
## %bb.60:                              ##   in Loop: Header=BB0_59 Depth=4
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.4(%rip), %rdx
	movl	%r14d, %ecx
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_61
LBB0_62:                                ##   in Loop: Header=BB0_26 Depth=3
	movl	-72(%rbp), %ebx                 ## 4-byte Reload
	addl	%r13d, %ebx
	jmp	LBB0_63
LBB0_54:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	movq	8(%r14), %rcx
	movq	8(%rax), %rax
	movl	(%rcx), %edx
	imull	(%rax), %edx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_85
LBB0_77:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rax
	movq	8(%rax), %rax
	imull	(%rax), %edx
	testl	%edx, %edx
	je	LBB0_85
## %bb.78:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_79
	.p2align	4, 0x90
LBB0_81:                                ##   in Loop: Header=BB0_79 Depth=2
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movl	(%rax), %eax
	addl	%eax, %ebx
	imull	(%rcx), %eax
	cmpl	%eax, %ebx
	jae	LBB0_85
LBB0_79:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %rsi
	addq	-80(%rbp), %rsi                 ## 8-byte Folded Reload
	movl	4(%rcx), %eax
	leal	(%rax,%rax,2), %edx
	movq	%r15, %rdi
	callq	_bytestream2_get_buffer
	movq	8(%r14), %rcx
	testb	$1, 4(%rcx)
	je	LBB0_81
## %bb.80:                              ##   in Loop: Header=BB0_79 Depth=2
	movq	%r15, %rdi
	movl	$3, %esi
	callq	_bytestream2_skip
	movq	8(%r14), %rcx
	jmp	LBB0_81
	.p2align	4, 0x90
LBB0_85:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_tell
	cmpl	%eax, %r13d
	jl	LBB0_86
## %bb.87:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_bytestream2_tell
	subl	%eax, %r13d
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_bytestream2_skip
	movl	-120(%rbp), %ebx                ## 4-byte Reload
	subl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_89
## %bb.88:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	leal	-1(%rcx), %eax
	cmpl	$1, %ecx
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	jg	LBB0_6
	jmp	LBB0_89
LBB0_86:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
LBB0_89:
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	je	LBB0_92
## %bb.90:
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	$1, %eax
	je	LBB0_92
## %bb.91:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_tell
	leaq	L_.str.9(%rip), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_av_log
LBB0_92:
	movq	(%r14), %rsi
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_94
## %bb.93:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movl	-92(%rbp), %eax                 ## 4-byte Reload
LBB0_94:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_83, LBB0_83-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_76, LBB0_76-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_82, LBB0_82-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
LJTI0_0:
	.long	L0_0_set_83
	.long	L0_0_set_53
	.long	L0_0_set_33
	.long	L0_0_set_76
	.long	L0_0_set_12
	.long	L0_0_set_33
	.long	L0_0_set_76
	.long	L0_0_set_82
	.long	L0_0_set_22
	.long	L0_0_set_54
	.long	L0_0_set_82
	.end_data_region
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid chunk_size = %u > frame_size = %u\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unexpected Palette chunk %d in non-palettized FLC\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.2:                               ## @.str.2
	.asciz	"Unexpected FLI_LC chunk in non-palettized FLC\n"

L_.str.3:                               ## @.str.3
	.asciz	"pixel_countdown < 0 (%d) (linea%d)\n"

L_.str.4:                               ## @.str.4
	.asciz	"pixel_countdown < 0 (%d) at line %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"pixel_countdown < 0 (%d)\n"

L_.str.6:                               ## @.str.6
	.asciz	"In chunk FLI_COPY : source data (%d bytes) bigger than image, skipping chunk\n"

L_.str.7:                               ## @.str.7
	.asciz	"Unrecognized chunk type: %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"Chunk overread\n"

L_.str.9:                               ## @.str.9
	.asciz	"Processed FLI chunk where chunk size = %d and final chunk ptr = %d\n"

	.no_dead_strip	_flic_decode_frame_24BPP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flic_decode_frame_24BPP
_flic_decode_frame_24BPP:               ; @flic_decode_frame_24BPP
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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, x4
	mov	x24, x2
	mov	x25, x1
	mov	x22, x0
	ldr	x19, [x0]
	sub	x0, x29, #84
	mov	x1, x3
	mov	x2, x4
	bl	_bytestream2_init
	ldr	x1, [x19]
	mov	x0, x22
	mov	w2, #0
	bl	_ff_reget_buffer
	tbnz	w0, #31, LBB0_92
; %bb.1:
	ldp	x8, x9, [x19]
	str	x19, [sp, #80]                  ; 8-byte Folded Spill
	ldp	x10, x8, [x8]
	ldr	x10, [x10]
	str	x10, [sp, #96]                  ; 8-byte Folded Spill
	ldr	w20, [x9]
	ldr	w21, [x8]
	sub	x0, x29, #84
	bl	_bytestream2_get_le32
	mov	x19, x0
	sub	x0, x29, #84
	mov	w1, #2
	bl	_bytestream2_skip
	sub	x0, x29, #84
	bl	_bytestream2_get_le16
	mov	x26, x0
	sub	x0, x29, #84
	mov	w1, #8
	bl	_bytestream2_skip
	cmp	w19, w23
	csel	w8, w19, w23, lo
	cmp	w8, #15
	b.hi	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_93
LBB0_3:
	str	x26, [sp, #72]                  ; 8-byte Folded Spill
	stp	x25, x24, [sp, #16]             ; 16-byte Folded Spill
	str	x23, [sp, #32]                  ; 8-byte Folded Spill
	subs	w19, w8, #16
	b.eq	LBB0_87
; %bb.4:
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_87
; %bb.5:
Lloh3:
	adrp	x27, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x27, [x27, _AV_LOG_ERROR@GOTPAGEOFF]
	mul	w8, w21, w20
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
Lloh5:
	adrp	x26, l_.str.5@PAGE
Lloh6:
	add	x26, x26, l_.str.5@PAGEOFF
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_61 Depth 2
                                        ;       Child Loop BB0_65 Depth 3
                                        ;         Child Loop BB0_75 Depth 4
                                        ;         Child Loop BB0_69 Depth 4
                                        ;     Child Loop BB0_41 Depth 2
                                        ;       Child Loop BB0_45 Depth 3
                                        ;         Child Loop BB0_55 Depth 4
                                        ;         Child Loop BB0_49 Depth 4
                                        ;     Child Loop BB0_81 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;       Child Loop BB0_21 Depth 3
                                        ;         Child Loop BB0_26 Depth 4
                                        ;         Child Loop BB0_28 Depth 4
	sub	x0, x29, #84
	bl	_bytestream2_get_bytes_left
	cmp	w0, #4
	b.lt	LBB0_87
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #84
	bl	_bytestream2_get_le32
	mov	x21, x0
	cmp	w0, w19
	b.ls	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh7:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	stp	x21, x19, [sp]
	mov	x0, x22
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	x21, x19
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #84
	bl	_bytestream2_tell
	add	w8, w21, w0
	sub	w24, w8, #4
	sub	x0, x29, #84
	bl	_bytestream2_get_le16
	mov	x2, x0
	sub	w8, w2, #128
	cmp	w8, #10
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	stp	x21, x19, [sp, #48]             ; 16-byte Folded Spill
	b.hi	LBB0_34
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x11, lJTI0_0@PAGE
Lloh13:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_11
	ldrh	w10, [x11, x8, lsl #1]
	add	x9, x9, x10, lsl #2
	str	w24, [sp, #92]                  ; 4-byte Folded Spill
	br	x9
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #84
	bl	_bytestream2_get_le16
	mov	x28, x0
	cmp	w28, #1
	b.lt	LBB0_83
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w19, #0
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	ldr	w19, [sp, #68]                  ; 4-byte Folded Reload
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	add	w19, w8, w19
	cmp	w28, #0
	b.le	LBB0_83
LBB0_15:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_21 Depth 3
                                        ;         Child Loop BB0_26 Depth 4
                                        ;         Child Loop BB0_28 Depth 4
	sub	x0, x29, #84
	bl	_bytestream2_tell
	add	w8, w0, #2
	cmp	w8, w24
	b.gt	LBB0_83
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cmp	w19, w8
	b.hi	LBB0_2
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	sub	x0, x29, #84
	bl	_bytestream2_get_le16
	mov	w1, #16
	bl	_sign_extend
	mov	x21, x0
	tbnz	w0, #31, LBB0_29
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=2
	str	w19, [sp, #68]                  ; 4-byte Folded Spill
	sub	w28, w28, #1
	mov	w0, #0
	bl	_CHECK_PIXEL_PTR
	cbz	w21, LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	w23, #0
	ldr	w20, [sp, #68]                  ; 4-byte Folded Reload
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=3
	add	w23, w23, #1
	cmp	w23, w21
	ldr	w24, [sp, #92]                  ; 4-byte Folded Reload
	b.eq	LBB0_13
LBB0_21:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_26 Depth 4
                                        ;         Child Loop BB0_28 Depth 4
	sub	x0, x29, #84
	bl	_bytestream2_tell
	add	w8, w0, #2
	cmp	w8, w24
	b.gt	LBB0_13
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_get_byte
	add	w8, w0, w0, lsl #1
	add	w20, w8, w20
	sub	x0, x29, #84
	bl	_bytestream2_get_byte
	mov	w1, #8
	bl	_sign_extend
	mov	x19, x0
	tbnz	w0, #31, LBB0_27
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_tell
	add	w8, w0, w19, lsl #1
	cmp	w8, w24
	b.gt	LBB0_13
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=3
	add	w0, w19, w19, lsl #1
	bl	_CHECK_PIXEL_PTR
	cbz	w19, LBB0_20
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=3
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x25, x8, w20, sxtw
LBB0_26:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ;       Parent Loop BB0_21 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	sub	x0, x29, #84
	bl	_bytestream2_get_le24
	mov	x1, x0
	mov	x0, x25
	bl	_AV_WL24
	add	x25, x25, #3
	add	w20, w20, #3
	subs	w19, w19, #1
	b.ne	LBB0_26
	b	LBB0_20
LBB0_27:                                ;   in Loop: Header=BB0_21 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_get_le24
	mov	x25, x0
	sub	w0, w19, w19, lsl #2
	bl	_CHECK_PIXEL_PTR
	neg	w8, w19
	cmp	w8, #1
	mov	w8, #1
	csneg	w24, w8, w19, le
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x19, x8, w20, sxtw
LBB0_28:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_15 Depth=2
                                        ;       Parent Loop BB0_21 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x0, x19
	mov	x1, x25
	bl	_AV_WL24
	add	x19, x19, #3
	add	w20, w20, #3
	subs	w24, w24, #1
	b.ne	LBB0_28
	b	LBB0_20
LBB0_29:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	neg	w8, w21
	cmp	w9, w8
	b.lo	LBB0_2
; %bb.30:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	mul	w8, w9, w8
	b	LBB0_14
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w19, w21, #6
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	mov	w1, #2
	bl	_FFALIGN
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	mul	w10, w0, w9
	add	w10, w10, w10, lsl #1
	cmp	w19, w10
	b.ls	LBB0_78
; %bb.32:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x27]
	str	x19, [sp]
	mov	x0, x22
Lloh14:
	adrp	x2, l_.str.6@PAGE
Lloh15:
	add	x2, x2, l_.str.6@PAGEOFF
	bl	_av_log
	sub	x0, x29, #84
	mov	x1, x19
	bl	_bytestream2_skip
	b	LBB0_83
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ff_dlog
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x27]
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
	str	x2, [sp]
	mov	x0, x22
Lloh18:
	adrp	x2, l_.str.7@PAGE
Lloh19:
	add	x2, x2, l_.str.7@PAGEOFF
	bl	_av_log
	b	LBB0_83
LBB0_35:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x27]
	mov	x0, x22
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_av_log
LBB0_36:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	w1, w21, #6
	sub	x0, x29, #84
	bl	_bytestream2_skip
	b	LBB0_83
LBB0_37:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_83
; %bb.38:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w25, #0
	mov	w9, #0
	b	LBB0_41
LBB0_39:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x8, [x20, #8]
	ldr	w25, [sp, #68]                  ; 4-byte Folded Reload
LBB0_40:                                ;   in Loop: Header=BB0_41 Depth=2
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	add	w25, w9, w25
	ldr	w9, [sp, #92]                   ; 4-byte Folded Reload
	add	w9, w9, #1
	ldr	w8, [x8]
	cmp	w9, w8
	b.hs	LBB0_83
LBB0_41:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_45 Depth 3
                                        ;         Child Loop BB0_55 Depth 4
                                        ;         Child Loop BB0_49 Depth 4
	str	w9, [sp, #92]                   ; 4-byte Folded Spill
	sub	x0, x29, #84
	mov	w1, #1
	bl	_bytestream2_skip
	ldr	x8, [x20, #8]
	ldr	w23, [x8, #4]
	cmp	w23, #1
	b.lt	LBB0_40
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	str	w25, [sp, #68]                  ; 4-byte Folded Spill
	b	LBB0_45
LBB0_43:                                ;   in Loop: Header=BB0_45 Depth=3
	mov	x28, x23
LBB0_44:                                ;   in Loop: Header=BB0_45 Depth=3
	mov	x23, x28
	cmp	w28, #0
	b.le	LBB0_39
LBB0_45:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_55 Depth 4
                                        ;         Child Loop BB0_49 Depth 4
	sub	x0, x29, #84
	bl	_bytestream2_tell
	cmp	w0, w24
	b.ge	LBB0_39
; %bb.46:                               ;   in Loop: Header=BB0_45 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_get_byte
	mov	w1, #8
	bl	_sign_extend
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_51
; %bb.47:                               ;   in Loop: Header=BB0_45 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_get_le24
	mov	x19, x0
	add	w0, w20, w20, lsl #1
	bl	_CHECK_PIXEL_PTR
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x21, x8, w25, sxtw
	b	LBB0_49
LBB0_48:                                ;   in Loop: Header=BB0_49 Depth=4
	add	x21, x21, #3
	add	w25, w25, #3
	mov	x23, x28
	subs	w20, w20, #1
	b.eq	LBB0_44
LBB0_49:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ;       Parent Loop BB0_45 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	mov	x0, x21
	mov	x1, x19
	bl	_AV_WL24
	sub	w28, w23, #1
	cmp	w23, #0
	b.gt	LBB0_48
; %bb.50:                               ;   in Loop: Header=BB0_49 Depth=4
	ldr	w1, [x27]
	str	x28, [sp]
	mov	x0, x22
	mov	x2, x26
	bl	_av_log
	b	LBB0_48
LBB0_51:                                ;   in Loop: Header=BB0_45 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_tell
	mov	x8, x0
	sub	w0, w20, w20, lsl #2
	add	w8, w8, w0
	cmp	w8, w24
	b.gt	LBB0_39
; %bb.52:                               ;   in Loop: Header=BB0_45 Depth=3
	bl	_CHECK_PIXEL_PTR
	tbz	w20, #31, LBB0_43
; %bb.53:                               ;   in Loop: Header=BB0_45 Depth=3
	neg	w8, w20
	cmp	w8, #1
	csinc	w20, w8, wzr, gt
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x19, x8, w25, sxtw
	b	LBB0_55
LBB0_54:                                ;   in Loop: Header=BB0_55 Depth=4
	add	x19, x19, #3
	add	w25, w25, #3
	mov	x23, x28
	subs	w20, w20, #1
	b.eq	LBB0_44
LBB0_55:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_41 Depth=2
                                        ;       Parent Loop BB0_45 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	sub	x0, x29, #84
	bl	_bytestream2_get_le24
	mov	x1, x0
	mov	x0, x19
	bl	_AV_WL24
	sub	w28, w23, #1
	cmp	w23, #0
	b.gt	LBB0_54
; %bb.56:                               ;   in Loop: Header=BB0_55 Depth=4
	ldr	w1, [x27]
	mov	x8, x28
	str	x8, [sp]
	mov	x0, x22
	mov	x2, x26
	bl	_av_log
	b	LBB0_54
LBB0_57:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_83
; %bb.58:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w25, #0
	mov	w23, #0
	b	LBB0_61
LBB0_59:                                ;   in Loop: Header=BB0_61 Depth=2
	ldr	x20, [sp, #80]                  ; 8-byte Folded Reload
	ldr	x8, [x20, #8]
	ldr	w25, [sp, #68]                  ; 4-byte Folded Reload
LBB0_60:                                ;   in Loop: Header=BB0_61 Depth=2
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	add	w25, w9, w25
	add	w23, w23, #1
	ldr	w8, [x8]
	cmp	w23, w8
	b.hs	LBB0_83
LBB0_61:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_65 Depth 3
                                        ;         Child Loop BB0_75 Depth 4
                                        ;         Child Loop BB0_69 Depth 4
	sub	x0, x29, #84
	mov	w1, #1
	bl	_bytestream2_skip
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_60
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=2
	add	w21, w9, w9, lsl #1
	str	w25, [sp, #68]                  ; 4-byte Folded Spill
	b	LBB0_65
LBB0_63:                                ;   in Loop: Header=BB0_65 Depth=3
	mov	x28, x21
LBB0_64:                                ;   in Loop: Header=BB0_65 Depth=3
	mov	x21, x28
	cmp	w28, #0
	ldr	w24, [sp, #92]                  ; 4-byte Folded Reload
	b.le	LBB0_59
LBB0_65:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_61 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_75 Depth 4
                                        ;         Child Loop BB0_69 Depth 4
	sub	x0, x29, #84
	bl	_bytestream2_tell
	cmp	w0, w24
	b.ge	LBB0_59
; %bb.66:                               ;   in Loop: Header=BB0_65 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_get_byte
	mov	w1, #8
	bl	_sign_extend
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_71
; %bb.67:                               ;   in Loop: Header=BB0_65 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_get_byte
	mov	x19, x0
	mov	x0, x20
	bl	_CHECK_PIXEL_PTR
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x24, x8, w25, sxtw
	b	LBB0_69
LBB0_68:                                ;   in Loop: Header=BB0_69 Depth=4
	add	x24, x24, #1
	add	w25, w25, #1
	mov	x21, x28
	subs	w20, w20, #1
	b.eq	LBB0_64
LBB0_69:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_61 Depth=2
                                        ;       Parent Loop BB0_65 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	strb	w19, [x24]
	sub	w28, w21, #1
	cmp	w21, #0
	b.gt	LBB0_68
; %bb.70:                               ;   in Loop: Header=BB0_69 Depth=4
	ldr	w1, [x27]
	stp	x28, x23, [sp]
	mov	x0, x22
Lloh22:
	adrp	x2, l_.str.3@PAGE
Lloh23:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_av_log
	b	LBB0_68
LBB0_71:                                ;   in Loop: Header=BB0_65 Depth=3
	sub	x0, x29, #84
	bl	_bytestream2_tell
	sub	w8, w0, w20
	cmp	w8, w24
	b.gt	LBB0_59
; %bb.72:                               ;   in Loop: Header=BB0_65 Depth=3
	neg	w19, w20
	mov	x0, x19
	bl	_CHECK_PIXEL_PTR
	tbz	w20, #31, LBB0_63
; %bb.73:                               ;   in Loop: Header=BB0_65 Depth=3
	cmp	w19, #1
	csinc	w19, w19, wzr, gt
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	add	x20, x8, w25, sxtw
	b	LBB0_75
LBB0_74:                                ;   in Loop: Header=BB0_75 Depth=4
	add	x20, x20, #1
	add	w25, w25, #1
	mov	x21, x28
	subs	w19, w19, #1
	b.eq	LBB0_64
LBB0_75:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_61 Depth=2
                                        ;       Parent Loop BB0_65 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	sub	x0, x29, #84
	bl	_bytestream2_get_byte
	strb	w0, [x20]
	sub	w28, w21, #1
	cmp	w21, #0
	b.gt	LBB0_74
; %bb.76:                               ;   in Loop: Header=BB0_75 Depth=4
	ldr	w1, [x27]
	mov	x8, x23
	mov	x9, x28
	stp	x9, x8, [sp]
	mov	x0, x22
Lloh24:
	adrp	x2, l_.str.4@PAGE
Lloh25:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_av_log
	b	LBB0_74
LBB0_77:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	x8, x9, [x20]
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	ldr	w9, [x9]
	mul	w2, w9, w8
	ldr	x0, [sp, #96]                   ; 8-byte Folded Reload
	mov	w1, #0
	bl	_memset
	b	LBB0_83
LBB0_78:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x10, [x20]
	ldr	x10, [x10, #8]
	ldr	w10, [x10]
	mul	w9, w9, w10
	cbz	w9, LBB0_83
; %bb.79:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	w19, #0
	b	LBB0_81
LBB0_80:                                ;   in Loop: Header=BB0_81 Depth=2
	ldr	x9, [x20]
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	ldr	w10, [x8]
	mul	w10, w10, w9
	add	w19, w9, w19
	cmp	w19, w10
	b.hs	LBB0_83
LBB0_81:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	add	x1, x9, w19, sxtw
	ldr	w8, [x8, #4]
	add	w2, w8, w8, lsl #1
	sub	x0, x29, #84
	bl	_bytestream2_get_buffer
	ldr	x8, [x20, #8]
	ldrb	w9, [x8, #4]
	tbz	w9, #0, LBB0_80
; %bb.82:                               ;   in Loop: Header=BB0_81 Depth=2
	sub	x0, x29, #84
	mov	w1, #3
	bl	_bytestream2_skip
	ldr	x8, [x20, #8]
	b	LBB0_80
LBB0_83:                                ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #84
	bl	_bytestream2_tell
	cmp	w24, w0
	b.lt	LBB0_86
; %bb.84:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x0, x29, #84
	bl	_bytestream2_tell
	sub	w1, w24, w0
	sub	x0, x29, #84
	bl	_bytestream2_skip
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	subs	w8, w8, #1
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldp	x8, x19, [sp, #48]              ; 16-byte Folded Reload
	sub	w19, w19, w8
	cbz	w19, LBB0_87
; %bb.85:                               ;   in Loop: Header=BB0_6 Depth=1
	b.gt	LBB0_6
	b	LBB0_87
LBB0_86:
	ldr	w1, [x27]
Lloh26:
	adrp	x2, l_.str.8@PAGE
Lloh27:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_av_log
LBB0_87:
	sub	x0, x29, #84
	bl	_bytestream2_get_bytes_left
	ldr	x20, [sp, #32]                  ; 8-byte Folded Reload
	cbz	w0, LBB0_90
; %bb.88:
	sub	x0, x29, #84
	bl	_bytestream2_get_bytes_left
	cmp	w0, #1
	b.eq	LBB0_90
; %bb.89:
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w19, [x8]
	sub	x0, x29, #84
	bl	_bytestream2_tell
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh31:
	adrp	x2, l_.str.9@PAGE
Lloh32:
	add	x2, x2, l_.str.9@PAGEOFF
	mov	x0, x22
	mov	x1, x19
	bl	_av_log
LBB0_90:
	ldr	x8, [sp, #80]                   ; 8-byte Folded Reload
	ldr	x1, [x8]
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	bl	_av_frame_ref
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	tbnz	w0, #31, LBB0_92
; %bb.91:
	mov	w8, #1
	str	w8, [x9]
	b	LBB0_93
LBB0_92:
	mov	x20, x0
LBB0_93:
	mov	x0, x20
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_36-LBB0_11)>>2
	.short	(LBB0_35-LBB0_11)>>2
	.short	(LBB0_11-LBB0_11)>>2
	.short	(LBB0_31-LBB0_11)>>2
	.short	(LBB0_37-LBB0_11)>>2
	.short	(LBB0_11-LBB0_11)>>2
	.short	(LBB0_31-LBB0_11)>>2
	.short	(LBB0_33-LBB0_11)>>2
	.short	(LBB0_57-LBB0_11)>>2
	.short	(LBB0_77-LBB0_11)>>2
	.short	(LBB0_33-LBB0_11)>>2
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid chunk_size = %u > frame_size = %u\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unexpected Palette chunk %d in non-palettized FLC\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.2:                               ; @.str.2
	.asciz	"Unexpected FLI_LC chunk in non-palettized FLC\n"

l_.str.3:                               ; @.str.3
	.asciz	"pixel_countdown < 0 (%d) (linea%d)\n"

l_.str.4:                               ; @.str.4
	.asciz	"pixel_countdown < 0 (%d) at line %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"pixel_countdown < 0 (%d)\n"

l_.str.6:                               ; @.str.6
	.asciz	"In chunk FLI_COPY : source data (%d bytes) bigger than image, skipping chunk\n"

l_.str.7:                               ; @.str.7
	.asciz	"Unrecognized chunk type: %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"Chunk overread\n"

l_.str.9:                               ; @.str.9
	.asciz	"Processed FLI chunk where chunk size = %d and final chunk ptr = %d\n"

	.no_dead_strip	_flic_decode_frame_24BPP
.subsections_via_symbols
