	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function vc1_decode_b_mb
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_vc1_decode_b_mb:                       ## @vc1_decode_b_mb
	.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	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	addq	$216, %rdi
	movslq	96(%r13), %rax
	movslq	100(%r13), %rcx
	movslq	104(%r13), %rbx
	imulq	%rcx, %rbx
	addq	%rax, %rbx
	movl	(%r13), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	_BMV_TYPE_BACKWARD@GOTPCREL(%rip), %r15
	movl	(%r15), %r12d
	movl	4(%r13), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	$0, 192(%r13)
	cmpq	$0, 240(%r13)
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	callq	_get_bits1
	movq	%rax, %r14
	cmpq	$0, 232(%r13)
	je	LBB0_5
LBB0_4:
	movslq	%ebx, %rbx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	jmp	LBB0_6
LBB0_2:
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %r14d
	cmpq	$0, 232(%r13)
	jne	LBB0_4
LBB0_5:
	movq	112(%r13), %rax
	movslq	%ebx, %rbx
	movl	(%rax,%rbx,4), %eax
LBB0_6:
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	64(%r13), %rdx
	movq	120(%r13), %rcx
	movq	(%rdx), %rdi
	movq	200(%r13), %rdx
	movq	(%rdx), %rdx
	movq	(%rcx), %rsi
	movq	$0, (%rdi,%rsi,8)
	movq	(%rcx), %rsi
	movq	$0, (%rdx,%rsi,8)
	movq	8(%rcx), %rsi
	movq	$0, (%rdi,%rsi,8)
	movq	8(%rcx), %rsi
	movq	$0, (%rdx,%rsi,8)
	movq	16(%rcx), %rsi
	movq	$0, (%rdi,%rsi,8)
	movq	16(%rcx), %rsi
	movq	$0, (%rdx,%rsi,8)
	movq	24(%rcx), %rsi
	movq	$0, (%rdi,%rsi,8)
	movq	24(%rcx), %rsi
	movq	$0, (%rdx,%rsi,8)
	movq	32(%rcx), %rsi
	movq	$0, (%rdi,%rsi,8)
	movq	32(%rcx), %rsi
	movq	$0, (%rdx,%rsi,8)
	movq	40(%rcx), %rsi
	movq	$0, (%rdi,%rsi,8)
	movq	40(%rcx), %rcx
	movq	$0, (%rdx,%rcx,8)
	movq	208(%r13), %rcx
	movl	$0, (%rcx,%rbx,4)
	testl	%r14d, %r14d
	je	LBB0_7
LBB0_20:
	movq	64(%r13), %rdx
	movq	120(%r13), %rcx
	movq	(%rdx), %rdi
	movq	192(%r13), %rdx
	movq	(%rcx), %rsi
	movq	%rdx, (%rdi,%rsi,8)
	movq	192(%r13), %rdx
	movq	8(%rcx), %rsi
	movq	%rdx, (%rdi,%rsi,8)
	movq	192(%r13), %rdx
	movq	16(%rcx), %rsi
	movq	%rdx, (%rdi,%rsi,8)
	movq	192(%r13), %rdx
	movq	24(%rcx), %rsi
	movq	%rdx, (%rdi,%rsi,8)
	movq	192(%r13), %rdx
	movq	32(%rcx), %rsi
	movq	%rdx, (%rdi,%rsi,8)
	movq	192(%r13), %rdx
	movq	40(%rcx), %rcx
	movq	%rdx, (%rdi,%rcx,8)
	testl	%eax, %eax
	je	LBB0_25
## %bb.21:
	testl	%r14d, %r14d
	je	LBB0_23
## %bb.22:
	movq	_BMV_TYPE_INTERPOLATED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_23:
	leaq	-56(%rbp), %rbx
	leaq	-64(%rbp), %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_ff_vc1_pred_b_mv
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
LBB0_24:
	movl	%r12d, %r8d
	callq	_vc1_b_mc
LBB0_57:
	xorl	%eax, %eax
LBB0_58:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_60
## %bb.59:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	testl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_8
LBB0_9:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_decode012
	cmpl	$2, %eax
	je	LBB0_19
## %bb.10:
	movl	%eax, %r12d
	cmpl	$1, %eax
	je	LBB0_15
## %bb.11:
	testl	%r12d, %r12d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jne	LBB0_20
