	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv34_mc
_rv34_mc:                               ## @rv34_mc
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
                                        ## kill: def $r8d killed $r8d def $r8
                                        ## kill: def $ecx killed $ecx def $rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -88(%rbp)                 ## 4-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	24(%rbp), %ebx
	movl	20(%rdi), %r10d
	movl	24(%rdi), %ecx
	imull	%r10d, %ecx
	addl	16(%rdi), %ecx
	cmpl	$0, 32(%rbp)
	leal	(%r8,%rcx,2), %ecx
	movq	96(%rdi), %rdx
	movq	(%rdx), %rdx
	movslq	%ebx, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movq	(%rdx,%rax,8), %rdx
	movslq	%ecx, %rcx
	movq	(%rdx,%rcx,8), %rdx
	movl	(%rdx), %ecx
	je	LBB0_2
## %bb.1:
	leal	50331648(%rcx), %esi
	movslq	%esi, %rsi
	imulq	$1431655766, %rsi, %rsi         ## imm = 0x55555556
	movq	%rsi, %rdi
	shrq	$63, %rdi
	shrq	$32, %rsi
	leal	(%rsi,%rdi), %r13d
	addl	$-16777216, %r13d               ## imm = 0xFF000000
	movl	4(%rdx), %edx
	movq	%rbx, %r11
	leal	50331648(%rdx), %ebx
	movslq	%ebx, %rbx
	imulq	$1431655766, %rbx, %rbx         ## imm = 0x55555556
	movq	%rbx, %rax
	shrq	$63, %rax
	shrq	$32, %rbx
	leal	(%rbx,%rax), %r12d
	addl	$-16777216, %r12d               ## imm = 0xFF000000
	addl	%edi, %esi
	leal	(%rsi,%rsi,2), %esi
	negl	%esi
	addl	%ecx, %esi
	addl	$50331648, %esi                 ## imm = 0x3000000
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	addl	%eax, %ebx
	leal	(%rbx,%rbx,2), %eax
	negl	%eax
	addl	%edx, %eax
	addl	$50331648, %eax                 ## imm = 0x3000000
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%ecx, %eax
	shrl	$31, %eax
	addl	%ecx, %eax
	sarl	%eax
	movl	%edx, %esi
	shrl	$31, %esi
	addl	%edx, %esi
	sarl	%esi
	addl	$50331648, %eax                 ## imm = 0x3000000
	movslq	%eax, %r8
	imulq	$1431655766, %r8, %rax          ## imm = 0x55555556
	movq	%rax, %rdi
	shrq	$63, %rdi
	shrq	$32, %rax
	leal	(%rax,%rdi), %r14d
	addl	$-16777216, %r14d               ## imm = 0xFF000000
	addl	$50331648, %esi                 ## imm = 0x3000000
	movslq	%esi, %rdx
	imulq	$1431655766, %rdx, %rsi         ## imm = 0x55555556
	movq	%rsi, %rbx
	shrq	$63, %rbx
	shrq	$32, %rsi
	leal	(%rsi,%rbx), %ecx
	addl	$-16777216, %ecx                ## imm = 0xFF000000
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	_chroma_coeffs@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addl	%edi, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %r8d
	movslq	%r8d, %rax
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	addl	%ebx, %esi
	movq	%r11, %rbx
	leal	(%rsi,%rsi,2), %eax
	subl	%eax, %edx
	movslq	%edx, %rax
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	jmp	LBB0_3
LBB0_2:
	movl	%ecx, %r13d
	sarl	$2, %r13d
	movl	4(%rdx), %eax
	movl	%eax, %edx
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	movl	%eax, %r12d
	sarl	$2, %r12d
	movl	%ecx, %eax
	andl	$3, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	andl	$3, %edx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	movl	%edx, %r14d
	sarl	$3, %r14d
	movl	%esi, %eax
	sarl	$3, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	andl	$6, %edx
	andl	$6, %esi
	movl	%edx, %eax
	xorl	$6, %eax
	movl	%esi, %ecx
	xorl	$6, %ecx
	orl	%eax, %ecx
	movl	$4, %eax
	cmovel	%eax, %edx
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	cmovel	%eax, %esi
	movl	%esi, -104(%rbp)                ## 4-byte Spill
