	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rv30_loop_filter
_rv30_loop_filter:                      ## @rv30_loop_filter
	.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
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	cmpl	$0, 20(%rdi)
	jle	LBB0_123
## %bb.1:
	movq	%rdi, %r13
	movl	16(%rdi), %eax
	imull	-92(%rbp), %eax                 ## 4-byte Folded Reload
	movslq	%eax, %rbx
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r15d
	incq	%rbx
	movl	20(%r13), %eax
	cmpl	%eax, %r15d
	jge	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %r14d
	movl	%r14d, %edi
	callq	_IS_INTRA
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_IS_SEPARATE_DC
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rax
	movl	$65535, (%rax,%rbx,4)           ## imm = 0xFFFF
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	callq	_IS_INTRA
	testq	%rax, %rax
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	movl	$255, (%rax,%rbx,4)
	jmp	LBB0_2
LBB0_8:
	testl	%eax, %eax
	jle	LBB0_123
## %bb.9:
	movl	16(%r13), %eax
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	imull	%ecx, %eax
	movl	%ecx, %edx
	shll	$4, %edx
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rcx
	shlq	$3, %rcx
	movslq	%eax, %rdi
	movq	%rcx, %rax
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rax
	orq	$4, %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r8d, %r8d
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r8
	incq	%rdi
	movslq	20(%r13), %rax
	cmpq	%rax, %r8
	jge	LBB0_46
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_17 Depth 3
                                        ##     Child Loop BB0_27 Depth 2
                                        ##       Child Loop BB0_32 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
	movq	_rv30_loop_filt_lim@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	32(%r13), %rax
	movq	8(%rax), %rdx
	testq	%r8, %r8
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-8(%rdx,%rdi,8), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -88(%rbp)                 ## 4-byte Spill
	xorl	%esi, %esi
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$4, %esi
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdx,%rdi,8), %rdx
	movl	(%rcx,%rdx,4), %r12d
	xorl	%ecx, %ecx
	testq	%r8, %r8
	sete	%cl
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
                                        ## kill: def $r8d killed $r8d killed $r8 def $r8
	shll	$4, %r8d
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	$-1, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_17 Depth 3
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(,%rcx,4), %rcx
	addq	(%rax), %rcx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	addl	%r14d, %eax
	movslq	24(%r13), %rdx
	cltq
	imulq	%rdx, %rax
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rcx,%rdx,4), %rcx
	leaq	(%rcx,%rax,4), %rbx
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=3
	incl	%r15d
	addq	$16, %rbx
	cmpl	$4, %r15d
	je	LBB0_23
LBB0_17:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	leal	(%r14,%r15), %eax
	movq	(%r13), %rsi
	movl	(%rsi,%rdi,4), %edx
	btl	%eax, %edx
	movl	%r12d, %ecx
	jae	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=3
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=3
	movl	24(%r13), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rv30_weak_loop_filter
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=3
	testl	%r15d, %r15d
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=3
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	%r15d, %eax
	btl	%eax, %edx
	movl	%r12d, %ecx
	jb	LBB0_18
	jmp	LBB0_16
LBB0_22:                                ##   in Loop: Header=BB0_17 Depth=3
	movl	-4(%rsi,%rdi,4), %edx
	movl	%eax, %ecx
	shrl	%cl, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	testb	$8, %dl
	jne	LBB0_18
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpl	$11, %r14d
	ja	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=2
	addl	$4, %r14d
	movq	32(%r13), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	$4, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%eax, %eax
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	testq	%r8, %r8
	sete	%al
	leal	(,%r8,8), %ecx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movb	$1, %dl
	xorl	%ebx, %ebx
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_27 Depth=2
	movl	$1, %ebx
	testb	$1, -120(%rbp)                  ## 1-byte Folded Reload
	movl	$0, %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	je	LBB0_10
LBB0_27:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_32 Depth 3
                                        ##       Child Loop BB0_40 Depth 3
	movq	8(%r13), %rax
	movl	(%rax,%rdi,4), %esi
	leal	(,%rbx,4), %ecx
	sarl	%cl, %esi
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	testq	%r8, %r8
	movl	%edx, -120(%rbp)                ## 4-byte Spill
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	-4(%rax,%rdi,4), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	andl	$15, %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_27 Depth=2
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=2
	movl	-64(%rbp), %r14d                ## 4-byte Reload
	andl	$15, %r14d
	movq	32(%r13), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	leaq	(,%rcx,4), %rcx
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	8(%rax,%rbx,8), %rax
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	addq	%rcx, %rax
	movslq	28(%r13), %rcx
	imulq	-168(%rbp), %rcx                ## 8-byte Folded Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rax,%rdx,4), %rax
	leaq	(%rax,%rcx,4), %rbx
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r15d
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_32 Depth=3
	addq	$16, %rbx
	testl	%r15d, %r15d
	movl	$1, %r15d
	jne	LBB0_38
LBB0_32:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_27 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	btl	%r15d, %r14d
	movl	%r12d, %ecx
	jb	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=3
	testl	%r15d, %r15d
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_32 Depth=3
	leal	-1(%r15), %eax
	movzbl	%al, %eax
	btl	%eax, %r14d
	movl	%r12d, %ecx
	jb	LBB0_36
	jmp	LBB0_38
