	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r12
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.1:
	movq	(%rsi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	incl	%eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movl	(%rcx,%r15,4), %r8d
	movl	%r8d, %ecx
	imull	%r11d, %ecx
	movslq	%ecx, %rdi
	addq	(%rdx,%r15,8), %rdi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movl	(%rcx,%r15,4), %r9d
	movl	%r9d, %ecx
	imull	%r11d, %ecx
	movslq	%ecx, %rsi
	addq	(%rdx,%r15,8), %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %rbx
	movl	(%rcx,%r15,4), %r10d
	movl	%r10d, %ecx
	imull	%r11d, %ecx
	movslq	%ecx, %rdx
	addq	(%rbx,%r15,8), %rdx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rcx
	movq	8(%rbx), %rbx
	movl	(%rcx,%r15,4), %r13d
	movl	%r13d, %ecx
	imull	%r11d, %ecx
	movslq	%ecx, %rcx
	addq	(%rbx,%r15,8), %rcx
	movq	32(%r12), %rbx
	movl	(%rbx,%r15,4), %ebx
	subl	%r11d, %eax
	movl	20(%r12), %r11d
	movl	24(%r12), %r14d
	pushq	%r11
	pushq	%r14
	pushq	%rax
	pushq	%rbx
	pushq	%r13
	pushq	%r10
	callq	*40(%r12)
	addq	$48, %rsp
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movl	(%rax,%r15,4), %esi
	movl	%esi, %eax
	imull	-72(%rbp), %eax                 ## 4-byte Folded Reload
	cltd
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	idivl	%ecx
	movl	%eax, %r11d
	imull	-44(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%esi, %eax
	cltd
	idivl	%ecx
                                        ## kill: def $eax killed $eax def $rax
	movl	16(%r12), %ecx
	btl	%r15d, %ecx
	jb	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movl	(%rcx,%r15,4), %esi
	movl	%esi, %ecx
	imull	%r11d, %ecx
	movslq	%ecx, %rdi
	addq	(%rdx,%r15,8), %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	(%rdx), %rcx
	movq	8(%rdx), %r8
	movl	(%rcx,%r15,4), %ecx
	movl	%ecx, %edx
	imull	%r11d, %edx
	movslq	%edx, %rdx
	addq	(%r8,%r15,8), %rdx
	movq	48(%r12), %rbx
	movl	(%rbx,%r15,4), %r8d
	subl	%r11d, %eax
	movl	%eax, %r9d
	callq	_av_image_copy_plane
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	addq	$56, %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, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x22, #0
	ldp	x23, x24, [x1]
	add	w25, w2, #1
	ldp	x26, x27, [x1, #16]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	x10, x22, #3
	ldp	x12, x11, [x27]
	ldr	x11, [x11, x10]
	lsl	x13, x22, #2
	ldr	w4, [x12, x13]
	mul	w12, w4, w8
	add	x0, x11, w12, sxtw
	ldp	x12, x11, [x26]
	ldr	x11, [x11, x10]
	ldr	w5, [x12, x13]
	mul	w12, w5, w8
	ldp	x15, x14, [x24]
	ldr	x14, [x14, x10]
	ldr	w6, [x15, x13]
	add	x1, x11, w12, sxtw
	mul	w11, w6, w8
	ldp	x15, x12, [x23]
	ldr	x10, [x12, x10]
	add	x2, x14, w11, sxtw
	ldr	w7, [x15, x13]
	mul	w11, w7, w8
	add	x3, x10, w11, sxtw
	ldp	x11, x10, [x21, #32]
	ldr	w11, [x11, x13]
	sub	w8, w9, w8
	ldp	w12, w9, [x21, #20]
	stp	w9, w12, [sp, #8]
	stp	w11, w8, [sp]
	blr	x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	w9, [x8, x22, lsl #2]
	mul	w8, w9, w20
	sdiv	w8, w8, w19
	mul	w9, w9, w25
	ldr	w10, [x21, #16]
	lsr	w10, w10, w22
	sdiv	w9, w9, w19
	tbnz	w10, #0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x10, x22, #3
	ldp	x12, x11, [x23]
	ldr	x11, [x11, x10]
	lsl	x13, x22, #2
	ldr	w1, [x12, x13]
	mul	w12, w1, w8
	add	x0, x11, w12, sxtw
	ldp	x12, x11, [x27]
	ldr	x10, [x11, x10]
	ldr	w3, [x12, x13]
	mul	w11, w3, w8
	add	x2, x10, w11, sxtw
	ldr	x10, [x21, #48]
	ldr	w4, [x10, x13]
	sub	w5, w9, w8
	bl	_av_image_copy_plane
	b	LBB0_3
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter_slice
.subsections_via_symbols
