	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r13
	cmpl	$0, (%r13)
	jle	LBB0_3
## %bb.1:
	movl	%ecx, %r15d
	movq	%rsi, %r12
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	16(%r13), %r8
	movl	(%rax,%r14,4), %ecx
	movl	%ecx, %eax
	imull	-56(%rbp), %eax                 ## 4-byte Folded Reload
	cltd
	idivl	%r15d
	movl	%eax, %r9d
	imull	-44(%rbp), %ecx                 ## 4-byte Folded Reload
	movl	%ecx, %eax
	cltd
	idivl	%r15d
                                        ## kill: def $eax killed $eax def $rax
	movq	(%r12), %rcx
	movq	8(%r12), %rdx
	movq	(%rdx), %rsi
	movq	8(%rdx), %rbx
	movl	(%rsi,%r14,4), %edx
	movl	%edx, %esi
	imull	%r9d, %esi
	movslq	%esi, %rdi
	addq	(%rbx,%r14,8), %rdi
	movq	(%rcx), %rsi
	movq	8(%rcx), %rbx
	movl	(%rsi,%r14,4), %ecx
	movl	%ecx, %esi
	imull	%r9d, %esi
	movslq	%esi, %rsi
	addq	(%rbx,%r14,8), %rsi
	movl	(%r8,%r14,4), %r8d
	subq	$8, %rsp
	pushq	%r14
	pushq	%r13
	pushq	%rax
	callq	_noise
	addq	$32, %rsp
	incq	%r14
	movslq	(%r13), %rax
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_3:
	xorl	%eax, %eax
	addq	$24, %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, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x22, [x0]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x23, #0
	add	w24, w2, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x23, #2
	ldp	x9, x10, [x22, #8]
	ldr	w9, [x9, x8]
	mul	w11, w9, w20
	sdiv	w5, w11, w19
	lsl	x11, x23, #3
	ldp	x13, x12, [x21]
	ldp	x12, x14, [x12]
	ldr	x14, [x14, x11]
	ldr	w2, [x12, x8]
	mul	w12, w2, w5
	add	x0, x14, w12, sxtw
	ldp	x13, x12, [x13]
	ldr	x11, [x12, x11]
	ldr	w3, [x13, x8]
	mul	w12, w3, w5
	add	x1, x11, w12, sxtw
	mul	w9, w9, w24
	sdiv	w6, w9, w19
	ldr	w4, [x10, x8]
	str	w23, [sp]
	mov	x7, x22
	bl	_noise
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_slice
.subsections_via_symbols
