	.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	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	(%rcx), %edx
	movl	4(%rcx), %esi
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_init
	movq	%rbx, %rdi
	callq	_bytestream2_get_bytes_left
	movq	_ALIAS_HEADER_SIZE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_3
## %bb.1:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r12), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
LBB0_2:
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_11
LBB0_3:
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bytestream2_skipu
	movq	%rbx, %rdi
	callq	_bytestream2_get_be16u
	cmpl	$24, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$8, %eax
	jne	LBB0_10
## %bb.5:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	_AV_PIX_FMT_GRAY8@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	_AV_PIX_FMT_BGR24@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %esi
	movl	-56(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	callq	_ff_set_dimensions
	testl	%eax, %eax
	js	LBB0_13
## %bb.8:
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	imull	%ebx, %r13d
	movslq	%r13d, %rcx
	imulq	$-2139062143, %rcx, %rdx        ## imm = 0x80808081
	shrq	$32, %rdx
	addl	%edx, %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	sarl	$7, %ecx
	addl	%edx, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_11
## %bb.14:
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_ff_get_buffer
	testl	%eax, %eax
	js	LBB0_13
## %bb.15:
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	_AV_PICTURE_TYPE_I@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	$1, (%rbx)
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	8(%rbx), %rax
	movq	(%rax), %r13
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	jle	LBB0_41
## %bb.16:
	xorl	%r15d, %r15d
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
LBB0_10:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_av_log
LBB0_11:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%r12d, %r12d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	addl	%r12d, %r15d
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	jle	LBB0_42
LBB0_19:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_35 Depth 2
                                        ##     Child Loop BB0_38 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	cmpl	8(%r14), %r15d
	jne	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	cmpl	12(%r14), %edx
	jge	LBB0_47
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rax
	movq	16(%rcx), %rcx
	movslq	(%rcx), %rcx
	movslq	%edx, %r13
	incl	%edx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	imulq	%rcx, %r13
	shlq	$2, %r13
	addq	(%rax), %r13
	xorl	%r15d, %r15d
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_byteu
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_45
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	leal	(%r12,%r15), %eax
	cmpl	8(%r14), %eax
	jg	LBB0_45
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	(%r14), %rax
	movq	_AV_PIX_FMT_BGR24@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_be24
	testl	%r12d, %r12d
	jle	LBB0_17
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	%eax, %r14d
	movl	%r12d, %ebx
	.p2align	4, 0x90
LBB0_27:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_AV_WB24
	addq	$12, %r13
	decl	%ebx
	jne	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_29:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_byte
	testl	%r12d, %r12d
	jle	LBB0_33
## %bb.30:                              ##   in Loop: Header=BB0_19 Depth=1
	leal	-1(%r12), %edx
	xorl	%ecx, %ecx
	cmpl	$7, %edx
	jb	LBB0_40
## %bb.31:                              ##   in Loop: Header=BB0_19 Depth=1
	incq	%rdx
	movq	%rdx, %rcx
	andq	$-8, %rcx
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rcx), %rbx
	movq	%rbx, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %esi
	andl	$7, %esi
	cmpq	$56, %rbx
	jae	LBB0_34
## %bb.32:                              ##   in Loop: Header=BB0_19 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_33:                                ##   in Loop: Header=BB0_19 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_34:                                ##   in Loop: Header=BB0_19 Depth=1
	andq	$-8, %rdi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, (%r13,%rbx,4)
	movdqu	%xmm0, 16(%r13,%rbx,4)
	movdqu	%xmm0, 32(%r13,%rbx,4)
	movdqu	%xmm0, 48(%r13,%rbx,4)
	movdqu	%xmm0, 64(%r13,%rbx,4)
	movdqu	%xmm0, 80(%r13,%rbx,4)
	movdqu	%xmm0, 96(%r13,%rbx,4)
	movdqu	%xmm0, 112(%r13,%rbx,4)
	movdqu	%xmm0, 128(%r13,%rbx,4)
	movdqu	%xmm0, 144(%r13,%rbx,4)
	movdqu	%xmm0, 160(%r13,%rbx,4)
	movdqu	%xmm0, 176(%r13,%rbx,4)
	movdqu	%xmm0, 192(%r13,%rbx,4)
	movdqu	%xmm0, 208(%r13,%rbx,4)
	movdqu	%xmm0, 224(%r13,%rbx,4)
	movdqu	%xmm0, 240(%r13,%rbx,4)
	addq	$64, %rbx
	addq	$-8, %rdi
	jne	LBB0_35
