	.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, %ebx
	movq	%rsi, %r15
	movq	(%rdi), %r14
	movq	48(%r14), %rax
	movq	(%rsi), %rdi
	movq	(%rax), %rax
	movl	(%rax,%rdi,4), %r9d
	leal	7(%r9), %eax
	addl	$14, %r9d
	testl	%eax, %eax
	cmovnsl	%eax, %r9d
	movl	8(%rsi), %esi
	movl	%esi, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	incl	%ebx
	imull	%esi, %ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	cmpl	%eax, %r8d
	jge	LBB0_9
## %bb.1:
	movl	%eax, %r12d
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movslq	(%rax,%rdi,4), %rsi
	sarl	$3, %r9d
	movq	_MAX_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%r9d
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	leal	(%r9,%r9,2), %ecx
	movslq	%ecx, %rcx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movl	$-2, %ecx
	subl	%eax, %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	negl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%r8d, %rbx
	movl	%r12d, -72(%rbp)                ## 4-byte Spill
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movq	24(%r15), %rcx
	movq	(%rcx), %rdx
	movq	8(%rcx), %rcx
	movslq	(%rdx,%rax,4), %rdi
	imulq	%rbx, %rdi
	shlq	$2, %rdi
	addq	(%rcx,%rax,8), %rdi
	movq	8(%r14), %rcx
	movq	8(%rcx), %rcx
	movq	%rbx, %rsi
	imulq	-64(%rbp), %rsi                 ## 8-byte Folded Reload
	shlq	$2, %rsi
	addq	(%rcx,%rax,8), %rsi
	movl	16(%r15), %edx
	imull	-96(%rbp), %edx                 ## 4-byte Folded Reload
	callq	_memcpy
	incq	%rbx
	movq	%rbx, %r13
	cmpl	%r13d, %r12d
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	12(%r15), %r10d
	movl	%r10d, %ecx
	xorl	%ebx, %ecx
	testb	$1, %cl
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r14), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %rdx
	movq	%rbx, %r12
	imulq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	shlq	$2, %r12
	movq	(%rcx,%rdx,8), %r8
	addq	%r12, %r8
	movq	8(%r14), %rcx
	movq	%r14, %rdi
	movq	32(%r14), %rsi
	movq	8(%rcx), %rcx
	movq	(%rcx,%rdx,8), %r13
	addq	%r12, %r13
	movq	(%rsi), %rcx
	addq	(%rcx,%rdx,8), %r12
	movq	24(%r15), %rcx
	movq	(%rcx), %rsi
	movq	8(%rcx), %rcx
	movslq	(%rsi,%rdx,4), %r14
	imulq	%rbx, %r14
	shlq	$2, %r14
	addq	(%rcx,%rdx,8), %r14
	movl	8(%r15), %ecx
	movslq	%ecx, %r9
	movl	$2, %r11d
	cmpq	$1, %rbx
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leal	2(%rbx), %edx
	cmpl	%ecx, %edx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi), %r11d
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, -104(%rbp)                ## 8-byte Spill
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r14,%rax,4), %rdi
	leaq	(%r8,%rax,4), %rsi
	movq	%r13, -112(%rbp)                ## 8-byte Spill
	leaq	(%r13,%rax,4), %rdx
	leaq	(%r12,%rax,4), %rcx
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movl	16(%r15), %r8d
	addl	-68(%rbp), %r8d                 ## 4-byte Folded Reload
	leaq	1(%rbx), %r13
	cmpq	%r9, %r13
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r9d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	cmovll	%r15d, %r9d
	testq	%rbx, %rbx
	movl	%eax, %ebx
	cmovel	%r15d, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	xorl	20(%rax), %r10d
	subq	$8, %rsp
	pushq	%r11
	pushq	%r10
	pushq	%rbx
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	callq	*24(%rax)
	addq	$32, %rsp
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	8(%rax), %rax
	cmpq	%rax, %r13
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	cmovll	%r15d, %r9d
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	16(%r15), %r8d
	movl	20(%r15), %eax
	xorl	12(%r15), %eax
	subq	$8, %rsp
	movq	%r14, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movq	%r12, %rcx
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	pushq	%rbx
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	callq	*16(%r14)
	addq	$32, %rsp
	movq	%r13, %rbx
	movl	-72(%rbp), %r12d                ## 4-byte Reload
	cmpl	%r13d, %r12d
	jne	LBB0_2