LBB0_35:                                ##   in Loop: Header=BB0_32 Depth=3
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	testb	$2, -56(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_31
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_32 Depth=3
	testl	%ecx, %ecx
	je	LBB0_31
## %bb.37:                              ##   in Loop: Header=BB0_32 Depth=3
	movl	28(%r13), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rv30_weak_loop_filter
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_27 Depth=2
	movq	32(%r13), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	addq	8(%rax,%rcx,8), %rdx
	movslq	28(%r13), %rax
	imulq	-136(%rbp), %rax                ## 8-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rcx
	leaq	(%rcx,%rax,4), %rbx
	movl	-80(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_40 Depth=3
	addq	$16, %rbx
	testl	%r15d, %r15d
	movl	$1, %r15d
	jne	LBB0_26
LBB0_40:                                ##   Parent Loop BB0_11 Depth=1
                                        ##     Parent Loop BB0_27 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	%r14d, %eax
	movl	%r15d, %ecx
	shrl	%cl, %eax
	movl	%r12d, %ecx
	testb	$4, %al
	jne	LBB0_44
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=3
	testl	%r15d, %r15d
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	%r12d, %ecx
	testb	$4, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_44
	jmp	LBB0_26
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=3
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%r15d, %ecx
	shrl	%cl, %eax
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	testb	$8, %al
	je	LBB0_39
	.p2align	4, 0x90
LBB0_44:                                ##   in Loop: Header=BB0_40 Depth=3
	testl	%ecx, %ecx
	je	LBB0_39
## %bb.45:                              ##   in Loop: Header=BB0_40 Depth=3
	movl	28(%r13), %edx
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_rv30_weak_loop_filter
	jmp	LBB0_39
LBB0_46:
	testl	%eax, %eax
	jle	LBB0_123
## %bb.47:
	movl	16(%r13), %eax
	imull	-92(%rbp), %eax                 ## 4-byte Folded Reload
	movslq	%eax, %r8
	xorl	%ebx, %ebx
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_49 Depth=1
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	incq	%rbx
	incq	%r8
	movslq	20(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_123
LBB0_49:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_55 Depth 2
                                        ##     Child Loop BB0_100 Depth 2
                                        ##       Child Loop BB0_104 Depth 3
	movq	_rv30_loop_filt_lim@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	32(%r13), %rax
	movq	8(%rax), %rdx
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movslq	16(%r13), %rsi
	movq	%r8, %rdi
	subq	%rsi, %rdi
	movq	(%rdx,%rdi,8), %rsi
	movl	(%rcx,%rsi,4), %esi
	movl	%esi, -72(%rbp)                 ## 4-byte Spill
	xorl	%r9d, %r9d
	jmp	LBB0_52
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_49 Depth=1
	movl	$4, %r9d
LBB0_52:                                ##   in Loop: Header=BB0_49 Depth=1
	movq	(%rdx,%r8,8), %rdx
	movl	(%rcx,%rdx,4), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	movl	%ebx, %ecx
	shll	$4, %ecx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	leal	-2(%r9), %ecx
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movl	$3, %r14d
	movl	$2, %ecx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	$1, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	$-3, %ecx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	$-2, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	$-1, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movl	%ecx, %edx
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%r9, -120(%rbp)                 ## 8-byte Spill
	jmp	LBB0_55
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_55 Depth=2
	cmpl	$11, -56(%rbp)                  ## 4-byte Folded Reload
	ja	LBB0_98
LBB0_54:                                ##   in Loop: Header=BB0_55 Depth=2
	movq	32(%r13), %rax
	addl	$4, %r14d
	addl	$4, %ebx
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	$4, %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addl	$4, %ecx
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	addl	$4, %ecx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	$4, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	addl	$4, %ebx
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	addl	$4, %edx
LBB0_55:                                ##   Parent Loop BB0_49 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	(%r9,%rbx), %edi
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	leaq	(,%rcx,4), %rcx
	addq	(%rax), %rcx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	leal	(%r9,%rdx), %eax
	movl	24(%r13), %esi
	imull	%esi, %eax
	cltq
	leaq	(%rcx,%rax,4), %r12
	movq	(%r13), %rdx
	movl	(%rdx,%r8,4), %eax
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	btl	%edi, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	jae	LBB0_60
LBB0_56:                                ##   in Loop: Header=BB0_55 Depth=2
	testl	%ecx, %ecx
	je	LBB0_58
## %bb.57:                              ##   in Loop: Header=BB0_55 Depth=2
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_rv30_weak_loop_filter
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	(%r13), %rdx
	movl	(%rdx,%r8,4), %eax
LBB0_58:                                ##   in Loop: Header=BB0_55 Depth=2
	leaq	16(%r12), %r15
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	jb	LBB0_68
## %bb.63:                              ##   in Loop: Header=BB0_55 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_71
LBB0_64:                                ##   in Loop: Header=BB0_55 Depth=2
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	jb	LBB0_68
## %bb.69:                              ##   in Loop: Header=BB0_55 Depth=2
	addq	$32, %r12
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	leal	(%r9,%rsi), %ecx
	btl	%ecx, %eax
	movq	%r12, %r15
	movq	%rsi, %rbx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_86
	jmp	LBB0_78
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_55 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_66
## %bb.61:                              ##   in Loop: Header=BB0_55 Depth=2
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	addl	%ebx, %ecx
	addb	$-2, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_56
## %bb.62:                              ##   in Loop: Header=BB0_55 Depth=2
	leaq	16(%r12), %r15
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_73
	jmp	LBB0_64
LBB0_66:                                ##   in Loop: Header=BB0_55 Depth=2
	movslq	16(%r13), %rcx
	movq	%r8, %rdi
	subq	%rcx, %rdi
	testb	$16, 1(%rdx,%rdi,4)
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	jne	LBB0_56
## %bb.67:                              ##   in Loop: Header=BB0_55 Depth=2
	leaq	16(%r12), %r15
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	jae	LBB0_70
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_55 Depth=2
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_73:                                ##   in Loop: Header=BB0_55 Depth=2
	testl	%ecx, %ecx
	je	LBB0_75
LBB0_74:                                ##   in Loop: Header=BB0_55 Depth=2
	movl	24(%r13), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_rv30_weak_loop_filter
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	(%r13), %rdx
	movl	(%rdx,%r8,4), %eax
LBB0_75:                                ##   in Loop: Header=BB0_55 Depth=2
	addq	$16, %r15
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	leal	(%r9,%rbx), %ecx
	btl	%ecx, %eax
	jb	LBB0_76
## %bb.77:                              ##   in Loop: Header=BB0_55 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_84
LBB0_78:                                ##   in Loop: Header=BB0_55 Depth=2
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	jae	LBB0_80
LBB0_76:                                ##   in Loop: Header=BB0_55 Depth=2
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
LBB0_86:                                ##   in Loop: Header=BB0_55 Depth=2
	testl	%ecx, %ecx
	je	LBB0_88
## %bb.87:                              ##   in Loop: Header=BB0_55 Depth=2
	movl	24(%r13), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_rv30_weak_loop_filter
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	(%r13), %rdx
	movl	(%rdx,%r8,4), %eax
LBB0_88:                                ##   in Loop: Header=BB0_55 Depth=2
	addq	$16, %r15
	leal	(%r9,%r14), %ecx
	btl	%ecx, %eax
	jae	LBB0_90
LBB0_89:                                ##   in Loop: Header=BB0_55 Depth=2
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_96
	.p2align	4, 0x90
LBB0_90:                                ##   in Loop: Header=BB0_55 Depth=2
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_95
LBB0_91:                                ##   in Loop: Header=BB0_55 Depth=2
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_96
	jmp	LBB0_53
LBB0_80:                                ##   in Loop: Header=BB0_55 Depth=2
	addq	$16, %r15
	leal	(%r9,%r14), %ecx
	btl	%ecx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_96
	jmp	LBB0_91
LBB0_70:                                ##   in Loop: Header=BB0_55 Depth=2
	movl	$1, %ecx
LBB0_71:                                ##   in Loop: Header=BB0_55 Depth=2
	movslq	16(%r13), %rsi
	movq	%r8, %rdi
	subq	%rsi, %rdi
	movl	(%rdx,%rdi,4), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %esi
	testl	$4096, %esi                     ## imm = 0x1000
	je	LBB0_81
## %bb.72:                              ##   in Loop: Header=BB0_55 Depth=2
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_74
	jmp	LBB0_75
LBB0_81:                                ##   in Loop: Header=BB0_55 Depth=2
	addq	$32, %r12
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addl	%r9d, %ecx
	btl	%ecx, %eax
	jae	LBB0_83
## %bb.82:                              ##   in Loop: Header=BB0_55 Depth=2
	movq	%r12, %r15
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_86
LBB0_83:                                ##   in Loop: Header=BB0_55 Depth=2
	movl	$2, %ecx
	movq	%r12, %r15
	movq	-104(%rbp), %rbx                ## 8-byte Reload
LBB0_84:                                ##   in Loop: Header=BB0_55 Depth=2
	movslq	16(%r13), %rsi
	movq	%r8, %rdi
	subq	%rsi, %rdi
	movl	(%rdx,%rdi,4), %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %esi
	testl	$4096, %esi                     ## imm = 0x1000
	je	LBB0_92
## %bb.85:                              ##   in Loop: Header=BB0_55 Depth=2
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_86
LBB0_92:                                ##   in Loop: Header=BB0_55 Depth=2
	addq	$16, %r15
	leal	(%r9,%r14), %ecx
	btl	%ecx, %eax
	jb	LBB0_89
## %bb.94:                              ##   in Loop: Header=BB0_55 Depth=2
	movl	$3, %ecx
LBB0_95:                                ##   in Loop: Header=BB0_55 Depth=2
	movslq	16(%r13), %rax
	movq	%r8, %rsi
	subq	%rax, %rsi
	movl	(%rdx,%rsi,4), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	testl	$4096, %eax                     ## imm = 0x1000
	je	LBB0_54
	.p2align	4, 0x90
LBB0_96:                                ##   in Loop: Header=BB0_55 Depth=2
	testl	%ecx, %ecx
	je	LBB0_53
## %bb.97:                              ##   in Loop: Header=BB0_55 Depth=2
	movl	24(%r13), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_rv30_weak_loop_filter
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_53
	.p2align	4, 0x90
LBB0_98:                                ##   in Loop: Header=BB0_49 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,8), %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movb	$1, %sil
	xorl	%r12d, %r12d
	jmp	LBB0_100
	.p2align	4, 0x90
LBB0_99:                                ##   in Loop: Header=BB0_100 Depth=2
	movl	$1, %r12d
	testb	$1, -112(%rbp)                  ## 1-byte Folded Reload
	movl	$0, %esi
	je	LBB0_48
LBB0_100:                               ##   Parent Loop BB0_49 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_104 Depth 3
	movq	8(%r13), %rdx
	movl	(%rdx,%r8,4), %eax
	leal	(,%r12,4), %ecx
	movl	%eax, %edi
	sarl	%cl, %edi
	movl	%edi, -64(%rbp)                 ## 4-byte Spill
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	movl	%esi, -112(%rbp)                ## 4-byte Spill
	je	LBB0_102
## %bb.101:                             ##   in Loop: Header=BB0_100 Depth=2
	movslq	16(%r13), %rsi
	movq	%r8, %rdi
	subq	%rsi, %rdi
	movl	(%rdx,%rdi,4), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	andl	$15, %edx
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	jmp	LBB0_103
	.p2align	4, 0x90
LBB0_102:                               ##   in Loop: Header=BB0_100 Depth=2
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
LBB0_103:                               ##   in Loop: Header=BB0_100 Depth=2
	andl	$15, -64(%rbp)                  ## 4-byte Folded Spill
	movq	-120(%rbp), %r14                ## 8-byte Reload
                                        ## kill: def $r14d killed $r14d killed $r14 def $r14
	.p2align	4, 0x90
LBB0_104:                               ##   Parent Loop BB0_49 Depth=1
                                        ##     Parent Loop BB0_100 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	32(%r13), %rcx
	movq	16(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	(,%rdx,4), %rdx
	addq	8(%rcx,%r12,8), %rdx
	movq	-168(%rbp), %rcx                ## 8-byte Reload
	addl	%r14d, %ecx
	movl	28(%r13), %esi
	imull	%esi, %ecx
	movslq	%ecx, %rcx
	leaq	(%rdx,%rcx,4), %r15
	movl	%r14d, %ebx
	shrl	%ebx
	btl	%ebx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jae	LBB0_109
LBB0_105:                               ##   in Loop: Header=BB0_104 Depth=3
	testl	%ecx, %ecx
	je	LBB0_107
## %bb.106:                             ##   in Loop: Header=BB0_104 Depth=3
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_rv30_weak_loop_filter
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	movq	8(%r13), %rax
	movl	(%rax,%r8,4), %eax
LBB0_107:                               ##   in Loop: Header=BB0_104 Depth=3
	addq	$16, %r15
	movl	%ebx, %ecx
	orl	$1, %ecx
	btl	%ecx, %eax
	jae	LBB0_112
LBB0_116:                               ##   in Loop: Header=BB0_104 Depth=3
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_119
	.p2align	4, 0x90
LBB0_109:                               ##   in Loop: Header=BB0_104 Depth=3
	testl	%r14d, %r14d
	je	LBB0_114
## %bb.110:                             ##   in Loop: Header=BB0_104 Depth=3
	leal	-2(%rbx), %ecx
	movzbl	%cl, %ecx
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	btl	%ecx, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_105
## %bb.111:                             ##   in Loop: Header=BB0_104 Depth=3
	addq	$16, %r15
	movl	%ebx, %ecx
	orb	$1, %cl
	movzbl	%cl, %ecx
	btl	%ecx, %eax
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_119
	jmp	LBB0_113
	.p2align	4, 0x90
LBB0_112:                               ##   in Loop: Header=BB0_104 Depth=3
	testl	%r14d, %r14d
	je	LBB0_118
LBB0_113:                               ##   in Loop: Header=BB0_104 Depth=3
	decb	%bl
	movzbl	%bl, %eax
	movl	-64(%rbp), %ecx                 ## 4-byte Reload
	btl	%eax, %ecx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	jb	LBB0_119
	jmp	LBB0_99
LBB0_114:                               ##   in Loop: Header=BB0_104 Depth=3
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	shrl	%cl, %edx
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	testb	$4, %dl
	jne	LBB0_105
## %bb.115:                             ##   in Loop: Header=BB0_104 Depth=3
	addq	$16, %r15
	orb	$1, %bl
	movzbl	%bl, %ecx
	btl	%ecx, %eax
	jb	LBB0_116
## %bb.117:                             ##   in Loop: Header=BB0_104 Depth=3
	movl	$1, %ecx
LBB0_118:                               ##   in Loop: Header=BB0_104 Depth=3
	movl	-80(%rbp), %eax                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	testb	$4, %al
	je	LBB0_122
	.p2align	4, 0x90
LBB0_119:                               ##   in Loop: Header=BB0_104 Depth=3
	testl	%ecx, %ecx
	je	LBB0_121
## %bb.120:                             ##   in Loop: Header=BB0_104 Depth=3
	movl	28(%r13), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_rv30_weak_loop_filter
	movq	-88(%rbp), %r8                  ## 8-byte Reload
LBB0_121:                               ##   in Loop: Header=BB0_104 Depth=3
	testl	%r14d, %r14d
	jne	LBB0_99
LBB0_122:                               ##   in Loop: Header=BB0_104 Depth=3
	movq	8(%r13), %rax
	movl	(%rax,%r8,4), %eax
	movl	$4, %r14d
	jmp	LBB0_104
LBB0_123:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rv30_loop_filt_lim,8,3         ## @rv30_loop_filt_lim
	.no_dead_strip	_rv30_loop_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rv30_loop_filter
_rv30_loop_filter:                      ; @rv30_loop_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	w1, [sp, #36]                   ; 4-byte Folded Spill
	ldr	w8, [x0, #20]
	cmp	w8, #1
	b.lt	LBB0_146
; %bb.1:
	mov	x20, x0
	mov	x19, #0
	ldr	w8, [x0, #16]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	mul	w8, w8, w9
	sbfiz	x22, x8, #2, #32
	mov	w23, #255
	mov	w24, #65535
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #20]
	add	x19, x19, #1
	cmp	w19, w8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8]
	add	x8, x8, x22
	ldr	w21, [x8, x19, lsl #2]
	mov	x0, x21
	bl	_IS_INTRA
	cbnz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_IS_SEPARATE_DC
	cbz	x0, LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	add	x8, x8, x22
	str	w24, [x8, x19, lsl #2]
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_IS_INTRA
	cbz	x0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20, #8]
	add	x8, x8, x22
	str	w23, [x8, x19, lsl #2]
	b	LBB0_2
LBB0_8:
	cmp	w8, #1
	b.lt	LBB0_146
; %bb.9:
	mov	x24, #0
	ldr	w8, [x20, #16]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	mul	w8, w8, w9
	lsl	w10, w9, #4
	stp	w10, wzr, [sp, #40]             ; 8-byte Folded Spill
	lsl	w10, w9, #3
	str	w10, [sp, #60]                  ; 4-byte Folded Spill
	sxtw	x27, w8
	mov	w8, #4
	bfi	w8, w9, #3, #29
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	add	x24, x24, #1
	add	x27, x27, #1
	ldrsw	x8, [x20, #20]
	cmp	x24, x8
	b.ge	LBB0_75
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_42 Depth 2
                                        ;     Child Loop BB0_50 Depth 2
                                        ;     Child Loop BB0_61 Depth 2
                                        ;     Child Loop BB0_69 Depth 2
Lloh0:
	adrp	x8, _rv30_loop_filt_lim@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rv30_loop_filt_lim@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x20, #32]
	ldr	x10, [x8, #8]
	sub	x11, x27, #1
	str	x11, [sp, #16]                  ; 8-byte Folded Spill
	cbz	x24, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	str	xzr, [sp, #48]                  ; 8-byte Folded Spill
	ldr	x11, [x10, x11, lsl #3]
	ldr	w11, [x9, x11, lsl #2]
	str	w11, [sp, #44]                  ; 4-byte Folded Spill
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w11, #4
	str	x11, [sp, #48]                  ; 8-byte Folded Spill
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w23, #0
	ldr	x10, [x10, x27, lsl #3]
	ldr	w21, [x9, x10, lsl #2]
	cmp	x24, #0
	cset	w19, eq
	lsl	w26, w24, #4
	mov	w9, #1
	cinc	w25, w9, eq
	add	w28, w25, #1
	add	w9, w25, #2
	str	w9, [sp, #24]                   ; 4-byte Folded Spill
LBB0_15:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x8, x8, x26, lsl #2
	ldr	w9, [sp, #40]                   ; 4-byte Folded Reload
	add	w9, w9, w23
	ldr	w10, [x20, #24]
	mul	w9, w10, w9
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	add	x22, x8, w9, sxtw #2
	orr	w8, w23, w19
	ldr	x9, [x20]
	ldr	w10, [x9, x27, lsl #2]
	lsr	w11, w10, w8
	mov	x3, x21
	tbz	w11, #0, LBB0_34
LBB0_16:                                ;   in Loop: Header=BB0_15 Depth=2
	cbz	w3, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w2, [x20, #24]
	mov	x0, x22
	mov	w1, #1
	bl	_rv30_weak_loop_filter
LBB0_18:                                ;   in Loop: Header=BB0_15 Depth=2
	add	x22, x22, #16
	orr	w8, w25, w23
	ldr	x9, [x20]
	ldr	w9, [x9, x27, lsl #2]
	lsr	w10, w9, w8
	tbnz	w10, #0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=2
	sub	w8, w8, #1
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=2
	cbz	w21, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w2, [x20, #24]
	mov	x0, x22
	mov	w1, #1
	mov	x3, x21
	bl	_rv30_weak_loop_filter
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w28, #4
	b.eq	LBB0_32
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x22, x22, #16
	add	w8, w25, w23
	add	w9, w8, #1
	ldr	x8, [x20]
	ldr	w8, [x8, x27, lsl #2]
	lsr	w9, w8, w9
	tbnz	w9, #0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=2
	orr	w9, w25, w23
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_15 Depth=2
	cbz	w21, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	w2, [x20, #24]
	mov	x0, x22
	mov	w1, #1
	mov	x3, x21
	bl	_rv30_weak_loop_filter
LBB0_27:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w8, #4
	b.eq	LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_15 Depth=2
	add	w8, w25, w23
	add	w10, w8, #2
	ldr	x9, [x20]
	ldr	w9, [x9, x27, lsl #2]
	lsr	w10, w9, w10
	tbnz	w10, #0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_15 Depth=2
	add	w8, w8, #1
	lsr	w8, w9, w8
	tbz	w8, #0, LBB0_32
LBB0_30:                                ;   in Loop: Header=BB0_15 Depth=2
	cbz	w21, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_15 Depth=2
	add	x0, x22, #16
	ldr	w2, [x20, #24]
	mov	w1, #1
	mov	x3, x21
	bl	_rv30_weak_loop_filter
LBB0_32:                                ;   in Loop: Header=BB0_15 Depth=2
	cmp	w23, #11
	b.hi	LBB0_37
; %bb.33:                               ;   in Loop: Header=BB0_15 Depth=2
	add	w23, w23, #4
	ldr	x8, [x20, #32]
	b	LBB0_15
LBB0_34:                                ;   in Loop: Header=BB0_15 Depth=2
	cbz	x24, LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_15 Depth=2
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w9, [x9, x10, lsl #2]
	lsr	w8, w9, w8
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	tbnz	w8, #3, LBB0_16
	b	LBB0_18
LBB0_36:                                ;   in Loop: Header=BB0_15 Depth=2
	sub	w8, w8, #1
	lsr	w8, w10, w8
	mov	x3, x21
	tbnz	w8, #0, LBB0_16
	b	LBB0_18
LBB0_37:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	x24, #0
	cset	w8, eq
	ldr	x9, [x20, #8]
	ldr	w23, [x9, x27, lsl #2]
	cbz	x24, LBB0_39
; %bb.38:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	ldr	w9, [x9, x10, lsl #2]
	and	w25, w9, #0xf
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w25, #0
LBB0_40:                                ;   in Loop: Header=BB0_11 Depth=1
	str	x24, [sp, #24]                  ; 8-byte Folded Spill
	lsl	w28, w24, #3
	lsl	x11, x8, #2
	and	w26, w23, #0xf
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	add	x8, x8, x28, lsl #2
	ldr	w9, [x20, #28]
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	str	x11, [sp, #48]                  ; 8-byte Folded Spill
	add	x8, x8, x11, lsl #2
	add	x22, x8, w9, sxtw #2
	mov	x8, x19
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=2
	add	x22, x22, #16
	mov	w8, #1
	cbnz	w24, LBB0_48
LBB0_42:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x8
	lsr	w8, w26, w8
	mov	x3, x21
	tbnz	w8, #0, LBB0_46
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=2
	cbz	w24, LBB0_45
; %bb.44:                               ;   in Loop: Header=BB0_42 Depth=2
	sub	w8, w24, #1
	lsr	w8, w26, w8
	mov	x3, x21
	tbnz	w8, #0, LBB0_46
	b	LBB0_48
LBB0_45:                                ;   in Loop: Header=BB0_42 Depth=2
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	tbz	w25, #1, LBB0_41
LBB0_46:                                ;   in Loop: Header=BB0_42 Depth=2
	cbz	w3, LBB0_41
; %bb.47:                               ;   in Loop: Header=BB0_42 Depth=2
	ldr	w2, [x20, #28]
	mov	x0, x22
	mov	w1, #1
	bl	_rv30_weak_loop_filter
	b	LBB0_41
LBB0_48:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #8]
	add	x8, x8, x28, lsl #2
	ldr	w9, [x20, #28]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	mul	w9, w9, w10
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	add	x22, x8, w9, sxtw #2
	mov	x8, x19
	b	LBB0_50
LBB0_49:                                ;   in Loop: Header=BB0_50 Depth=2
	add	x22, x22, #16
	mov	w8, #1
	cbnz	w24, LBB0_56
LBB0_50:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x8
	lsr	w8, w26, w8
	mov	x3, x21
	tbnz	w8, #2, LBB0_54
; %bb.51:                               ;   in Loop: Header=BB0_50 Depth=2
	cbz	w24, LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_50 Depth=2
	mov	x3, x21
	tbnz	w23, #2, LBB0_54
	b	LBB0_56
LBB0_53:                                ;   in Loop: Header=BB0_50 Depth=2
	lsr	w8, w25, w24
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	tbz	w8, #3, LBB0_49
LBB0_54:                                ;   in Loop: Header=BB0_50 Depth=2
	cbz	w3, LBB0_49
; %bb.55:                               ;   in Loop: Header=BB0_50 Depth=2
	ldr	w2, [x20, #28]
	mov	x0, x22
	mov	w1, #1
	bl	_rv30_weak_loop_filter
	b	LBB0_49
LBB0_56:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x20, #8]
	ldr	w23, [x8, x27, lsl #2]
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_58
; %bb.57:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	ldr	w8, [x8, x9, lsl #2]
	ubfx	w25, w8, #4, #4
	b	LBB0_59
LBB0_58:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w25, #0
LBB0_59:                                ;   in Loop: Header=BB0_11 Depth=1
	ubfx	w26, w23, #4, #4
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	add	x8, x8, x28, lsl #2
	ldr	w9, [x20, #28]
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	add	x22, x8, w9, sxtw #2
	mov	x8, x19
	b	LBB0_61
LBB0_60:                                ;   in Loop: Header=BB0_61 Depth=2
	add	x22, x22, #16
	mov	w8, #1
	cbnz	w24, LBB0_67
LBB0_61:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x8
	lsr	w8, w26, w8
	mov	x3, x21
	tbnz	w8, #0, LBB0_65
; %bb.62:                               ;   in Loop: Header=BB0_61 Depth=2
	cbz	w24, LBB0_64
; %bb.63:                               ;   in Loop: Header=BB0_61 Depth=2
	sub	w8, w24, #1
	lsr	w8, w26, w8
	mov	x3, x21
	tbnz	w8, #0, LBB0_65
	b	LBB0_67
LBB0_64:                                ;   in Loop: Header=BB0_61 Depth=2
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	tbz	w25, #1, LBB0_60
LBB0_65:                                ;   in Loop: Header=BB0_61 Depth=2
	cbz	w3, LBB0_60
; %bb.66:                               ;   in Loop: Header=BB0_61 Depth=2
	ldr	w2, [x20, #28]
	mov	x0, x22
	mov	w1, #1
	bl	_rv30_weak_loop_filter
	b	LBB0_60
LBB0_67:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x20, #32]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	add	x8, x8, x28, lsl #2
	ldr	w9, [x20, #28]
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	mul	w9, w9, w10
	ldr	x10, [sp, #48]                  ; 8-byte Folded Reload
	add	x8, x8, x10, lsl #2
	add	x22, x8, w9, sxtw #2
	b	LBB0_69
LBB0_68:                                ;   in Loop: Header=BB0_69 Depth=2
	add	x22, x22, #16
	mov	w19, #1
	cbnz	w24, LBB0_10
LBB0_69:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x24, x19
	lsr	w8, w26, w19
	mov	x3, x21
	tbnz	w8, #2, LBB0_73
; %bb.70:                               ;   in Loop: Header=BB0_69 Depth=2
	cbz	w24, LBB0_72
; %bb.71:                               ;   in Loop: Header=BB0_69 Depth=2
	mov	x3, x21
	tbnz	w23, #6, LBB0_73
	b	LBB0_10
LBB0_72:                                ;   in Loop: Header=BB0_69 Depth=2
	lsr	w8, w25, w24
	ldr	w3, [sp, #44]                   ; 4-byte Folded Reload
	tbz	w8, #3, LBB0_68
LBB0_73:                                ;   in Loop: Header=BB0_69 Depth=2
	cbz	w3, LBB0_68
; %bb.74:                               ;   in Loop: Header=BB0_69 Depth=2
	ldr	w2, [x20, #28]
	mov	x0, x22
	mov	w1, #1
	bl	_rv30_weak_loop_filter
	b	LBB0_68
LBB0_75:
	cmp	w8, #1
	b.lt	LBB0_146
; %bb.76:
	str	xzr, [sp, #16]                  ; 8-byte Folded Spill
	str	wzr, [sp, #48]                  ; 4-byte Folded Spill
	ldr	w8, [x20, #16]
	ldr	w9, [sp, #36]                   ; 4-byte Folded Reload
	mul	w8, w8, w9
	sxtw	x27, w8
	b	LBB0_78
LBB0_77:                                ;   in Loop: Header=BB0_78 Depth=1
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	add	x9, x9, #1
	add	x27, x27, #1
	ldrsw	x8, [x20, #20]
	str	x9, [sp, #16]                   ; 8-byte Folded Spill
	cmp	x9, x8
	b.ge	LBB0_146
LBB0_78:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_84 Depth 2
                                        ;     Child Loop BB0_124 Depth 2
                                        ;       Child Loop BB0_128 Depth 3
Lloh3:
	adrp	x8, _rv30_loop_filt_lim@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rv30_loop_filt_lim@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x8]
	ldr	x8, [x20, #32]
	ldr	x10, [x8, #8]
	ldr	w11, [sp, #36]                  ; 4-byte Folded Reload
	cbz	w11, LBB0_80
; %bb.79:                               ;   in Loop: Header=BB0_78 Depth=1
	mov	w24, #0
	ldrsw	x11, [x20, #16]
	sub	x11, x27, x11
	ldr	x11, [x10, x11, lsl #3]
	ldr	w11, [x9, x11, lsl #2]
	str	w11, [sp, #48]                  ; 4-byte Folded Spill
	b	LBB0_81
LBB0_80:                                ;   in Loop: Header=BB0_78 Depth=1
	mov	w24, #4
LBB0_81:                                ;   in Loop: Header=BB0_78 Depth=1
	mov	w19, #0
	ldr	x10, [x10, x27, lsl #3]
	ldr	w26, [x9, x10, lsl #2]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	lsl	w25, w9, #4
	sub	w9, w24, #2
	str	w9, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w23, [sp, #40]                  ; 4-byte Folded Reload
	b	LBB0_84
LBB0_82:                                ;   in Loop: Header=BB0_84 Depth=2
	cmp	w28, #11
	b.hi	LBB0_122
LBB0_83:                                ;   in Loop: Header=BB0_84 Depth=2
	ldr	x8, [x20, #32]
	add	w19, w19, #4
	add	w23, w23, #4
LBB0_84:                                ;   Parent Loop BB0_78 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w28, w24, w19
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	add	x8, x8, x25, lsl #2
	add	w9, w24, w23
	ldr	w1, [x20, #24]
	mul	w9, w1, w9
	add	x21, x8, w9, sxtw #2
	ldr	x8, [x20]
	ldr	w9, [x8, x27, lsl #2]
	lsr	w10, w9, w28
	mov	x3, x26
	tbz	w10, #0, LBB0_91
LBB0_85:                                ;   in Loop: Header=BB0_84 Depth=2
	cbz	w3, LBB0_87
; %bb.86:                               ;   in Loop: Header=BB0_84 Depth=2
	mov	x0, x21
	mov	w2, #1
	bl	_rv30_weak_loop_filter
	ldr	x8, [x20]
	ldr	w9, [x8, x27, lsl #2]
LBB0_87:                                ;   in Loop: Header=BB0_84 Depth=2
	add	x22, x21, #16
	add	w10, w24, w19
	add	w10, w10, #1
	lsr	w11, w9, w10
	tbnz	w11, #0, LBB0_96
; %bb.88:                               ;   in Loop: Header=BB0_84 Depth=2
	cbz	w28, LBB0_111
LBB0_89:                                ;   in Loop: Header=BB0_84 Depth=2
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	add	w10, w10, w19
	sub	w10, w10, #1
	lsr	w10, w9, w10
	tbnz	w10, #0, LBB0_96
; %bb.90:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x21, x21, #32
	add	w10, w24, w19
	add	w10, w10, #2
	lsr	w10, w9, w10
	mov	x3, x26
	tbnz	w10, #0, LBB0_103
	b	LBB0_101
LBB0_91:                                ;   in Loop: Header=BB0_84 Depth=2
	cbz	w28, LBB0_94
; %bb.92:                               ;   in Loop: Header=BB0_84 Depth=2
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	add	w10, w10, w19
	sub	w10, w10, #2
	lsr	w10, w9, w10
	mov	x3, x26
	tbnz	w10, #0, LBB0_85
; %bb.93:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x22, x21, #16
	add	w10, w24, w19
	add	w10, w10, #1
	lsr	w10, w9, w10
	mov	x3, x26
	tbnz	w10, #0, LBB0_97
	b	LBB0_89
LBB0_94:                                ;   in Loop: Header=BB0_84 Depth=2
	ldrsw	x10, [x20, #16]
	sub	x10, x27, x10
	ldr	w10, [x8, x10, lsl #2]
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	tbnz	w10, #12, LBB0_85
; %bb.95:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x22, x21, #16
	add	w10, w24, w19
	add	w10, w10, #1
	lsr	w10, w9, w10
	tbz	w10, #0, LBB0_110
LBB0_96:                                ;   in Loop: Header=BB0_84 Depth=2
	mov	x3, x26
LBB0_97:                                ;   in Loop: Header=BB0_84 Depth=2
	cbz	w3, LBB0_99
LBB0_98:                                ;   in Loop: Header=BB0_84 Depth=2
	ldr	w1, [x20, #24]
	mov	x0, x22
	mov	w2, #1
	bl	_rv30_weak_loop_filter
	ldr	x8, [x20]
	ldr	w9, [x8, x27, lsl #2]
LBB0_99:                                ;   in Loop: Header=BB0_84 Depth=2
	add	x21, x22, #16
	add	w10, w24, w19
	add	w10, w10, #2
	lsr	w11, w9, w10
	tbnz	w11, #0, LBB0_102
; %bb.100:                              ;   in Loop: Header=BB0_84 Depth=2
	cbz	w28, LBB0_115
LBB0_101:                               ;   in Loop: Header=BB0_84 Depth=2
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	add	w10, w10, w19
	lsr	w10, w9, w10
	tbz	w10, #0, LBB0_109
LBB0_102:                               ;   in Loop: Header=BB0_84 Depth=2
	mov	x3, x26
LBB0_103:                               ;   in Loop: Header=BB0_84 Depth=2
	cbz	w3, LBB0_105
LBB0_104:                               ;   in Loop: Header=BB0_84 Depth=2
	ldr	w1, [x20, #24]
	mov	x0, x21
	mov	w2, #1
	bl	_rv30_weak_loop_filter
	ldr	x8, [x20]
	ldr	w9, [x8, x27, lsl #2]
LBB0_105:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x0, x21, #16
	add	w10, w24, w19
	add	w10, w10, #3
	lsr	w11, w9, w10
	tbz	w11, #0, LBB0_107
LBB0_106:                               ;   in Loop: Header=BB0_84 Depth=2
	mov	x3, x26
	b	LBB0_120
LBB0_107:                               ;   in Loop: Header=BB0_84 Depth=2
	cbz	w28, LBB0_119
LBB0_108:                               ;   in Loop: Header=BB0_84 Depth=2
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	add	w8, w8, w19
	add	w8, w8, #1
	lsr	w8, w9, w8
	mov	x3, x26
	tbnz	w8, #0, LBB0_120
	b	LBB0_82
LBB0_109:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x0, x21, #16
	add	w8, w24, w19
	add	w8, w8, #3
	lsr	w8, w9, w8
	mov	x3, x26
	tbnz	w8, #0, LBB0_120
	b	LBB0_108
LBB0_110:                               ;   in Loop: Header=BB0_84 Depth=2
	mov	w10, #1
LBB0_111:                               ;   in Loop: Header=BB0_84 Depth=2
	ldrsw	x11, [x20, #16]
	sub	x11, x27, x11
	ldr	w11, [x8, x11, lsl #2]
	lsr	w10, w11, w10
	tbz	w10, #12, LBB0_113
; %bb.112:                              ;   in Loop: Header=BB0_84 Depth=2
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	cbnz	w3, LBB0_98
	b	LBB0_99
LBB0_113:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x21, x21, #32
	add	w10, w24, w19
	add	w10, w10, #2
	lsr	w10, w9, w10
	tbnz	w10, #0, LBB0_102
; %bb.114:                              ;   in Loop: Header=BB0_84 Depth=2
	mov	w10, #2
LBB0_115:                               ;   in Loop: Header=BB0_84 Depth=2
	ldrsw	x11, [x20, #16]
	sub	x11, x27, x11
	ldr	w11, [x8, x11, lsl #2]
	lsr	w10, w11, w10
	tbz	w10, #12, LBB0_117
; %bb.116:                              ;   in Loop: Header=BB0_84 Depth=2
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	cbnz	w3, LBB0_104
	b	LBB0_105
LBB0_117:                               ;   in Loop: Header=BB0_84 Depth=2
	add	x0, x21, #16
	add	w10, w24, w19
	add	w10, w10, #3
	lsr	w9, w9, w10
	tbnz	w9, #0, LBB0_106
; %bb.118:                              ;   in Loop: Header=BB0_84 Depth=2
	mov	w10, #3
LBB0_119:                               ;   in Loop: Header=BB0_84 Depth=2
	ldrsw	x9, [x20, #16]
	sub	x9, x27, x9
	ldr	w8, [x8, x9, lsl #2]
	lsr	w8, w8, w10
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	tbz	w8, #12, LBB0_83
LBB0_120:                               ;   in Loop: Header=BB0_84 Depth=2
	cbz	w3, LBB0_82
; %bb.121:                              ;   in Loop: Header=BB0_84 Depth=2
	ldr	w1, [x20, #24]
	mov	w2, #1
	bl	_rv30_weak_loop_filter
	b	LBB0_82
LBB0_122:                               ;   in Loop: Header=BB0_78 Depth=1
	mov	x9, #0
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	lsl	w19, w8, #3
	mov	w8, #1
	str	w24, [sp, #24]                  ; 4-byte Folded Spill
	b	LBB0_124
LBB0_123:                               ;   in Loop: Header=BB0_124 Depth=2
	mov	w8, #0
	mov	w9, #1
	ldr	w24, [sp, #24]                  ; 4-byte Folded Reload
	ldr	w10, [sp, #44]                  ; 4-byte Folded Reload
	tbz	w10, #0, LBB0_77
LBB0_124:                               ;   Parent Loop BB0_78 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_128 Depth 3
	mov	x13, x8
	ldr	x11, [x20, #8]
	ldr	w8, [x11, x27, lsl #2]
	lsl	w10, w9, #2
	ldr	w12, [sp, #36]                  ; 4-byte Folded Reload
	str	w13, [sp, #44]                  ; 4-byte Folded Spill
	cbz	w12, LBB0_126
; %bb.125:                              ;   in Loop: Header=BB0_124 Depth=2
	ldrsw	x12, [x20, #16]
	sub	x12, x27, x12
	ldr	w11, [x11, x12, lsl #2]
	asr	w11, w11, w10
	and	w23, w11, #0xf
	b	LBB0_127
LBB0_126:                               ;   in Loop: Header=BB0_124 Depth=2
	mov	w23, #0
LBB0_127:                               ;   in Loop: Header=BB0_124 Depth=2
	asr	w10, w8, w10
	and	w28, w10, #0xf
	add	x25, x9, #1
	mov	x22, x24
LBB0_128:                               ;   Parent Loop BB0_78 Depth=1
                                        ;     Parent Loop BB0_124 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x9, [x20, #32]
	ldr	x9, [x9, #16]
	ldr	x9, [x9]
	ldr	x9, [x9, x25, lsl #3]
	add	x9, x9, x19, lsl #2
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	add	w10, w22, w10
	ldr	w1, [x20, #28]
	mul	w10, w1, w10
	add	x21, x9, w10, sxtw #2
	lsr	w24, w22, #1
	lsr	w9, w8, w24
	mov	x3, x26
	tbz	w9, #0, LBB0_133
LBB0_129:                               ;   in Loop: Header=BB0_128 Depth=3
	cbz	w3, LBB0_131
; %bb.130:                              ;   in Loop: Header=BB0_128 Depth=3
	mov	x0, x21
	mov	w2, #1
	bl	_rv30_weak_loop_filter
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x27, lsl #2]
LBB0_131:                               ;   in Loop: Header=BB0_128 Depth=3
	add	x0, x21, #16
	orr	w9, w24, #0x1
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_136
LBB0_132:                               ;   in Loop: Header=BB0_128 Depth=3
	mov	x3, x26
	b	LBB0_142
LBB0_133:                               ;   in Loop: Header=BB0_128 Depth=3
	cbz	w22, LBB0_138
; %bb.134:                              ;   in Loop: Header=BB0_128 Depth=3
	sub	w9, w24, #2
	lsr	w9, w28, w9
	mov	x3, x26
	tbnz	w9, #0, LBB0_129
; %bb.135:                              ;   in Loop: Header=BB0_128 Depth=3
	add	x0, x21, #16
	orr	w9, w24, #0x1
	lsr	w8, w8, w9
	mov	x3, x26
	tbnz	w8, #0, LBB0_142
	b	LBB0_137
LBB0_136:                               ;   in Loop: Header=BB0_128 Depth=3
	cbz	w22, LBB0_141
LBB0_137:                               ;   in Loop: Header=BB0_128 Depth=3
	sub	w8, w24, #1
	lsr	w8, w28, w8
	mov	x3, x26
	tbnz	w8, #0, LBB0_142
	b	LBB0_123
LBB0_138:                               ;   in Loop: Header=BB0_128 Depth=3
	lsr	w9, w23, w24
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	tbnz	w9, #2, LBB0_129
; %bb.139:                              ;   in Loop: Header=BB0_128 Depth=3
	add	x0, x21, #16
	orr	w9, w24, #0x1
	lsr	w8, w8, w9
	tbnz	w8, #0, LBB0_132
; %bb.140:                              ;   in Loop: Header=BB0_128 Depth=3
	mov	w9, #1
LBB0_141:                               ;   in Loop: Header=BB0_128 Depth=3
	lsr	w8, w23, w9
	ldr	w3, [sp, #48]                   ; 4-byte Folded Reload
	tbz	w8, #2, LBB0_145
LBB0_142:                               ;   in Loop: Header=BB0_128 Depth=3
	cbz	w3, LBB0_144
; %bb.143:                              ;   in Loop: Header=BB0_128 Depth=3
	ldr	w1, [x20, #28]
	mov	w2, #1
	bl	_rv30_weak_loop_filter
LBB0_144:                               ;   in Loop: Header=BB0_128 Depth=3
	cbnz	w22, LBB0_123
LBB0_145:                               ;   in Loop: Header=BB0_128 Depth=3
	ldr	x8, [x20, #8]
	ldr	w8, [x8, x27, lsl #2]
	mov	w22, #4
	b	LBB0_128
LBB0_146:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_rv30_loop_filt_lim,8,3         ; @rv30_loop_filt_lim
	.no_dead_strip	_rv30_loop_filter
.subsections_via_symbols