LBB0_36:                                ##   in Loop: Header=BB0_19 Depth=1
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_19 Depth=1
	leaq	16(,%rbx,4), %rdi
	addq	%r13, %rdi
	shlq	$5, %rsi
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_38:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	%xmm0, -16(%rdi,%rbx)
	movdqu	%xmm0, (%rdi,%rbx)
	addq	$32, %rbx
	cmpq	%rbx, %rsi
	jne	LBB0_38
LBB0_39:                                ##   in Loop: Header=BB0_19 Depth=1
	leaq	(%r13,%rcx,4), %r13
	cmpq	%rcx, %rdx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_18
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_19 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%r13)
	addq	$4, %r13
	incl	%ecx
	cmpl	%ecx, %r12d
	jne	LBB0_40
	jmp	LBB0_18
LBB0_41:
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	-56(%rbp), %eax                 ## 4-byte Reload
LBB0_42:
	cmpl	%ebx, %r15d
	jne	LBB0_46
## %bb.43:
	cmpl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_46
## %bb.44:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_45:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	jmp	LBB0_2
LBB0_46:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%r14, %rdi
	movl	%r15d, %ecx
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_11
LBB0_47:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-44(%rbp), %rdi
	callq	_bytestream2_get_bytes_left
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %ecx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ALIAS_HEADER_SIZE,4,2          ## @ALIAS_HEADER_SIZE
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Header too small %d.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_PIX_FMT_BGR24,8,3           ## @AV_PIX_FMT_BGR24
	.comm	_AV_PIX_FMT_GRAY8,8,3           ## @AV_PIX_FMT_GRAY8
L_.str.1:                               ## @.str.1
	.asciz	"Invalid pixel format.\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ## @AV_PICTURE_TYPE_I
L_.str.2:                               ## @.str.2
	.asciz	"Ended frame decoding with %d bytes left.\n"

L_.str.3:                               ## @.str.3
	.asciz	"Invalid run length %d.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Picture stopped at %d,%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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldp	w2, w1, [x3]
	add	x0, sp, #44
	bl	_bytestream2_init
	add	x0, sp, #44
	bl	_bytestream2_get_bytes_left
Lloh0:
	adrp	x8, _ALIAS_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALIAS_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w8, [x20]
	str	x8, [sp]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_12
LBB0_2:
	add	x0, sp, #44
	bl	_bytestream2_get_be16u
	mov	x23, x0
	add	x0, sp, #44
	bl	_bytestream2_get_be16u
	mov	x24, x0
	add	x0, sp, #44
	mov	w1, #4
	bl	_bytestream2_skipu
	add	x0, sp, #44
	bl	_bytestream2_get_be16u
Lloh8:
	adrp	x27, _AV_PIX_FMT_BGR24@GOTPAGE
Lloh9:
	ldr	x27, [x27, _AV_PIX_FMT_BGR24@GOTPAGEOFF]
	cmp	w0, #24
	b.eq	LBB0_5
; %bb.3:
	cmp	w0, #8
	b.ne	LBB0_11
; %bb.4:
Lloh10:
	adrp	x8, _AV_PIX_FMT_GRAY8@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_PIX_FMT_GRAY8@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
	mov	x8, x27
LBB0_6:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x24
	bl	_ff_set_dimensions
	tbnz	w0, #31, LBB0_15
; %bb.7:
	add	x0, sp, #44
	bl	_bytestream2_get_bytes_left
	mul	w8, w24, w23
	mov	w9, #32897
	movk	w9, #32896, lsl #16
	smull	x9, w8, w9
	lsr	x9, x9, #32
	add	w8, w9, w8
	asr	w9, w8, #7
	add	w8, w9, w8, lsr #31
	cmp	w0, w8
	b.lt	LBB0_14
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #0
	bl	_ff_get_buffer
	tbnz	w0, #31, LBB0_15
