	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function h261_decode_mb_skipped
LCPI0_0:
	.space	16,255
LCPI0_1:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_h261_decode_mb_skipped:                ## @h261_decode_mb_skipped
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, 80(%rdi)
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%edx, %esi
	jge	LBB0_5
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	leaq	8(%rdi), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	40(%rbx), %esi
	movq	%r12, %rdi
	callq	_ff_mpv_reconstruct_mb
	incl	%r15d
	cmpl	%r15d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movl	%ecx, %eax
	decl	%eax
	shrl	$31, %eax
	addl	%ecx, %eax
	decl	%eax
	movl	%eax, %edx
	andl	$-2, %edx
	negl	%edx
	addl	%edx, %ecx
	decl	%ecx
	leal	(%rcx,%rcx,4), %edx
	leal	(%rcx,%rdx,2), %ecx
	movslq	%r15d, %r13
	imulq	$780903145, %r13, %rdx          ## imm = 0x2E8BA2E9
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$33, %rdx
	addl	%esi, %edx
	leal	(%rdx,%rdx,4), %esi
	leal	(%rdx,%rsi,2), %esi
	subl	%esi, %r13d
	addl	%ecx, %r13d
	movl	%r13d, 8(%rbx)
	sarl	%eax
	leal	(%rax,%rax,2), %r14d
	addl	%edx, %r14d
	movl	%r14d, 12(%rbx)
	imull	16(%rbx), %r14d
	movq	%r12, %rdi
	callq	_ff_init_block_index
	movq	%r12, %rdi
	callq	_ff_update_block_index
	movq	24(%rbx), %rax
	pcmpeqd	%xmm0, %xmm0
	movdqu	%xmm0, (%rax)
	movq	$-1, 16(%rax)
	movq	_MV_DIR_FORWARD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 76(%rbx)
	movq	_MV_TYPE_16X16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movq	_MB_TYPE_16x16@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_MB_TYPE_SKIP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	addl	%r13d, %r14d
	movq	_MB_TYPE_L0@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	56(%rbx), %rcx
	movslq	%r14d, %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	48(%rbx), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	pxor	%xmm0, %xmm0
	movdqu	%xmm0, (%rax)
	movl	$1, 32(%rbx)
	movq	_MB_TYPE_H261_FIL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 4(%rbx)
	movq	64(%rbx), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	36(%rbx), %edx
	addl	%edx, %edx
	incl	%edx
	imull	12(%rbx), %edx
	addl	8(%rbx), %edx
	addl	%edx, %edx
	movslq	%edx, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movq	$0, (%rcx)
	movq	8(%rax), %rax
	movq	%rax, 8(%rcx)
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV_DIR_FORWARD,4,2             ## @MV_DIR_FORWARD
	.comm	_MV_TYPE_16X16,4,2              ## @MV_TYPE_16X16
	.comm	_MB_TYPE_SKIP,4,2               ## @MB_TYPE_SKIP
	.comm	_MB_TYPE_16x16,4,2              ## @MB_TYPE_16x16
	.comm	_MB_TYPE_L0,4,2                 ## @MB_TYPE_L0
	.comm	_MB_TYPE_H261_FIL,4,2           ## @MB_TYPE_H261_FIL
	.no_dead_strip	_h261_decode_mb_skipped
.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_skipped
_h261_decode_mb_skipped:                ; @h261_decode_mb_skipped
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	xzr, [x0, #80]
	cmp	w1, w2
	b.ge	LBB0_5
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	add	x22, x0, #8
	mov	x25, #-1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x21, #40]
	mov	x0, x22
	bl	_ff_mpv_reconstruct_mb
	add	w20, w20, #1
	cmp	w19, w20
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	sub	w8, w8, #1
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w10, w9, #1
	mov	w11, #41705
	movk	w11, #11915, lsl #16
	smull	x11, w20, w11
	lsr	x12, x11, #32
	lsr	x11, x11, #63
	add	w11, w11, w12, asr #1
	mov	w12, #11
	mul	w23, w11, w12
	mul	w26, w8, w12
	mov	w8, #22
	mul	w27, w10, w8
	sub	w8, w26, w23
	sub	w8, w8, w27
	add	w8, w20, w8
	and	w9, w9, #0xfffffffe
	add	w9, w9, w10
	add	w28, w9, w11
	stp	w8, w28, [x21, #8]
	ldr	w24, [x21, #16]
	mov	x0, x22
	bl	_ff_init_block_index
	mov	x0, x22
	bl	_ff_update_block_index
	ldr	x8, [x21, #24]
	stp	x25, x25, [x8]
	str	x25, [x8, #16]
	madd	w8, w28, w24, w26
	sub	w8, w8, w23
	sub	w8, w8, w27
	add	w8, w20, w8
Lloh0:
	adrp	x9, _MV_DIR_FORWARD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MV_DIR_FORWARD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MV_TYPE_16X16@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MV_TYPE_16X16@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w9, [x21, #72]
Lloh6:
	adrp	x9, _MB_TYPE_SKIP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MB_TYPE_SKIP@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _MB_TYPE_16x16@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MB_TYPE_16x16@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh12:
	adrp	x10, _MB_TYPE_L0@GOTPAGE
Lloh13:
	ldr	x10, [x10, _MB_TYPE_L0@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldp	x11, x10, [x21, #48]
	str	w9, [x10, w8, sxtw #2]
	ldr	x8, [x11]
	ldr	x8, [x8]
	stp	xzr, xzr, [x8]
	mov	w9, #1
	str	w9, [x21, #32]
Lloh15:
	adrp	x9, _MB_TYPE_H261_FIL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MB_TYPE_H261_FIL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldr	w10, [x21, #4]
	bic	w9, w10, w9
	str	w9, [x21, #4]
	ldr	x9, [x21, #64]
	ldr	x9, [x9]
	cbz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w10, [x21, #36]
	mov	w11, #1
	bfi	w11, w10, #1, #31
	ldp	w10, w12, [x21, #8]
	madd	w10, w11, w12, w10
	lsl	w10, w10, #1
	ldr	x9, [x9, w10, sxtw #3]
	str	xzr, [x9]
	ldr	x8, [x8, #8]
	str	x8, [x9, #8]
	b	LBB0_2
LBB0_5:
	mov	w0, #0
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MV_DIR_FORWARD,4,2             ; @MV_DIR_FORWARD
	.comm	_MV_TYPE_16X16,4,2              ; @MV_TYPE_16X16
	.comm	_MB_TYPE_SKIP,4,2               ; @MB_TYPE_SKIP
	.comm	_MB_TYPE_16x16,4,2              ; @MB_TYPE_16x16
	.comm	_MB_TYPE_L0,4,2                 ; @MB_TYPE_L0
	.comm	_MB_TYPE_H261_FIL,4,2           ; @MB_TYPE_H261_FIL
	.no_dead_strip	_h261_decode_mb_skipped
.subsections_via_symbols
