	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function msrle_decode_8_16_24_32
_msrle_decode_8_16_24_32:               ## @msrle_decode_8_16_24_32
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	(%rdi), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rsi), %rax
	movl	(%rax), %edi
	callq	_FFABS
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	sarl	$3, %r14d
	cltd
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	idivl	%r14d
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rax
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	8(%rbx), %rcx
	movq	(%rcx), %r15
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movslq	(%r13), %rbx
	movl	(%rax), %r13d
	movl	%r13d, %edi
	callq	_FFABS
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	jle	LBB0_19
## %bb.1:
	movslq	%r13d, %rax
	decq	%rbx
	imulq	%rax, %rbx
	leaq	(%r15,%rbx,8), %r15
	movslq	%r14d, %rax
	leaq	(%r15,%rax,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	decl	-48(%rbp)                       ## 4-byte Folded Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	-8(%rax), %ecx
	roll	$29, %ecx
	movl	%ecx, -88(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%ecx, %ecx
	movl	%ecx, -96(%rbp)                 ## 4-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	andl	$-17, %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_58 Depth 2
                                        ##     Child Loop BB0_61 Depth 2
                                        ##     Child Loop BB0_50 Depth 2
                                        ##     Child Loop BB0_53 Depth 2
                                        ##     Child Loop BB0_42 Depth 2
                                        ##     Child Loop BB0_45 Depth 2
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_33 Depth 2
	movq	%r12, %rdi
	callq	_bytestream2_get_byteu
	testl	%eax, %eax
	je	LBB0_3
## %bb.34:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	imull	-64(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	leaq	(%r15,%rax,8), %rax
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	ja	LBB0_17
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	cmpl	$3, %eax
	ja	LBB0_62
## %bb.36:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	%r14d, %edx
	callq	_memset
	movslq	%r14d, %rax
	leaq	(%r15,%rax,8), %r13
	jmp	LBB0_63
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %r14
	cmpl	$2, %r14d
	je	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %r14d
	je	LBB0_65
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ebx
	imull	%r14d, %ebx
	movslq	%ebx, %rax
	leaq	(%r15,%rax,8), %r13
	cmpq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	jbe	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	-96(%rbp), %esi                 ## 4-byte Reload
	callq	_bytestream2_skip
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	testl	%eax, %eax
	jg	LBB0_2
	jmp	LBB0_19
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	subl	%eax, %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	js	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	%ebx, %esi
	cmpl	-92(%rbp), %esi                 ## 4-byte Folded Reload
	jae	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movl	(%rax), %edi
	movl	%edi, %eax
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	imull	%edx, %eax
	movslq	%eax, %rbx
	shlq	$3, %rbx
	addq	(%rcx), %rbx
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %eax
	imull	-64(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	leaq	(%rbx,%rax,8), %r15
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, %edx
	jle	LBB0_7
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%edx
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %rax
	movq	8(%rcx), %rcx
	movl	(%rax), %edi
	movl	%edi, %eax
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	imull	%edx, %eax
	movslq	%eax, %rbx
	shlq	$3, %rbx
	addq	(%rcx), %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %r15
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_FFABS
	cltq
	leaq	(%rbx,%rax,8), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	cmpl	%ebx, %eax
	jl	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$8, -84(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_27
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_bytestream2_get_bufferu
	cmpl	$8, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_63
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	andl	$1, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_64
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_bytestream2_skip
	jmp	LBB0_64
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$16, %eax
	je	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$32, %eax
	jne	LBB0_62
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %ebx
	testl	%r14d, %r14d
	jle	LBB0_62
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_le32u
	movl	%eax, (%r15)
	addq	$32, %r15
	decl	%ebx
	jne	LBB0_30
	jmp	LBB0_62
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_le16
	testl	%r14d, %r14d
	jle	LBB0_62
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r14), %edx
	movl	%r14d, %ecx
	andl	$7, %ecx
	cmpl	$7, %edx
	jae	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_2 Depth=1
                                        ## implicit-def: $r13
	jmp	LBB0_44
LBB0_46:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %r13
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_bytestream2_get_byte
	testl	%r14d, %r14d
	jle	LBB0_62
## %bb.47:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r14), %edx
	movl	%r14d, %ecx
	andl	$3, %ecx
	cmpl	$3, %edx
	jae	LBB0_49
## %bb.48:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdx
	movq	%r13, %rbx
                                        ## implicit-def: $r13
	jmp	LBB0_52
LBB0_54:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_bytestream2_get_le32
	testl	%r14d, %r14d
	jle	LBB0_62
## %bb.55:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	-1(%r14), %edx
	movl	%r14d, %ecx
	andl	$7, %ecx
	cmpl	$7, %edx
	jae	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_2 Depth=1
                                        ## implicit-def: $r13
	jmp	LBB0_60
LBB0_31:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%r14d, %r14d
	jle	LBB0_62
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %ebx
	.p2align	4, 0x90
LBB0_33:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	callq	_bytestream2_get_le16u
	movl	%eax, (%r15)
	addq	$16, %r15
	decl	%ebx
	jne	LBB0_33
	jmp	LBB0_62
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edx
	andl	$-8, %edx
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%r15)
	movl	%eax, 16(%r15)
	movl	%eax, 32(%r15)
	movl	%eax, 48(%r15)
	movl	%eax, 64(%r15)
	movl	%eax, 80(%r15)
	movl	%eax, 96(%r15)
	movl	%eax, 112(%r15)
	subq	$-128, %r15
	addl	$-8, %edx
	jne	LBB0_42
## %bb.43:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r13
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	je	LBB0_63
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%r15)
	addq	$16, %r15
	decl	%ecx
	jne	LBB0_45
	jmp	LBB0_62
LBB0_49:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edx
	andl	$-4, %edx
	.p2align	4, 0x90
LBB0_50:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, (%r15)
	movq	%rbx, 8(%r15)
	movq	%rax, 16(%r15)
	movq	%r13, 24(%r15)
	movq	%rbx, 32(%r15)
	movq	%rax, 40(%r15)
	movq	%r13, 48(%r15)
	movq	%rbx, 56(%r15)
	movq	%rax, 64(%r15)
	movq	%r13, 72(%r15)
	movq	%rbx, 80(%r15)
	movq	%rax, 88(%r15)
	addq	$96, %r15
	addl	$-4, %edx
	jne	LBB0_50
## %bb.51:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdx
	movq	%r13, %rbx
	movq	%r15, %r13
LBB0_52:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	je	LBB0_63
	.p2align	4, 0x90
LBB0_53:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, (%r15)
	movq	%rdx, 8(%r15)
	movq	%rax, 16(%r15)
	addq	$24, %r15
	decl	%ecx
	jne	LBB0_53
	jmp	LBB0_62
LBB0_57:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %edx
	andl	$-8, %edx
	.p2align	4, 0x90
LBB0_58:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%r15)
	movl	%eax, 32(%r15)
	movl	%eax, 64(%r15)
	movl	%eax, 96(%r15)
	movl	%eax, 128(%r15)
	movl	%eax, 160(%r15)
	movl	%eax, 192(%r15)
	movl	%eax, 224(%r15)
	addq	$256, %r15                      ## imm = 0x100
	addl	$-8, %edx
	jne	LBB0_58
