	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	(%rcx), %edx
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	%rcx, %r15
	movq	%rdi, %r14
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rdi), %r12
	leaq	60(%r12), %r13
	movl	8(%rcx), %esi
	movq	%r13, %rdi
	callq	_bytestream2_init
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, %ecx
	andl	$536870911, %ecx                ## imm = 0x1FFFFFFF
	movl	%ecx, 4(%r12)
	sarl	$29, %eax
	movl	%eax, (%r12)
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movl	4(%r12), %eax
	addl	$8, %eax
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%r15)
	jae	LBB0_4
## %bb.2:
	movq	%rcx, %rbx
	jmp	LBB0_63
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_64
LBB0_4:
	leaq	64(%r12), %rdx
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%r15), %eax
	movl	%eax, 8(%r12)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, (%rsi)
	jne	LBB0_6
## %bb.5:
	movq	_AV_PICTURE_TYPE_P@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	movl	%eax, 40(%rsi)
	jne	LBB0_9
## %bb.8:
	movq	32(%r12), %rax
	movq	16(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_29
LBB0_9:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	je	LBB0_14
## %bb.10:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	(%r14), %r14
	movl	$65, %edi
	movl	$71, %esi
	movl	$77, %edx
	movl	$48, %ecx
	callq	_MKTAG
	movq	_AVERROR_PATCHWELCOME@GOTPCREL(%rip), %rbx
	cmpq	%rax, %r14
	je	LBB0_63
## %bb.11:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movl	$65, %edi
	movl	$71, %esi
	movl	$77, %edx
	movl	$49, %ecx
	callq	_MKTAG
	cmpq	%rax, %r14
	je	LBB0_63
## %bb.12:
	movl	(%r15), %edx
	subl	4(%r12), %edx
	addl	$-8, %edx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_decode_huffman2
	testl	%eax, %eax
	js	LBB0_64
## %bb.13:
	movl	12(%r12), %edx
	movl	56(%r12), %esi
	movq	%r13, %rdi
	callq	_bytestream2_init
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_16
LBB0_14:
	cmpq	$0, 48(%r12)
	jne	LBB0_17
## %bb.15:
	movq	%r13, %rdi
	movl	$4, %esi
	callq	_bytestream2_skip
LBB0_16:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_17:
	cmpq	$0, 48(%r12)
	je	LBB0_41
## %bb.18:
	movl	$0, 16(%r12)
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movq	_INT32_MIN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ebx, %ecx
	je	LBB0_62
## %bb.19:
	cmpl	%eax, %ecx
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rdx
	je	LBB0_31
## %bb.20:
	testl	%ebx, %ebx
	js	LBB0_32
## %bb.21:
	testl	%eax, %eax
	js	LBB0_33
LBB0_22:
	testb	$7, %bl
	je	LBB0_23
	jmp	LBB0_31
LBB0_29:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rbx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_63
LBB0_32:
	negl	%ebx
	orb	$2, 16(%r12)
	testl	%eax, %eax
	jns	LBB0_22
LBB0_33:
	negl	%eax
	orb	$1, 16(%r12)
	testb	$7, %bl
	jne	LBB0_31
LBB0_23:
	movl	8(%r14), %esi
	cmpl	%esi, %ebx
	jl	LBB0_31
## %bb.24:
	movl	12(%r14), %edi
	cmpl	%edi, %eax
	jl	LBB0_31
## %bb.25:
	movl	%eax, %ecx
	andl	$7, %ecx
	jne	LBB0_31
## %bb.26:
	movl	%edi, -76(%rbp)                 ## 4-byte Spill
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_ff_set_dimensions
	testl	%eax, %eax
	js	LBB0_64
## %bb.27:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r14)
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r14)
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movl	%eax, 20(%r12)
	cmpl	$100, %eax
	ja	LBB0_62