## %bb.12:
	movq	_B_FRACTION_DEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	addl	%edx, %ecx
	sarl	%ecx
	cmpl	%ecx, 16(%r13)
	jge	LBB0_14
## %bb.13:
	movq	_BMV_TYPE_FORWARD@GOTPCREL(%rip), %r15
LBB0_14:
	movl	(%r15), %r12d
	jmp	LBB0_20
LBB0_25:
	testl	%r14d, %r14d
	je	LBB0_29
## %bb.26:
	movq	88(%r13), %rax
	movl	(%rax), %esi
	movq	_VC1_CBPCY_P_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_GET_MQUANT
	movq	$0, 192(%r13)
	movq	208(%r13), %rax
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax,%rbx,4)
	cmpl	$0, 32(%r13)
	jne	LBB0_28
## %bb.27:
	movq	_ff_vc1_ttmb_vlc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r13), %rcx
	movl	(%rax,%rcx,4), %esi
	movq	_VC1_TTMB_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
LBB0_28:
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	leaq	-56(%rbp), %rbx
	leaq	-64(%rbp), %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_ff_vc1_pred_b_mv
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	movl	%r12d, %r8d
	callq	_vc1_b_mc
	jmp	LBB0_32
LBB0_8:
	movl	%r12d, -104(%rbp)               ## 4-byte Spill
	movl	-56(%rbp), %r12d
	movl	-64(%rbp), %esi
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movl	%r12d, %edi
	callq	_GET_MVDATA
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r12d, -52(%rbp)
	movl	-104(%rbp), %r12d               ## 4-byte Reload
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -60(%rbp)
	cmpq	$0, 192(%r13)
	jne	LBB0_20
	jmp	LBB0_9
LBB0_29:
	cmpq	$0, 192(%r13)
	je	LBB0_30
