	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function magy_decode_slice10
_magy_decode_slice10:                   ## @magy_decode_slice10
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movl	8(%rbx), %r13d
	decl	%r13d
	movq	80(%rbx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	cmpl	$0, 12(%rbx)
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	jle	LBB0_45
## %bb.1:
	movl	(%rbx), %eax
	movl	4(%rbx), %ecx
	movl	%ecx, -152(%rbp)                ## 4-byte Spill
	leal	1(%rax), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movslq	%r15d, %rcx
	movq	%rax, -160(%rbp)                ## 8-byte Spill
                                        ## kill: def $eax killed $eax killed $rax
	notl	%eax
	movl	%eax, -100(%rbp)                ## 4-byte Spill
	xorl	%r12d, %r12d
	shlq	$4, %rcx
	movl	%r15d, -140(%rbp)               ## 4-byte Spill
	movq	%r14, -184(%rbp)                ## 8-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	callq	_avpriv_request_sample
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-128(%rbp), %r12                ## 8-byte Reload
	incq	%r12
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movslq	12(%rbx), %rax
	cmpq	%rax, %r12
	movl	-140(%rbp), %r15d               ## 4-byte Reload
	movq	-184(%rbp), %r14                ## 8-byte Reload
	jge	LBB0_45
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_17 Depth 3
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_34 Depth 2
                                        ##       Child Loop BB0_36 Depth 3
                                        ##     Child Loop BB0_42 Depth 2
	movl	16(%rbx), %edi
	movq	8(%r14), %rsi
	movl	%edi, %eax
	imull	%r15d, %eax
	cltq
	subq	%rax, %rsi
	callq	_FFMIN
	movq	64(%rbx), %rcx
	movl	(%rcx,%r12,4), %esi
	movl	%eax, %edi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	(%r14), %edi
	movq	72(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	16(%rbx), %edi
	movq	64(%rbx), %rax
	movl	(%rax,%r12,4), %esi
	callq	_AV_CEIL_RSHIFT
	movl	%eax, %r14d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	(%r13), %rax
	movl	(%rax,%r12,4), %r15d
	movq	48(%rbx), %rax
	movq	(%rax,%r12,8), %rax
	movq	-192(%rbp), %rdx                ## 8-byte Reload
	movq	8(%rax,%rdx), %rsi
	addq	56(%rbx), %rsi
	movl	(%rax,%rdx), %edx
	leaq	-88(%rbp), %rdi
	callq	_init_get_bits8
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, %ebx
	shrl	$31, %ebx
	addl	%r15d, %ebx
	sarl	%ebx
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_get_bits
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	$8, %esi
	callq	_get_bits
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movl	%eax, %r15d
	movq	8(%r13), %rax
	imull	-140(%rbp), %r14d               ## 4-byte Folded Reload
	imull	%ebx, %r14d
	movslq	%r14d, %rcx
	shlq	$2, %rcx
	movq	(%rax,%r12,8), %rbx
	addq	%rcx, %rbx
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	movq	%r12, -128(%rbp)                ## 8-byte Spill
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movl	%r15d, -172(%rbp)               ## 4-byte Spill
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	jle	LBB0_21
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	-120(%rbp), %rax                ## 4-byte Folded Reload
	movl	%r12d, %r14d
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-88(%rbp), %rdi
	callq	_get_bits_left
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ecx
	imull	-152(%rbp), %ecx                ## 4-byte Folded Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	imull	%r12d, %ecx
	cmpl	%ecx, %eax
	jl	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edx
	jle	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	-120(%rbp), %rax                ## 4-byte Folded Reload
	movl	%r12d, %r14d
	shlq	$2, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=2
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	addq	-136(%rbp), %rbx                ## 8-byte Folded Reload
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_21
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_17 Depth 3
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	leaq	-88(%rbp), %r15
	movl	-152(%rbp), %r12d               ## 4-byte Reload
	jle	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_get_bits
	movl	%eax, (%rbx,%r13,4)
	incq	%r13
	cmpq	%r13, %r14
	jne	LBB0_17
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	addq	-136(%rbp), %rbx                ## 8-byte Folded Reload
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	je	LBB0_21
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jle	LBB0_20
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leaq	-88(%rbp), %r15
	movq	%r15, %rdi
	callq	_get_bits_left
	testl	%eax, %eax
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	40(%rax), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx,8), %edx
	movl	4(%rax,%rcx,8), %esi
	movq	%r15, %rdi
	movl	$3, %ecx
	callq	_get_vlc2
	testl	%eax, %eax
	js	LBB0_11
## %bb.19:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	%r13d, %ecx
	subl	%eax, %ecx
	movl	%ecx, (%rbx,%r12,4)
	incq	%r12
	cmpq	%r12, %r14
	jne	LBB0_9
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %eax
	imull	-84(%rbp), %eax                 ## 4-byte Folded Reload
	movl	-172(%rbp), %edx                ## 4-byte Reload
	cmpl	$128, %edx
	je	LBB0_38
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$130, %edx
	je	LBB0_29
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$129, %edx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jne	LBB0_43
## %bb.24:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	-168(%rbp), %r14                ## 8-byte Reload
	addq	(%rax,%rcx,8), %r14
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	callq	*32(%r15)
	movslq	%ebx, %r12
	leaq	(%r14,%r12,4), %r14
	cmpl	$0, -160(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	xorl	%r8d, %r8d
	callq	*32(%r15)
	leaq	(%r14,%r12,4), %r14
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%ebx, -84(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_44
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	-100(%rbp), %ebx                ## 4-byte Folded Reload
	shlq	$2, %r12
	movslq	-64(%rbp), %r15                 ## 4-byte Folded Reload
	shlq	$2, %r15
	negq	%r15
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14,%r15), %r8d
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	callq	*32(%rax)
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	addq	%r12, %r14
	decl	%ebx
	jne	LBB0_28
	jmp	LBB0_44
LBB0_38:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	-168(%rbp), %r14                ## 8-byte Reload
	addq	(%rax,%rcx,8), %r14
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	callq	*32(%r15)
	movslq	%ebx, %rdx
	leaq	(%r14,%rdx,4), %r14
	cmpl	$0, -160(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%rdx, %rbx
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	callq	*32(%r15)
	movq	%rbx, %rdx
	leaq	(%r14,%rbx,4), %r14
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-68(%rbp), %r8
	movl	-80(%rbp), %ebx                 ## 4-byte Reload
	movl	%r12d, %ecx
	movl	(%r14), %eax
	movl	%eax, -68(%rbp)
	movl	%eax, -104(%rbp)
	cmpl	%ebx, -84(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	-64(%rbp), %rax                 ## 4-byte Folded Reload
	addl	-100(%rbp), %ebx                ## 4-byte Folded Reload
	shlq	$2, %rdx
	shlq	$2, %rax
	negq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax), %rsi
	movl	%r13d, (%rsp)
	movq	%r14, %rdi
	movq	%rdx, %r15
	movq	%r14, %rdx
	movq	%r8, %r12
	leaq	-104(%rbp), %r9
	callq	_magicyuv_median_pred16
	movq	%r12, %r8
	movq	%r15, %rdx
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	(%r14), %eax
	movl	%eax, -68(%rbp)
	movl	%eax, -104(%rbp)
	addq	%r15, %r14
	decl	%ebx
	jne	LBB0_42
	jmp	LBB0_44
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	-168(%rbp), %rbx                ## 8-byte Reload
	addq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r12d, %ecx
	xorl	%r8d, %r8d
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	callq	*32(%r15)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movslq	%esi, %r12
	leaq	(%rbx,%r12,4), %r14
	cmpl	$0, -160(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	*32(%r15)
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	leaq	(%r14,%r12,4), %r14
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	movl	%ebx, %r15d
	cmpl	%r9d, -84(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_44
	jmp	LBB0_33
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	cmpl	%r9d, -84(%rbp)                 ## 4-byte Folded Reload
	jge	LBB0_44
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	movslq	%ecx, %rax
	negl	%ecx
	movslq	%ecx, %r8
	movl	%r15d, %ecx
	shlq	$2, %rax
	movq	%r14, %rdx
	subq	%rax, %rdx
	addq	$4, %rdx
	shlq	$2, %r12
	imull	-100(%rbp), %esi                ## 4-byte Folded Reload
	decq	%rcx
	movl	-84(%rbp), %r10d                ## 4-byte Reload
	jmp	LBB0_34
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_34 Depth=2
	addq	%r12, %r14
	incl	%r10d
	addq	%r12, %rdx
	cmpl	%r9d, %r10d
	je	LBB0_44
LBB0_34:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_36 Depth 3
	movl	(%r14), %edi
	addl	(%r14,%r8,4), %edi
	movl	%edi, -68(%rbp)
	andl	%r13d, %edi
	movl	%edi, (%r14)
	cmpl	$2, %r15d
	jl	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_36:                                ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_34 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%rdx,%rdi,4), %eax
	leal	(%rsi,%rdi), %ebx
	movslq	%ebx, %rbx
	movl	(%r14,%rbx,4), %ebx
	movl	%ebx, -104(%rbp)
	subl	%ebx, %eax
	addl	4(%r14,%rdi,4), %eax
	addl	-68(%rbp), %eax
	movl	%eax, -68(%rbp)
	andl	%r13d, %eax
	movl	%eax, 4(%r14,%rdi,4)
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_36
	jmp	LBB0_37
LBB0_11:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	jmp	LBB0_69
LBB0_45:
	xorl	%ecx, %ecx
	cmpq	$0, 24(%rbx)
	je	LBB0_69
## %bb.46:
	movl	16(%rbx), %edi
	movq	8(%r14), %rsi
	movl	%edi, %eax
	imull	%r15d, %eax
	cltq
	subq	%rax, %rsi
	callq	_FFMIN
	xorl	%ecx, %ecx
	testl	%eax, %eax
	jle	LBB0_69
## %bb.47:
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx), %r12
	movq	8(%rcx), %rcx
	movl	%r13d, %r10d
	movl	8(%r12), %r13d
	imull	16(%rbx), %r15d
	movl	%r13d, %edx
	imull	%r15d, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movl	%r15d, %edx
	movslq	%esi, %r15
	shlq	$2, %r15
	addq	16(%rcx), %r15
	movl	(%r14), %r8d
	movl	(%r12), %r11d
	movl	4(%r12), %r9d
	movl	%r9d, %esi
	imull	%edx, %esi
	movl	%esi, %edi
	shrl	$31, %edi
	addl	%esi, %edi
	sarl	%edi
	movslq	%edi, %rdi
	shlq	$2, %rdi
	addq	8(%rcx), %rdi
	imull	%r11d, %edx
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	movslq	%esi, %rbx
	shlq	$2, %rbx
	addq	(%rcx), %rbx
	movl	%r8d, %ecx
	andl	$-4, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	addq	$-4, %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdx
	shrq	$2, %rdx
	incq	%rdx
	movd	%r10d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	movq	%rdx, %rcx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	andq	$-2, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, %rcx
	negq	%rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	xorl	%r10d, %r10d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_66:                                ##   in Loop: Header=BB0_48 Depth=1
	movl	(%r12), %r11d
	movl	4(%r12), %r9d
	movl	8(%r12), %r13d
LBB0_67:                                ##   in Loop: Header=BB0_48 Depth=1
	movl	%r11d, %ecx
	shrl	$31, %ecx
	addl	%r11d, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	leaq	(%r15,%rcx,4), %r15
	movl	%r9d, %ecx
	shrl	$31, %ecx
	addl	%r9d, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	leaq	(%rdi,%rcx,4), %rdi
	movl	%r13d, %ecx
	shrl	$31, %ecx
	addl	%r13d, %ecx
	sarl	%ecx
	movslq	%ecx, %rcx
	leaq	(%rbx,%rcx,4), %rbx
	incl	%r10d
	cmpl	%eax, %r10d
	je	LBB0_68
LBB0_48:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_58 Depth 2
                                        ##     Child Loop BB0_65 Depth 2
	testl	%r8d, %r8d
	jle	LBB0_67
## %bb.49:                              ##   in Loop: Header=BB0_48 Depth=1
	cmpl	$4, %r8d
	jae	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_48 Depth=1
	xorl	%esi, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
LBB0_62:                                ##   in Loop: Header=BB0_48 Depth=1
	movq	%rsi, %rcx
	testb	$1, %r8b
	je	LBB0_64
## %bb.63:                              ##   in Loop: Header=BB0_48 Depth=1
	movl	(%rdi,%rsi,4), %ecx
	addl	(%r15,%rsi,4), %ecx
	andl	%edx, %ecx
	movl	%ecx, (%r15,%rsi,4)
	movl	(%rdi,%rsi,4), %ecx
	addl	(%rbx,%rsi,4), %ecx
	andl	%edx, %ecx
	movl	%ecx, (%rbx,%rsi,4)
	movq	%rsi, %rcx
	orq	$1, %rcx
LBB0_64:                                ##   in Loop: Header=BB0_48 Depth=1
	notq	%rsi
	cmpq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	je	LBB0_66
	.p2align	4, 0x90
LBB0_65:                                ##   Parent Loop BB0_48 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%rcx,4), %esi
	addl	(%r15,%rcx,4), %esi
	andl	%edx, %esi
	movl	%esi, (%r15,%rcx,4)
	movl	(%rdi,%rcx,4), %esi
	addl	(%rbx,%rcx,4), %esi
	andl	%edx, %esi
	movl	%esi, (%rbx,%rcx,4)
	movl	4(%rdi,%rcx,4), %esi
	addl	4(%r15,%rcx,4), %esi
	andl	%edx, %esi
	movl	%esi, 4(%r15,%rcx,4)
	movl	4(%rdi,%rcx,4), %esi
	addl	4(%rbx,%rcx,4), %esi
	andl	%edx, %esi
	movl	%esi, 4(%rbx,%rcx,4)
	addq	$2, %rcx
	cmpq	%rcx, %r8
	jne	LBB0_65
	jmp	LBB0_66
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_48 Depth=1
	leaq	(%r15,%r8,4), %rsi
	leaq	(%rbx,%r8,4), %r11
	leaq	(%rdi,%r8,4), %rcx
	cmpq	%r11, %r15
	setb	%r13b
	cmpq	%rsi, %rbx
	setb	%r14b
	cmpq	%rcx, %r15
	setb	%r12b
	cmpq	%rsi, %rdi
	setb	%sil
	cmpq	%rcx, %rbx
	setb	%r9b
	cmpq	%r11, %rdi
	setb	%r11b
	testb	%r14b, %r13b
	jne	LBB0_52
## %bb.53:                              ##   in Loop: Header=BB0_48 Depth=1
	andb	%sil, %r12b
	jne	LBB0_52
## %bb.54:                              ##   in Loop: Header=BB0_48 Depth=1
	movl	$0, %esi
	andb	%r11b, %r9b
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_62
## %bb.55:                              ##   in Loop: Header=BB0_48 Depth=1
	cmpq	$0, -152(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_56
## %bb.57:                              ##   in Loop: Header=BB0_48 Depth=1
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_58:                                ##   Parent Loop BB0_48 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	(%r15,%rcx,4), %xmm1
	movdqu	(%rdi,%rcx,4), %xmm2
	paddd	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	movdqu	%xmm2, (%r15,%rcx,4)
	movdqu	(%rbx,%rcx,4), %xmm1
	movdqu	(%rdi,%rcx,4), %xmm2
	paddd	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	movdqu	%xmm2, (%rbx,%rcx,4)
	movdqu	16(%r15,%rcx,4), %xmm1
	movdqu	16(%rdi,%rcx,4), %xmm2
	paddd	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	movdqu	%xmm2, 16(%r15,%rcx,4)
	movdqu	16(%rbx,%rcx,4), %xmm1
	movdqu	16(%rdi,%rcx,4), %xmm2
	paddd	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	movdqu	%xmm2, 16(%rbx,%rcx,4)
	addq	$8, %rcx
	addq	$-2, %rsi
	jne	LBB0_58
## %bb.59:                              ##   in Loop: Header=BB0_48 Depth=1
	testb	$1, -136(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_61
LBB0_60:                                ##   in Loop: Header=BB0_48 Depth=1
	movdqu	(%r15,%rcx,4), %xmm1
	movdqu	(%rdi,%rcx,4), %xmm2
	paddd	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	movdqu	%xmm2, (%r15,%rcx,4)
	movdqu	(%rbx,%rcx,4), %xmm1
	movdqu	(%rdi,%rcx,4), %xmm2
	paddd	%xmm1, %xmm2
	pand	%xmm0, %xmm2
	movdqu	%xmm2, (%rbx,%rcx,4)
LBB0_61:                                ##   in Loop: Header=BB0_48 Depth=1
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rsi
	cmpq	%r8, %rcx
	je	LBB0_66
	jmp	LBB0_62
LBB0_52:                                ##   in Loop: Header=BB0_48 Depth=1
	xorl	%esi, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_62
LBB0_56:                                ##   in Loop: Header=BB0_48 Depth=1
	xorl	%ecx, %ecx
	testb	$1, -136(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_60
	jmp	LBB0_61
LBB0_68:
	xorl	%ecx, %ecx
	jmp	LBB0_69
LBB0_3:
	movl	%eax, %ecx
LBB0_69:
	movl	%ecx, %eax
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown prediction: %d"

	.no_dead_strip	_magy_decode_slice10
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function magy_decode_slice10
_magy_decode_slice10:                   ; @magy_decode_slice10
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x26, x2
	mov	x24, x0
	ldr	x23, [x0, #16]
	ldp	w8, w9, [x23, #8]
	sub	w19, w8, #1
	ldr	x25, [x23, #80]
	cmp	w9, #1
	b.lt	LBB0_43
; %bb.1:
	mov	x21, #0
	ldp	w8, w22, [x23]
	add	w9, w8, #1
	str	w9, [sp, #68]                   ; 4-byte Folded Spill
	sxtw	x9, w26
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	mvn	w8, w8
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	stp	x24, x9, [sp, #40]              ; 16-byte Folded Spill
	str	x26, [sp, #32]                  ; 8-byte Folded Spill
	str	x25, [sp, #56]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_avpriv_request_sample
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x23, #12]
	cmp	x21, x8
	ldp	x26, x24, [sp, #32]             ; 16-byte Folded Reload
	ldr	x25, [sp, #56]                  ; 8-byte Folded Reload
	b.ge	LBB0_43
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_14 Depth 3
                                        ;     Child Loop BB0_16 Depth 2
                                        ;       Child Loop BB0_18 Depth 3
                                        ;     Child Loop BB0_28 Depth 2
                                        ;     Child Loop BB0_39 Depth 2
                                        ;       Child Loop BB0_41 Depth 3
                                        ;     Child Loop BB0_33 Depth 2
	ldr	w0, [x23, #16]
	ldr	x8, [x24, #8]
	mul	w9, w0, w26
	sub	x1, x8, w9, sxtw
	bl	_FFMIN
	ldr	x8, [x23, #64]
	lsl	x20, x21, #2
	ldr	w1, [x8, x20]
	bl	_AV_CEIL_RSHIFT
	str	w0, [sp, #92]                   ; 4-byte Folded Spill
	ldr	w0, [x24]
	ldr	x8, [x23, #72]
	ldr	w1, [x8, x20]
	bl	_AV_CEIL_RSHIFT
	str	w0, [sp, #88]                   ; 4-byte Folded Spill
	ldr	w0, [x23, #16]
	ldr	x8, [x23, #64]
	ldr	w1, [x8, x20]
	bl	_AV_CEIL_RSHIFT
	mov	x27, x0
	ldr	x8, [x25]
	ldr	w8, [x8, x20]
	cmp	w8, #0
	cinc	w20, w8, lt
	ldp	x9, x8, [x23, #48]
	mov	x28, x23
	ldr	x9, [x9, x21, lsl #3]
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	x9, x9, x10, lsl #4
	ldr	x10, [x9, #8]
	add	x1, x10, x8
	ldr	w2, [x9]
	sub	x0, x29, #84
	bl	_init_get_bits8
	tbnz	w0, #31, LBB0_60
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	asr	w23, w20, #1
	sub	x0, x29, #84
	mov	w1, #8
	bl	_get_bits
	mov	x24, x0
	sub	x0, x29, #84
	mov	w1, #8
	bl	_get_bits
	ldr	x8, [x25, #8]
	ldr	x8, [x8, x21, lsl #3]
	mul	w9, w27, w26
	stp	x21, x23, [sp, #96]             ; 16-byte Folded Spill
	mul	w20, w9, w23
	add	x26, x8, w20, sxtw #2
	str	w0, [sp, #84]                   ; 4-byte Folded Spill
	str	x20, [sp, #72]                  ; 8-byte Folded Spill
	tbnz	w24, #0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	w24, w8, [sp, #88]              ; 8-byte Folded Reload
	cmp	w8, #1
	mov	x23, x28
	mov	x25, x8
	b.lt	LBB0_21
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w28, #0
	mov	w8, w24
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sbfiz	x9, x9, #2, #32
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	lsl	x20, x8, #2
	b	LBB0_16
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #84
	bl	_get_bits_left
	ldp	w24, w9, [sp, #88]              ; 8-byte Folded Reload
	mul	w8, w9, w22
	mul	w8, w8, w24
	cmp	w0, w8
	b.lt	LBB0_42
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w9, #1
	mov	x23, x28
	mov	x25, x9
	b.lt	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w20, #0
	mov	w8, w24
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	sbfiz	x28, x9, #2, #32
	lsl	x27, x8, #2
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	w20, w20, #1
	add	x26, x26, x28
	cmp	w20, w25
	b.eq	LBB0_21
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_14 Depth 3
	cmp	w24, #1
	b.lt	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	x21, #0
LBB0_14:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	x0, x29, #84
	mov	x1, x22
	bl	_get_bits
	str	w0, [x26, x21]
	add	x21, x21, #4
	cmp	x27, x21
	b.ne	LBB0_14
	b	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=2
	add	w28, w28, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x26, x26, x8
	cmp	w28, w25
	b.eq	LBB0_21
LBB0_16:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_18 Depth 3
	cmp	w24, #1
	ldr	x21, [sp, #96]                  ; 8-byte Folded Reload
	b.lt	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	mov	x27, #0
LBB0_18:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_16 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	x0, x29, #84
	bl	_get_bits_left
	cmp	w0, #0
	b.le	LBB0_42
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=3
	ldr	x8, [x23, #40]
	add	x8, x8, x21, lsl #3
	ldp	w2, w1, [x8]
	sub	x0, x29, #84
	mov	w3, #3
	bl	_get_vlc2
	tbnz	w0, #31, LBB0_42
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=3
	sub	w8, w19, w0
	str	w8, [x26, x27]
	add	x27, x27, #4
	cmp	x20, x27
	b.ne	LBB0_18
	b	LBB0_15
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	mul	w28, w9, w8
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	sxtw	x8, w8
	ldr	w2, [sp, #84]                   ; 4-byte Folded Reload
	cmp	w2, #128
	b.eq	LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w2, #130
	b.eq	LBB0_34
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w2, #129
	ldr	x21, [sp, #96]                  ; 8-byte Folded Reload
	b.ne	LBB0_2
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
	ldr	x9, [x9, x21, lsl #3]
	add	x26, x9, x8, lsl #2
	ldr	x8, [x23, #32]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	mov	w4, #0
	blr	x8
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	sxtw	x20, w8
	add	x26, x26, w8, sxtw #2
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #32]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	mov	w4, #0
	blr	x8
	add	x26, x26, x20, lsl #2
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cmp	w8, w25
	b.ge	LBB0_3
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w25, w9, w25
	lsl	x20, x20, #2
	sub	x27, x8, w28, sxtw #2
LBB0_28:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #32]
	ldr	w4, [x26, x27]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	blr	x8
	add	x26, x26, x20
	subs	w25, w25, #1
	b.ne	LBB0_28
	b	LBB0_3
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
	ldr	x21, [sp, #96]                  ; 8-byte Folded Reload
	ldr	x9, [x9, x21, lsl #3]
	add	x26, x9, x8, lsl #2
	ldr	x8, [x23, #32]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	mov	w4, #0
	blr	x8
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	mov	x8, x9
	sxtw	x20, w8
	add	x26, x26, w9, sxtw #2
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_31
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #32]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	mov	w4, #0
	blr	x8
	add	x26, x26, x20, lsl #2
LBB0_31:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x26]
	stp	w8, w8, [x29, #-92]
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cmp	w8, w25
	b.ge	LBB0_3
; %bb.32:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, #0
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	add	w25, w9, w25
	lsl	x20, x20, #2
	sub	x27, x8, w28, sxtw #2
LBB0_33:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x26, x27
	sub	x4, x29, #88
	sub	x5, x29, #92
	mov	x0, x26
	mov	x2, x26
	mov	x3, x24
	mov	x6, x19
	bl	_magicyuv_median_pred16
	ldr	w8, [x26]
	stp	w8, w8, [x29, #-92]
	add	x26, x26, x20
	subs	w25, w25, #1
	b.ne	LBB0_33
	b	LBB0_3
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x9, [x9, #8]
	ldr	x21, [sp, #96]                  ; 8-byte Folded Reload
	ldr	x9, [x9, x21, lsl #3]
	add	x26, x9, x8, lsl #2
	ldr	x8, [x23, #32]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	mov	w4, #0
	blr	x8
	ldr	x9, [sp, #104]                  ; 8-byte Folded Reload
	mov	x8, x9
	sxtw	x20, w8
	add	x26, x26, w9, sxtw #2
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #32]
	mov	x0, x26
	mov	x1, x26
	mov	x2, x19
	mov	x3, x24
	mov	w4, #0
	blr	x8
	add	x26, x26, x20, lsl #2
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cmp	w8, w25
	b.ge	LBB0_3
; %bb.37:                               ;   in Loop: Header=BB0_4 Depth=1
	neg	w8, w28
	sxtw	x8, w8
	mov	w9, w24
	lsl	x10, x20, #2
	ldr	w11, [sp, #12]                  ; 4-byte Folded Reload
	ldr	x12, [sp, #104]                 ; 8-byte Folded Reload
	mul	w11, w11, w12
	ldr	w12, [sp, #68]                  ; 4-byte Folded Reload
	sub	x13, x26, w28, sxtw #2
	b	LBB0_39
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=2
	add	x26, x26, x10
	add	w12, w12, #1
	add	x13, x13, x10
	cmp	w12, w25
	b.eq	LBB0_3
LBB0_39:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_41 Depth 3
	ldr	w14, [x26, x8, lsl #2]
	ldr	w15, [x26]
	add	w14, w15, w14
	and	w15, w14, w19
	stur	w14, [x29, #-88]
	str	w15, [x26]
	cmp	w24, #2
	b.lt	LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=2
	mov	w14, #1
LBB0_41:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_39 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	lsl	x15, x14, #2
	ldr	w16, [x13, x15]
	add	w17, w11, w14
	sub	w17, w17, #1
	ldr	w17, [x26, w17, sxtw #2]
	stur	w17, [x29, #-92]
	ldr	w0, [x26, x15]
	sub	w16, w16, w17
	add	w16, w16, w0
	ldur	w17, [x29, #-88]
	add	w16, w16, w17
	and	w17, w16, w19
	stur	w16, [x29, #-88]
	str	w17, [x26, x15]
	add	x14, x14, #1
	cmp	x9, x14
	b.ne	LBB0_41
	b	LBB0_38
LBB0_42:
Lloh2:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	b	LBB0_60
LBB0_43:
	ldr	x8, [x23, #24]
	cbz	x8, LBB0_59
; %bb.44:
	ldr	w0, [x23, #16]
	ldr	x8, [x24, #8]
	mul	w9, w0, w26
	sub	x1, x8, w9, sxtw
	bl	_FFMIN
	cmp	w0, #1
	b.lt	LBB0_59
; %bb.45:
	mov	w8, #0
	ldp	x9, x11, [x25]
	ldp	x14, x10, [x11, #8]
	ldp	w16, w15, [x9, #4]
	ldr	w12, [x23, #16]
	mul	w13, w12, w26
	mul	w12, w15, w13
	cmp	w12, #0
	cinc	w12, w12, lt
	asr	w12, w12, #1
	add	x10, x10, w12, sxtw #2
	ldr	w17, [x9]
	mul	w12, w16, w13
	cmp	w12, #0
	cinc	w12, w12, lt
	asr	w12, w12, #1
	ldr	x1, [x11]
	add	x11, x14, w12, sxtw #2
	ldr	w12, [x24]
	mul	w13, w17, w13
	cmp	w13, #0
	cinc	w13, w13, lt
	asr	w13, w13, #1
	add	x13, x1, w13, sxtw #2
	and	x14, x12, #0xfffffff8
	dup.4s	v0, w19
	b	LBB0_48
LBB0_46:                                ;   in Loop: Header=BB0_48 Depth=1
	ldp	w17, w16, [x9]
	ldr	w15, [x9, #8]
LBB0_47:                                ;   in Loop: Header=BB0_48 Depth=1
	cmp	w17, #0
	cinc	w1, w17, lt
	asr	w1, w1, #1
	add	x10, x10, w1, sxtw #2
	cmp	w16, #0
	cinc	w1, w16, lt
	asr	w1, w1, #1
	add	x11, x11, w1, sxtw #2
	cmp	w15, #0
	cinc	w1, w15, lt
	asr	w1, w1, #1
	add	x13, x13, w1, sxtw #2
	add	w8, w8, #1
	cmp	w8, w0
	b.eq	LBB0_59
LBB0_48:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_55 Depth 2
                                        ;     Child Loop BB0_58 Depth 2
	cmp	w12, #1
	b.lt	LBB0_47
; %bb.49:                               ;   in Loop: Header=BB0_48 Depth=1
	cmp	w12, #8
	b.hs	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x15, #0
	b	LBB0_57
LBB0_51:                                ;   in Loop: Header=BB0_48 Depth=1
	mov	x15, #0
	lsl	x16, x12, #2
	add	x1, x13, x16
	add	x17, x11, x16
	cmp	x10, x17
	add	x2, x10, x16
	ccmp	x11, x2, #2, lo
	cset	w16, lo
	cmp	x13, x17
	ccmp	x11, x1, #2, lo
	cset	w17, lo
	cmp	x13, x2
	ccmp	x10, x1, #2, lo
	b.lo	LBB0_57
; %bb.52:                               ;   in Loop: Header=BB0_48 Depth=1
	tbnz	w16, #0, LBB0_57
; %bb.53:                               ;   in Loop: Header=BB0_48 Depth=1
	tbnz	w17, #0, LBB0_57
; %bb.54:                               ;   in Loop: Header=BB0_48 Depth=1
	add	x15, x10, #16
	add	x16, x11, #16
	add	x17, x13, #16
	mov	x1, x14
LBB0_55:                                ;   Parent Loop BB0_48 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q1, q2, [x15, #-16]
	ldp	q3, q4, [x16, #-16]
	add.4s	v1, v3, v1
	add.4s	v2, v4, v2
	and.16b	v1, v1, v0
	and.16b	v2, v2, v0
	stp	q1, q2, [x15, #-16]
	ldp	q1, q2, [x17, #-16]
	add.4s	v1, v3, v1
	add.4s	v2, v4, v2
	and.16b	v1, v1, v0
	and.16b	v2, v2, v0
	stp	q1, q2, [x17, #-16]
	add	x15, x15, #32
	add	x16, x16, #32
	add	x17, x17, #32
	subs	x1, x1, #8
	b.ne	LBB0_55
; %bb.56:                               ;   in Loop: Header=BB0_48 Depth=1
	mov	x15, x14
	cmp	x14, x12
	b.eq	LBB0_46
LBB0_57:                                ;   in Loop: Header=BB0_48 Depth=1
	lsl	x1, x15, #2
	add	x16, x13, x1
	add	x17, x11, x1
	add	x1, x10, x1
	sub	x15, x12, x15
LBB0_58:                                ;   Parent Loop BB0_48 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w2, [x1]
	ldr	w3, [x17]
	add	w2, w3, w2
	and	w2, w2, w19
	str	w2, [x1], #4
	ldr	w2, [x17], #4
	ldr	w3, [x16]
	add	w2, w2, w3
	and	w2, w2, w19
	str	w2, [x16], #4
	subs	x15, x15, #1
	b.ne	LBB0_58
	b	LBB0_46
LBB0_59:
	mov	w0, #0
LBB0_60:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown prediction: %d"

	.no_dead_strip	_magy_decode_slice10
.subsections_via_symbols
