	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h264_er_decode_mb
_h264_er_decode_mb:                     ## @h264_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	%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	%rdi, %r15
	movl	16(%rbp), %eax
	movq	8(%rdi), %r12
	movl	%r9d, (%r12)
	movl	%eax, 4(%r12)
	imull	(%rdi), %eax
	movq	%r8, %r14
	movl	%esi, %ebx
	addl	%r9d, %eax
	movl	%eax, 8(%r12)
	movl	64(%r12), %edi
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	%ebx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_av_assert1
	movq	16(%r12), %rax
	movq	56(%r12), %rcx
	cmpl	%ebx, (%rax)
	cmovlel	%r13d, %ebx
	movq	(%rcx), %rax
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %rcx
	cmpl	$0, (%rcx)
	jne	LBB0_2
## %bb.1:
	movl	24(%r15), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movq	56(%r12), %rax
	movq	(%rax), %rax
	xorl	%ebx, %ebx
LBB0_2:
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	movl	(%rax,%rcx), %eax
	notl	%eax
	testb	$3, %al
	jne	LBB0_3
## %bb.4:
	movq	16(%r15), %rax
	movslq	8(%r12), %rdi
	shlq	$4, %rdi
	addq	(%rax), %rdi
	movl	$2, %esi
	movl	$2, %edx
	movl	$2, %ecx
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_fill_rectangle
	movq	48(%r12), %rax
	movq	_scan8@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	(%rcx), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	movl	$4, %esi
	movl	$4, %edx
	movl	$8, %ecx
	movl	%ebx, %r8d
	movl	$1, %r9d
	callq	_fill_rectangle
	movq	40(%r12), %rax
	movq	(%rax), %rax
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rbx
	movl	(%r14), %edi
	movl	4(%r14), %esi
	callq	_pack16to32
	movq	%rbx, %rdi
	movl	$4, %esi
	movl	$4, %edx
	movl	$8, %ecx
	movl	%eax, %r8d
	movl	$4, %r9d
	callq	_fill_rectangle
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r12)
	movq	8(%r15), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ff_h264_hl_decode_mb           ## TAILCALL
LBB0_3:
	movl	24(%r15), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_av_log                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Reference not available for error concealing\n"

L_.str.1:                               ## @.str.1
	.asciz	"Reference invalid\n"

	.comm	_scan8,8,3                      ## @scan8
	.no_dead_strip	_h264_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 h264_er_decode_mb
_h264_er_decode_mb:                     ; @h264_er_decode_mb
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x4
	mov	x21, x1
	mov	x19, x0
	ldr	x22, [x0, #8]
	stp	w5, w6, [x22]
	ldr	w8, [x0]
	madd	w8, w8, w6, w5
	str	w8, [x22, #8]
	ldr	w0, [x22, #64]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mvn	w8, w21
	lsr	w0, w8, #31
	bl	_av_assert1
	ldr	x8, [x22, #16]
	ldr	w8, [x8]
	cmp	w8, w21
	csel	w21, w21, wzr, gt
	ldr	x8, [x22, #56]
	ldr	x8, [x8]
	add	x9, x8, w21, sxtw #4
	ldr	x9, [x9, #8]
	ldr	w9, [x9]
	cbnz	w9, LBB0_2
; %bb.1:
	ldr	w0, [x19, #24]
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
	mov	w21, #0
	ldr	x8, [x22, #56]
	ldr	x8, [x8]
LBB0_2:
	sbfiz	x9, x21, #4, #32
	ldr	w8, [x8, x9]
	mvn	w8, w8
	tst	w8, #0x3
	b.ne	LBB0_4
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldrsw	x9, [x22, #8]
	add	x0, x8, x9, lsl #4
	mov	w1, #2
	mov	w2, #2
	mov	w3, #2
	mov	x4, x21
	mov	w5, #1
	bl	_fill_rectangle
	ldr	x8, [x22, #48]
	ldr	x8, [x8]
Lloh5:
	adrp	x23, _scan8@GOTPAGE
Lloh6:
	ldr	x23, [x23, _scan8@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x9, [x9]
	add	x0, x8, x9, lsl #2
	mov	w1, #4
	mov	w2, #4
	mov	w3, #8
	mov	x4, x21
	mov	w5, #1
	bl	_fill_rectangle
	ldr	x8, [x22, #40]
	ldr	x8, [x8]
	ldr	x9, [x23]
	ldr	x9, [x9]
	ldr	x21, [x8, x9, lsl #3]
	ldp	w0, w1, [x20]
	bl	_pack16to32
	mov	x4, x0
	mov	x0, x21
	mov	w1, #4
	mov	w2, #4
	mov	w3, #8
	mov	w5, #4
	bl	_fill_rectangle
	stp	xzr, xzr, [x22, #24]
	ldr	x1, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ff_h264_hl_decode_mb
LBB0_4:
	ldr	w0, [x19, #24]
Lloh7:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_av_log
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Reference not available for error concealing\n"

l_.str.1:                               ; @.str.1
	.asciz	"Reference invalid\n"

	.comm	_scan8,8,3                      ; @scan8
	.no_dead_strip	_h264_er_decode_mb
.subsections_via_symbols
