	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter_slice
_filter_slice:                          ## @filter_slice
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r13d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movl	(%rbx), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %r14d
	movl	%r14d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %edi
	leal	1(%r13), %eax
	imull	%r14d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r15d
	movl	%edi, -108(%rbp)                ## 4-byte Spill
	subl	8(%rbx), %edi
	incl	%edi
	movl	$0, -80(%rbp)                   ## 4-byte Folded Spill
	xorl	%esi, %esi
	callq	_FFMAX
	movl	%eax, %r12d
	subl	8(%rbx), %r14d
	incl	%r14d
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	movl	%r14d, %esi
	callq	_FFMIN
	movl	%eax, %r15d
	movl	%r12d, -64(%rbp)                ## 4-byte Spill
	subl	%r12d, %r15d
	movslq	12(%rbx), %r14
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	24(%rbx), %rax
	movslq	%r13d, %rcx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	movq	(%rax,%rcx,8), %r12
	movl	8(%rbx), %eax
	leal	(%r15,%rax), %edx
	decl	%edx
	imull	%r14d, %edx
	shll	$2, %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	%r14, %r11
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	movq	%r12, %rdi
	movl	%r11d, %eax
	imull	-64(%rbp), %eax                 ## 4-byte Folded Reload
	cltq
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	movl	8(%rbx), %eax
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%rbx), %ecx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r11d, %edx
	imull	%ecx, %edx
	movslq	%edx, %rdx
	leaq	(%rsi,%rdx,4), %rsi
	leaq	(%rdi,%rdx,4), %rdi
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	addl	%ecx, %edx
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	cmpl	-96(%rbp), %edx                 ## 4-byte Folded Reload
	jge	LBB0_6
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	%eax, %r10d
	jl	LBB0_29
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%r12d, %r12
	movq	%rsi, %r13
	leaq	(%rsi,%r12,4), %rsi
	leaq	(%rdi,%r12,4), %rcx
	movq	%rdi, %r15
	movq	%rbx, %rdi
	movl	%r11d, %edx
	movl	%r11d, %r8d
	movq	-104(%rbp), %r9                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	movq	%r11, %r14
	callq	*40(%rbx)
	movq	%r13, %rsi
	movq	%r15, %rdi
	movq	%r14, %r11
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movl	8(%rbx), %eax
	movl	32(%rbx), %ecx
	addl	%ecx, %r12d
	movl	%r10d, %edx
	subl	%eax, %edx
	cmpl	%edx, %r12d
	jle	LBB0_4
	jmp	LBB0_5
LBB0_6:
	movl	-108(%rbp), %r14d               ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	cmpl	%r9d, %r14d
	jge	LBB0_28
