	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpeg_er_decode_mb
_mpeg_er_decode_mb:                     ## @mpeg_er_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	16(%rbp), %eax
	movl	32(%rbp), %esi
	movl	24(%rbp), %edi
	movl	%edx, (%rbx)
	movl	%ecx, 4(%rbx)
	movl	%edi, 8(%rbx)
	movl	%esi, 12(%rbx)
	movl	%r9d, 16(%rbx)
	movl	%eax, 20(%rbx)
	movq	$0, 88(%rbx)
	movl	80(%rbx), %edi
	movq	%r8, %rsi
	movl	$64, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	callq	_ff_init_block_index
	movq	%rbx, %rdi
	callq	_ff_update_block_index
	movq	40(%rbx), %rax
	movl	(%rax), %edi
	callq	*72(%rbx)
	movl	24(%rbx), %ecx
	testl	%ecx, %ecx
	jne	LBB0_2
## %bb.1:
	movq	40(%rbx), %rax
	movl	24(%rax), %edi
	callq	*72(%rbx)
	movl	24(%rbx), %ecx
LBB0_2:
	movq	56(%rbx), %rdx
	movq	64(%rbx), %r8
	movq	(%rdx), %r9
	movslq	20(%rbx), %rsi
	movslq	28(%rbx), %rdi
	imulq	%rsi, %rdi
	shlq	$4, %rdi
	addq	(%r9), %rdi
	movslq	16(%rbx), %r10
	movq	%r10, %rax
	shlq	$4, %rax
	addq	%rdi, %rax
	movq	%rax, (%r8)
	movl	$16, %eax
	movl	$16, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edi
	movslq	32(%rbx), %rdx
	imulq	%rsi, %rdx
	imulq	%rdi, %rdx
	movb	36(%rbx), %cl
	shrl	%cl, %eax
	imulq	%r10, %rax
	addq	%rdx, %rax
	movq	8(%r9), %rcx
	addq	%rax, %rcx
	movq	%rcx, 8(%r8)
	addq	16(%r9), %rax
	movq	%rax, 16(%r8)
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movl	48(%rbx), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_4:
	movq	40(%rbx), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ff_mpv_reconstruct_mb          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Interlaced error concealment is not fully implemented\n"

	.no_dead_strip	_mpeg_er_decode_mb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpeg_er_decode_mb
_mpeg_er_decode_mb:                     ; @mpeg_er_decode_mb
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x29, #16]
	stp	w2, w3, [x0]
	stp	w7, w8, [x0, #8]
	stp	w5, w6, [x0, #16]
	str	xzr, [x0, #88]
	ldr	w0, [x0, #80]
	mov	x1, x4
	mov	w2, #64
	bl	_memcpy
	mov	x0, x19
	bl	_ff_init_block_index
	mov	x0, x19
	bl	_ff_update_block_index
	ldr	x8, [x19, #72]
	ldr	x9, [x19, #40]
	ldr	w0, [x9]
	blr	x8
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #72]
	ldr	x9, [x19, #40]
	ldr	w0, [x9, #24]
	blr	x8
	ldr	w8, [x19, #24]
LBB0_2:
	ldp	x9, x10, [x19, #56]
	ldr	x9, [x9]
	ldr	x11, [x9]
	ldpsw	x13, x12, [x19, #16]
	ldpsw	x14, x15, [x19, #28]
	mul	x14, x12, x14
	add	x11, x11, x14, lsl #4
	add	x11, x11, x13, lsl #4
	str	x11, [x10]
	mov	w11, #16
	lsr	w8, w11, w8
	mul	x8, x8, x12
	ldr	x12, [x9, #8]
	mul	x8, x8, x15
	ldr	w14, [x19, #36]
	lsr	w11, w11, w14
	madd	x8, x11, x13, x8
	add	x11, x8, x12
	str	x11, [x10, #8]
	ldr	x9, [x9, #16]
	add	x8, x8, x9
	str	x8, [x10, #16]
	cbz	w20, LBB0_4
; %bb.3:
	ldr	w0, [x19, #48]
Lloh0:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
LBB0_4:
	ldr	x1, [x19, #40]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ff_mpv_reconstruct_mb
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Interlaced error concealment is not fully implemented\n"

	.no_dead_strip	_mpeg_er_decode_mb
.subsections_via_symbols
