	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_frame
_decode_frame:                          ## @decode_frame
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rcx), %rsi
	movl	(%rcx), %edx
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	callq	_bytestream2_init
	movq	%r14, %rdi
	callq	_bytestream2_peek_le32
	movq	%rax, %r15
	movl	$67, %edi
	movl	$77, %esi
	movl	$65, %edx
	movl	$80, %ecx
	callq	_MKTAG
	xorl	%r14d, %r14d
	cmpq	%rax, %r15
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_4
## %bb.1:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_bytestream2_skip
	xorl	%ebx, %ebx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_bytestream2_get_be24
	orl	$-16777216, %eax                ## imm = 0xFF000000
	movq	(%r15), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	cmpq	$256, %rbx                      ## imm = 0x100
	jne	LBB0_2
## %bb.3:
	movl	$1, %r14d
LBB0_4:
	movq	_AV_GET_BUFFER_FLAG_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_41
## %bb.5:
	movq	(%r13), %rax
	movq	8(%rax), %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rsi
	movq	_AVPALETTE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movl	%r14d, 8(%r13)
	movq	(%r13), %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	16(%r13), %rcx
	movq	%rbx, %r13
	movq	(%rax), %r15
	movq	8(%rbx), %r14
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movslq	(%rcx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_le32
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	$78, %edi
	movl	$85, %esi
	movl	$76, %edx
	movl	$76, %ecx
	callq	_MKTAG
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	movq	16(%r13), %rax
	movq	%rax, -64(%rbp)
	movl	$-1, %ecx
	jmp	LBB0_12
LBB0_7:
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_byte
	movl	%eax, %ecx
	movq	16(%r13), %rax
	movq	%rax, -64(%rbp)
	cmpl	$-1, %ecx
	je	LBB0_12
## %bb.8:
	cmpl	$4, %ecx
	je	LBB0_12
## %bb.9:
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leaq	-44(%rbp), %rdi
	movl	$4, %esi
	callq	_bytestream2_skip
	movq	8(%r13), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_tell
	addq	%rax, -72(%rbp)                 ## 8-byte Folded Spill
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	leaq	-64(%rbp), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	_uncompress
	movq	_Z_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movq	-64(%rbp), %rdi
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movq	_DECOMP_BUF_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	-104(%rbp), %rcx                ## 8-byte Reload
LBB0_12:
	movq	_FF_DEBUG_PICT_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r12)
	je	LBB0_14
## %bb.13:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-64(%rbp), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	movq	%rcx, %r13
	callq	_av_log
	movq	%r13, %rcx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
LBB0_14:
	leal	1(%rcx), %eax
	cmpl	$14, %eax
	ja	LBB0_36
## %bb.15:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	jmpq	*%rax
LBB0_18:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$1, 24(%rcx)
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rcx)
	cmpl	$0, 4(%r12)
	jle	LBB0_38
## %bb.19:
	movl	8(%r12), %edx
	shlq	$2, -88(%rbp)                   ## 8-byte Folded Spill
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movslq	8(%r12), %rdx
	leaq	(%r14,%rdx,4), %r14
	incl	%ebx
	addq	-88(%rbp), %r15                 ## 8-byte Folded Reload
	cmpl	4(%r12), %ebx
	jl	LBB0_20
	jmp	LBB0_38
LBB0_21:
	testq	%rbx, %rbx
	jne	LBB0_24
## %bb.22:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AV_CODEC_FLAG2_SHOW_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r12)
	je	LBB0_23
LBB0_24:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, 24(%rcx)
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rcx)
	cmpl	$0, 4(%r12)
	jle	LBB0_38
## %bb.25:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(,%rax,4), %rsi
	xorl	%r13d, %r13d
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	%r15, %rdi
	movq	%rsi, %rbx
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	%rbx, %rsi
	movl	8(%r12), %edx
	xorl	%ebx, %ebx
LBB0_32:                                ##   in Loop: Header=BB0_26 Depth=1
	addq	%rsi, %r15
	movslq	%edx, %rax
	leaq	(%r14,%rax,4), %r14
	incl	%r13d
	cmpl	4(%r12), %r13d
	jge	LBB0_38