LBB0_3:
	movq	56(%rbp), %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movq	48(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	40(%rbp), %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	16(%rbp), %r11d
	movq	_HAVE_THREADS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movq	%r11, -72(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.4:
	movq	88(%r15), %rax
	movq	_FF_THREAD_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_9
## %bb.5:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addl	%r12d, %eax
	leal	(%rax,%r11,8), %esi
	addl	$5, %esi
	sarl	$4, %esi
	addl	%r10d, %esi
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.6:
	movq	%r9, %rbx
	movq	80(%r15), %rdi
	jmp	LBB0_8
LBB0_7:
	movq	%r9, %rbx
	movq	72(%r15), %rdi
LBB0_8:
	addq	$8, %rdi
	xorl	%edx, %edx
	callq	_ff_thread_await_progress
	movq	%rbx, %r9
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	movq	-72(%rbp), %r11                 ## 8-byte Reload
LBB0_9:
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.10:
	movq	80(%r15), %rax
	jmp	LBB0_12
LBB0_11:
	movq	72(%r15), %rax
LBB0_12:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	16(%r15), %edx
	movl	20(%r15), %ecx
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, %esi
	sarl	%esi
	movl	%esi, -100(%rbp)                ## 4-byte Spill
	addl	%esi, %r14d
	leal	(%r14,%rdx,8), %ebx
                                        ## kill: def $edx killed $edx killed $rdx
	shll	$4, %edx
	addl	%edi, %r13d
	addl	%edx, %r13d
	movl	%ecx, %edx
	shll	$4, %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addl	%esi, %r12d
	addl	%edx, %r12d
	movl	%esi, %r10d
	sarl	%r10d
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	addl	%r10d, %edi
	movl	28(%r15), %edx
	movl	%r12d, %esi
	imull	%edx, %esi
	addl	%r13d, %esi
	movslq	%esi, %r14
	shlq	$2, %r14
	addq	(%rax), %r14
	leal	(%rdi,%rcx,8), %esi
	movl	32(%r15), %ecx
	movq	%rsi, -176(%rbp)                ## 8-byte Spill
	imull	%esi, %ecx
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	shlq	$2, %rcx
	movq	8(%rax), %rsi
	addq	%rcx, %rsi
	movq	%rsi, -160(%rbp)                ## 8-byte Spill
	addq	16(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	36(%r15), %eax
	movq	%r9, -144(%rbp)                 ## 8-byte Spill
	leal	(,%r9,8), %r8d
	movl	%eax, %ecx
	subl	%r8d, %ecx
	movl	40(%r15), %ebx
	leal	(,%r11,8), %r9d
	cmpl	$6, %ecx
	jl	LBB0_17
## %bb.13:
	movl	%ebx, %ecx
	subl	%r9d, %ecx
	cmpl	$6, %ecx
	jl	LBB0_17
## %bb.14:
	xorl	%ecx, %ecx
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	sete	%cl
	leal	(%rcx,%rcx), %esi
	addl	$-2, %esi
	leal	-2(%r13,%rcx,2), %ecx
	subl	%r8d, %esi
	addl	%eax, %esi
	addl	$-4, %esi
	cmpl	%esi, %ecx
	ja	LBB0_17
## %bb.15:
	xorl	%ecx, %ecx
	cmpl	$0, -128(%rbp)                  ## 4-byte Folded Reload
	sete	%cl
	leal	(%rcx,%rcx), %esi
	addl	$-2, %esi
	leal	(%r12,%rcx,2), %ecx
	addl	$-2, %ecx
	subl	%r9d, %esi
	addl	%ebx, %esi
	addl	$-4, %esi
	movb	$1, %dil
	cmpl	%esi, %ecx
	jbe	LBB0_16
LBB0_17:
	leal	(%rdx,%rdx), %ecx
	xorl	$-2, %ecx
	movslq	%ecx, %rcx
	leaq	(%r14,%rcx,4), %rsi
	movq	56(%r15), %rdi
	orl	$6, %r8d
	orl	$6, %r9d
	addl	$-2, %r13d
	addl	$-2, %r12d
	movl	%edx, %ecx
	pushq	%rbx
	pushq	%rax
	pushq	%r12
	pushq	%r13
	movl	%r10d, %ebx
	callq	*48(%r15)
	movl	%ebx, %r10d
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	addq	$32, %rsp
	movq	56(%r15), %rax
	movslq	28(%r15), %rdx
	leaq	(%rax,%rdx,8), %r14
	addq	$8, %r14
	xorl	%edi, %edi
	movq	-56(%rbp), %r8                  ## 8-byte Reload
LBB0_18:
	movl	%edi, -148(%rbp)                ## 4-byte Spill
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_19
## %bb.20:
	movq	(%r15), %rax
	movq	8(%r15), %rcx
	movslq	-88(%rbp), %rsi                 ## 4-byte Folded Reload
	shlq	$2, %rsi
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	addq	(%rcx,%rdi,8), %rsi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	imull	%edx, %ecx
	movslq	%ecx, %rcx
	leal	(%rbx,%rbx), %edi
	movslq	%edi, %rdi
	movq	%rbx, %r9
	movslq	-100(%rbp), %rbx                ## 4-byte Folded Reload
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rbx,4), %rbx
	addq	(%rax,%rdi,8), %rbx
	leaq	(%rsi,%rcx,4), %r13
	movslq	32(%r15), %rcx
	movslq	%r10d, %rsi
	imulq	%rcx, %rsi
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	leaq	(%rbx,%rsi,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leal	(%r9,%r9), %ecx
	incl	%ecx
	movslq	%ecx, %rcx
	leaq	(%rax,%rcx,8), %rax
	jmp	LBB0_21
LBB0_19:
	movq	64(%r15), %rax
	movslq	-88(%rbp), %rcx                 ## 4-byte Folded Reload
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	imull	%edx, %esi
	movslq	%esi, %rsi
	leaq	(%rcx,%rsi,4), %r13
	movslq	-100(%rbp), %rcx                ## 4-byte Folded Reload
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rcx,4), %rcx
	addq	8(%rax), %rcx
	movslq	32(%r15), %rsi
	movslq	%r10d, %rdi
	imulq	%rsi, %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rdi,4), %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	addq	$16, %rax
LBB0_21:
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	leal	(%rsi,%rcx,4), %ecx
	movq	(%rax), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	_RV34_MB_P_16x8@GOTPCREL(%rip), %r12
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	cmpl	%esi, (%r12)
	jne	LBB0_23
## %bb.22:
	movslq	%ecx, %rbx
	movq	%r13, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	callq	*128(%rax,%rbx,8)
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	addq	$32, %r13
	addq	$32, %r14
	movl	28(%r15), %edx
	jmp	LBB0_25
LBB0_23:
	movq	_RV34_MB_P_8x16@GOTPCREL(%rip), %rax
	movslq	%ecx, %rbx
	cmpl	%esi, (%rax)
	jne	LBB0_25
## %bb.24:
	movq	%r13, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	callq	*128(%rax,%rbx,8)
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movslq	28(%r15), %rdx
	movq	%rdx, %rax
	shlq	$5, %rax
	addq	%rax, %r13
	addq	%rax, %r14
LBB0_25:
	movq	_RV34_MB_P_8x8@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%al
	cmpl	%esi, (%r12)
	sete	%cl
	orb	%al, %cl
	movq	_RV34_MB_P_8x16@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	shlq	$7, %rax
	addq	%rax, %r8
	movq	%r13, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	*(%r8,%rbx,8)
	cmpb	$0, -148(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_27
## %bb.26:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	shll	$2, %ecx
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	jmp	LBB0_28
LBB0_27:
	movq	56(%r15), %r14
	movq	-144(%rbp), %rax                ## 8-byte Reload
	leal	1(,%rax,4), %r8d
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %ecx
	shll	$2, %ecx
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	leal	1(,%rax,4), %r9d
	movl	%r9d, -72(%rbp)                 ## 4-byte Spill
	movl	32(%r15), %ecx
	movl	36(%r15), %eax
	sarl	%eax
	movl	40(%r15), %ebx
	sarl	%ebx
	movq	%r14, %rdi
	movq	-160(%rbp), %rsi                ## 8-byte Reload
	movl	%ecx, %edx
	pushq	%rbx
	pushq	%rax
	movq	-176(%rbp), %r13                ## 8-byte Reload
	pushq	%r13
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	callq	*48(%r15)
	addq	$32, %rsp
	movslq	32(%r15), %rcx
	leaq	(%rcx,%rcx,8), %rax
	leaq	(%r14,%rax,4), %r12
	movl	36(%r15), %eax
	movl	40(%r15), %ebx
	sarl	%eax
	sarl	%ebx
	movq	%r12, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%ecx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-72(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	pushq	%r13
	pushq	-168(%rbp)                      ## 8-byte Folded Reload
	callq	*48(%r15)
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	addq	$32, %rsp
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ecx
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
LBB0_28:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rax,4), %rax
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$2, %eax
	subl	%edi, %eax
	movslq	%eax, %r12
	movl	32(%r15), %edx
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	-108(%rbp), %ebx                ## 4-byte Reload
	movl	%ebx, %r8d
	movl	-104(%rbp), %r13d               ## 4-byte Reload
	movl	%r13d, %r9d
	movq	%r15, %r14
	movq	-192(%rbp), %r15                ## 8-byte Reload
	callq	*(%r15,%r12,8)
	movq	(%r15,%r12,8), %rax
	movl	32(%r14), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%ebx, %r8d
	movl	%r13d, %r9d
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_16:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_chroma_coeffs,8,3              ## @chroma_coeffs
	.comm	_HAVE_THREADS,8,3               ## @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ## @FF_THREAD_FRAME
	.comm	_RV34_MB_P_16x8,4,2             ## @RV34_MB_P_16x8
	.comm	_RV34_MB_P_8x16,4,2             ## @RV34_MB_P_8x16
	.comm	_RV34_MB_P_8x8,4,2              ## @RV34_MB_P_8x8
	.no_dead_strip	_rv34_mc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv34_mc
_rv34_mc:                               ; @rv34_mc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x27, x7
	mov	x25, x3
	mov	x26, x2
	mov	x24, x1
	mov	x19, x0
	ldr	w11, [x29, #16]
	ldp	w9, w8, [x0, #16]
	ldr	w10, [x0, #24]
	madd	w9, w10, w8, w9
	add	w9, w4, w9, lsl #1
	ldr	x10, [x0, #96]
	ldr	x10, [x10]
	ldr	x10, [x10, w7, sxtw #3]
	ldr	x10, [x10, w9, sxtw #3]
	ldr	w9, [x10]
	cbz	w11, LBB0_2
; %bb.1:
	mov	w11, #50331648
	add	w12, w9, w11
	mov	w13, #21846
	movk	w13, #21845, lsl #16
	smull	x14, w12, w13
	lsr	x15, x14, #63
	lsr	x14, x14, #32
	mov	w16, #-16777216
	add	w14, w14, w15
	add	w2, w14, w16
	ldr	w10, [x10, #4]
	add	w15, w10, w11
	smull	x17, w15, w13
	lsr	x0, x17, #63
	lsr	x17, x17, #32
	add	w17, w17, w0
	add	w22, w17, w16
	add	w14, w14, w14, lsl #1
	sub	w12, w12, w14
	stur	w12, [x29, #-88]                ; 4-byte Folded Spill
	add	w12, w17, w17, lsl #1
	sub	w12, w15, w12
	str	x12, [sp, #88]                  ; 8-byte Folded Spill
	cmp	w9, #0
	cinc	w9, w9, lt
	cmp	w10, #0
	cinc	w10, w10, lt
	add	w9, w11, w9, asr #1
	smull	x12, w9, w13
	lsr	x14, x12, #63
	lsr	x12, x12, #32
	add	w12, w12, w14
	add	w14, w12, w16
	add	w10, w11, w10, asr #1
	smull	x11, w10, w13
	lsr	x13, x11, #63
	lsr	x11, x11, #32
	add	w11, w11, w13
	add	w15, w11, w16
Lloh0:
	adrp	x13, _chroma_coeffs@GOTPAGE
Lloh1:
	ldr	x13, [x13, _chroma_coeffs@GOTPAGEOFF]
Lloh2:
	ldr	x13, [x13]
	add	w12, w12, w12, lsl #1
	sub	w9, w9, w12
	ldr	w9, [x13, w9, sxtw #2]
	str	w9, [sp, #80]                   ; 4-byte Folded Spill
	add	w9, w11, w11, lsl #1
	sub	w9, w10, w9
	ldr	w9, [x13, w9, sxtw #2]
	b	LBB0_3
LBB0_2:
	asr	w2, w9, #2
	ldr	w10, [x10, #4]
	asr	w22, w10, #2
	and	w11, w9, #0x3
	stur	w11, [x29, #-88]                ; 4-byte Folded Spill
	and	w11, w10, #0x3
	str	x11, [sp, #88]                  ; 8-byte Folded Spill
	cmp	w9, #0
	cinc	w9, w9, lt
	cmp	w10, #0
	cinc	w10, w10, lt
	asr	w14, w9, #3
	asr	w15, w10, #3
	and	w9, w9, #0x6
	and	w10, w10, #0x6
	cmp	w9, #6
	cset	w11, eq
	cmp	w10, #6
	cset	w12, eq
	tst	w11, w12
	mov	w11, #4
	csel	w9, w11, w9, ne
	str	w9, [sp, #80]                   ; 4-byte Folded Spill
	csel	w9, w11, w10, ne
LBB0_3:
	str	w9, [sp, #76]                   ; 4-byte Folded Spill
	ldr	x9, [x29, #32]
	str	x9, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x9, [x29, #24]
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	ldr	w9, [x29, #20]
	str	w9, [sp, #56]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x9, _HAVE_THREADS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HAVE_THREADS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cbz	x9, LBB0_9
; %bb.4:
	ldr	x9, [x19, #88]
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _FF_THREAD_FRAME@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FF_THREAD_FRAME@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.5:
	add	w9, w22, w25
	add	w9, w9, w6, lsl #3
	add	w9, w9, #5
	add	w1, w8, w9, asr #4
	str	w15, [sp, #84]                  ; 4-byte Folded Spill
	mov	x23, x25
	mov	x25, x14
	mov	x20, x27
	cbz	w27, LBB0_7
; %bb.6:
	mov	x27, x26
	mov	x26, x2
	mov	x28, x5
	mov	x21, x24
	mov	x24, x6
	ldr	x8, [x19, #80]
	b	LBB0_8
LBB0_7:
	mov	x27, x26
	mov	x26, x2
	mov	x28, x5
	mov	x21, x24
	mov	x24, x6
	ldr	x8, [x19, #72]
LBB0_8:
	add	x0, x8, #8
	mov	w2, #0
	bl	_ff_thread_await_progress
	mov	x6, x24
	mov	x24, x21
	mov	x5, x28
	mov	x2, x26
	mov	x26, x27
	mov	x27, x20
	mov	x14, x25
	mov	x25, x23
	ldr	w15, [sp, #84]                  ; 4-byte Folded Reload
LBB0_9:
	cbz	w27, LBB0_11
; %bb.10:
	ldr	x8, [x19, #80]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x19, #72]
LBB0_12:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldp	x10, x9, [x8]
	ldr	x8, [x8, #16]
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	add	w8, w2, w26
	ldp	w11, w12, [x19, #16]
	add	w8, w8, w11, lsl #4
	add	w9, w22, w25
	add	w9, w9, w12, lsl #4
	asr	w21, w26, #1
	add	w13, w14, w21
	add	w13, w13, w11, lsl #3
	asr	w20, w25, #1
	add	w11, w15, w20
	add	w14, w11, w12, lsl #3
	ldp	w2, w11, [x19, #28]
	madd	w12, w9, w2, w8
	add	x22, x10, w12, sxtw #2
	stp	w14, w13, [sp, #16]             ; 8-byte Folded Spill
	madd	w23, w14, w11, w13
	mov	x28, x5
	lsl	w12, w5, #3
	ldp	w10, w11, [x19, #36]
	sub	w14, w10, w12
	str	w6, [sp, #84]                   ; 4-byte Folded Spill
	lsl	w13, w6, #3
	cmp	w14, #6
	b.lt	LBB0_16
; %bb.13:
	sub	w14, w11, w13
	cmp	w14, #6
	b.lt	LBB0_16
; %bb.14:
	mov	w14, #-2
	ldur	w15, [x29, #-88]                ; 4-byte Folded Reload
	cmp	w15, #0
	csel	w15, wzr, w14, eq
	sub	w16, w15, w12
	add	w16, w16, w10
	sub	w16, w16, #4
	add	w15, w15, w8
	cmp	w15, w16
	b.hi	LBB0_16
; %bb.15:
	ldr	x15, [sp, #88]                  ; 8-byte Folded Reload
	cmp	w15, #0
	csel	w14, wzr, w14, eq
	sub	w15, w14, w13
	add	w15, w15, w11
	sub	w15, w15, #4
	add	w14, w14, w9
	cmp	w14, w15
	b.ls	LBB0_28
LBB0_16:
	mov	w14, #-2
	sub	w14, w14, w2, lsl #1
	add	x1, x22, w14, sxtw #2
	ldp	x14, x0, [x19, #48]
	orr	w4, w12, #0x6
	orr	w5, w13, #0x6
	sub	w6, w8, #2
	sub	w7, w9, #2
	stp	w10, w11, [sp]
	mov	x3, x2
	blr	x14
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
	ldr	x8, [x19, #56]
	ldrsw	x2, [x19, #28]
	add	x8, x8, x2, lsl #3
	add	x22, x8, #8
LBB0_17:
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	sbfiz	x9, x8, #2, #32
	sbfiz	x8, x23, #2, #32
	ldr	w10, [sp, #56]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_19
; %bb.18:
	sxtw	x10, w27
	ldp	x12, x11, [x19]
	ldr	x11, [x11, x10, lsl #3]
	add	x11, x11, w26, sxtw #2
	mul	w13, w2, w25
	lsl	x14, x10, #4
	ldr	x14, [x12, x14]
	add	x23, x11, w13, sxtw #2
	mov	x11, x21
	sxtw	x11, w11
	str	x11, [sp, #88]                  ; 8-byte Folded Spill
	add	x11, x14, w21, sxtw #2
	ldrsw	x13, [x19, #32]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sxtw	x14, w20
	mul	x13, x13, x14
	add	x11, x11, x13, lsl #2
	stp	x13, x11, [sp, #48]             ; 16-byte Folded Spill
	mov	w11, #1
	bfi	w11, w10, #1, #31
	add	x10, x12, w11, sxtw #3
	b	LBB0_20
LBB0_19:
	ldr	x10, [x19, #64]
	ldp	x11, x12, [x10], #16
	add	x11, x11, w26, sxtw #2
	mul	w13, w2, w25
	add	x23, x11, w13, sxtw #2
	sxtw	x11, w21
	str	x11, [sp, #88]                  ; 8-byte Folded Spill
	add	x11, x12, w21, sxtw #2
	ldrsw	x12, [x19, #32]
	sxtw	x13, w20
	mul	x12, x12, x13
	add	x11, x11, x12, lsl #2
	stp	x12, x11, [sp, #48]             ; 16-byte Folded Spill
LBB0_20:
	mov	x25, x28
	ldur	w11, [x29, #-88]                ; 4-byte Folded Reload
	add	x20, x9, w11, sxtw
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x27, x9, x8
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x26, x9, x8
	ldr	x8, [x10]
	stur	x8, [x29, #-88]                 ; 8-byte Folded Spill
Lloh9:
	adrp	x21, _RV34_MB_P_16x8@GOTPAGE
Lloh10:
	ldr	x21, [x21, _RV34_MB_P_16x8@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh11:
	adrp	x28, _RV34_MB_P_8x16@GOTPAGE
Lloh12:
	ldr	x28, [x28, _RV34_MB_P_8x16@GOTPAGEOFF]
	cmp	w8, w24
	b.ne	LBB0_22
; %bb.21:
	mov	x8, x20
	mov	x28, x24
	sxtw	x24, w8
	ldr	x21, [sp, #96]                  ; 8-byte Folded Reload
	add	x8, x21, w20, sxtw #3
	ldr	x8, [x8, #128]
	mov	x0, x23
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	mov	x9, x21
Lloh13:
	adrp	x21, _RV34_MB_P_16x8@GOTPAGE
Lloh14:
	ldr	x21, [x21, _RV34_MB_P_16x8@GOTPAGEOFF]
	add	x23, x23, #32
	add	x22, x22, #32
	ldr	w2, [x19, #28]
	mov	x20, x24
	mov	x24, x28
Lloh15:
	adrp	x28, _RV34_MB_P_8x16@GOTPAGE
Lloh16:
	ldr	x28, [x28, _RV34_MB_P_8x16@GOTPAGEOFF]
	b	LBB0_24
LBB0_22:
	ldr	w8, [x28]
	cmp	w8, w24
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	b.ne	LBB0_24
; %bb.23:
	add	x8, x9, x20, lsl #3
	ldr	x8, [x8, #128]
	mov	x0, x23
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldrsw	x2, [x19, #28]
	lsl	x8, x2, #5
	add	x23, x23, x8
	add	x22, x22, x8
                                        ; kill: def $w2 killed $w2 killed $x2 def $x2
LBB0_24:
Lloh17:
	adrp	x8, _RV34_MB_P_8x8@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RV34_MB_P_8x8@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w8, w24
	ldr	w8, [x21]
	ccmp	w8, w24, #4, ne
	ldr	w8, [x28]
	ccmp	w8, w24, #4, ne
	cset	w8, eq
	add	x8, x9, x8, lsl #7
	ldr	x8, [x8, x20, lsl #3]
	mov	x0, x23
	mov	x1, x22
                                        ; kill: def $w2 killed $w2 killed $x2
	blr	x8
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_26
; %bb.25:
	ldr	w8, [sp, #84]                   ; 4-byte Folded Reload
	lsl	w22, w8, #2
	b	LBB0_27
LBB0_26:
	ldp	x8, x23, [x19, #48]
	mov	w24, #1
	mov	w21, #1
	bfi	w21, w25, #2, #30
	ldr	w9, [sp, #84]                   ; 4-byte Folded Reload
	lsl	w22, w9, #2
	bfi	w24, w9, #2, #30
	ldp	w2, w9, [x19, #32]
	asr	w9, w9, #1
	ldr	w10, [x19, #40]
	asr	w10, w10, #1
	stp	w9, w10, [sp]
	mov	x0, x23
	mov	x1, x27
	mov	x3, x2
	mov	x4, x21
	mov	x5, x24
	ldp	w28, w20, [sp, #16]             ; 8-byte Folded Reload
	mov	x6, x20
	mov	x7, x28
	blr	x8
	ldp	w2, w8, [x19, #32]
	add	w9, w2, w2, lsl #3
	add	x27, x23, w9, sxtw #2
	ldr	x9, [x19, #48]
	asr	w8, w8, #1
	ldr	w10, [x19, #40]
	asr	w10, w10, #1
	stp	w8, w10, [sp]
	mov	x0, x27
	mov	x1, x26
	mov	x3, x2
	mov	x4, x21
	mov	x5, x24
	mov	x6, x20
	mov	x7, x28
	blr	x9
	mov	x26, x27
	mov	x27, x23
LBB0_27:
	ldr	x8, [sp, #88]                   ; 8-byte Folded Reload
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	add	x8, x9, x8, lsl #2
	ldp	x9, x0, [sp, #48]               ; 16-byte Folded Reload
	add	x20, x8, x9, lsl #2
	mov	w8, #2
	sub	w8, w8, w25
	sbfiz	x21, x8, #3, #32
	ldr	x25, [sp, #64]                  ; 8-byte Folded Reload
	ldr	x8, [x25, x21]
	ldr	w2, [x19, #32]
	mov	x1, x27
	mov	x3, x22
	ldp	w24, w23, [sp, #76]             ; 8-byte Folded Reload
	mov	x4, x23
	mov	x5, x24
	blr	x8
	ldr	x6, [x25, x21]
	ldr	w2, [x19, #32]
	mov	x0, x20
	mov	x1, x26
	mov	x3, x22
	mov	x4, x23
	mov	x5, x24
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	br	x6
LBB0_28:
	mov	w8, #1
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_chroma_coeffs,8,3              ; @chroma_coeffs
	.comm	_HAVE_THREADS,8,3               ; @HAVE_THREADS
	.comm	_FF_THREAD_FRAME,4,2            ; @FF_THREAD_FRAME
	.comm	_RV34_MB_P_16x8,4,2             ; @RV34_MB_P_16x8
	.comm	_RV34_MB_P_8x16,4,2             ; @RV34_MB_P_8x16
	.comm	_RV34_MB_P_8x8,4,2              ; @RV34_MB_P_8x8
	.no_dead_strip	_rv34_mc
.subsections_via_symbols
