	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function filter_row
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_row:                            ## @filter_row
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movss	%xmm1, -52(%rbp)                ## 4-byte Spill
	movss	%xmm0, -48(%rbp)                ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%esi, %esi
	jle	LBB0_10
## %bb.1:
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%r9d, %eax
	addl	%r9d, %r9d
	leal	(%rax,%rax), %ecx
	incl	%ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %ecx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%r9, -64(%rbp)                  ## 8-byte Spill
                                        ## kill: def $r9d killed $r9d killed $r9 def $r9
	andl	$-4, %r9d
	andl	$1, %eax
	leaq	4(,%rax,8), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	mulss	-48(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	-52(%rbp), %xmm0                ## 4-byte Folded Reload
	addss	LCPI0_0(%rip), %xmm0
	cvttss2si	%xmm0, %edi
	movq	%r9, %rbx
	callq	_av_clip_uint8
	movq	%rbx, %r9
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx,%r14,4)
	incq	%r14
	cmpq	-72(%rbp), %r14                 ## 8-byte Folded Reload
	je	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movl	$0, %eax
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$3, -64(%rbp)                   ## 4-byte Folded Reload
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r15,%rcx,8), %rdx
	movq	8(%r15,%rcx,8), %rsi
	movl	(%r12,%rcx,4), %edi
	movl	4(%r12,%rcx,4), %ebx
	imull	(%rdx,%r14,4), %edi
	addl	%eax, %edi
	imull	(%rsi,%r14,4), %ebx
	addl	%edi, %ebx
	movq	16(%r15,%rcx,8), %rax
	movl	8(%r12,%rcx,4), %edx
	imull	(%rax,%r14,4), %edx
	movq	24(%r15,%rcx,8), %rsi
	movl	12(%r12,%rcx,4), %eax
	imull	(%rsi,%r14,4), %eax
	addl	%ebx, %edx
	addl	%edx, %eax
	addq	$4, %rcx
	cmpq	%rcx, %r9
	jne	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%rcx,4), %rdx
	leaq	(%r15,%rcx,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rsi,2), %rdi
	movl	(%rdx,%rsi), %ebx
	imull	(%rdi,%r14,4), %ebx
	addl	%ebx, %eax
	addq	$4, %rsi
	cmpq	%rsi, %r13
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_row
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_row
_filter_row:                            ; @filter_row
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-128]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	cmp	w1, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x5
	mov	x20, x3
	mov	x21, x2
	fmov	s8, s1
	fmov	s9, s0
	mov	x22, x0
	mov	x23, #0
	mov	w24, #1
	bfi	w24, w5, #1, #31
	mov	w25, w1
	sub	x26, x24, #1
	add	x27, x3, #8
	add	x28, x2, #4
	fmov	s10, #0.50000000
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	scvtf	s0, w8
	fmadd	s0, s0, s9, s8
	fadd	s0, s0, s10
	fcvtzs	w0, s0
	bl	_av_clip_uint8
	str	w0, [x22, x23, lsl #2]
	add	x23, x23, #1
	cmp	x23, x25
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;     Child Loop BB0_11 Depth 2
	cmp	w24, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w19, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
	mov	w9, #0
	mov	x10, x26
	mov	x11, x28
	mov	x12, x27
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	x13, x14, [x12, #-8]
	lsl	x15, x23, #2
	ldr	w13, [x13, x15]
	ldr	w14, [x14, x15]
	ldp	w15, w16, [x11, #-4]
	madd	w8, w15, w13, w8
	madd	w9, w16, w14, w9
	add	x12, x12, #16
	add	x11, x11, #8
	subs	x10, x10, #2
	b.ne	LBB0_7
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w9, w8
	mov	x11, x26
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x11, #0
	mov	w8, #0
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x21, x11, lsl #2
	sub	x10, x24, x11
	add	x11, x20, x11, lsl #3
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11], #8
	ldr	w12, [x12, x23, lsl #2]
	ldr	w13, [x9], #4
	madd	w8, w13, w12, w8
	subs	x10, x10, #1
	b.ne	LBB0_11
	b	LBB0_3
LBB0_12:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #128            ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_row
.subsections_via_symbols
