	.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_3x3
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_filter_3x3:                            ## @filter_3x3
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	(%rcx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	8(%rcx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	16(%rcx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	24(%rcx), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	32(%rcx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	40(%rcx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	48(%rcx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	56(%rcx), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	64(%rcx), %r15
	movl	%esi, %r12d
	shlq	$2, %r12
	xorl	%r13d, %r13d
	movss	%xmm1, -48(%rbp)                ## 4-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %eax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	imull	(%rcx,%r13), %eax
	movl	4(%rbx), %ecx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	imull	(%rdx,%r13), %ecx
	addl	%eax, %ecx
	movl	8(%rbx), %eax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	imull	(%rdx,%r13), %eax
	addl	%ecx, %eax
	movl	12(%rbx), %ecx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	imull	(%rdx,%r13), %ecx
	addl	%eax, %ecx
	movl	16(%rbx), %eax
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	imull	(%rdx,%r13), %eax
	addl	%ecx, %eax
	movl	20(%rbx), %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	imull	(%rdx,%r13), %ecx
	addl	%eax, %ecx
	movl	24(%rbx), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	imull	(%rdx,%r13), %eax
	addl	%ecx, %eax
	movl	28(%rbx), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	imull	(%rdx,%r13), %ecx
	addl	%eax, %ecx
	movl	32(%rbx), %eax
	imull	(%r15,%r13), %eax
	addl	%ecx, %eax
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
	mulss	%xmm0, %xmm2
	addss	%xmm1, %xmm2
	addss	LCPI0_0(%rip), %xmm2
	cvttss2si	%xmm2, %edi
	callq	_av_clip_uint8
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movl	%eax, (%r14,%r13)
	addq	$4, %r13
	cmpq	%r13, %r12
	jne	LBB0_2
LBB0_3:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_3x3
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_3x3
_filter_3x3:                            ; @filter_3x3
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x2
	fmov	s8, s1
	fmov	s9, s0
	mov	x24, x0
	mov	x21, #0
	ldr	x9, [x3]
	ldr	x8, [x3, #8]
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	ldp	x8, x25, [x3, #16]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldp	x26, x27, [x3, #32]
	ldp	x28, x20, [x3, #48]
	mov	w8, w1
	lsl	x22, x8, #2
	fmov	s10, #0.50000000
	ldr	x23, [x3, #64]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [sp, #16]               ; 16-byte Folded Reload
	ldr	w8, [x8, x21]
	ldr	w9, [x9, x21]
	ldp	w10, w11, [x19]
	mul	w8, w10, w8
	madd	w8, w11, w9, w8
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w9, [x9, x21]
	ldp	w10, w11, [x19, #8]
	madd	w8, w10, w9, w8
	ldr	w9, [x25, x21]
	madd	w8, w11, w9, w8
	ldr	w9, [x26, x21]
	ldp	w10, w11, [x19, #16]
	madd	w8, w10, w9, w8
	ldr	w9, [x27, x21]
	madd	w8, w11, w9, w8
	ldr	w9, [x28, x21]
	ldr	w10, [x20, x21]
	ldp	w11, w12, [x19, #24]
	madd	w8, w11, w9, w8
	madd	w8, w12, w10, w8
	ldr	w9, [x23, x21]
	ldr	w10, [x19, #32]
	madd	w8, w10, w9, w8
	scvtf	s0, w8
	fmadd	s0, s0, s9, s8
	fadd	s0, s0, s10
	fcvtzs	w0, s0
	bl	_av_clip_uint8
	str	w0, [x24, x21]
	add	x21, x21, #4
	cmp	x22, x21
	b.ne	LBB0_2
LBB0_3:
	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
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_3x3
.subsections_via_symbols
