	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h261_decode_mb
_h261_decode_mb:                        ## @h261_decode_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	32(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	leaq	120(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_h261_mba_vlc@GOTPCREL(%rip), %r13
	movq	_H261_MBA_VLC_BITS@GOTPCREL(%rip), %rbx
	movq	_MBA_STARTCODE@GOTPCREL(%rip), %r15
	movq	_MBA_STUFFING@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r14)
	cmpl	(%r15), %eax
	je	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	(%r12), %eax
	je	LBB0_1
## %bb.3:
	testl	%eax, %eax
	js	LBB0_16
## %bb.4:
	leal	1(%rax), %ecx
	movl	%ecx, (%r14)
	movl	8(%r14), %edx
	leal	(%rdx,%rax), %ecx
	incl	%ecx
	movl	%ecx, 8(%r14)
	movq	_SLICE_ERROR@GOTPCREL(%rip), %rsi
	cmpl	(%r12), %ecx
	jg	LBB0_15
## %bb.5:
	movq	%r14, %rbx
	movl	12(%r14), %esi
	movl	%esi, %ecx
	decl	%ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	decl	%ecx
	movl	%ecx, %edi
	andl	$-2, %edi
	negl	%edi
	addl	%edi, %esi
	decl	%esi
	leal	(%rsi,%rsi,4), %edi
	leal	(%rsi,%rdi,2), %esi
	addl	%eax, %edx
	movslq	%edx, %r15
	imulq	$780903145, %r15, %rax          ## imm = 0x2E8BA2E9
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$33, %rax
	addl	%edx, %eax
	leal	(%rax,%rax,4), %edx
	leal	(%rax,%rdx,2), %edx
	subl	%edx, %r15d
	addl	%esi, %r15d
	movl	%r15d, 32(%r14)
	sarl	%ecx
	leal	(%rcx,%rcx,2), %r13d
	addl	%eax, %r13d
	movl	%r13d, 36(%r14)
	imull	40(%r14), %r13d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_ff_init_block_index
	movq	%r12, %rdi
	callq	_ff_update_block_index
	movq	_h261_mtype_vlc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_H261_MTYPE_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r12d
	movl	%eax, 16(%r14)
	testl	%eax, %eax
	js	LBB0_19
## %bb.6:
	movq	_ff_h261_mtype_map@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_FF_ARRAY_ELEMS
	xorl	%edi, %edi
	cmpl	%eax, %r12d
	setl	%dil
	callq	_av_assert0
	movq	(%rbx), %rax
	movq	%r14, %rbx
	movslq	16(%r14), %rcx
	movslq	(%rax,%rcx,4), %rdi
	movl	%edi, 16(%r14)
	callq	_IS_QUANT
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$5, %esi
	callq	_get_bits
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ff_set_qscale
LBB0_8:
	movslq	16(%rbx), %rdi
	callq	_IS_INTRA4x4
	movq	%rax, 88(%rbx)
	movslq	16(%rbx), %rdi
	callq	_IS_16X16
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:
	movl	8(%rbx), %eax
	cmpl	$23, %eax
	ja	LBB0_37
## %bb.10:
	movl	$8392706, %ecx                  ## imm = 0x801002
	btl	%eax, %ecx
	jae	LBB0_37
LBB0_11:
	movq	$0, 20(%rbx)
	xorl	%esi, %esi
LBB0_12:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_decode_mv_component
	movl	%eax, 20(%rbx)
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_decode_mv_component
	movl	%eax, 24(%rbx)
	jmp	LBB0_21
LBB0_13:
	movl	$1, 4(%r14)
LBB0_14:
	movq	_SLICE_END@GOTPCREL(%rip), %rsi
LBB0_15:
	movl	(%rsi), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_bits_left
	cmpl	$8, %eax
	jl	LBB0_14