## %bb.59:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r13
LBB0_60:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %ecx
	je	LBB0_63
	.p2align	4, 0x90
LBB0_61:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%eax, (%r15)
	addq	$32, %r15
	decl	%ecx
	jne	LBB0_61
LBB0_62:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r13
LBB0_63:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_64:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%r14d, %ebx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	movq	%r13, %r15
	testl	%eax, %eax
	jg	LBB0_2
LBB0_19:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
LBB0_66:
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_65:
	xorl	%r14d, %r14d
	jmp	LBB0_66
LBB0_13:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
	movl	$-1, %r14d
	jmp	LBB0_66
LBB0_7:
	movq	%r12, %rdi
	callq	_bytestream2_get_be16
	xorl	%r14d, %r14d
	cmpl	$1, %eax
	je	LBB0_66
## %bb.8:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_bytestream2_get_bytes_left
	leaq	L_.str(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_22
LBB0_21:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_av_log
LBB0_22:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_66
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_46, LBB0_46-LJTI0_0
.set L0_0_set_54, LBB0_54-LJTI0_0
LJTI0_0:
	.long	L0_0_set_37
	.long	L0_0_set_38
	.long	L0_0_set_46
	.long	L0_0_set_54
	.end_data_region
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Next line is beyond picture bounds (%d bytes left)\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
L_.str.1:                               ## @.str.1
	.asciz	"Skip beyond picture bounds\n"

L_.str.2:                               ## @.str.2
	.asciz	"bytestream overrun\n"

	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
L_.str.3:                               ## @.str.3
	.asciz	"MS RLE warning: no end-of-picture code\n"

	.no_dead_strip	_msrle_decode_8_16_24_32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function msrle_decode_8_16_24_32
_msrle_decode_8_16_24_32:               ; @msrle_decode_8_16_24_32
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	str	w2, [sp, #60]                   ; 4-byte Folded Spill
	mov	x19, x1
	mov	x27, x0
	ldr	w25, [x0]
	ldr	x8, [x1]
	ldr	w0, [x8]
	bl	_FFABS
	mov	x24, x0
	ldp	x9, x8, [x19]
	str	x19, [sp, #48]                  ; 8-byte Folded Spill
	ldr	x19, [x8]
	ldr	w22, [x27]
	ldr	w23, [x9]
	mov	x0, x23
	bl	_FFABS
	mov	x26, x0
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	w0, #1
	b.lt	LBB0_57
; %bb.1:
	mov	w21, #0
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	asr	w28, w9, #3
	sub	w8, w22, #1
	mul	w8, w23, w8
	add	x22, x19, w8, sxtw #3
	add	x19, x22, w26, sxtw #3
	sub	w8, w25, #1
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	sub	w8, w9, #8
	ror	w8, w8, #3
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	lsl	w23, w28, #1
	and	w10, w9, #0xffffffef
	sdiv	w8, w24, w28
	stp	w10, w8, [sp, #24]              ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	mul	w8, w0, w28
	add	x8, x22, w8, sxtw #3
	cmp	x8, x19
	b.ls	LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	cmp	w0, #0
	b.le	LBB0_57
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_54 Depth 2
                                        ;     Child Loop BB0_56 Depth 2
                                        ;     Child Loop BB0_48 Depth 2
                                        ;     Child Loop BB0_51 Depth 2
                                        ;     Child Loop BB0_44 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
                                        ;     Child Loop BB0_27 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
	mov	x0, x20
	bl	_bytestream2_get_byteu
	cbnz	w0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x24, x0
	cmp	w24, #2
	b.eq	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #1
	b.eq	LBB0_58
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w24, LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mul	w26, w28, w24
	add	x25, x22, w26, sxtw #3
	mov	x0, x20
	cmp	x25, x19
	b.ls	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x23
	bl	_bytestream2_skip
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [sp, #32]                  ; 8-byte Folded Reload
	cmp	w10, #3
	b.hi	LBB0_40
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh0:
	adrp	x11, lJTI0_0@PAGE
Lloh1:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x8, LBB0_12
	ldrb	w9, [x11, x10]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x1, x0
	mov	x0, x22
	mov	x2, x24
	bl	_memset
	add	x25, x22, w24, sxtw #3
	b	LBB0_41
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x24, x0
	mov	x0, x20
	bl	_bytestream2_get_byte
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	subs	w10, w10, w0
	b.mi	LBB0_60
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w21, w24
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w21, w8
	b.hs	LBB0_60
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldp	x9, x8, [x9]
	ldr	x8, [x8]
	ldr	w0, [x9]
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	mul	w9, w0, w10
	add	x19, x8, w9, sxtw #3
	mul	w8, w21, w28
	add	x22, x19, w8, sxtw #3
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	cmp	w10, #0
	b.le	LBB0_61
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, #0
	sub	w10, w10, #1
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	ldp	x9, x8, [x9]
	ldr	x8, [x8]
	ldr	w0, [x9]
	str	w10, [sp, #44]                  ; 4-byte Folded Spill
	mul	w9, w0, w10
	add	x19, x8, w9, sxtw #3
	mov	x22, x19
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_FFABS
	add	x19, x19, w0, sxtw #3
	b	LBB0_3
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_bytestream2_get_bytes_left
	cmp	w0, w26
	b.lt	LBB0_63
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w8, #8
	b.ne	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x26
	bl	_bytestream2_get_bufferu
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, #8
	b.ne	LBB0_41
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	tbz	w24, #0, LBB0_41
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	w1, #1
	bl	_bytestream2_skip
	b	LBB0_41
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, #16
	b.eq	LBB0_37
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #32
	b.ne	LBB0_40
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x24
	cmp	w24, #1
	b.lt	LBB0_40
LBB0_27:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le32u
	str	w0, [x22], #32
	subs	w25, w25, #1
	b.ne	LBB0_27
	b	LBB0_40
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_le16
	subs	w8, w24, #1
	b.lt	LBB0_40
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #3
	b.hs	LBB0_43
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	x25, x22
	b	LBB0_46
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x27, [sp, #16]                  ; 8-byte Folded Spill
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x26, x0
	mov	x0, x20
	bl	_bytestream2_get_byte
	mov	x27, x0
	mov	x0, x20
	bl	_bytestream2_get_byte
	subs	w8, w24, #1
	b.lt	LBB0_42
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #7
	b.hs	LBB0_47
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	x25, x22
	b	LBB0_51
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_bytestream2_get_le32
	subs	w8, w24, #1
	b.lt	LBB0_40
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #3
	b.hs	LBB0_53
; %bb.36:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	x25, x22
	b	LBB0_56
LBB0_37:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w24, #1
	b.lt	LBB0_40
; %bb.38:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x24
LBB0_39:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_bytestream2_get_le16u
	str	w0, [x22], #16
	subs	w25, w25, #1
	b.ne	LBB0_39
LBB0_40:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x22
LBB0_41:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w21, w24, w21
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
	mov	x22, x25
	cmp	w0, #0
	b.gt	LBB0_4
	b	LBB0_57
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x22
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_41
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #1
	and	x8, x9, #0x1fffffffc
	add	x25, x22, x8, lsl #4
	add	x10, x22, #32
	mov	x11, x8
LBB0_44:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	w0, [x10, #-32]
	stur	w0, [x10, #-16]
	str	w0, [x10]
	str	w0, [x10, #16]
	add	x10, x10, #64
	subs	x11, x11, #4
	b.ne	LBB0_44
; %bb.45:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x8
	b.eq	LBB0_41
LBB0_46:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w0, [x25], #16
	add	w8, w8, #1
	cmp	w24, w8
	b.ne	LBB0_46
	b	LBB0_41
LBB0_47:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #1
	and	x8, x9, #0x1fffffff8
	mov	w10, #24
	madd	x25, x8, x10, x22
	dup.2d	v0, x26
	dup.2d	v1, x27
	dup.2d	v2, x0
	add	x11, x22, #96
	mov	x10, x8
LBB0_48:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x12, x11, #96
	sub	x13, x11, #48
	st3.2d	{ v0, v1, v2 }, [x12]
	st3.2d	{ v0, v1, v2 }, [x13]
	add	x12, x11, #192
	st3.2d	{ v0, v1, v2 }, [x11], #48
	st3.2d	{ v0, v1, v2 }, [x11]
	mov	x11, x12
	subs	x10, x10, #8
	b.ne	LBB0_48
; %bb.49:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_41
LBB0_51:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	x26, x27, [x25]
	add	x9, x25, #24
	str	x0, [x25, #16]
	add	w8, w8, #1
	mov	x25, x9
	cmp	w24, w8
	b.ne	LBB0_51
; %bb.52:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, x9
	ldr	x27, [sp, #16]                  ; 8-byte Folded Reload
	b	LBB0_41
LBB0_53:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x8, #1
	and	x8, x9, #0x1fffffffc
	add	x25, x22, x8, lsl #5
	add	x10, x22, #64
	mov	x11, x8
LBB0_54:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stur	w0, [x10, #-64]
	stur	w0, [x10, #-32]
	str	w0, [x10]
	str	w0, [x10, #32]
	add	x10, x10, #128
	subs	x11, x11, #4
	b.ne	LBB0_54
; %bb.55:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x9, x8
	b.eq	LBB0_41
LBB0_56:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w0, [x25], #32
	add	w8, w8, #1
	cmp	w24, w8
	b.ne	LBB0_56
	b	LBB0_41
LBB0_57:
Lloh2:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str.3@PAGE
Lloh6:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x27
	bl	_av_log
LBB0_58:
	mov	w0, #0
LBB0_59:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_60:
Lloh7:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x27
	bl	_av_log
	mov	w0, #-1
	b	LBB0_59
LBB0_61:
	mov	x0, x20
	bl	_bytestream2_get_be16
	cmp	w0, #1
	b.eq	LBB0_58
; %bb.62:
Lloh12:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x20
	bl	_bytestream2_get_bytes_left
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x27
	mov	x1, x21
	b	LBB0_64
LBB0_63:
Lloh17:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x2, l_.str.2@PAGE
Lloh21:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x27
LBB0_64:
	bl	_av_log
Lloh22:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_59
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_12)>>2
	.byte	(LBB0_28-LBB0_12)>>2
	.byte	(LBB0_31-LBB0_12)>>2
	.byte	(LBB0_34-LBB0_12)>>2
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Next line is beyond picture bounds (%d bytes left)\n"

	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
l_.str.1:                               ; @.str.1
	.asciz	"Skip beyond picture bounds\n"

l_.str.2:                               ; @.str.2
	.asciz	"bytestream overrun\n"

	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
l_.str.3:                               ; @.str.3
	.asciz	"MS RLE warning: no end-of-picture code\n"

	.no_dead_strip	_msrle_decode_8_16_24_32
.subsections_via_symbols
