	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter
_filter:                                ## @filter
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movl	16(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.1:
	movq	%rdi, %r13
	movl	24(%rbp), %r8d
	leal	-1(%rax), %edx
	leaq	(%rdi,%rsi,4), %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%rdx, %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	imulq	%rcx, %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	leaq	-1(%rdx), %rax
	imulq	%rcx, %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	-2(%rdx), %rax
	imulq	%rcx, %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, %rax
	imulq	%r9, %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	leaq	(%rdx,%rdx), %r10
	imulq	%rsi, %r10
	movq	%rdx, -160(%rbp)                ## 8-byte Spill
	leaq	(%rdx,%rdx), %rax
	incq	%rax
	imulq	%rsi, %rax
	leaq	(%rdi,%rax,4), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leaq	(,%rcx,4), %rdx
	movq	%rdx, %rax
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	negq	%rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	shlq	$2, %r9
	movq	%r9, -192(%rbp)                 ## 8-byte Spill
	leaq	(,%rsi,4), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	shlq	$3, %rsi
	movq	%rsi, -184(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rcx), %rax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%rdi, %r12
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rdi, -176(%rbp)                ## 8-byte Spill
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	callq	_av_clip_uintp2_c
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	24(%rbp), %r8d
	movl	%eax, (%r13)
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-192(%rbp), %r14                ## 8-byte Folded Reload
	addq	-184(%rbp), %r12                ## 8-byte Folded Reload
	cmpq	%r15, -168(%rbp)                ## 8-byte Folded Reload
	movq	-176(%rbp), %r13                ## 8-byte Reload
	je	LBB0_17
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r15, -160(%rbp)                ## 8-byte Folded Reload
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	leal	(%rax,%rax,4), %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	leal	(%rax,%rcx,4), %edi
	movq	-112(%rbp), %rax                ## 8-byte Reload
	subl	(%rdx,%rax,4), %edi
	addl	$4, %edi
	sarl	$3, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addl	(%rax,%rcx,4), %edi
	sarl	%edi
	movl	%edi, (%r13,%r10,4)
	testl	%r8d, %r8d
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	callq	_av_clip_uintp2_c
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	24(%rbp), %r8d
	movl	%eax, (%r13,%r10,4)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movl	(%rdx,%rax,4), %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,2), %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movl	(%rdx,%rsi,4), %edx
	shll	$2, %ecx
	subl	%ecx, %eax
	leal	(%rax,%rdx), %edi
	addl	$4, %edi
	sarl	$3, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	subl	(%rax,%rcx,4), %edi
	sarl	%edi
	movq	-144(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %eax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,2), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movl	(%rdx,%rsi,4), %edx
	shll	$2, %ecx
	subl	%ecx, %eax
	leal	(%rax,%rdx), %edi
	addl	$4, %edi
	sarl	$3, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	addl	(%rax), %edi
	sarl	%edi
	movl	%edi, (%r13)
	testl	%r8d, %r8d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	callq	_av_clip_uintp2_c
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	24(%rbp), %r8d
	movl	%eax, (%r13)
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	(%rdx), %eax
	leal	(%rax,%rax,4), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rdx,%rcx,4), %ecx
	leal	(%rax,%rcx,4), %edi
	movq	-136(%rbp), %rax                ## 8-byte Reload
	subl	(%rdx,%rax,4), %edi
	addl	$4, %edi
	sarl	$3, %edi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	subl	(%rax), %edi
	sarl	%edi
	movq	-152(%rbp), %r13                ## 8-byte Reload
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, (%r13)
	testl	%r8d, %r8d
	jne	LBB0_15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	(%rbx,%rax), %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	subl	(%rbx,%rax), %edi
	addl	$4, %edi
	sarl	$3, %edi
	addl	(%rbx), %edi
	addl	(%r14), %edi
	sarl	%edi
	movl	%edi, (%r12)
	testl	%r8d, %r8d
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, %esi
	callq	_av_clip_uintp2_c
	movq	-64(%rbp), %r10                 ## 8-byte Reload
	movl	24(%rbp), %r8d
	movl	%eax, (%r12)
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	(%rbx,%rax), %edi
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	subl	(%rbx,%rax), %edi
	addl	$4, %edi
	sarl	$3, %edi
	addl	(%rbx), %edi
	subl	(%r14), %edi
	sarl	%edi
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, (%r12,%rax)
	testl	%r8d, %r8d
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax), %r13
	jmp	LBB0_15