## %bb.18:
	movl	124(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	32(%r14), %ecx
	movl	36(%r14), %r8d
	leaq	L_.str(%rip), %rdx
	xorl	%eax, %eax
	callq	_av_log
	movq	_SLICE_ERROR@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_19:
	movl	124(%rbx), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_av_log
	movq	_SLICE_ERROR@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_20:
	movq	$0, 20(%rbx)
LBB0_21:
	movslq	16(%rbx), %rdi
	callq	_HAS_CBP
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	_h261_cbp_vlc@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_H261_CBP_VLC_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %ecx
	callq	_get_vlc2
	movl	%eax, %r14d
	incl	%r14d
	jmp	LBB0_24
LBB0_23:
	movl	$63, %r14d
LBB0_24:
	addl	%r15d, %r13d
	cmpq	$0, 88(%rbx)
	je	LBB0_26
## %bb.25:
	movq	_MB_TYPE_INTRA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	96(%rbx), %rcx
	movslq	%r13d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	jmp	LBB0_29
LBB0_26:
	movq	_MV_DIR_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	movq	_MV_TYPE_16X16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%rbx)
	movq	_MB_TYPE_16x16@GOTPCREL(%rip), %rax
	movq	_MB_TYPE_L0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	96(%rbx), %rax
	movslq	%r13d, %rdx
	movl	%ecx, (%rax,%rdx,4)
	movl	20(%rbx), %eax
	addl	%eax, %eax
	movq	48(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx)
	movl	24(%rbx), %edx
	addl	%edx, %edx
	movl	%edx, 4(%rcx)
	movq	104(%rbx), %rdx
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.27:
	movl	56(%rbx), %esi
	addl	%esi, %esi
	incl	%esi
	imull	36(%rbx), %esi
	addl	32(%rbx), %esi
	addl	%esi, %esi
	movslq	%esi, %rsi
	movq	(%rdx,%rsi,8), %rdx
	movl	%eax, (%rdx)
	movl	4(%rcx), %eax
	movl	%eax, 4(%rdx)
LBB0_28:
	movslq	16(%rbx), %rdi
	callq	_HAS_CBP
	testq	%rax, %rax
	je	LBB0_39
LBB0_29:
	movq	72(%rbx), %rax
	movl	(%rax), %edi
	callq	*80(%rbx)
	movq	72(%rbx), %rax
	movl	(%rax), %esi
	movl	%r14d, %ecx
	andl	$32, %ecx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_h261_decode_block
	testq	%rax, %rax
	js	LBB0_35
## %bb.30:
	leal	(%r14,%r14), %ecx
	movq	72(%rbx), %rax
	movl	4(%rax), %esi
	andl	$32, %ecx
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_h261_decode_block
	testq	%rax, %rax
	js	LBB0_35
## %bb.31:
	leal	(,%r14,4), %ecx
	movq	72(%rbx), %rax
	movl	8(%rax), %esi
	andl	$32, %ecx
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_h261_decode_block
	testq	%rax, %rax
	js	LBB0_35
## %bb.32:
	leal	(,%r14,8), %ecx
	movq	72(%rbx), %rax
	movl	12(%rax), %esi
	andl	$32, %ecx
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_h261_decode_block
	testq	%rax, %rax
	js	LBB0_35
## %bb.33:
	movl	%r14d, %ecx
	shll	$4, %ecx
	movq	72(%rbx), %rax
	movl	16(%rax), %esi
	andl	$32, %ecx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_h261_decode_block
	testq	%rax, %rax
	js	LBB0_35
## %bb.34:
	shll	$5, %r14d
	movq	72(%rbx), %rax
	movl	20(%rax), %esi
	andl	$32, %r14d
	movq	%rbx, %rdi
	movl	$5, %edx
	movl	%r14d, %ecx
	callq	_h261_decode_block
	testq	%rax, %rax
	movq	_SLICE_ERROR@GOTPCREL(%rip), %rsi
	jns	LBB0_40
	jmp	LBB0_15
LBB0_35:
	movq	_SLICE_ERROR@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
LBB0_37:
	cmpl	$1, (%rbx)
	jne	LBB0_11
## %bb.38:
	movl	20(%rbx), %esi
	jmp	LBB0_12
LBB0_39:
	movq	64(%rbx), %rax
	pcmpeqd	%xmm0, %xmm0
	movdqu	%xmm0, (%rax)
	movq	$-1, 16(%rax)
LBB0_40:
	movq	72(%rbx), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ff_mpv_reconstruct_mb
	movq	_SLICE_OK@GOTPCREL(%rip), %rsi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_h261_mba_vlc,4,2               ## @h261_mba_vlc
	.comm	_H261_MBA_VLC_BITS,4,2          ## @H261_MBA_VLC_BITS
	.comm	_MBA_STARTCODE,4,2              ## @MBA_STARTCODE
	.comm	_SLICE_END,4,2                  ## @SLICE_END
	.comm	_MBA_STUFFING,4,2               ## @MBA_STUFFING
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"illegal mba at %d %d\n"

	.comm	_SLICE_ERROR,4,2                ## @SLICE_ERROR
	.comm	_h261_mtype_vlc,4,2             ## @h261_mtype_vlc
	.comm	_H261_MTYPE_VLC_BITS,4,2        ## @H261_MTYPE_VLC_BITS
