	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v_block_filter
_v_block_filter:                        ## @v_block_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	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%r8d, %r15d
	movl	%ecx, %r14d
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, -240(%rbp)                ## 8-byte Spill
	movq	_ff_crop_tab@GOTPCREL(%rip), %rax
	movq	_MAX_NEG_CROP@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	-60(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	callq	_set_mv_strides
	movl	-60(%rbp), %eax
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	sarl	%cl, %eax
	movl	%eax, -60(%rbp)
	imull	-56(%rbp), %eax
	movl	%eax, -56(%rbp)
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	cmpl	$2, %r14d
	jl	LBB0_20
## %bb.1:
	decl	-68(%rbp)                       ## 4-byte Folded Spill
	leal	(,%r15,8), %esi
	movl	%esi, %eax
	subl	%r15d, %eax
	leal	(%r15,%r15), %ecx
	leal	(%rcx,%rcx,2), %r8d
	leal	(%r15,%r15,8), %r9d
	leal	(%r15,%r15,4), %edi
	movl	%r15d, %ebx
	shll	$2, %ebx
	leal	(%rcx,%rcx,4), %ecx
	leal	(%r15,%rdi,2), %edx
	cltq
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movslq	%r8d, %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movl	%esi, -100(%rbp)                ## 4-byte Spill
	movslq	%esi, %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movslq	%r9d, %rax
	movq	%rax, -208(%rbp)                ## 8-byte Spill
	movslq	%edi, %rax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movslq	%ebx, %rax
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rax
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movslq	%edx, %rax
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movq	%rax, -248(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	cmpl	-68(%rbp), %ecx                 ## 4-byte Folded Reload
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %edx
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	shrl	%cl, %edx
	movl	%edx, -108(%rbp)                ## 4-byte Spill
	leal	1(%rax), %edx
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	movl	%edx, -104(%rbp)                ## 4-byte Spill
	movl	-100(%rbp), %ecx                ## 4-byte Reload
	imull	%eax, %ecx
	movl	%ecx, -80(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=2
	movq	-128(%rbp), %rax                ## 8-byte Reload
	incq	%rax
	addl	$8, -80(%rbp)                   ## 4-byte Folded Spill
	cmpq	-248(%rbp), %rax                ## 8-byte Folded Reload
	je	LBB0_18
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%eax, %r15d
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %r15d
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	(%rbx), %rax
	movl	8(%rbx), %ecx
	movl	%ecx, %edx
	imull	-108(%rbp), %edx                ## 4-byte Folded Reload
	addl	%r15d, %edx
	movslq	%edx, %rdx
	movl	(%rax,%rdx,4), %r13d
	movl	-104(%rbp), %r12d               ## 4-byte Reload
	imull	%r12d, %ecx
	addl	%r15d, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %r14d
	movq	24(%rbx), %rax
	movl	(%rax,%rdx,4), %edi
	callq	_IS_INTRA
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	24(%rbx), %rax
	movl	8(%rbx), %ecx
	imull	%r12d, %ecx
	addl	%r15d, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_IS_INTRA
	movq	_ER_MB_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	movl	%r13d, %ecx
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	orl	%r14d, %ecx
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	testl	%ecx, %edx
	je	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	orl	%eax, -52(%rbp)                 ## 4-byte Folded Spill
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movl	-56(%rbp), %ecx
	movl	%ecx, %edx
	imull	-96(%rbp), %edx                 ## 4-byte Folded Reload
	movl	-60(%rbp), %esi
	imull	-128(%rbp), %esi                ## 4-byte Folded Reload
	addl	%esi, %edx
	movslq	%edx, %rdx
	movq	(%rax,%rdx,8), %r15
	imull	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	addl	%esi, %ecx
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rbx
	movl	(%r15), %edi
	subl	(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	addl	4(%r15), %edi
	callq	_FFABS
	addl	%r14d, %eax
	cmpl	$2, %eax
	jl	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=2
	movslq	-80(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	addq	%rax, %rcx
	movq	-240(%rbp), %rdx                ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -280(%rbp)                ## 8-byte Spill
	movq	-184(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -272(%rbp)                ## 8-byte Spill
	movq	-192(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -264(%rbp)                ## 8-byte Spill
	movq	-200(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -256(%rbp)                ## 8-byte Spill
	movq	-208(%rbp), %rcx                ## 8-byte Reload
	leaq	(%rcx,%rax), %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movq	-216(%rbp), %rcx                ## 8-byte Reload
	addq	%rax, %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movq	-224(%rbp), %rcx                ## 8-byte Reload
	addq	%rax, %rcx
	leaq	(%rdx,%rcx,4), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	addq	-232(%rbp), %rax                ## 8-byte Folded Reload
	leaq	(%rdx,%rax,4), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, -84(%rbp)                 ## 4-byte Folded Reload
	setne	%al
	testl	%ecx, -88(%rbp)                 ## 4-byte Folded Reload
	setne	%cl
	andb	%al, %cl
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=3
	addq	$4, %r14
	cmpq	$32, %r14
	je	LBB0_17
LBB0_9:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r14), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movq	-152(%rbp), %rax                ## 8-byte Reload
	subl	(%rax,%r14), %ebx
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r14), %r13d
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movl	(%rax,%r14), %r15d
	subl	%r13d, %r15d
	movl	%r13d, %edi
	subl	%ecx, %edi
	callq	_FFABS
	movl	%eax, %r12d
	movl	%ebx, %edi
	callq	_FFABS
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_FFABS
                                        ## kill: def $eax killed $eax def $rax
	addl	%ebx, %eax
	incl	%eax
	sarl	%eax
	subl	%eax, %r12d
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %ecx
	negl	%ecx
	cmpl	-52(%rbp), %r13d                ## 4-byte Folded Reload
	cmovnsl	%eax, %ecx
	testl	%ecx, %ecx
	je	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	shll	$4, %ecx
	movslq	%ecx, %rax
	imulq	$954437177, %rax, %rcx          ## imm = 0x38E38E39
	movq	%rcx, %rax
	shrq	$63, %rax
	sarq	$33, %rcx
	addl	%eax, %ecx
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -88(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	leal	(,%rcx,8), %edx
	subl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	(%rsi,%rdx,4), %eax
	movl	%eax, (%rdi,%r14)
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	leal	(%rcx,%rcx,4), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movl	(%rsi,%rdx,4), %eax
	movl	%eax, (%rdi,%r14)
	movq	-256(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	leal	(%rcx,%rcx,2), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movl	(%rsi,%rdx,4), %eax
	movl	%eax, (%rdi,%r14)
	movq	-264(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	movl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movl	(%rsi,%rdx,4), %eax
	movl	%eax, (%rdi,%r14)
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -84(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	leal	(,%rcx,8), %edx
	subl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	subq	%rdx, %rax
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	(%rsi,%rax,4), %eax
	movl	%eax, (%rdi,%r14)
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	leal	(%rcx,%rcx,4), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	subq	%rdx, %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, (%rdi,%r14)
	movq	-272(%rbp), %rdi                ## 8-byte Reload
	movslq	(%rdi,%r14), %rax
	leal	(%rcx,%rcx,2), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	subq	%rdx, %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, (%rdi,%r14)
	movq	-280(%rbp), %rdx                ## 8-byte Reload
	movslq	(%rdx,%r14), %rax
	sarl	$4, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %rax
	movl	(%rsi,%rax,4), %eax
	movl	%eax, (%rdx,%r14)
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, %ecx
	jmp	LBB0_19
LBB0_20:
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ff_crop_tab,8,3                ## @ff_crop_tab
	.comm	_MAX_NEG_CROP,4,2               ## @MAX_NEG_CROP
	.comm	_ER_MB_ERROR,4,2                ## @ER_MB_ERROR
	.no_dead_strip	_v_block_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v_block_filter
_v_block_filter:                        ; @v_block_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #304
	.cfi_def_cfa_offset 304
	stp	x28, x27, [sp, #208]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #224]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #240]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #256]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #272]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #288]            ; 16-byte Folded Spill
	add	x29, sp, #288
	.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	x21, x5
	mov	x23, x4
	mov	x24, x3
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	str	x1, [sp, #88]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _ff_crop_tab@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ff_crop_tab@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _MAX_NEG_CROP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NEG_CROP@GOTPAGEOFF]
Lloh5:
	ldrsw	x20, [x8]
	sub	x1, x29, #92
	sub	x2, x29, #96
	str	x0, [sp, #120]                  ; 8-byte Folded Spill
	bl	_set_mv_strides
	ldp	w9, w8, [x29, #-96]
	str	w21, [sp, #116]                 ; 4-byte Folded Spill
	asr	w8, w8, w21
	stur	w8, [x29, #-92]
	mul	w8, w9, w8
	stur	w8, [x29, #-96]
	cmp	w24, #2
	b.lt	LBB0_18
; %bb.1:
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
	add	x27, x19, x20, lsl #2
	sub	w8, w24, #1
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	lsl	w15, w23, #3
	sub	w8, w15, w23
	add	w9, w23, w23, lsl #1
	lsl	w9, w9, #1
	add	w10, w15, w23
	lsl	w11, w23, #2
	add	w12, w11, w23
	lsl	w13, w12, #1
	mov	w14, #11
	mul	w14, w23, w14
	sxtw	x8, w8
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	sxtw	x8, w9
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	str	x15, [sp]                       ; 8-byte Folded Spill
	sxtw	x9, w15
	sxtw	x8, w10
	stp	x8, x9, [sp, #56]               ; 16-byte Folded Spill
	sxtw	x9, w12
	sxtw	x8, w11
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
	sxtw	x9, w13
	sxtw	x8, w14
	stp	x8, x9, [sp, #24]               ; 16-byte Folded Spill
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	mov	w8, w8
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w9, w8
	b.eq	LBB0_18
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, #0
	b.le	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	ldr	w8, [sp, #116]                  ; 4-byte Folded Reload
	ldr	w9, [sp, #20]                   ; 4-byte Folded Reload
	lsr	w10, w9, w8
	str	w10, [sp, #112]                 ; 4-byte Folded Spill
	add	w10, w9, #1
	str	w10, [sp, #16]                  ; 4-byte Folded Spill
	lsr	w8, w10, w8
	str	w8, [sp, #108]                  ; 4-byte Folded Spill
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	mul	w8, w8, w9
	str	x8, [sp, #136]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldp	x11, x8, [sp, #128]             ; 16-byte Folded Reload
	add	x11, x11, #1
	add	w8, w8, #8
	str	x8, [sp, #136]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	cmp	x11, x8
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x22, [sp, #120]                 ; 8-byte Folded Reload
	ldr	x8, [x22]
	ldp	w10, w9, [sp, #112]             ; 8-byte Folded Reload
	str	x11, [sp, #128]                 ; 8-byte Folded Spill
	lsr	w19, w11, w9
	ldr	w9, [x22, #8]
	madd	w10, w9, w10, w19
	sbfiz	x10, x10, #2, #32
	ldr	w20, [x8, x10]
	ldr	w24, [sp, #108]                 ; 4-byte Folded Reload
	madd	w9, w9, w24, w19
	ldr	w21, [x8, w9, sxtw #2]
	ldr	x8, [x22, #24]
	ldr	w0, [x8, x10]
	bl	_IS_INTRA
	mov	x23, x0
	ldr	x8, [x22, #24]
	ldr	w9, [x22, #8]
	madd	w9, w9, w24, w19
	ldr	w0, [x8, w9, sxtw #2]
	bl	_IS_INTRA
Lloh6:
	adrp	x8, _ER_MB_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ER_MB_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	and	w9, w8, w20
	and	w8, w8, w21
	stp	w8, w9, [x29, #-104]            ; 8-byte Folded Spill
	orr	w8, w9, w8
	cbz	w8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	orr	w8, w23, w0
	cbnz	w8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	ldp	x8, x11, [sp, #120]             ; 16-byte Folded Reload
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldp	w9, w10, [x29, #-96]
	mul	w10, w10, w11
	ldr	w11, [sp, #20]                  ; 4-byte Folded Reload
	madd	w11, w9, w11, w10
	ldr	x19, [x8, w11, sxtw #3]
	ldr	w11, [sp, #16]                  ; 4-byte Folded Reload
	madd	w9, w9, w11, w10
	ldr	x20, [x8, w9, sxtw #3]
	ldr	w8, [x19]
	ldr	w9, [x20]
	sub	w0, w8, w9
	bl	_FFABS
	mov	x23, x0
	ldr	w8, [x19, #4]
	ldr	w9, [x20, #4]
	add	w0, w9, w8
	bl	_FFABS
	add	w8, w0, w23
	cmp	w8, #2
	b.lt	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x22, #0
	ldr	x8, [sp, #136]                  ; 8-byte Folded Reload
	sxtw	x8, w8
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	ldr	x10, [sp, #88]                  ; 8-byte Folded Reload
	add	x9, x10, x9, lsl #2
	stur	x9, [x29, #-120]                ; 8-byte Folded Spill
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	add	x9, x10, x9, lsl #2
	stur	x9, [x29, #-128]                ; 8-byte Folded Spill
	ldr	x9, [sp, #40]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	add	x9, x10, x9, lsl #2
	stur	x9, [x29, #-136]                ; 8-byte Folded Spill
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	add	x9, x10, x9, lsl #2
	str	x9, [sp, #144]                  ; 8-byte Folded Spill
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	add	x28, x10, x9, lsl #2
	ldr	x9, [sp, #64]                   ; 8-byte Folded Reload
	add	x9, x9, x8
	add	x19, x10, x9, lsl #2
	ldp	x9, x11, [sp, #72]              ; 16-byte Folded Reload
	add	x9, x9, x8
	add	x8, x11, x8
	add	x21, x10, x9, lsl #2
	ldur	w9, [x29, #-100]                ; 4-byte Folded Reload
	cmp	w9, #0
	ldur	w9, [x29, #-104]                ; 4-byte Folded Reload
	ccmp	w9, #0, #4, ne
	cset	w9, ne
	stur	w9, [x29, #-108]                ; 4-byte Folded Spill
	add	x20, x10, x8, lsl #2
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=3
	add	x22, x22, #4
	cmp	x22, #32
	b.eq	LBB0_6
LBB0_12:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x20, x22]
	ldr	w9, [x21, x22]
	sub	w23, w8, w9
	ldr	w9, [x19, x22]
	sub	w24, w9, w8
	ldr	w8, [x28, x22]
	sub	w25, w8, w9
	mov	x0, x24
	bl	_FFABS
	mov	x26, x0
	mov	x0, x23
	bl	_FFABS
	mov	x23, x0
	mov	x0, x25
	bl	_FFABS
	add	w8, w23, w0
	add	w8, w8, #1
	sub	w0, w26, w8, asr #1
	mov	w1, #0
	bl	_FFMAX
	cmp	w24, #0
	cneg	w8, w0, lt
	cbz	w8, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	lsl	w9, w8, #4
	mov	w10, #36409
	movk	w10, #14563, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #33
	add	w9, w9, w10
	ldur	w10, [x29, #-108]               ; 4-byte Folded Reload
	tst	w10, #0x1
	csel	w8, w8, w9, ne
	lsl	w9, w8, #3
	ldur	w10, [x29, #-100]               ; 4-byte Folded Reload
	cbz	w10, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	w10, [x20, x22]
	sub	w11, w9, w8
	add	w10, w10, w11, asr #4
	ldr	w10, [x27, w10, sxtw #2]
	str	w10, [x20, x22]
	ldr	w10, [x21, x22]
	add	w11, w8, w8, lsl #2
	add	w10, w10, w11, asr #4
	ldr	w10, [x27, w10, sxtw #2]
	str	w10, [x21, x22]
	ldr	x12, [sp, #144]                 ; 8-byte Folded Reload
	ldr	w10, [x12, x22]
	add	w11, w8, w8, lsl #1
	add	w10, w10, w11, asr #4
	ldr	w10, [x27, w10, sxtw #2]
	str	w10, [x12, x22]
	ldur	x11, [x29, #-136]               ; 8-byte Folded Reload
	ldr	w10, [x11, x22]
	add	w10, w10, w8, asr #4
	ldr	w10, [x27, w10, sxtw #2]
	str	w10, [x11, x22]
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=3
	ldur	w10, [x29, #-104]               ; 4-byte Folded Reload
	cbz	w10, LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	w10, [x19, x22]
	sub	w9, w9, w8
	sub	w9, w10, w9, asr #4
	ldr	w9, [x27, w9, sxtw #2]
	str	w9, [x19, x22]
	ldr	w9, [x28, x22]
	add	w10, w8, w8, lsl #2
	sub	w9, w9, w10, asr #4
	ldr	w9, [x27, w9, sxtw #2]
	str	w9, [x28, x22]
	ldur	x11, [x29, #-128]               ; 8-byte Folded Reload
	ldr	w9, [x11, x22]
	add	w10, w8, w8, lsl #1
	sub	w9, w9, w10, asr #4
	ldr	w9, [x27, w9, sxtw #2]
	str	w9, [x11, x22]
	ldur	x10, [x29, #-120]               ; 8-byte Folded Reload
	ldr	w9, [x10, x22]
	sub	w8, w9, w8, asr #4
	ldr	w8, [x27, w8, sxtw #2]
	str	w8, [x10, x22]
	b	LBB0_11
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	add	w9, w8, #1
	b	LBB0_3
LBB0_18:
	ldp	x29, x30, [sp, #288]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #272]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #256]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #240]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #224]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #304
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ff_crop_tab,8,3                ; @ff_crop_tab
	.comm	_MAX_NEG_CROP,4,2               ; @MAX_NEG_CROP
	.comm	_ER_MB_ERROR,4,2                ; @ER_MB_ERROR
	.no_dead_strip	_v_block_filter
.subsections_via_symbols
