	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_roberts
_filter_roberts:                        ## @filter_roberts
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	%rcx, %r12
	movaps	%xmm0, %xmm3
	movq	%rdi, %r14
	movl	%esi, %r15d
	xorl	%ebx, %ebx
	movss	%xmm1, -40(%rbp)                ## 4-byte Spill
	movss	%xmm0, -36(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movl	(%rax,%rbx,4), %eax
	subl	(%rcx,%rbx,4), %eax
	xorps	%xmm0, %xmm0
	cvtsi2ss	%eax, %xmm0
	movq	32(%r12), %rax
	movl	(%rax,%rbx,4), %eax
	movq	24(%r12), %rcx
	subl	(%rcx,%rbx,4), %eax
	xorps	%xmm2, %xmm2
	cvtsi2ss	%eax, %xmm2
	mulss	%xmm2, %xmm2
	mulss	%xmm0, %xmm0
	addss	%xmm2, %xmm0
	sqrtss	%xmm0, %xmm0
	mulss	%xmm3, %xmm0
	addss	%xmm1, %xmm0
	callq	_av_clip_uint8
	movss	-36(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	movss	-40(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_2
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_roberts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_roberts
_filter_roberts:                        ; @filter_roberts
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-64]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 b8, -56
	.cfi_offset b9, -64
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x3
	fmov	s8, s1
	fmov	s9, s0
	mov	x20, x0
	mov	x21, #0
	mov	w8, w1
	lsl	x22, x8, #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19]
	ldr	w8, [x8, x21]
	ldr	w9, [x9, x21]
	sub	w8, w8, w9
	scvtf	s0, w8
	ldp	x9, x8, [x19, #24]
	ldr	w8, [x8, x21]
	ldr	w9, [x9, x21]
	sub	w8, w8, w9
	scvtf	s1, w8
	fmul	s1, s1, s1
	fmadd	s0, s0, s0, s1
	fsqrt	s0, s0
	fmadd	s0, s0, s9, s8
	bl	_av_clip_uint8
	str	w0, [x20, x21]
	add	x21, x21, #4
	cmp	x22, x21
	b.ne	LBB0_2
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_roberts
.subsections_via_symbols