L_.str.1:                               ## @.str.1
	.asciz	"Invalid mtype index %d\n"

	.comm	_ff_h261_mtype_map,8,3          ## @ff_h261_mtype_map
	.comm	_h261_cbp_vlc,4,2               ## @h261_cbp_vlc
	.comm	_H261_CBP_VLC_BITS,4,2          ## @H261_CBP_VLC_BITS
	.comm	_MB_TYPE_INTRA,4,2              ## @MB_TYPE_INTRA
	.comm	_MV_DIR_FORWARD,4,2             ## @MV_DIR_FORWARD
	.comm	_MV_TYPE_16X16,4,2              ## @MV_TYPE_16X16
	.comm	_MB_TYPE_16x16,4,2              ## @MB_TYPE_16x16
	.comm	_MB_TYPE_L0,4,2                 ## @MB_TYPE_L0
	.comm	_SLICE_OK,4,2                   ## @SLICE_OK
	.no_dead_strip	_h261_decode_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h261_decode_mb
_h261_decode_mb:                        ; @h261_decode_mb
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x0
	add	x20, x0, #32
	add	x21, x0, #120
Lloh0:
	adrp	x23, _h261_mba_vlc@GOTPAGE
Lloh1:
	ldr	x23, [x23, _h261_mba_vlc@GOTPAGEOFF]
Lloh2:
	adrp	x24, _H261_MBA_VLC_BITS@GOTPAGE
Lloh3:
	ldr	x24, [x24, _H261_MBA_VLC_BITS@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MBA_STARTCODE@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MBA_STARTCODE@GOTPAGEOFF]
Lloh6:
	adrp	x22, _MBA_STUFFING@GOTPAGE
Lloh7:
	ldr	x22, [x22, _MBA_STUFFING@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	ldr	w2, [x24]
	mov	x0, x21
	mov	w3, #2
	bl	_get_vlc2
	str	w0, [x19]
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x22]
	cmp	w0, w8
	b.eq	LBB0_1
; %bb.3:
	tbnz	w0, #31, LBB0_15
