	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rsi), %r12d
	movq	48(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	8(%rsi), %r14
	movq	(%rax,%r14,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	40(%rsi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	(%rax,%r14,8), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	32(%rsi), %rbx
	movq	32(%rbx), %rax
	movq	(%rax,%r14,8), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_VAR_VARS_NB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	56(%r15), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movq	_VAR_N@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	%xmm0, (%r13,%rcx,8)
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	ucomisd	(%rcx), %xmm0
	jne	LBB0_2
	jp	LBB0_2
## %bb.1:
	movq	%rbx, %r8
	movq	_NAN@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movl	%r12d, %ecx
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_3
LBB0_2:
	movl	8(%rax), %edi
	movsd	%xmm0, -56(%rbp)                ## 8-byte Spill
	callq	_av_q2d
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movsd	-56(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	(%r15), %ecx
	movq	32(%r15), %r8
	movq	48(%r15), %rsi
	movq	8(%r15), %r14
	movq	40(%r15), %r9
LBB0_3:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leal	1(%rbx), %eax
	imull	%r12d, %eax
	cltd
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	idivl	%edi
	movl	%eax, %r10d
	imull	%ebx, %r12d
	movl	%r12d, %eax
	cltd
	idivl	%edi
                                        ## kill: def $eax killed $eax def $rax
	movq	_VAR_T@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm0, (%r13,%rdx,8)
	movsd	16(%r15), %xmm0                 ## xmm0 = mem[0],zero
	movq	_VAR_W@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movsd	%xmm0, (%r13,%rdx,8)
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ecx, %xmm1
	movq	_VAR_H@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	%xmm1, (%r13,%rcx,8)
	cvtsi2sdq	24(%r8), %xmm2
	movapd	%xmm0, %xmm3
	divsd	%xmm2, %xmm3
	movq	_VAR_SW@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	%xmm3, (%r13,%rcx,8)
	xorps	%xmm2, %xmm2
	cvtsi2sdq	16(%r8), %xmm2
	divsd	%xmm2, %xmm1
	movq	_VAR_SH@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movsd	%xmm1, (%r13,%rcx,8)
	movq	(%rsi), %rcx
	movl	(%rcx,%r14,4), %esi
	movl	%esi, %ecx
	imull	%eax, %ecx
	movslq	%ecx, %rcx
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,4), %rdi
	movq	(%r9), %rcx
	movl	(%rcx,%r14,4), %ecx
	movl	%ecx, %edx
	imull	%eax, %edx
	movslq	%edx, %rdx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rdx,4), %rdx
	movq	8(%r8), %rbx
	movl	(%rbx,%r14,4), %r9d
	movl	%r9d, %ebx
	imull	%eax, %ebx
	movslq	%ebx, %rbx
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	leaq	(%r8,%rbx,4), %r8
	subl	%eax, %r10d
	movq	24(%r15), %rbx
	pushq	%rax
	pushq	%r13
	pushq	%rbx
	pushq	%r10
	callq	*(%rbx)
	addq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VAR_VARS_NB,4,2                ## @VAR_VARS_NB
	.comm	_VAR_N,8,3                      ## @VAR_N
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_NAN,8,3                        ## @NAN
	.comm	_VAR_T,8,3                      ## @VAR_T
	.comm	_VAR_W,8,3                      ## @VAR_W
	.comm	_VAR_H,8,3                      ## @VAR_H
	.comm	_VAR_SW,8,3                     ## @VAR_SW
	.comm	_VAR_SH,8,3                     ## @VAR_SH
	.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:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	sub	sp, sp, #16
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldp	x15, x12, [x1, #40]
	ldr	x8, [x12, #8]
	ldr	x14, [x1, #8]
	lsl	x9, x14, #3
	ldr	x23, [x8, x9]
	ldr	w26, [x1]
	ldr	x13, [x1, #32]
	ldr	x8, [x15, #8]
	ldr	x24, [x8, x9]
	ldr	x8, [x13, #32]
	ldr	x22, [x8, x9]
Lloh3:
	adrp	x8, _VAR_VARS_NB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VAR_VARS_NB@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x25, x9, x8
	mov	sp, x25
	ldr	x8, [x1, #56]
	ldr	d0, [x8]
Lloh8:
	adrp	x9, _VAR_N@GOTPAGE
Lloh9:
	ldr	x9, [x9, _VAR_N@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	d0, [x25, x9, lsl #3]
	ldr	d8, [x13]
Lloh11:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh13:
	ldr	d0, [x9]
	fcmp	d8, d0
	b.ne	LBB0_2
; %bb.1:
Lloh14:
	adrp	x8, _NAN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
Lloh16:
	ldr	d0, [x8]
	mov	x8, x26
	b	LBB0_3
LBB0_2:
	ldr	w0, [x8, #8]
	bl	_av_q2d
	fmul	d0, d8, d0
	ldr	w8, [x19]
	ldp	x15, x12, [x19, #40]
	ldr	x14, [x19, #8]
	ldr	x13, [x19, #32]
LBB0_3:
	mul	w9, w26, w21
	add	w10, w26, w9
	sdiv	w10, w10, w20
	sdiv	w9, w9, w20
Lloh17:
	adrp	x11, _VAR_T@GOTPAGE
Lloh18:
	ldr	x11, [x11, _VAR_T@GOTPAGEOFF]
Lloh19:
	ldr	x11, [x11]
	str	d0, [x25, x11, lsl #3]
	ldr	d0, [x19, #16]
Lloh20:
	adrp	x11, _VAR_W@GOTPAGE
Lloh21:
	ldr	x11, [x11, _VAR_W@GOTPAGEOFF]
Lloh22:
	ldr	x11, [x11]
	str	d0, [x25, x11, lsl #3]
	sub	w6, w10, w9
	scvtf	d1, w8
Lloh23:
	adrp	x8, _VAR_H@GOTPAGE
Lloh24:
	ldr	x8, [x8, _VAR_H@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	d1, [x25, x8, lsl #3]
	ldr	d2, [x13, #24]
	scvtf	d2, d2
Lloh26:
	adrp	x8, _VAR_SW@GOTPAGE
Lloh27:
	ldr	x8, [x8, _VAR_SW@GOTPAGEOFF]
	fdiv	d2, d0, d2
Lloh28:
	ldr	x8, [x8]
	str	d2, [x25, x8, lsl #3]
	ldr	d2, [x13, #16]
	scvtf	d2, d2
	fdiv	d1, d1, d2
Lloh29:
	adrp	x8, _VAR_SH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VAR_SH@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	str	d1, [x25, x8, lsl #3]
	ldr	x7, [x19, #24]
	ldr	x8, [x7]
	ldr	x10, [x12]
	lsl	x11, x14, #2
	ldr	w1, [x10, x11]
	mul	w10, w1, w9
	add	x0, x23, w10, sxtw #2
	ldr	x10, [x15]
	ldr	w3, [x10, x11]
	mul	w10, w3, w9
	add	x2, x24, w10, sxtw #2
	ldr	x10, [x13, #8]
	ldr	w5, [x10, x11]
	mul	w10, w5, w9
	add	x4, x22, w10, sxtw #2
	sub	sp, sp, #16
	str	w9, [sp, #8]
	str	x25, [sp]
	blr	x8
	add	sp, sp, #16
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
	sub	sp, x29, #80
	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
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_VAR_VARS_NB,4,2                ; @VAR_VARS_NB
	.comm	_VAR_N,8,3                      ; @VAR_N
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_NAN,8,3                        ; @NAN
	.comm	_VAR_T,8,3                      ; @VAR_T
	.comm	_VAR_W,8,3                      ; @VAR_W
	.comm	_VAR_H,8,3                      ; @VAR_H
	.comm	_VAR_SW,8,3                     ; @VAR_SW
	.comm	_VAR_SH,8,3                     ; @VAR_SH
	.no_dead_strip	_filter_slice
.subsections_via_symbols