LBB0_26:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
	movl	8(%r12), %edx
	testq	%rbx, %rbx
	je	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=1
	testl	%edx, %edx
	jle	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_26 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx,%rax,4), %ecx
	xorl	(%r14,%rax,4), %ecx
	movl	%ecx, (%r15,%rax,4)
	incq	%rax
	movslq	8(%r12), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_29
LBB0_30:                                ##   in Loop: Header=BB0_26 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rbx,%rax,4), %rbx
	jmp	LBB0_32
LBB0_33:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	$0, 24(%rdx)
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rdx)
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_34
## %bb.35:
	movq	(%rdx), %rcx
	movq	16(%rdx), %rsi
	movq	(%rcx), %rdx
	movl	(%rsi), %ecx
	movq	-64(%rbp), %r9
	movq	%rax, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%r14, %r8
	callq	_decode_13
	jmp	LBB0_38
LBB0_16:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	$0, 24(%rbx)
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	24(%r13), %rax
	movq	(%rax), %rax
	movq	(%rax), %rsi
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	4(%r12), %edx
	imull	(%rcx), %edx
	movq	(%rax), %rdi
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.17:
	callq	_memcpy
	jmp	LBB0_38
LBB0_36:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r12, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_34:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_av_log
	movq	_AVERROR_UNKNOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_37:
	xorl	%esi, %esi
	callq	_memset
	movl	$1, 24(%rbx)
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
LBB0_38:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	24(%rbx), %rdi
	callq	_av_frame_unref
	movq	24(%rbx), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_41
## %bb.39:
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movl	$1, (%rax)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
LBB0_40:
	movl	(%rax), %eax
LBB0_41:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	jmp	LBB0_40
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_18
	.long	L0_0_set_21
	.long	L0_0_set_18
	.long	L0_0_set_21
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_36
	.long	L0_0_set_33
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.comm	_AV_GET_BUFFER_FLAG_REF,4,2     ## @AV_GET_BUFFER_FLAG_REF
	.comm	_AVPALETTE_SIZE,4,2             ## @AVPALETTE_SIZE
	.comm	_Z_OK,8,3                       ## @Z_OK
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Uncompress failed!\n"

	.comm	_AVERROR_UNKNOWN,4,2            ## @AVERROR_UNKNOWN
	.comm	_DECOMP_BUF_PADDING,4,2         ## @DECOMP_BUF_PADDING
	.comm	_FF_DEBUG_PICT_INFO,4,2         ## @FF_DEBUG_PICT_INFO
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"compr:%2d, dsize:%d\n"

	.comm	_AV_PICTURE_TYPE_P,8,3          ## @AV_PICTURE_TYPE_P
	.comm	_AV_PICTURE_TYPE_I,8,3          ## @AV_PICTURE_TYPE_I
L_.str.2:                               ## @.str.2
	.asciz	"Missing reference frame.\n"

	.comm	_AV_CODEC_FLAG2_SHOW_ALL,4,2    ## @AV_CODEC_FLAG2_SHOW_ALL
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.3:                               ## @.str.3
	.asciz	"Missing reference frame\n"

L_.str.4:                               ## @.str.4
	.asciz	"Unknown/unsupported compression type %d\n"

	.no_dead_strip	_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_frame