; %bb.4:
	add	w9, w0, #1
	str	w9, [x19]
	ldr	w8, [x19, #8]
	ldr	w10, [x22]
	add	w9, w8, w9
	cmp	w9, w10
	str	w9, [x19, #8]
	b.gt	LBB0_33
; %bb.5:
	ldr	w9, [x19, #12]
	sub	w9, w9, #1
	cmp	w9, #0
	cinc	w10, w9, lt
	and	w11, w10, #0xfffffffe
	sub	w9, w9, w11
	mov	w12, #11
	add	w8, w8, w0
	mov	w13, #41705
	movk	w13, #11915, lsl #16
	smull	x13, w8, w13
	lsr	x14, x13, #32
	lsr	x13, x13, #63
	add	w13, w13, w14, asr #1
	msub	w8, w13, w12, w8
	madd	w23, w9, w12, w8
	add	w8, w11, w10, asr #1
	add	w24, w8, w13
	stp	w23, w24, [x19, #32]
	ldr	w25, [x19, #40]
	mov	x0, x20
	bl	_ff_init_block_index
	mov	x0, x20
	bl	_ff_update_block_index
Lloh8:
	adrp	x8, _h261_mtype_vlc@GOTPAGE
Lloh9:
	ldr	x8, [x8, _h261_mtype_vlc@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _H261_MTYPE_VLC_BITS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _H261_MTYPE_VLC_BITS@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #2
	bl	_get_vlc2
	mov	x22, x0
	str	w0, [x19, #16]
	tbnz	w0, #31, LBB0_17
; %bb.6:
Lloh14:
	adrp	x26, _ff_h261_mtype_map@GOTPAGE
Lloh15:
	ldr	x26, [x26, _ff_h261_mtype_map@GOTPAGEOFF]
	ldr	x0, [x26]
	bl	_FF_ARRAY_ELEMS
	cmp	w22, w0
	cset	w0, lt
	bl	_av_assert0
	ldr	x8, [x26]
	ldrsw	x9, [x19, #16]
	ldrsw	x0, [x8, x9, lsl #2]
	str	w0, [x19, #16]
	bl	_IS_QUANT
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x21
	mov	w1, #5
	bl	_get_bits
	mov	x1, x0
	mov	x0, x20
	bl	_ff_set_qscale
LBB0_8:
	ldrsw	x0, [x19, #16]
	bl	_IS_INTRA4x4
	str	x0, [x19, #88]
	ldrsw	x0, [x19, #16]
	bl	_IS_16X16
	cbz	x0, LBB0_18
; %bb.9:
	ldr	w8, [x19, #8]
	cmp	w8, #23
	b.hi	LBB0_35
; %bb.10:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #4098
	movk	w9, #128, lsl #16
	tst	w8, w9
	b.eq	LBB0_35
LBB0_11:
	mov	w1, #0
	stp	wzr, wzr, [x19, #20]
LBB0_12:
	mov	x0, x21
	bl	_decode_mv_component
	str	w0, [x19, #20]
	ldr	w1, [x19, #24]
	mov	x0, x21
	bl	_decode_mv_component
	str	w0, [x19, #24]
	b	LBB0_19
LBB0_13:
	mov	w8, #1
	str	w8, [x19, #4]
LBB0_14:
Lloh16:
	adrp	x8, _SLICE_END@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SLICE_END@GOTPAGEOFF]
	b	LBB0_34
LBB0_15:
	mov	x0, x21
	bl	_get_bits_left
	cmp	w0, #8
	b.lt	LBB0_14
; %bb.16:
	ldr	w0, [x19, #124]
Lloh18:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	ldp	w3, w8, [x19, #32]
	str	x8, [sp]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	b	LBB0_33
LBB0_17:
	ldr	w0, [x19, #124]
Lloh23:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x2, l_.str.1@PAGE
Lloh27:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x3, x22
	bl	_av_log
	b	LBB0_33
LBB0_18:
	stp	wzr, wzr, [x19, #20]
LBB0_19:
	ldrsw	x0, [x19, #16]
	bl	_HAS_CBP
	cbz	x0, LBB0_21
; %bb.20:
Lloh28:
	adrp	x8, _h261_cbp_vlc@GOTPAGE
Lloh29:
	ldr	x8, [x8, _h261_cbp_vlc@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
Lloh31:
	adrp	x8, _H261_CBP_VLC_BITS@GOTPAGE
Lloh32:
	ldr	x8, [x8, _H261_CBP_VLC_BITS@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w3, #2
	bl	_get_vlc2
	add	w21, w0, #1
	b	LBB0_22
LBB0_21:
	mov	w21, #63
LBB0_22:
	madd	w8, w24, w25, w23
	ldr	x9, [x19, #88]
	cbz	x9, LBB0_24
; %bb.23:
Lloh34:
	adrp	x9, _MB_TYPE_INTRA@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MB_TYPE_INTRA@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	ldr	x10, [x19, #96]
	str	w9, [x10, w8, sxtw #2]
	b	LBB0_27
LBB0_24:
Lloh37:
	adrp	x9, _MV_DIR_FORWARD@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MV_DIR_FORWARD@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
Lloh40:
	adrp	x10, _MV_TYPE_16X16@GOTPAGE
Lloh41:
	ldr	x10, [x10, _MV_TYPE_16X16@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #112]
Lloh43:
	adrp	x9, _MB_TYPE_16x16@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MB_TYPE_16x16@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
Lloh46:
	adrp	x10, _MB_TYPE_L0@GOTPAGE
Lloh47:
	ldr	x10, [x10, _MB_TYPE_L0@GOTPAGEOFF]
Lloh48:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldp	x10, x11, [x19, #96]
	str	w9, [x10, w8, sxtw #2]
	ldr	w8, [x19, #20]
	lsl	w8, w8, #1
	ldr	x9, [x19, #48]
	ldr	x9, [x9]
	ldr	x9, [x9]
	str	w8, [x9]
	ldr	w10, [x19, #24]
	lsl	w10, w10, #1
	str	w10, [x9, #4]
	ldr	x10, [x11]
	cbz	x10, LBB0_26
; %bb.25:
	ldr	w11, [x19, #56]
	mov	w12, #1
	bfi	w12, w11, #1, #31
	ldp	w11, w13, [x19, #32]
	madd	w11, w12, w13, w11
	lsl	w11, w11, #1
	ldr	x10, [x10, w11, sxtw #3]
	str	w8, [x10]
	ldr	w8, [x9, #4]
	str	w8, [x10, #4]
LBB0_26:
	ldrsw	x0, [x19, #16]
	bl	_HAS_CBP
	cbz	x0, LBB0_37
LBB0_27:
	ldp	x9, x8, [x19, #72]
	ldr	w0, [x9]
	blr	x8
	ldr	x8, [x19, #72]
	ldr	w1, [x8]
	and	w3, w21, #0x20
	mov	x0, x19
	mov	w2, #0
	bl	_h261_decode_block
	tbnz	x0, #63, LBB0_33
; %bb.28:
	lsl	w8, w21, #1
	ldr	x9, [x19, #72]
	ldr	w1, [x9, #4]
	and	w3, w8, #0x20
	mov	x0, x19
	mov	w2, #1
	bl	_h261_decode_block
	tbnz	x0, #63, LBB0_33
; %bb.29:
	lsl	w8, w21, #2
	ldr	x9, [x19, #72]
	ldr	w1, [x9, #8]
	and	w3, w8, #0x20
	mov	x0, x19
	mov	w2, #2
	bl	_h261_decode_block
	tbnz	x0, #63, LBB0_33
; %bb.30:
	lsl	w8, w21, #3
	ldr	x9, [x19, #72]
	ldr	w1, [x9, #12]
	and	w3, w8, #0x20
	mov	x0, x19
	mov	w2, #3
	bl	_h261_decode_block
	tbnz	x0, #63, LBB0_33
; %bb.31:
	lsl	w8, w21, #4
	ldr	x9, [x19, #72]
	ldr	w1, [x9, #16]
	and	w3, w8, #0x20
	mov	x0, x19
	mov	w2, #4
	bl	_h261_decode_block
	tbnz	x0, #63, LBB0_33
; %bb.32:
	ldr	x8, [x19, #72]
	ldr	w1, [x8, #20]
	ubfiz	w3, w21, #5, #1
	mov	x0, x19
	mov	w2, #5
	bl	_h261_decode_block
	tbz	x0, #63, LBB0_38
LBB0_33:
Lloh49:
	adrp	x8, _SLICE_ERROR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SLICE_ERROR@GOTPAGEOFF]
LBB0_34:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_35:
	ldr	w8, [x19]
	cmp	w8, #1
	b.ne	LBB0_11
; %bb.36:
	ldr	w1, [x19, #20]
	b	LBB0_12
LBB0_37:
	ldr	x8, [x19, #64]
	mov	x9, #-1
	stp	x9, x9, [x8, #8]
	str	x9, [x8]
LBB0_38:
	ldr	x1, [x19, #72]
	mov	x0, x20
	bl	_ff_mpv_reconstruct_mb
Lloh51:
	adrp	x8, _SLICE_OK@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SLICE_OK@GOTPAGEOFF]
	b	LBB0_34
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.comm	_h261_mba_vlc,4,2               ; @h261_mba_vlc
	.comm	_H261_MBA_VLC_BITS,4,2          ; @H261_MBA_VLC_BITS
	.comm	_MBA_STARTCODE,4,2              ; @MBA_STARTCODE
	.comm	_SLICE_END,4,2                  ; @SLICE_END
	.comm	_MBA_STUFFING,4,2               ; @MBA_STUFFING
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"illegal mba at %d %d\n"

	.comm	_SLICE_ERROR,4,2                ; @SLICE_ERROR
	.comm	_h261_mtype_vlc,4,2             ; @h261_mtype_vlc
	.comm	_H261_MTYPE_VLC_BITS,4,2        ; @H261_MTYPE_VLC_BITS
l_.str.1:                               ; @.str.1
	.asciz	"Invalid mtype index %d\n"

	.comm	_ff_h261_mtype_map,8,3          ; @ff_h261_mtype_map
	.comm	_h261_cbp_vlc,4,2               ; @h261_cbp_vlc
	.comm	_H261_CBP_VLC_BITS,4,2          ; @H261_CBP_VLC_BITS
	.comm	_MB_TYPE_INTRA,4,2              ; @MB_TYPE_INTRA
	.comm	_MV_DIR_FORWARD,4,2             ; @MV_DIR_FORWARD
	.comm	_MV_TYPE_16X16,4,2              ; @MV_TYPE_16X16
	.comm	_MB_TYPE_16x16,4,2              ; @MB_TYPE_16x16
	.comm	_MB_TYPE_L0,4,2                 ; @MB_TYPE_L0
	.comm	_SLICE_OK,4,2                   ; @SLICE_OK
	.no_dead_strip	_h261_decode_mb
.subsections_via_symbols