## %bb.36:
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movq	24(%r12), %rcx
	movq	%rax, (%rcx)
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	movq	24(%r12), %rcx
	movq	%rax, 8(%rcx)
	movq	%r13, %rdi
	callq	_bytestream2_get_le32
	leaq	12(%r12), %rcx
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	movq	24(%r12), %rdi
	movq	%rax, 16(%rdi)
	cmoveq	%r15, %rcx
	movl	$32, %edx
	movl	$8, %esi
	cmoveq	%rdx, %rsi
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	js	LBB0_62
## %bb.37:
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	js	LBB0_62
## %bb.38:
	testq	%rax, %rax
	js	LBB0_62
## %bb.39:
	movl	(%rcx), %ecx
	addq	%rsi, %rdx
	addq	%rdi, %rdx
	addq	%rax, %rdx
	cmpq	%rcx, %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	ja	LBB0_62
LBB0_41:
	movq	_AV_GET_BUFFER_FLAG_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_64
## %bb.42:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpl	$0, (%rdx)
	je	LBB0_45
## %bb.43:
	cmpq	$0, 48(%r12)
	je	LBB0_51
## %bb.44:
	movq	%r14, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_decode_intra
	jmp	LBB0_55
LBB0_31:
	movq	%rdx, %rbx
	jmp	LBB0_63
LBB0_45:
	movq	32(%r12), %rsi
	movq	(%rsi), %rax
	cmpq	8(%rdx), %rax
	jne	LBB0_62
## %bb.46:
	movq	8(%rsi), %rax
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rbx
	cmpq	16(%rdx), %rax
	jne	LBB0_63
## %bb.47:
	testb	$2, 16(%r12)
	jne	LBB0_49
## %bb.48:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_av_frame_copy
	testl	%eax, %eax
	js	LBB0_64
LBB0_49:
	cmpq	$0, 48(%r12)
	je	LBB0_65
## %bb.50:
	movq	32(%r12), %rcx
	movq	%r14, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_decode_inter
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_55
LBB0_62:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rbx
LBB0_63:
	movl	(%rbx), %eax
LBB0_64:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_51:
	cmpq	$0, 40(%r12)
	je	LBB0_54
## %bb.52:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_decode_raw_intra_rgb
	jmp	LBB0_55
LBB0_54:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_decode_raw_intra
LBB0_55:
	testl	%eax, %eax
	js	LBB0_64
## %bb.56:
	movq	32(%r12), %rdi
	callq	_av_frame_unref
	movq	32(%r12), %rdi
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_av_frame_ref
	testl	%eax, %eax
	js	LBB0_64
## %bb.57:
	pmovsxdq	8(%r14), %xmm0
	movdqu	16(%r14), %xmm1
	psubq	%xmm0, %xmm1
	movdqu	%xmm1, 24(%r12)
	movl	$1, (%rbx)
	movq	%r15, %rbx
	jmp	LBB0_63
LBB0_65:
	cmpq	$0, 40(%r12)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	je	LBB0_67
## %bb.66:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_decode_runlen_rgb
	jmp	LBB0_55