_decode_frame:                          ; @decode_frame
	.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	x19, x3
	mov	x25, x2
	mov	x21, x1
	mov	x23, x0
	ldr	x22, [x0, #16]
	ldr	x1, [x3, #8]
	ldr	w2, [x3]
	add	x0, sp, #36
	bl	_bytestream2_init
	add	x0, sp, #36
	bl	_bytestream2_peek_le32
	mov	x24, x0
	mov	w0, #67
	mov	w1, #77
	mov	w2, #65
	mov	w3, #80
	bl	_MKTAG
	cmp	x24, x0
	b.ne	LBB0_4
; %bb.1:
	add	x0, sp, #36
	mov	w1, #4
	bl	_bytestream2_skip
	mov	x20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #36
	bl	_bytestream2_get_be24
	orr	w8, w0, #0xff000000
	ldr	x9, [x22]
	str	w8, [x9, x20]
	add	x20, x20, #4
	cmp	x20, #1024
	b.ne	LBB0_2
; %bb.3:
	mov	w20, #1
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
Lloh0:
	adrp	x8, _AV_GET_BUFFER_FLAG_REF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_GET_BUFFER_FLAG_REF@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x23
	mov	x1, x21
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_42
; %bb.6:
	str	x25, [sp, #24]                  ; 8-byte Folded Spill
	ldr	x8, [x21]
	ldr	x0, [x8, #8]
	ldr	x1, [x22]
Lloh3:
	adrp	x8, _AVPALETTE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVPALETTE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	bl	_memcpy
	str	w20, [x21, #8]
	ldr	x8, [x21]
	ldr	x25, [x8]
	ldr	x24, [x22, #8]
	ldr	x8, [x22, #24]
	ldr	x8, [x8]
	ldr	x27, [x8]
	ldr	x8, [x21, #16]
	ldrsw	x20, [x8]
	add	x0, sp, #36
	bl	_bytestream2_get_le32
	mov	x26, x0
	mov	w0, #78
	mov	w1, #85
	mov	w2, #76
	mov	w3, #76
	bl	_MKTAG
	cmp	x26, x0
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x22, #16]
	str	x8, [sp, #40]
	mov	w26, #-1
	b	LBB0_12
LBB0_8:
	add	x0, sp, #36
	bl	_bytestream2_get_byte
	mov	x26, x0
	ldr	x8, [x22, #16]
	str	x8, [sp, #40]
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.9:
	cmp	w26, #4
	b.eq	LBB0_12
; %bb.10:
	add	x0, sp, #36
	mov	w1, #4
	bl	_bytestream2_skip
	ldr	x8, [x22, #8]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x28, [x19, #8]
	add	x0, sp, #36
	bl	_bytestream2_tell
	add	x28, x0, x28
	add	x0, sp, #36
	bl	_bytestream2_get_bytes_left
	mov	x3, x0
	add	x1, sp, #40
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x28
	bl	_uncompress
Lloh6:
	adrp	x8, _Z_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _Z_OK@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.11:
	ldr	x8, [x22, #8]
	ldr	x9, [sp, #40]
	add	x0, x8, x9, lsl #2
Lloh9:
	adrp	x8, _DECOMP_BUF_PADDING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DECOMP_BUF_PADDING@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
LBB0_12:
	ldr	w8, [x23]
Lloh12:
	adrp	x9, _FF_DEBUG_PICT_INFO@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FF_DEBUG_PICT_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh15:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	x8, [sp, #40]
	mov	x9, x26
	stp	x9, x8, [sp]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_av_log
LBB0_14:
	add	w8, w26, #1
	cmp	w8, #14
	b.hi	LBB0_34
; %bb.15:
Lloh20:
	adrp	x9, lJTI0_0@PAGE
Lloh21:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_16
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_16:
	mov	w8, #1
	str	w8, [x21, #24]
Lloh22:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x21, #32]
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.17:
	mov	w26, #0
	ldr	w2, [x23, #8]
	lsl	x20, x20, #2
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldp	w8, w2, [x23, #4]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	add	x24, x24, x2, lsl #2
	add	w26, w26, #1
	add	x25, x25, x20
	cmp	w26, w8
	b.lt	LBB0_18
	b	LBB0_40
LBB0_19:
	cbnz	x27, LBB0_21
; %bb.20:
Lloh25:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str.2@PAGE
Lloh29:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_av_log
	ldr	w8, [x23, #12]
Lloh30:
	adrp	x9, _AV_CODEC_FLAG2_SHOW_ALL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _AV_CODEC_FLAG2_SHOW_ALL@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
LBB0_21:
	str	wzr, [x21, #24]
Lloh33:
	adrp	x8, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x21, #32]
	ldr	w8, [x23, #4]
	cmp	w8, #1
	b.lt	LBB0_40
; %bb.22:
	mov	w26, #0
	lsl	x28, x20, #2
	b	LBB0_25
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x25
	mov	x1, x24
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	w2, [x23, #8]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x25, x25, x28
	add	x24, x24, w2, sxtw #2
	add	w26, w26, #1
	ldr	w8, [x23, #4]
	cmp	w26, w8
	b.ge	LBB0_40
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_28 Depth 2
	ldr	w2, [x23, #8]
	cbz	x27, LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	cmp	w2, #1
	b.lt	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x8, #0
LBB0_28:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x9, x8, #2
	ldr	w10, [x24, x9]
	ldr	w11, [x27, x9]
	eor	w10, w11, w10
	str	w10, [x25, x9]
	add	x8, x8, #1
	ldrsw	x2, [x23, #8]
	cmp	x8, x2
	b.lt	LBB0_28
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x27, x27, x20, lsl #2
	b	LBB0_24
LBB0_30:
Lloh36:
	adrp	x8, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
	str	wzr, [x21, #24]
Lloh38:
	ldr	x8, [x8]
	str	x8, [x21, #32]
	ldr	x8, [x22, #24]
	ldr	x8, [x8]
	ldr	x6, [x8]
	cbz	x6, LBB0_36
; %bb.31:
	ldr	x8, [x21]
	ldr	x2, [x8]
	ldr	x8, [x21, #16]
	ldr	w3, [x8]
	ldr	x5, [sp, #40]
	mov	x0, x23
	mov	x1, x22
	mov	x4, x24
	bl	_decode_13
	b	LBB0_40
LBB0_32:
Lloh39:
	adrp	x8, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh40:
	ldr	x8, [x8, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
	str	wzr, [x21, #24]
Lloh41:
	ldr	x8, [x8]
	str	x8, [x21, #32]
	ldr	x8, [x22, #24]
	ldr	x8, [x8]
	ldr	x1, [x8]
	ldr	x8, [x21]
	ldr	x0, [x8]
	ldr	x8, [x21, #16]
	ldr	w8, [x8]
	ldr	w9, [x23, #4]
	mul	w2, w9, w8
	cbz	x1, LBB0_39
; %bb.33:
	bl	_memcpy
	b	LBB0_40
LBB0_34:
Lloh42:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh43:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	str	x26, [sp]
Lloh45:
	adrp	x2, l_.str.4@PAGE
Lloh46:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_37
LBB0_35:
Lloh47:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh48:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
Lloh50:
	adrp	x2, l_.str@PAGE
Lloh51:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x23
	bl	_av_log
Lloh52:
	adrp	x8, _AVERROR_UNKNOWN@GOTPAGE
Lloh53:
	ldr	x8, [x8, _AVERROR_UNKNOWN@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	b	LBB0_42
LBB0_36:
Lloh55:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh56:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
Lloh58:
	adrp	x2, l_.str.3@PAGE
Lloh59:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_37:
	mov	x0, x23
	bl	_av_log
LBB0_38:
Lloh60:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh61:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	b	LBB0_42
LBB0_39:
	bl	_memset
	mov	w8, #1
	str	w8, [x21, #24]
Lloh63:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh64:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	str	x8, [x21, #32]
LBB0_40:
	ldr	x0, [x22, #24]
	bl	_av_frame_unref
	ldr	x0, [x22, #24]
	mov	x1, x21
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_42
; %bb.41:
	mov	w8, #1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w0, [x19]
LBB0_42:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_32-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_34-LBB0_16)>>2
	.byte	(LBB0_30-LBB0_16)>>2
	.byte	(LBB0_30-LBB0_16)>>2
                                        ; -- End function
	.comm	_AV_GET_BUFFER_FLAG_REF,4,2     ; @AV_GET_BUFFER_FLAG_REF
	.comm	_AVPALETTE_SIZE,4,2             ; @AVPALETTE_SIZE
	.comm	_Z_OK,8,3                       ; @Z_OK
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Uncompress failed!\n"

	.comm	_AVERROR_UNKNOWN,4,2            ; @AVERROR_UNKNOWN
	.comm	_DECOMP_BUF_PADDING,4,2         ; @DECOMP_BUF_PADDING
	.comm	_FF_DEBUG_PICT_INFO,4,2         ; @FF_DEBUG_PICT_INFO
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"compr:%2d, dsize:%d\n"

	.comm	_AV_PICTURE_TYPE_P,8,3          ; @AV_PICTURE_TYPE_P
	.comm	_AV_PICTURE_TYPE_I,8,3          ; @AV_PICTURE_TYPE_I
l_.str.2:                               ; @.str.2
	.asciz	"Missing reference frame.\n"

	.comm	_AV_CODEC_FLAG2_SHOW_ALL,4,2    ; @AV_CODEC_FLAG2_SHOW_ALL
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.3:                               ; @.str.3
	.asciz	"Missing reference frame\n"

l_.str.4:                               ; @.str.4
	.asciz	"Unknown/unsupported compression type %d\n"

	.no_dead_strip	_decode_frame
.subsections_via_symbols