LBB0_17:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter
_filter:                                ; @filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	stur	x4, [x29, #-88]                 ; 8-byte Folded Spill
	str	x3, [sp, #88]                   ; 8-byte Folded Spill
	subs	w8, w6, #1
	stp	x8, x0, [sp, #64]               ; 16-byte Folded Spill
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x7
	mov	x28, x2
	mov	x25, #0
	ldr	x10, [sp, #88]                  ; 8-byte Folded Reload
	lsl	x8, x10, #1
	str	x8, [sp, #80]                   ; 8-byte Folded Spill
	lsl	x8, x1, #2
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	add	x8, x23, x8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mov	w8, w6
	stur	x8, [x29, #-96]                 ; 8-byte Folded Spill
	ldr	x11, [sp, #64]                  ; 8-byte Folded Reload
	mul	x9, x11, x10
	sub	x8, x11, #1
	mul	x8, x8, x10
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
	sub	x8, x11, #2
	mul	x9, x8, x10
	mul	x8, x11, x5
	stp	x8, x9, [sp, #32]               ; 16-byte Folded Spill
	lsl	x8, x11, #1
	mov	w9, #1
	bfi	x9, x11, #1, #32
	mul	x9, x9, x1
	add	x9, x23, x9, lsl #2
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	mul	x24, x8, x1
	lsl	x26, x10, #2
	neg	x21, x26
	lsl	x27, x5, #2
	lsl	x8, x1, #3
	str	x8, [sp, #96]                   ; 8-byte Folded Spill
	ldur	x20, [x29, #-88]                ; 8-byte Folded Reload
	mov	x22, x2
	str	x24, [sp, #104]                 ; 8-byte Folded Spill
	str	x26, [sp]                       ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_av_clip_uintp2_c
	str	w0, [x24]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	add	x22, x22, x26
	add	x20, x20, x27
	ldp	x8, x24, [sp, #96]              ; 16-byte Folded Reload
	add	x23, x23, x8
	ldur	x8, [x29, #-96]                 ; 8-byte Folded Reload
	cmp	x8, x25
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x25, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	cmp	x8, x25
	b.ne	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x26, x27
	mov	x27, x21
	ldp	x9, x8, [sp, #48]               ; 16-byte Folded Reload
	ldr	w8, [x28, x8, lsl #2]
	ldr	w9, [x28, x9, lsl #2]
	add	w8, w8, w8, lsl #2
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w10, [x28, x10, lsl #2]
	add	w8, w8, w9, lsl #2
	sub	w8, w8, w10
	add	w8, w8, #4
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldur	x10, [x29, #-88]                ; 8-byte Folded Reload
	ldr	w9, [x10, x9, lsl #2]
	add	w8, w9, w8, asr #3
	asr	w0, w8, #1
	ldr	x21, [sp, #72]                  ; 8-byte Folded Reload
	str	w0, [x21, x24, lsl #2]
	cbz	w19, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_av_clip_uintp2_c
	str	w0, [x21, x24, lsl #2]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w8, [x28, x8, lsl #2]
	mov	w9, #11
	mul	w8, w8, w9
	ldp	x10, x9, [sp, #40]              ; 16-byte Folded Reload
	ldr	w9, [x28, x9, lsl #2]
	ldr	w10, [x28, x10, lsl #2]
	sub	w8, w8, w9, lsl #2
	add	w8, w8, w10
	add	w8, w8, #4
	asr	w8, w8, #3
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldur	x10, [x29, #-88]                ; 8-byte Folded Reload
	ldr	w9, [x10, x9, lsl #2]
	sub	w8, w8, w9
	asr	w0, w8, #1
	ldr	x24, [sp, #8]                   ; 8-byte Folded Reload
	str	w0, [x24]
	mov	x21, x27
	mov	x27, x26
	ldr	x26, [sp]                       ; 8-byte Folded Reload
	cbnz	w19, LBB0_2
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	mov	w9, #11
	mul	w8, w8, w9
	ldp	x10, x9, [sp, #80]              ; 16-byte Folded Reload
	ldr	w9, [x28, x9, lsl #2]
	ldr	w10, [x28, x10, lsl #2]
	sub	w8, w8, w9, lsl #2
	add	w8, w8, w10
	add	w8, w8, #4
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	ldr	w9, [x9]
	add	w8, w9, w8, asr #3
	asr	w0, w8, #1
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	str	w0, [x24]
	cbz	w19, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_av_clip_uintp2_c
	str	w0, [x24]
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	ldp	x10, x9, [sp, #80]              ; 16-byte Folded Reload
	ldr	w9, [x28, x9, lsl #2]
	add	w8, w8, w8, lsl #2
	ldr	w10, [x28, x10, lsl #2]
	add	w8, w8, w9, lsl #2
	sub	w8, w8, w10
	add	w8, w8, #4
	asr	w8, w8, #3
	ldur	x9, [x29, #-88]                 ; 8-byte Folded Reload
	ldr	w9, [x9]
	sub	w8, w8, w9
	asr	w0, w8, #1
	ldr	x24, [sp, #24]                  ; 8-byte Folded Reload
	str	w0, [x24]
	cbnz	w19, LBB0_2
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, x21]
	ldr	w9, [x22, x26]
	sub	w8, w8, w9
	add	w8, w8, #4
	ldr	w9, [x22]
	add	w8, w9, w8, asr #3
	ldr	w9, [x20]
	add	w8, w8, w9
	asr	w0, w8, #1
	str	w0, [x23]
	cbz	w19, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_av_clip_uintp2_c
	str	w0, [x23]
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22, x26]
	ldr	w9, [x22, x21]
	sub	w8, w8, w9
	add	w8, w8, #4
	ldr	w9, [x22]
	add	w8, w9, w8, asr #3
	ldr	w9, [x20]
	sub	w8, w8, w9
	asr	w0, w8, #1
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	add	x24, x23, x8
	str	w0, [x24]
	cbnz	w19, LBB0_2
	b	LBB0_3
LBB0_15:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filter
.subsections_via_symbols