; %bb.9:
	stp	w24, w23, [sp, #36]             ; 8-byte Folded Spill
Lloh12:
	adrp	x8, _AV_PICTURE_TYPE_I@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_PICTURE_TYPE_I@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x22, #24]
	mov	w28, #1
	str	w28, [x22]
	ldr	x8, [x22, #8]
	ldr	x25, [x8]
	add	x0, sp, #44
	bl	_bytestream2_get_bytes_left
	cmp	w0, #1
	str	x21, [sp, #24]                  ; 8-byte Folded Spill
	mov	w21, #0
	b.lt	LBB0_38
; %bb.10:
	mov	w28, #1
	b	LBB0_19
LBB0_11:
Lloh15:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_12:
	mov	x0, x19
LBB0_13:
	bl	_av_log
LBB0_14:
Lloh20:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_16:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w26, #0
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x27, x23
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	w21, w26, w21
	add	x0, sp, #44
	bl	_bytestream2_get_bytes_left
	cmp	w0, #0
	b.le	LBB0_38
LBB0_19:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_33 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.ne	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x19, #12]
	cmp	w28, w8
	b.ge	LBB0_43
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w21, #0
	ldp	x8, x9, [x22, #8]
	ldr	x8, [x8]
	ldr	w9, [x9]
	mul	w9, w9, w28
	add	w10, w28, #1
	add	x25, x8, w9, sxtw #2
	mov	x28, x10
LBB0_22:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #44
	bl	_bytestream2_get_byteu
	mov	x26, x0
	cbz	w0, LBB0_41
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [x19, #8]
	add	w9, w26, w21
	cmp	w9, w8
	b.gt	LBB0_41
; %bb.24:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x23, x27
	add	x0, sp, #44
	bl	_bytestream2_get_be24
	cmp	w26, #1
	b.lt	LBB0_16
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x27, x0
	mov	x24, x26
LBB0_27:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x27
	bl	_AV_WB24
	add	x25, x25, #12
	subs	w24, w24, #1
	b.ne	LBB0_27
	b	LBB0_17
LBB0_28:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x0, sp, #44
	bl	_bytestream2_get_byte
	subs	w8, w26, #1
	b.lt	LBB0_31
; %bb.29:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	w8, #15
	b.hs	LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	w8, #0
	mov	x9, x25
	b	LBB0_36
LBB0_31:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w26, #0
	b	LBB0_18
LBB0_32:                                ;   in Loop: Header=BB0_19 Depth=1
	add	x10, x8, #1
	and	x8, x10, #0x1fffffff0
	add	x9, x25, x8, lsl #2
	dup.4s	v0, w0
	add	x11, x25, #32
	mov	x12, x8
LBB0_33:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q0, q0, [x11, #-32]
	stp	q0, q0, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_33
; %bb.34:                               ;   in Loop: Header=BB0_19 Depth=1
	cmp	x10, x8
	b.ne	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_19 Depth=1
	mov	x25, x9
	b	LBB0_18
LBB0_36:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	x25, x9
LBB0_37:                                ;   Parent Loop BB0_19 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w0, [x25], #4
	add	w8, w8, #1
	cmp	w26, w8
	b.ne	LBB0_37
	b	LBB0_18
LBB0_38:
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cmp	w21, w8
	b.ne	LBB0_42
; %bb.39:
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	cmp	w28, w8
	b.ne	LBB0_42
; %bb.40:
	mov	w8, #1
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	w0, [x20]
	b	LBB0_15
LBB0_41:
Lloh23:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	str	x26, [sp]
Lloh26:
	adrp	x2, l_.str.3@PAGE
Lloh27:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_42:
Lloh28:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	stp	x21, x28, [sp]
Lloh31:
	adrp	x2, l_.str.4@PAGE
Lloh32:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_12
LBB0_43:
Lloh33:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
	add	x0, sp, #44
	bl	_bytestream2_get_bytes_left
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh36:
	adrp	x2, l_.str.2@PAGE
Lloh37:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_ALIAS_HEADER_SIZE,4,2          ; @ALIAS_HEADER_SIZE
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Header too small %d.\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_PIX_FMT_BGR24,8,3           ; @AV_PIX_FMT_BGR24
	.comm	_AV_PIX_FMT_GRAY8,8,3           ; @AV_PIX_FMT_GRAY8
l_.str.1:                               ; @.str.1
	.asciz	"Invalid pixel format.\n"

	.comm	_AV_PICTURE_TYPE_I,4,2          ; @AV_PICTURE_TYPE_I
l_.str.2:                               ; @.str.2
	.asciz	"Ended frame decoding with %d bytes left.\n"

l_.str.3:                               ; @.str.3
	.asciz	"Invalid run length %d.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Picture stopped at %d,%d.\n"

	.no_dead_strip	_decode_frame
.subsections_via_symbols