## %bb.7:
	movl	%r11d, %eax
	imull	%r14d, %eax
	movslq	%eax, %rcx
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	leaq	(%r8,%rcx,4), %rax
	leaq	(,%rcx,4), %rdi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	addq	8(%rdx), %rdi
	movq	24(%rbx), %rdx
	movl	%r14d, %esi
	subl	-64(%rbp), %esi                 ## 4-byte Folded Reload
	imull	%r11d, %esi
	movslq	%esi, %r15
	shlq	$2, %r15
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	addq	(%rdx,%rsi,8), %r15
	shlq	$2, %r11
	leaq	(%r8,%rcx,4), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movl	%r10d, %ecx
	andl	$-8, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	addq	$-8, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	movq	%rdx, %rcx
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	andq	$-2, %rdx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	%r10d, %esi
	andl	$3, %esi
	xorl	%r8d, %r8d
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, %rcx
	movq	%r15, %rdx
	movq	%r11, %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	%r11, %rdx
	addq	%r11, %rcx
	addq	%r11, %rax
	incl	%r14d
	incq	%r8
	cmpl	%r9d, %r14d
	je	LBB0_28
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_23 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	testl	%r10d, %r10d
	jle	LBB0_27
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$8, %r10d
	jae	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r12d, %r12d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r11, %rbx
	imulq	%r8, %rbx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	leaq	(%rdi,%rbx), %r11
	movq	%r11, %rdi
	subq	%r15, %rdi
	subq	%rbx, %rdi
	cmpq	$32, %rdi
	jb	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	subq	%rbx, %r11
	movl	$0, %r12d
	cmpq	$32, %r11
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	%r13, %r11
	jb	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -72(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rdx,%rdi,4), %xmm0
	movups	16(%rdx,%rdi,4), %xmm1
	movups	(%rax,%rdi,4), %xmm2
	mulps	%xmm0, %xmm2
	movups	16(%rax,%rdi,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	%xmm2, (%rcx,%rdi,4)
	movups	%xmm0, 16(%rcx,%rdi,4)
	movups	32(%rdx,%rdi,4), %xmm0
	movups	48(%rdx,%rdi,4), %xmm1
	movups	32(%rax,%rdi,4), %xmm2
	mulps	%xmm0, %xmm2
	movups	48(%rax,%rdi,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	%xmm2, 32(%rcx,%rdi,4)
	movups	%xmm0, 48(%rcx,%rdi,4)
	addq	$16, %rdi
	addq	$-2, %rbx
	jne	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_20
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	movups	(%rdx,%rdi,4), %xmm0
	movups	16(%rdx,%rdi,4), %xmm1
	movups	(%rax,%rdi,4), %xmm2
	mulps	%xmm0, %xmm2
	movups	16(%rax,%rdi,4), %xmm0
	mulps	%xmm1, %xmm0
	movups	%xmm2, (%rcx,%rdi,4)
	movups	%xmm0, 16(%rcx,%rdi,4)
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %r12
	cmpq	%r10, %rdi
	je	LBB0_27
	jmp	LBB0_21
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%r12d, %r12d
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	%r13, %r11
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %rdi
	notq	%rdi
	addq	%r10, %rdi
	testq	%rsi, %rsi
	je	LBB0_25
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %r9d
	leaq	(%rcx,%r12,4), %rbx
	leaq	(%rax,%r12,4), %r10
	leaq	(%rdx,%r12,4), %r14
	xorl	%r11d, %r11d
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%r14,%r11,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%r10,%r11,4), %xmm0
	movss	%xmm0, (%rbx,%r11,4)
	incq	%r11
	cmpq	%r11, %rsi
	jne	LBB0_23
## %bb.24:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	%r11, %r12
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movl	%r9d, %r14d
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	movq	%r13, %r11
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$3, %rdi
	jb	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movss	(%rdx,%r12,4), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	mulss	(%rax,%r12,4), %xmm0
	movss	%xmm0, (%rcx,%r12,4)
	movss	4(%rdx,%r12,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	mulss	4(%rax,%r12,4), %xmm0
	movss	%xmm0, 4(%rcx,%r12,4)
	movss	8(%rdx,%r12,4), %xmm0           ## xmm0 = mem[0],zero,zero,zero
	mulss	8(%rax,%r12,4), %xmm0
	movss	%xmm0, 8(%rcx,%r12,4)
	movss	12(%rdx,%r12,4), %xmm0          ## xmm0 = mem[0],zero,zero,zero
	mulss	12(%rax,%r12,4), %xmm0
	movss	%xmm0, 12(%rcx,%r12,4)
	addq	$4, %r12
	cmpq	%r12, %r10
	jne	LBB0_26
	jmp	LBB0_27
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	xorl	%edi, %edi
	testb	$1, -64(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_19
	jmp	LBB0_20
LBB0_28:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter_slice
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter_slice
_filter_slice:                          ; @filter_slice
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x22, x2
	mov	x23, x1
	ldr	x20, [x0]
	ldp	w26, w19, [x20]
	mul	w8, w19, w2
	sdiv	w27, w8, w3
	add	w8, w19, w8
	sdiv	w21, w8, w3
	ldr	w8, [x20, #8]
	sub	w8, w27, w8
	add	w0, w8, #1
	mov	w1, #0
	bl	_FFMAX
	mov	x28, x0
	ldr	w8, [x20, #8]
	sub	w8, w19, w8
	add	w1, w8, #1
	str	w21, [sp, #24]                  ; 4-byte Folded Spill
	mov	x0, x21
	bl	_FFMIN
	ldr	x19, [x23]
	ldr	x8, [x20, #16]
	stp	x8, x23, [sp, #8]               ; 16-byte Folded Spill
	ldr	x8, [x20, #24]
	ldr	x25, [x8, w22, sxtw #3]
	ldp	w8, w24, [x20, #8]
                                        ; kill: def $w24 killed $w24 def $x24
	sxtw	x24, w24
	str	w28, [sp, #28]                  ; 4-byte Folded Spill
	sub	w28, w0, w28
	add	w8, w28, w8
	sub	w8, w8, #1
	mul	w8, w24, w8
	lsl	w2, w8, #2
	mov	x0, x25
	mov	w1, #0
	bl	_memset
	cmp	w28, #1
	b.lt	LBB0_7
; %bb.1:
	mov	w21, #0
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	mul	w8, w24, w8
	add	x23, x19, w8, sxtw #2
	ldr	w8, [x20, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20, #32]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mul	w10, w9, w24
	sbfiz	x10, x10, #2, #32
	add	x23, x23, x10
	add	x25, x25, x10
	add	w21, w9, w21
	cmp	w21, w28
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w26, w8
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w19, #0
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20, #40]
	sbfiz	x9, x19, #2, #32
	add	x1, x23, x9
	add	x3, x25, x9
	mov	x0, x20
	mov	x2, x24
	mov	x4, x24
	mov	x5, x22
	blr	x8
	ldr	w9, [x20, #32]
	add	w19, w9, w19
	ldr	w8, [x20, #8]
	sub	w10, w26, w8
	cmp	w19, w10
	b.le	LBB0_6
	b	LBB0_3
LBB0_7:
	ldr	w4, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w27, w4
	b.ge	LBB0_19
; %bb.8:
	mov	x8, #0
	mul	w10, w24, w27
	ldp	x14, x12, [sp, #8]              ; 16-byte Folded Reload
	add	x9, x14, w10, sxtw #2
	sxtw	x10, w10
	sxtw	x11, w22
	ldr	x12, [x12, #8]
	lsl	x13, x10, #2
	add	x10, x12, x13
	ldr	x12, [x20, #24]
	ldr	x11, [x12, x11, lsl #3]
	ldr	w12, [sp, #28]                  ; 4-byte Folded Reload
	sub	w12, w27, w12
	mul	w12, w24, w12
	add	x11, x11, w12, sxtw #2
	lsl	x12, x24, #2
	add	x13, x13, x14
	and	x14, x26, #0xfffffff0
	lsl	x15, x26, #2
	and	x15, x15, #0x3ffffffc0
	mov	x16, x11
	mov	x17, x10
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	w27, w27, #1
	add	x8, x8, #1
	add	x17, x17, x12
	add	x16, x16, x12
	add	x9, x9, x12
	cmp	w27, w4
	b.eq	LBB0_19
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	cmp	w26, #1
	b.lt	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w26, #16
	b.hs	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, #0
	b	LBB0_18
LBB0_13:                                ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, #0
	mul	x1, x12, x8
	add	x2, x10, x1
	add	x3, x11, x1
	sub	x3, x2, x3
	cmp	x3, #64
	b.lo	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x1, x13, x1
	sub	x1, x2, x1
	cmp	x1, #64
	b.lo	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, #0
LBB0_16:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x1, x16, x0
	ldp	q0, q1, [x1]
	ldp	q2, q3, [x1, #32]
	add	x1, x9, x0
	ldp	q4, q5, [x1]
	ldp	q6, q7, [x1, #32]
	fmul.4s	v0, v0, v4
	fmul.4s	v1, v1, v5
	fmul.4s	v2, v2, v6
	fmul.4s	v3, v3, v7
	add	x1, x17, x0
	stp	q0, q1, [x1]
	stp	q2, q3, [x1, #32]
	add	x0, x0, #64
	cmp	x15, x0
	b.ne	LBB0_16
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x14
	cmp	x14, x26
	b.eq	LBB0_9
LBB0_18:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x1, x0, #2
	ldr	s0, [x16, x1]
	ldr	s1, [x9, x1]
	fmul	s0, s0, s1
	str	s0, [x17, x1]
	add	x0, x0, #1
	cmp	x26, x0
	b.ne	LBB0_18
	b	LBB0_9
LBB0_19:
	mov	w0, #0
	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
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_slice
.subsections_via_symbols