LBB0_9:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_ALIGN,4,2                  ## @MAX_ALIGN
	.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, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x21, [x0]
	ldr	x8, [x1]
	lsl	x9, x8, #2
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	ldr	w8, [x8, x9]
	add	w10, w8, #7
	add	w8, w8, #14
	cmp	w10, #0
	csel	w10, w8, w10, lt
	ldr	w11, [x1, #8]
	mul	w12, w11, w2
	sdiv	w8, w12, w3
	add	w11, w11, w12
	sdiv	w20, w11, w3
	cmp	w8, w20
	b.ge	LBB0_9
; %bb.1:
	mov	x19, x1
	ldr	x11, [x21, #8]
	ldr	x11, [x11]
	ldrsw	x27, [x11, x9]
	asr	w10, w10, #3
Lloh0:
	adrp	x9, _MAX_ALIGN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAX_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sdiv	w9, w9, w10
	stp	w10, w20, [sp, #32]             ; 8-byte Folded Spill
	add	w10, w10, w10, lsl #1
	sxtw	x10, w10
	mov	w11, #-2
	sub	w9, w11, w9
	str	w9, [sp, #28]                   ; 4-byte Folded Spill
	neg	w9, w27
	str	w9, [sp, #24]                   ; 4-byte Folded Spill
	sxtw	x24, w8
	lsl	x8, x10, #2
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	str	x21, [sp, #40]                  ; 8-byte Folded Spill
	mov	w28, w9
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	lsl	x10, x9, #3
	ldp	x8, x11, [x8]
	ldr	x11, [x11, x10]
	ldrsw	x8, [x8, x9, lsl #2]
	mul	x8, x24, x8
	add	x0, x11, x8, lsl #2
	ldr	x8, [x21, #8]
	ldr	x8, [x8, #8]
	ldr	x8, [x8, x10]
	mul	x9, x24, x27
	add	x1, x8, x9, lsl #2
	ldr	w8, [x19, #16]
	ldr	w9, [sp, #32]                   ; 4-byte Folded Reload
	mul	w2, w8, w9
	bl	_memcpy
	add	x26, x24, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x26
	cmp	w20, w26
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #12]
	eor	w9, w8, w24
	tbz	w9, #0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x19, #8]
	mov	w25, #2
	cmp	x24, #1
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w10, w24, #2
	cmp	w10, w9
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w25, [x21]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldp	x15, x10, [x21, #32]
	ldr	x10, [x10]
	ldr	x11, [x19]
	lsl	x12, x11, #3
	ldr	x10, [x10, x12]
	mul	x13, x24, x27
	lsl	x13, x13, #2
	ldr	x14, [x21, #8]
	ldr	x14, [x14, #8]
	ldr	x14, [x14, x12]
	ldr	x16, [x21, #24]
	ldr	x15, [x15]
	ldr	x15, [x15, x12]
	ldr	x17, [x19, #24]
	ldp	x17, x0, [x17]
	ldr	x12, [x0, x12]
	ldrsw	x11, [x17, x11, lsl #2]
	mul	x11, x24, x11
	add	x20, x12, x11, lsl #2
	sxtw	x9, w9
	ldr	x11, [sp, #16]                  ; 8-byte Folded Reload
	add	x0, x20, x11
	add	x21, x10, x13
	add	x1, x21, x11
	add	x22, x14, x13
	add	x2, x22, x11
	add	x23, x15, x13
	add	x3, x23, x11
	ldp	w10, w11, [x19, #16]
	ldr	w12, [sp, #28]                  ; 4-byte Folded Reload
	add	w4, w12, w10
	add	x26, x24, #1
	cmp	x26, x9
	csel	w5, w27, w28, lt
	cmp	x24, #0
	csel	w24, w27, w28, eq
	eor	w7, w11, w8
	str	w25, [sp]
	mov	x6, x24
	blr	x16
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	ldp	w9, w10, [x19, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	x26, x9
	csel	w5, w27, w28, lt
	ldp	w4, w9, [x19, #16]
	eor	w7, w9, w10
	str	w25, [sp]
	mov	x0, x20
	mov	x1, x21
	ldr	x21, [sp, #40]                  ; 8-byte Folded Reload
	mov	x2, x22
	mov	x3, x23
	mov	x6, x24
	blr	x8
	ldr	w20, [sp, #36]                  ; 4-byte Folded Reload
	b	LBB0_3
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_ALIGN,4,2                  ; @MAX_ALIGN
	.no_dead_strip	_filter_slice
.subsections_via_symbols