## %bb.31:
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_GET_MQUANT
	movq	208(%r13), %rax
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%rax,%rbx,4)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits1
	movq	%rax, 224(%r13)
	leaq	-56(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	callq	_ff_vc1_pred_b_mv
LBB0_32:
	leaq	72(%r13), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	$1, -96(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	movl	$5, %r15d
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	xorl	%r9d, %r9d
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_55:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
LBB0_56:                                ##   in Loop: Header=BB0_33 Depth=1
	incq	%rbx
	addl	$4, %r12d
	addl	$8, %esi
	decl	%r15d
	cmpq	$6, %rbx
	je	LBB0_57
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	120(%r13), %r8
	movq	200(%r13), %rax
	movq	(%rax), %rax
	movq	(%r8,%rbx,8), %rcx
	movq	$0, (%rax,%rcx,8)
	movl	%ebx, %edx
	shrl	$2, %edx
	xorl	%ecx, %ecx
	movl	-92(%rbp), %eax                 ## 4-byte Reload
	btl	%r15d, %eax
	setb	%al
	movl	$0, %r14d
	testb	$4, %bl
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	%esi, %edi
	andl	$8, %edi
	movl	%r12d, %r14d
	andl	$8, %r14d
	imull	128(%r13), %r14d
	addl	%edi, %r14d
LBB0_35:                                ##   in Loop: Header=BB0_33 Depth=1
	addl	%edx, %r9d
	movb	%al, %cl
	movq	64(%r13), %rax
	movq	192(%r13), %rdi
	movq	(%rax), %rdx
	movq	(%r8,%rbx,8), %rax
	movq	%rdi, (%rdx,%rax,8)
	cmpq	$0, 192(%r13)
	je	LBB0_48
## %bb.36:                              ##   in Loop: Header=BB0_33 Depth=1
	movl	%ebx, %eax
	andl	$2147483646, %eax               ## imm = 0x7FFFFFFE
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%rdi)
	cmpl	$2, %eax
	je	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$0, 184(%r13)
	jne	LBB0_39
LBB0_38:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	(%r8,%rbx,8), %rax
	movq	136(%r13), %rdi
	subq	(%rdi,%rbx,8), %rax
	movq	(%rdx,%rax,8), %rax
	movq	%rax, 80(%r13)
LBB0_39:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	andl	$2147483645, %eax               ## imm = 0x7FFFFFFD
	cmpl	$1, %eax
	je	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$0, 96(%r13)
	je	LBB0_42
LBB0_41:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	(%r8,%rbx,8), %rax
	movq	-8(%rdx,%rax,8), %rax
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%rax, (%rdx)
LBB0_42:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	%ebx, %eax
	andl	$4, %eax
	movq	144(%r13), %rdx
	movq	(%rdx,%rbx,8), %rsi
	movl	56(%rax,%r13), %r9d
	movq	%r13, %rdi
	movl	%ebx, %edx
	movl	-88(%rbp), %r8d                 ## 4-byte Reload
	callq	_vc1_decode_intra_block
	movq	_CONFIG_GRAY@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpq	$4, %rbx
	jb	LBB0_45
## %bb.44:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	160(%r13), %rax
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_55
LBB0_45:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	%r12d, -108(%rbp)               ## 4-byte Spill
	movq	144(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	*48(%r13)
	cmpq	$0, 40(%r13)
	movq	144(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_33 Depth=1
	movdqu	(%rdi), %xmm0
	movdqu	16(%rdi), %xmm1
	movdqu	32(%rdi), %xmm2
	movdqu	48(%rdi), %xmm3
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, (%rdi)
	paddd	%xmm1, %xmm1
	movdqu	%xmm1, 16(%rdi)
	paddd	%xmm2, %xmm2
	movdqu	%xmm2, 32(%rdi)
	paddd	%xmm3, %xmm3
	movdqu	%xmm3, 48(%rdi)
	movdqu	64(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 64(%rdi)
	movdqu	80(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 80(%rdi)
	movdqu	96(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 96(%rdi)
	movdqu	112(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 112(%rdi)
	movdqu	128(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 128(%rdi)
	movdqu	144(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 144(%rdi)
	movdqu	160(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 160(%rdi)
	movdqu	176(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 176(%rdi)
	movdqu	192(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 192(%rdi)
	movdqu	208(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 208(%rdi)
	movdqu	224(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 224(%rdi)
	movdqu	240(%rdi), %xmm0
	paddd	%xmm0, %xmm0
	movdqu	%xmm0, 240(%rdi)
LBB0_47:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	168(%r13), %rax
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %ecx
	movslq	%r14d, %rsi
	addq	(%rax,%rcx,8), %rsi
	leaq	152(%r13), %rax
	leaq	128(%r13), %rcx
	testb	$4, %bl
	cmoveq	%rcx, %rax
	movl	(%rax), %edx
	callq	*176(%r13)
	movl	%r12d, %r9d
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-108(%rbp), %r12d               ## 4-byte Reload
	jmp	LBB0_56
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_33 Depth=1
	testl	%ecx, %ecx
	je	LBB0_56
## %bb.49:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	168(%r13), %rdx
	movl	%r9d, %edi
	movslq	%r14d, %r10
	leaq	152(%r13), %rcx
	addq	(%rdx,%rdi,8), %r10
	leaq	128(%r13), %rdx
	movl	%ebx, %edi
	andl	$4, %edi
	cmoveq	%rdx, %rcx
	xorl	%edx, %edx
	movq	_CONFIG_GRAY@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	je	LBB0_50
## %bb.51:                              ##   in Loop: Header=BB0_33 Depth=1
	testl	%edi, %edi
	movl	-84(%rbp), %r14d                ## 4-byte Reload
	je	LBB0_53
## %bb.52:                              ##   in Loop: Header=BB0_33 Depth=1
	movq	160(%r13), %rdx
	movq	_AV_CODEC_FLAG_GRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, (%rdx)
	setne	%dl
	jmp	LBB0_53
LBB0_50:                                ##   in Loop: Header=BB0_33 Depth=1
	movl	-84(%rbp), %r14d                ## 4-byte Reload
LBB0_53:                                ##   in Loop: Header=BB0_33 Depth=1
	movq	144(%r13), %rsi
	movq	(%rsi,%rbx,8), %rsi
	movl	(%rcx), %eax
	movzbl	%dl, %r11d
	movq	%r13, %rdi
	movl	%ebx, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	-96(%rbp), %r9d                 ## 4-byte Reload
	pushq	$0
	pushq	%r11
	pushq	%rax
	pushq	%r10
	callq	_vc1_decode_p_block
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_58
## %bb.54:                              ##   in Loop: Header=BB0_33 Depth=1
	cmpl	$8, %r14d
	movl	%r14d, %eax
	movl	$-1, %ecx
	cmovll	%ecx, %eax
	cmpl	$0, 32(%r13)
	cmovel	%eax, %r14d
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_55
LBB0_19:
	movq	_BMV_TYPE_INTERPOLATED@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$0, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_15:
	movq	_B_FRACTION_DEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	cmpl	%ecx, 16(%r13)
	jge	LBB0_16
## %bb.17:
	movq	_BMV_TYPE_BACKWARD@GOTPCREL(%rip), %rcx
	jmp	LBB0_18
LBB0_30:
	leaq	-56(%rbp), %rbx
	leaq	-64(%rbp), %r15
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	callq	_ff_vc1_pred_b_mv
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_24
LBB0_16:
	movq	_BMV_TYPE_FORWARD@GOTPCREL(%rip), %rcx
LBB0_18:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rcx), %r12d
	jmp	LBB0_20
LBB0_60:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BMV_TYPE_BACKWARD,4,2          ## @BMV_TYPE_BACKWARD
	.comm	_B_FRACTION_DEN,4,2             ## @B_FRACTION_DEN
	.comm	_BMV_TYPE_FORWARD,4,2           ## @BMV_TYPE_FORWARD
	.comm	_BMV_TYPE_INTERPOLATED,4,2      ## @BMV_TYPE_INTERPOLATED
	.comm	_VC1_CBPCY_P_VLC_BITS,4,2       ## @VC1_CBPCY_P_VLC_BITS
	.comm	_ff_vc1_ttmb_vlc,8,3            ## @ff_vc1_ttmb_vlc
	.comm	_VC1_TTMB_VLC_BITS,4,2          ## @VC1_TTMB_VLC_BITS
	.comm	_CONFIG_GRAY,8,3                ## @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ## @AV_CODEC_FLAG_GRAY
	.no_dead_strip	_vc1_decode_b_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vc1_decode_b_mb
_vc1_decode_b_mb:                       ; @vc1_decode_b_mb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	add	x25, x0, #216
	ldpsw	x8, x9, [x0, #96]
	ldrsw	x10, [x0, #104]
Lloh0:
	adrp	x21, _BMV_TYPE_BACKWARD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BMV_TYPE_BACKWARD@GOTPAGEOFF]
	madd	x28, x10, x9, x8
	ldr	w23, [x21]
	ldp	w20, w8, [x0]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	str	xzr, [x0, #192]
	ldr	x8, [x0, #240]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x0, x25
	bl	_get_bits1
	mov	x24, x0
	ldr	x8, [x19, #232]
	cbz	x8, LBB0_4
LBB0_2:
	mov	x0, x25
	bl	_get_bits1
	mov	x22, x0
	b	LBB0_5
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w24, [x8, w28, sxtw #2]
	ldr	x8, [x19, #232]
	cbnz	x8, LBB0_2
LBB0_4:
	ldr	x8, [x19, #112]
	ldr	w22, [x8, w28, sxtw #2]
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	sxtw	x28, w28
LBB0_5:
	movi.2d	v0, #0000000000000000
	stp	d0, d0, [sp, #32]
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldr	x9, [x19, #120]
	ldr	x10, [x19, #200]
	ldr	x10, [x10]
	ldr	x11, [x9]
	str	xzr, [x8, x11, lsl #3]
	ldr	x11, [x9]
	str	xzr, [x10, x11, lsl #3]
	ldr	x11, [x9, #8]
	str	xzr, [x8, x11, lsl #3]
	ldr	x11, [x9, #8]
	str	xzr, [x10, x11, lsl #3]
	ldr	x11, [x9, #16]
	str	xzr, [x8, x11, lsl #3]
	ldr	x11, [x9, #16]
	str	xzr, [x10, x11, lsl #3]
	ldr	x11, [x9, #24]
	str	xzr, [x8, x11, lsl #3]
	ldr	x11, [x9, #24]
	str	xzr, [x10, x11, lsl #3]
	ldr	x11, [x9, #32]
	str	xzr, [x8, x11, lsl #3]
	ldr	x11, [x9, #32]
	str	xzr, [x10, x11, lsl #3]
	ldr	x11, [x9, #40]
	str	xzr, [x8, x11, lsl #3]
	ldr	x8, [x9, #40]
	str	xzr, [x10, x8, lsl #3]
	ldr	x8, [x19, #208]
	str	wzr, [x8, x28, lsl #2]
	cbz	w24, LBB0_11
LBB0_6:
	ldr	x8, [x19, #64]
	ldr	x8, [x8]
	ldr	x9, [x19, #120]
	ldr	x10, [x19, #192]
	ldr	x11, [x9]
	str	x10, [x8, x11, lsl #3]
	ldr	x10, [x19, #192]
	ldr	x11, [x9, #8]
	str	x10, [x8, x11, lsl #3]
	ldr	x10, [x19, #192]
	ldr	x11, [x9, #16]
	str	x10, [x8, x11, lsl #3]
	ldr	x10, [x19, #192]
	ldr	x11, [x9, #24]
	str	x10, [x8, x11, lsl #3]
	ldr	x10, [x19, #192]
	ldr	x11, [x9, #32]
	str	x10, [x8, x11, lsl #3]
	ldr	x10, [x19, #192]
	ldr	x9, [x9, #40]
	str	x10, [x8, x9, lsl #3]
	cbz	w22, LBB0_16
; %bb.7:
Lloh2:
	adrp	x8, _BMV_TYPE_INTERPOLATED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BMV_TYPE_INTERPOLATED@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w24, #0
	csel	w20, w23, w8, eq
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x24
	mov	x4, x20
	bl	_ff_vc1_pred_b_mv
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x24
	mov	x4, x20
LBB0_8:
	bl	_vc1_b_mc
LBB0_9:
	mov	w0, #0
LBB0_10:
	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_11:
	cbz	w22, LBB0_20
LBB0_12:
	mov	x0, x25
	bl	_decode012
	cmp	w0, #2
	b.eq	LBB0_47
; %bb.13:
	mov	x23, x0
	cmp	w0, #1
	b.eq	LBB0_48
; %bb.14:
	cbnz	w23, LBB0_6
; %bb.15:
	ldr	w8, [x19, #16]
Lloh5:
	adrp	x9, _B_FRACTION_DEN@GOTPAGE
Lloh6:
	ldr	x9, [x9, _B_FRACTION_DEN@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
Lloh8:
	adrp	x10, _BMV_TYPE_FORWARD@GOTPAGE
Lloh9:
	ldr	x10, [x10, _BMV_TYPE_FORWARD@GOTPAGEOFF]
	cmp	w8, w9, asr #1
	csel	x8, x10, x21, lt
	ldr	w23, [x8]
	b	LBB0_6
LBB0_16:
	cbz	w24, LBB0_21
; %bb.17:
	ldr	x8, [x19, #88]
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _VC1_CBPCY_P_VLC_BITS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VC1_CBPCY_P_VLC_BITS@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x25
	mov	w3, #2
	bl	_get_vlc2
	mov	x22, x0
	bl	_GET_MQUANT
	str	xzr, [x19, #192]
	ldr	x8, [x19, #208]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	str	w9, [x8, x28, lsl #2]
	ldr	w8, [x19, #32]
	cbnz	w8, LBB0_19
; %bb.18:
Lloh13:
	adrp	x8, _ff_vc1_ttmb_vlc@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ff_vc1_ttmb_vlc@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	ldr	x9, [x19, #24]
	ldr	w1, [x8, x9, lsl #2]
Lloh16:
	adrp	x8, _VC1_TTMB_VLC_BITS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VC1_TTMB_VLC_BITS@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x25
	mov	w3, #2
	bl	_get_vlc2
	mov	x20, x0
LBB0_19:
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	movi.2d	v0, #0000000000000000
	stp	d0, d0, [sp, #32]
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x24
	mov	x4, x23
	bl	_ff_vc1_pred_b_mv
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	x3, x24
	mov	x4, x23
	bl	_vc1_b_mc
	b	LBB0_23
LBB0_20:
	ldr	w26, [sp, #40]
	ldr	w27, [sp, #32]
	mov	x0, x26
	mov	x1, x27
	bl	_GET_MVDATA
	str	w26, [sp, #44]
	str	w27, [sp, #36]
	ldr	x8, [x19, #192]
	cbnz	x8, LBB0_6
	b	LBB0_12
LBB0_21:
	ldr	x8, [x19, #192]
	cbz	x8, LBB0_49
; %bb.22:
	str	w20, [sp, #20]                  ; 4-byte Folded Spill
	bl	_GET_MQUANT
	ldr	x8, [x19, #208]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	str	w9, [x8, x28, lsl #2]
	mov	x0, x25
	bl	_get_bits1
	str	x0, [x19, #224]
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	w3, #0
	mov	x4, x23
	bl	_ff_vc1_pred_b_mv
	mov	w22, #0
LBB0_23:
	mov	w25, #0
	mov	w26, #0
	mov	x23, #0
	mov	w27, #0
	add	x28, x19, #72
	mov	w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	mov	w24, #5
	b	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_26 Depth=1
	ldp	x8, x9, [x19, #168]
	ldr	x8, [x8, w27, uxtw #3]
	add	x1, x8, w21, sxtw
	tst	w23, #0x4
	mov	w8, #152
	mov	w10, #128
	csel	x8, x10, x8, eq
	ldr	w2, [x19, x8]
	blr	x9
LBB0_25:                                ;   in Loop: Header=BB0_26 Depth=1
	add	x23, x23, #1
	add	w26, w26, #4
	add	w25, w25, #8
	sub	w24, w24, #1
	cmp	x23, #6
	b.eq	LBB0_9
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #200]
	ldr	x9, [x8]
	ldr	x8, [x19, #120]
	ldr	x10, [x8, x23, lsl #3]
	str	xzr, [x9, x10, lsl #3]
	tbnz	w23, #2, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	and	w9, w25, #0x8
	and	w10, w26, #0x8
	ldr	w11, [x19, #128]
	madd	w21, w11, w10, w9
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w21, #0
LBB0_29:                                ;   in Loop: Header=BB0_26 Depth=1
	add	w27, w27, w23, lsr #2
	lsr	w9, w22, w24
	and	w3, w9, #0x1
	ldr	x10, [x19, #192]
	ldr	x9, [x19, #64]
	ldr	x9, [x9]
	ldr	x11, [x8, x23, lsl #3]
	str	x10, [x9, x11, lsl #3]
	ldr	x10, [x19, #192]
	cbz	x10, LBB0_41
; %bb.30:                               ;   in Loop: Header=BB0_26 Depth=1
	and	w10, w23, #0x7ffffffe
	stp	xzr, xzr, [x28]
	lsl	x20, x23, #3
	cmp	w10, #2
	b.eq	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w10, [x19, #184]
	cbnz	w10, LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x10, [x8, x20]
	ldr	x11, [x19, #136]
	ldr	x11, [x11, x20]
	sub	x10, x10, x11
	ldr	x10, [x9, x10, lsl #3]
	str	x10, [x19, #80]
LBB0_33:                                ;   in Loop: Header=BB0_26 Depth=1
	mov	w10, #65533
	movk	w10, #32767, lsl #16
	and	w10, w23, w10
	cmp	w10, #1
	b.eq	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w10, [x19, #96]
	cbz	w10, LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x8, x23, lsl #3]
	add	x8, x9, x8, lsl #3
	ldur	x8, [x8, #-8]
	str	x8, [x28]
LBB0_36:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x19, #144]
	ldr	x1, [x8, x23, lsl #3]
	tst	w23, #0x4
	mov	w8, #60
	mov	w9, #56
	csel	x8, x9, x8, eq
	ldr	w5, [x19, x8]
	mov	x0, x19
	mov	x2, x23
	ldr	w4, [sp, #28]                   ; 4-byte Folded Reload
	bl	_vc1_decode_intra_block
Lloh19:
	adrp	x8, _CONFIG_GRAY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _CONFIG_GRAY@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cbz	x8, LBB0_39
; %bb.37:                               ;   in Loop: Header=BB0_26 Depth=1
	cmp	x23, #4
	b.lo	LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x19, #160]
	ldr	w8, [x8]
Lloh22:
	adrp	x9, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh23:
	ldr	x9, [x9, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_25
LBB0_39:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #144]
	ldr	x0, [x9, x20]
	blr	x8
	ldr	x8, [x19, #40]
	ldr	x9, [x19, #144]
	ldr	x0, [x9, x20]
	cbz	x8, LBB0_24
; %bb.40:                               ;   in Loop: Header=BB0_26 Depth=1
	ldp	q0, q1, [x0]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0]
	ldp	q0, q1, [x0, #32]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #32]
	ldp	q0, q1, [x0, #64]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #64]
	ldp	q0, q1, [x0, #96]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #96]
	ldp	q0, q1, [x0, #128]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #128]
	ldp	q0, q1, [x0, #160]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #160]
	ldp	q0, q1, [x0, #192]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #192]
	ldp	q0, q1, [x0, #224]
	shl.4s	v0, v0, #1
	shl.4s	v1, v1, #1
	stp	q0, q1, [x0, #224]
	b	LBB0_24
LBB0_41:                                ;   in Loop: Header=BB0_26 Depth=1
	cbz	w3, LBB0_25
; %bb.42:                               ;   in Loop: Header=BB0_26 Depth=1
	ands	w9, w23, #0x4
	mov	w8, #152
	mov	w10, #128
	csel	x8, x10, x8, eq
Lloh25:
	adrp	x10, _CONFIG_GRAY@GOTPAGE
Lloh26:
	ldr	x10, [x10, _CONFIG_GRAY@GOTPAGEOFF]
Lloh27:
	ldr	x10, [x10]
	cmp	x10, #0
	ccmp	w9, #0, #4, ne
	b.ne	LBB0_44
; %bb.43:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	w9, #0
	b	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x9, [x19, #160]
	ldr	w9, [x9]
Lloh28:
	adrp	x10, _AV_CODEC_FLAG_GRAY@GOTPAGE
Lloh29:
	ldr	x10, [x10, _AV_CODEC_FLAG_GRAY@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w9, ne
LBB0_45:                                ;   in Loop: Header=BB0_26 Depth=1
	ldr	x10, [x19, #144]
	ldr	x1, [x10, x23, lsl #3]
	ldr	x10, [x19, #168]
	ldr	x10, [x10, w27, uxtw #3]
	add	x6, x10, w21, sxtw
	ldr	w7, [x19, x8]
	str	xzr, [sp, #8]
	str	w9, [sp]
	mov	x0, x19
	mov	x2, x23
	ldp	w5, w3, [sp, #24]               ; 8-byte Folded Reload
	ldr	w20, [sp, #20]                  ; 4-byte Folded Reload
	mov	x4, x20
	bl	_vc1_decode_p_block
	tbnz	w0, #31, LBB0_10
; %bb.46:                               ;   in Loop: Header=BB0_26 Depth=1
	ldr	w8, [x19, #32]
	cmp	w20, #8
	ccmp	w8, #0, #0, lt
	csinv	w20, w20, wzr, ne
	stp	w20, wzr, [sp, #20]             ; 8-byte Folded Spill
	b	LBB0_25
LBB0_47:
Lloh31:
	adrp	x8, _BMV_TYPE_INTERPOLATED@GOTPAGE
Lloh32:
	ldr	x8, [x8, _BMV_TYPE_INTERPOLATED@GOTPAGEOFF]
Lloh33:
	ldr	w23, [x8]
	str	wzr, [sp, #32]
	str	wzr, [sp, #40]
	b	LBB0_6
LBB0_48:
	ldr	w8, [x19, #16]
Lloh34:
	adrp	x9, _B_FRACTION_DEN@GOTPAGE
Lloh35:
	ldr	x9, [x9, _B_FRACTION_DEN@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w9, #0
	cinc	w9, w9, lt
Lloh37:
	adrp	x10, _BMV_TYPE_FORWARD@GOTPAGE
Lloh38:
	ldr	x10, [x10, _BMV_TYPE_FORWARD@GOTPAGEOFF]
	cmp	w8, w9, asr #1
	csel	x8, x21, x10, lt
	ldr	w23, [x8]
	b	LBB0_6
LBB0_49:
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	w3, #0
	mov	x4, x23
	bl	_ff_vc1_pred_b_mv
	add	x1, sp, #40
	add	x2, sp, #32
	mov	x0, x19
	mov	w3, #0
	mov	x4, x23
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_BMV_TYPE_BACKWARD,4,2          ; @BMV_TYPE_BACKWARD
	.comm	_B_FRACTION_DEN,4,2             ; @B_FRACTION_DEN
	.comm	_BMV_TYPE_FORWARD,4,2           ; @BMV_TYPE_FORWARD
	.comm	_BMV_TYPE_INTERPOLATED,4,2      ; @BMV_TYPE_INTERPOLATED
	.comm	_VC1_CBPCY_P_VLC_BITS,4,2       ; @VC1_CBPCY_P_VLC_BITS
	.comm	_ff_vc1_ttmb_vlc,8,3            ; @ff_vc1_ttmb_vlc
	.comm	_VC1_TTMB_VLC_BITS,4,2          ; @VC1_TTMB_VLC_BITS
	.comm	_CONFIG_GRAY,8,3                ; @CONFIG_GRAY
	.comm	_AV_CODEC_FLAG_GRAY,4,2         ; @AV_CODEC_FLAG_GRAY
	.no_dead_strip	_vc1_decode_b_mb
.subsections_via_symbols