LBB0_67:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	_decode_runlen
	jmp	LBB0_55
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fflags: %X\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
	.comm	_AV_PICTURE_TYPE_P,4,2          ## @AV_PICTURE_TYPE_P
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"Missing reference frame.\n"

	.comm	_AVERROR_PATCHWELCOME,4,2       ## @AVERROR_PATCHWELCOME
	.comm	_INT32_MIN,4,2                  ## @INT32_MIN
	.comm	_AV_GET_BUFFER_FLAG_REF,4,2     ## @AV_GET_BUFFER_FLAG_REF
	.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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x2
	ldr	w2, [x3]
	cbz	w2, LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x22, x1
	mov	x21, x0
	ldr	x26, [x0, #32]
	add	x23, x26, #60
	ldr	w1, [x3, #8]
	mov	x0, x23
	bl	_bytestream2_init
	mov	x0, x23
	bl	_bytestream2_get_le32
	mov	x24, x0
	mov	x0, x23
	bl	_bytestream2_get_le32
	and	w8, w0, #0x1fffffff
	asr	w9, w0, #29
	stp	w9, w8, [x26]
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	x9, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x21
	bl	_av_log
	ldr	w8, [x19]
	ldr	w9, [x26, #4]
	add	w9, w9, #8
	cmp	w8, w9
	b.hs	LBB0_4
LBB0_2:
Lloh5:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	b	LBB0_10
LBB0_3:
	mov	w0, #0
	b	LBB0_11
LBB0_4:
Lloh7:
	adrp	x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
	ldr	w9, [x19, #4]
Lloh9:
	ldr	w8, [x8]
	ands	w8, w8, w9
	str	w8, [x26, #8]
Lloh10:
	adrp	x9, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
	str	w8, [x22]
Lloh12:
	adrp	x10, _AV_PICTURE_TYPE_P@GOTPAGE
Lloh13:
	ldr	x10, [x10, _AV_PICTURE_TYPE_P@GOTPAGEOFF]
	csel	x9, x10, x9, eq
	ldr	w9, [x9]
	str	w9, [x22, #40]
	cbnz	w8, LBB0_6
; %bb.5:
	ldr	x8, [x26, #32]
	ldr	x8, [x8, #16]
	ldr	w8, [x8]
	cbz	w8, LBB0_31
LBB0_6:
	cbz	w24, LBB0_12
; %bb.7:
	ldr	x25, [x21]
	mov	w0, #65
	mov	w1, #71
	mov	w2, #77
	mov	w3, #48
	bl	_MKTAG
	cmp	x25, x0
	b.eq	LBB0_9
; %bb.8:
	ldr	x25, [x21]
	mov	w0, #65
	mov	w1, #71
	mov	w2, #77
	mov	w3, #49
	bl	_MKTAG
	cmp	x25, x0
	b.ne	LBB0_32
LBB0_9:
Lloh14:
	adrp	x8, _AVERROR_PATCHWELCOME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _AVERROR_PATCHWELCOME@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_12:
	ldr	x8, [x26, #48]
	cbnz	x8, LBB0_14
; %bb.13:
	mov	x0, x23
	mov	w1, #4
	bl	_bytestream2_skip
LBB0_14:
	ldr	x8, [x26, #48]
	cbz	x8, LBB0_34
LBB0_15:
	str	wzr, [x26, #16]
	mov	x0, x23
	bl	_bytestream2_get_le32
	mov	x25, x0
	mov	x0, x23
	bl	_bytestream2_get_le32
Lloh16:
	adrp	x8, _INT32_MIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _INT32_MIN@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x8]
Lloh19:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	cmp	w9, w25
	b.eq	LBB0_10
; %bb.16:
	mov	x2, x0
	cmp	w9, w2
	b.eq	LBB0_10
; %bb.17:
	tbz	w25, #31, LBB0_19
; %bb.18:
	neg	w25, w25
	ldr	w8, [x26, #16]
	orr	w8, w8, #0x2
	str	w8, [x26, #16]
LBB0_19:
	tbz	w2, #31, LBB0_21
; %bb.20:
	neg	w2, w2
	ldr	w8, [x26, #16]
	orr	w8, w8, #0x1
	str	w8, [x26, #16]
LBB0_21:
Lloh21:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh22:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	tst	w25, #0x7
	b.ne	LBB0_10
; %bb.22:
	ldr	w27, [x21, #8]
	cmp	w25, w27
	b.lt	LBB0_10
; %bb.23:
	ldr	w28, [x21, #12]
	cmp	w2, w28
	b.lt	LBB0_10
; %bb.24:
	and	w9, w2, #0x7
	cbnz	w9, LBB0_10
; %bb.25:
	mov	x0, x21
	mov	x1, x25
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ff_set_dimensions
	tbnz	w0, #31, LBB0_11
; %bb.26:
	stp	w27, w28, [x21, #8]
	mov	x0, x23
	bl	_bytestream2_get_le32
	str	w0, [x26, #20]
	cmp	w0, #100
	b.hi	LBB0_2
; %bb.27:
	mov	x0, x23
	bl	_bytestream2_get_le32
	ldr	x8, [x26, #24]
	str	x0, [x8]
	mov	x0, x23
	bl	_bytestream2_get_le32
	ldr	x8, [x26, #24]
	str	x0, [x8, #8]
	mov	x0, x23
	bl	_bytestream2_get_le32
	ldr	x8, [x26, #24]
	str	x0, [x8, #16]
	add	x9, x26, #12
	cmp	w24, #0
	csel	x9, x19, x9, eq
	mov	w10, #8
	mov	w11, #32
	csel	x10, x11, x10, eq
	ldr	x11, [x8]
	tbnz	x11, #63, LBB0_2
; %bb.28:
	ldr	x12, [x8, #8]
Lloh23:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
	tbnz	x12, #63, LBB0_10
; %bb.29:
	tbnz	x0, #63, LBB0_10
; %bb.30:
	ldr	w8, [x9]
	add	x9, x11, x10
	add	x9, x9, x12
	add	x9, x9, x0
	cmp	x9, x8
	b.ls	LBB0_34
	b	LBB0_2
LBB0_31:
Lloh25:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str.1@PAGE
Lloh29:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_av_log
	b	LBB0_2
LBB0_32:
	ldr	w8, [x19]
	ldr	w9, [x26, #4]
	sub	w8, w8, w9
	sub	w2, w8, #8
	mov	x0, x21
	mov	x1, x24
	bl	_decode_huffman2
	tbnz	w0, #31, LBB0_11
; %bb.33:
	ldr	w1, [x26, #56]
	ldr	w2, [x26, #12]
	mov	x0, x23
	bl	_bytestream2_init
	ldr	x8, [x26, #48]
	cbnz	x8, LBB0_15
LBB0_34:
Lloh30:
	adrp	x8, _AV_GET_BUFFER_FLAG_REF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _AV_GET_BUFFER_FLAG_REF@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x1, x22
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_11
; %bb.35:
	add	x24, x26, #64
	ldr	w8, [x22]
	cbz	w8, LBB0_38
; %bb.36:
	ldr	x8, [x26, #48]
	cbz	x8, LBB0_44
; %bb.37:
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_decode_intra
	b	LBB0_47
LBB0_38:
	ldr	x1, [x26, #32]
	ldr	x8, [x1]
	ldr	x9, [x22, #8]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.39:
	ldr	x8, [x1, #8]
	ldr	x9, [x22, #16]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.40:
	ldrb	w8, [x26, #16]
	tbnz	w8, #1, LBB0_42
; %bb.41:
	mov	x0, x22
	bl	_av_frame_copy
	tbnz	w0, #31, LBB0_11
LBB0_42:
	ldr	x8, [x26, #48]
	cbz	x8, LBB0_50
; %bb.43:
	ldr	x3, [x26, #32]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x22
	bl	_decode_inter
	b	LBB0_47
LBB0_44:
	ldr	x8, [x26, #40]
	cbz	x8, LBB0_46
; %bb.45:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_decode_raw_intra_rgb
	b	LBB0_47
LBB0_46:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_decode_raw_intra
LBB0_47:
	tbnz	w0, #31, LBB0_11
; %bb.48:
	ldr	x0, [x26, #32]
	bl	_av_frame_unref
	ldr	x0, [x26, #32]
	mov	x1, x22
	bl	_av_frame_ref
	tbnz	w0, #31, LBB0_11
; %bb.49:
	ldr	q0, [x21, #16]
	ldr	d1, [x21, #8]
	ssubw.2d	v0, v0, v1
	stur	q0, [x22, #24]
	mov	w8, #1
	str	w8, [x20]
	mov	x8, x19
	b	LBB0_10
LBB0_50:
	ldr	x8, [x26, #40]
	cbz	x8, LBB0_52
; %bb.51:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_decode_runlen_rgb
	b	LBB0_47
LBB0_52:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x22
	bl	_decode_runlen
	b	LBB0_47
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fflags: %X\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
	.comm	_AV_PICTURE_TYPE_P,4,2          ; @AV_PICTURE_TYPE_P
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"Missing reference frame.\n"

	.comm	_AVERROR_PATCHWELCOME,4,2       ; @AVERROR_PATCHWELCOME
	.comm	_INT32_MIN,4,2                  ; @INT32_MIN
	.comm	_AV_GET_BUFFER_FLAG_REF,4,2     ; @AV_GET_BUFFER_FLAG_REF
	.no_dead_strip	_decode_frame
.subsections_via_symbols
