	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doHorizDefFilter_C
_doHorizDefFilter_C:                    ## @doHorizDefFilter_C
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_BLOCK_SIZE@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_8
## %bb.1:
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movslq	%esi, %rax
	addq	$28, %rbx
	shlq	$2, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_FFMIN
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_FFMAX
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	_BLOCK_SIZE@GOTPCREL(%rip), %r13
	subl	%eax, -16(%rbx)
	addl	%eax, -12(%rbx)
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r14d
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	cmpl	(%r13), %r14d
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-20(%rbx), %eax
	movl	-12(%rbx), %ecx
	subl	-16(%rbx), %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	-8(%rbx), %eax
	leal	(%rcx,%rax,2), %r15d
	movl	%r15d, %edi
	callq	_FFABS
	movl	(%r12), %ecx
	shll	$3, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-16(%rbx), %ecx
	movl	-12(%rbx), %eax
	movl	-28(%rbx), %edx
	subl	%ecx, %edx
	subl	%eax, %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r12d
	shrl	$31, %r12d
	addl	%ecx, %r12d
	sarl	%r12d
	movl	-20(%rbx), %ecx
	subl	-24(%rbx), %ecx
	leal	(%rcx,%rcx,4), %ecx
	leal	(%rcx,%rdx,2), %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	-4(%rbx), %ecx
	subl	-8(%rbx), %ecx
	leal	(%rcx,%rcx,4), %ecx
	subl	(%rbx), %eax
	leal	(%rcx,%rax,2), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%r15d, %edi
	callq	_FFABS
	movl	%eax, %r13d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_FFABS
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_FFABS
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_FFMIN
	subl	%eax, %r13d
	movl	%r13d, %edi
	xorl	%esi, %esi
	callq	_FFMAX
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,4), %r13d
	addl	$32, %r13d
	sarl	$6, %r13d
	negl	%r15d
	movl	%r15d, %edi
	callq	_FFSIGN
	imull	%r13d, %eax
	cmpl	$2, -52(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %edi
	movl	%r12d, %esi
	callq	_FFMIN
	jmp	LBB0_6
LBB0_8:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_SIZE,4,2                 ## @BLOCK_SIZE
	.no_dead_strip	_doHorizDefFilter_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doHorizDefFilter_C
_doHorizDefFilter_C:                    ; @doHorizDefFilter_C
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x19, _BLOCK_SIZE@GOTPAGE
Lloh1:
	ldr	x19, [x19, _BLOCK_SIZE@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x28, x2
	mov	w26, #0
	add	x27, x0, #16
	sbfiz	x22, x1, #2, #32
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	bl	_FFMIN
	mov	x1, x21
	bl	_FFMAX
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	ldur	w8, [x27, #-4]
	sub	w8, w8, w0
	stur	w8, [x27, #-4]
	ldr	w8, [x27]
	add	w8, w8, w0
	str	w8, [x27]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w26, w26, #1
	ldr	w8, [x19]
	add	x27, x27, x22
	cmp	w26, w8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w9, w8, [x27, #-8]
	ldp	w10, w11, [x27]
	sub	w8, w10, w8
	add	w8, w8, w8, lsl #2
	sub	w9, w9, w11
	add	w20, w8, w9, lsl #1
	mov	x0, x20
	bl	_FFABS
	ldr	w8, [x28]
	cmp	w0, w8, lsl #3
	b.ge	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldp	w9, w8, [x27, #-8]
	ldp	w11, w10, [x27, #-16]
	sub	w9, w9, w10
	ldp	w10, w12, [x27]
	sub	w25, w8, w10
	cmp	w25, #0
	add	w9, w9, w9, lsl #2
	sub	w8, w11, w8
	add	w22, w9, w8, lsl #1
	ldp	w8, w9, [x27, #8]
	sub	w8, w8, w12
	cinc	w11, w25, lt
	asr	w21, w11, #1
	add	w8, w8, w8, lsl #2
	sub	w9, w10, w9
	add	w23, w8, w9, lsl #1
	mov	x0, x20
	bl	_FFABS
	mov	x24, x0
	mov	x0, x22
	bl	_FFABS
	mov	x22, x0
	mov	x0, x23
	bl	_FFABS
	mov	x1, x0
	mov	x0, x22
	bl	_FFMIN
	sub	w0, w24, w0
	mov	w1, #0
	bl	_FFMAX
	add	w8, w0, w0, lsl #2
	add	w8, w8, #32
	asr	w22, w8, #6
	neg	w0, w20
	bl	_FFSIGN
	mul	w0, w22, w0
	cmp	w25, #2
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #0
	bl	_FFMAX
	mov	x1, x21
	bl	_FFMIN
	b	LBB0_3
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_SIZE,4,2                 ; @BLOCK_SIZE
	.no_dead_strip	_doHorizDefFilter_C
.subsections_via_symbols
