	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function h_block_filter
_h_block_filter:                        ## @h_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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
                                        ## kill: def $r8d killed $r8d def $r8
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r14d
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%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, -152(%rbp)                ## 8-byte Spill
	leaq	-68(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%rdi, -136(%rbp)                ## 8-byte Spill
	callq	_set_mv_strides
	movl	-68(%rbp), %eax
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	sarl	%cl, %eax
	movl	%eax, -68(%rbp)
	imull	-64(%rbp), %eax
	movl	%eax, -64(%rbp)
	movl	%r14d, -112(%rbp)               ## 4-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_18
## %bb.1:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	addl	$-2, %eax
	movl	%eax, -116(%rbp)                ## 4-byte Spill
	movq	-160(%rbp), %rax                ## 8-byte Reload
	leal	(,%rax,8), %eax
	movl	%eax, -108(%rbp)                ## 4-byte Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$11, -52(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	addl	-108(%rbp), %ecx                ## 4-byte Folded Reload
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	cmpl	-112(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_8 Depth 3
	cmpl	$2, -128(%rbp)                  ## 4-byte Folded Reload
	jl	LBB0_17
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %eax
	movl	%eax, -120(%rbp)                ## 4-byte Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=2
	addl	$8, -76(%rbp)                   ## 4-byte Folded Spill
	movq	-144(%rbp), %rax                ## 8-byte Reload
	cmpl	-116(%rbp), %eax                ## 4-byte Folded Reload
	je	LBB0_17
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_8 Depth 3
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %edi
	movl	-72(%rbp), %ecx                 ## 4-byte Reload
	shrl	%cl, %eax
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movl	8(%r14), %edx
	movl	-120(%rbp), %r12d               ## 4-byte Reload
	imull	%r12d, %edx
	addl	%edx, %eax
	cltq
	movq	(%r14), %rsi
	movq	24(%r14), %r8
	movl	(%rsi,%rax,4), %r13d
	movq	%rdi, %rbx
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	leal	1(%rdi), %ebx
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %ebx
	addl	%ebx, %edx
	movslq	%edx, %rcx
	movl	(%rsi,%rcx,4), %r15d
	movl	(%r8,%rax,4), %edi
	callq	_IS_INTRA
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	24(%r14), %rax
	movl	8(%r14), %ecx
	imull	%r12d, %ecx
	addl	%ebx, %ecx
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_IS_INTRA
	movq	_ER_MB_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r13d, -84(%rbp)                ## 4-byte Spill
	movl	%r13d, %ecx
	movl	%r15d, -80(%rbp)                ## 4-byte Spill
	orl	%r15d, %ecx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	testl	%ecx, %edx
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	orl	%eax, -104(%rbp)                ## 4-byte Folded Spill
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rax
	movq	(%rax), %rax
	movl	-64(%rbp), %ecx
	imull	-48(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	-68(%rbp), %edx
	movl	%edx, %esi
	imull	-144(%rbp), %esi                ## 4-byte Folded Reload
	addl	%ecx, %esi
	movslq	%esi, %rsi
	movq	(%rax,%rsi,8), %r14
	imull	-56(%rbp), %edx                 ## 4-byte Folded Reload
	addl	%ecx, %edx
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %rbx
	movl	(%r14), %edi
	subl	(%rbx), %edi
	callq	_FFABS
	movl	%eax, %r15d
	movl	4(%rbx), %edi
	addl	4(%r14), %edi
	callq	_FFABS
	addl	%r15d, %eax
	cmpl	$2, %eax
	jl	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, -80(%rbp)                 ## 4-byte Folded Reload
	setne	%al
	testl	%ecx, -84(%rbp)                 ## 4-byte Folded Reload
	setne	%cl
	andb	%al, %cl
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	movl	$8, %ecx
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %ebx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=3
	addl	-160(%rbp), %ebx                ## 4-byte Folded Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	decq	%rcx
	je	LBB0_16
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, -200(%rbp)                ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	leal	-4(%rbx), %eax
	cltq
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movl	(%rcx,%rax,4), %r13d
	leal	-5(%rbx), %eax
	cltq
	movl	%r13d, %r15d
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	subl	(%rcx,%rax,4), %r15d
	leal	-3(%rbx), %eax
	cltq
	movq	%rax, -184(%rbp)                ## 8-byte Spill
	movl	(%rcx,%rax,4), %r14d
	leal	-2(%rbx), %eax
	cltq
	movq	%rax, -192(%rbp)                ## 8-byte Spill
	movl	(%rcx,%rax,4), %ebx
	subl	%r14d, %ebx
	movl	%r14d, %edi
	subl	%r13d, %edi
	callq	_FFABS
	movl	%eax, %r12d
	movl	%r15d, %edi
	callq	_FFABS
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_FFABS
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %eax
	incl	%eax
	sarl	%eax
	subl	%eax, %r12d
	movl	%r12d, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movq	-200(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, %ecx
	negl	%ecx
	cmpl	%r13d, %r14d
	cmovnsl	%eax, %ecx
	testl	%ecx, %ecx
	je	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=3
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 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_11:                                ##   in Loop: Header=BB0_8 Depth=3
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -84(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=3
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-168(%rbp), %rsi                ## 8-byte Reload
	movslq	(%rdi,%rsi,4), %rax
	leal	(,%rcx,8), %edx
	subl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movq	-152(%rbp), %r8                 ## 8-byte Reload
	movl	(%r8,%rdx,4), %eax
	movl	%eax, (%rdi,%rsi,4)
	movq	-176(%rbp), %rsi                ## 8-byte Reload
	movslq	(%rdi,%rsi,4), %rax
	leal	(%rcx,%rcx,4), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	addq	%rax, %rdx
	movl	(%r8,%rdx,4), %eax
	movl	%eax, (%rdi,%rsi,4)
	leal	-6(%rbx), %eax
	cltq
	movslq	(%rdi,%rax,4), %rdx
	leal	(%rcx,%rcx,2), %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	addq	%rdx, %rsi
	movl	(%r8,%rsi,4), %edx
	movl	%edx, (%rdi,%rax,4)
	leal	-7(%rbx), %eax
	cltq
	movslq	(%rdi,%rax,4), %rdx
	movl	%ecx, %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	addq	%rdx, %rsi
	movl	(%r8,%rsi,4), %edx
	movl	%edx, (%rdi,%rax,4)
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=3
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, -80(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=3
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	movslq	(%rdi,%rsi,4), %rax
	leal	(,%rcx,8), %edx
	subl	%ecx, %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	subq	%rdx, %rax
	movq	-152(%rbp), %r8                 ## 8-byte Reload
	movl	(%r8,%rax,4), %eax
	movl	%eax, (%rdi,%rsi,4)
	movq	-192(%rbp), %rsi                ## 8-byte Reload
	movslq	(%rdi,%rsi,4), %rax
	leal	(%rcx,%rcx,4), %edx
	sarl	$4, %edx
	movslq	%edx, %rdx
	subq	%rdx, %rax
	movl	(%r8,%rax,4), %eax
	movl	%eax, (%rdi,%rsi,4)
	leal	-1(%rbx), %eax
	cltq
	movslq	(%rdi,%rax,4), %rdx
	leal	(%rcx,%rcx,2), %esi
	sarl	$4, %esi
	movslq	%esi, %rsi
	subq	%rsi, %rdx
	movl	(%r8,%rdx,4), %edx
	movl	%edx, (%rdi,%rax,4)
	movslq	%ebx, %rax
	movslq	(%rdi,%rax,4), %rdx
	sarl	$4, %ecx
	movslq	%ecx, %rcx
	subq	%rcx, %rdx
	movl	(%r8,%rdx,4), %ecx
	movl	%ecx, (%rdi,%rax,4)
	jmp	LBB0_15
LBB0_18:
	addq	$168, %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	_h_block_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function h_block_filter
_h_block_filter:                        ; @h_block_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	str	w4, [sp, #76]                   ; 4-byte Folded Spill
	mov	x22, x3
	str	w2, [sp, #8]                    ; 4-byte Folded Spill
	mov	x23, x1
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, #84
	add	x2, sp, #88
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
	bl	_set_mv_strides
	ldur	w8, [x29, #-84]
	str	w21, [sp, #28]                  ; 4-byte Folded Spill
	asr	w8, w8, w21
	stur	w8, [x29, #-84]
	ldr	w9, [sp, #88]
	mul	w8, w9, w8
	str	w8, [sp, #88]
	str	w22, [sp, #4]                   ; 4-byte Folded Spill
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.1:
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	sub	w8, w8, #2
	stp	wzr, w8, [sp, #16]              ; 8-byte Folded Spill
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	lsl	w8, w8, #3
	str	w8, [sp]                        ; 4-byte Folded Spill
	mov	w8, #11
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	x8, x19, x20, lsl #2
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	w10, w9, [sp, #12]              ; 8-byte Folded Reload
	add	w9, w9, #1
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	add	w10, w10, w8
	stp	w10, w9, [sp, #12]              ; 8-byte Folded Spill
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	cmp	w9, w8
	b.eq	LBB0_16
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w12, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	ldr	w9, [sp, #16]                   ; 4-byte Folded Reload
	lsr	w8, w9, w8
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldp	w9, w8, [sp, #44]               ; 8-byte Folded Reload
	add	w8, w8, #8
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w9, w8
	ldr	w12, [sp, #40]                  ; 4-byte Folded Reload
	b.eq	LBB0_2
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
	ldr	x22, [sp, #32]                  ; 8-byte Folded Reload
	ldr	x8, [x22]
	ldp	w24, w11, [sp, #24]             ; 8-byte Folded Reload
	lsr	w9, w12, w11
	ldr	w10, [x22, #8]
	mul	w10, w10, w24
	add	w9, w10, w9
	sbfiz	x9, x9, #2, #32
	ldr	w19, [x8, x9]
	str	w12, [sp, #44]                  ; 4-byte Folded Spill
	add	w12, w12, #1
	str	w12, [sp, #40]                  ; 4-byte Folded Spill
	lsr	w20, w12, w11
	add	w10, w10, w20
	ldr	w21, [x8, w10, sxtw #2]
	ldr	x8, [x22, #24]
	ldr	w0, [x8, x9]
	bl	_IS_INTRA
	mov	x25, x0
	ldr	x8, [x22, #24]
	ldr	w9, [x22, #8]
	madd	w9, w9, w24, w20
	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, w19
	and	w8, w8, w21
	stp	w8, w9, [sp, #56]               ; 8-byte Folded Spill
	orr	w8, w9, w8
	cbz	w8, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	orr	w8, w25, w0
	cbnz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	w9, [sp, #88]
	ldr	w10, [sp, #16]                  ; 4-byte Folded Reload
	mul	w9, w9, w10
	ldur	w10, [x29, #-84]
	ldr	w11, [sp, #44]                  ; 4-byte Folded Reload
	madd	w11, w10, w11, w9
	ldr	x19, [x8, w11, sxtw #3]
	ldr	w11, [sp, #40]                  ; 4-byte Folded Reload
	madd	w9, w10, w11, w9
	ldr	x20, [x8, w9, sxtw #3]
	ldr	w8, [x19]
	ldr	w9, [x20]
	sub	w0, w8, w9
	bl	_FFABS
	mov	x25, x0
	ldr	w8, [x19, #4]
	ldr	w9, [x20, #4]
	add	w0, w9, w8
	bl	_FFABS
	add	w8, w0, w25
	cmp	w8, #2
	b.lt	LBB0_5
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	ldr	w8, [sp, #60]                   ; 4-byte Folded Reload
	cmp	w8, #0
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	ccmp	w8, #0, #4, ne
	cset	w8, ne
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
	mov	w20, #8
	ldr	w24, [sp, #48]                  ; 4-byte Folded Reload
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	ldr	w8, [sp, #76]                   ; 4-byte Folded Reload
	add	w24, w24, w8
	subs	x20, x20, #1
	b.eq	LBB0_5
LBB0_11:                                ;   Parent Loop BB0_3 Depth=1
                                        ;     Parent Loop BB0_6 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	sub	w19, w24, #4
	ldr	w8, [x23, w19, sxtw #2]
	sub	w21, w24, #5
	ldr	w9, [x23, w21, sxtw #2]
	sub	w22, w24, #3
	ldr	w10, [x23, w22, sxtw #2]
	sub	w25, w8, w9
	sub	w26, w10, w8
	sub	w8, w24, #2
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	ldr	w8, [x23, w8, sxtw #2]
	sub	w27, w8, w10
	mov	x0, x26
	bl	_FFABS
	mov	x28, x0
	mov	x0, x25
	bl	_FFABS
	mov	x25, x0
	mov	x0, x27
	bl	_FFABS
	add	w8, w25, w0
	add	w8, w8, #1
	sub	w0, w28, w8, asr #1
	mov	w1, #0
	bl	_FFMAX
	cmp	w26, #0
	cneg	w8, w0, lt
	cbz	w8, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 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
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
	tst	w10, #0x1
	csel	w8, w8, w9, ne
	lsl	w9, w8, #3
	ldr	w10, [sp, #60]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=3
	sxtw	x10, w19
	lsl	x10, x10, #2
	ldr	w11, [x23, x10]
	sub	w12, w9, w8
	add	w11, w11, w12, asr #4
	ldr	x13, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w11, [x13, w11, sxtw #2]
	str	w11, [x23, x10]
	sxtw	x10, w21
	lsl	x10, x10, #2
	ldr	w11, [x23, x10]
	add	w12, w8, w8, lsl #2
	add	w11, w11, w12, asr #4
	ldr	w11, [x13, w11, sxtw #2]
	str	w11, [x23, x10]
	sub	w10, w24, #6
	sbfiz	x10, x10, #2, #32
	ldr	w11, [x23, x10]
	add	w12, w8, w8, lsl #1
	add	w11, w11, w12, asr #4
	ldr	w11, [x13, w11, sxtw #2]
	str	w11, [x23, x10]
	sub	w10, w24, #7
	sbfiz	x10, x10, #2, #32
	ldr	w11, [x23, x10]
	add	w11, w11, w8, asr #4
	ldr	w11, [x13, w11, sxtw #2]
	str	w11, [x23, x10]
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=3
	ldr	w10, [sp, #56]                  ; 4-byte Folded Reload
	cbz	w10, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=3
	sxtw	x10, w22
	lsl	x10, x10, #2
	ldr	w11, [x23, x10]
	sub	w9, w9, w8
	sub	w9, w11, w9, asr #4
	ldr	x12, [sp, #64]                  ; 8-byte Folded Reload
	ldr	w9, [x12, w9, sxtw #2]
	str	w9, [x23, x10]
	ldr	x9, [sp, #80]                   ; 8-byte Folded Reload
	sxtw	x9, w9
	lsl	x9, x9, #2
	ldr	w10, [x23, x9]
	add	w11, w8, w8, lsl #2
	sub	w10, w10, w11, asr #4
	ldr	w10, [x12, w10, sxtw #2]
	str	w10, [x23, x9]
	sub	w9, w24, #1
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x23, x9]
	add	w11, w8, w8, lsl #1
	sub	w10, w10, w11, asr #4
	ldr	w10, [x12, w10, sxtw #2]
	str	w10, [x23, x9]
	sbfiz	x9, x24, #2, #32
	ldr	w10, [x23, x9]
	sub	w8, w10, w8, asr #4
	ldr	w8, [x12, w8, sxtw #2]
	str	w8, [x23, x9]
	b	LBB0_10
LBB0_16:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	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	_h_block_filter
.subsections_via_symbols
