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