	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filterfn
_filterfn:                              ## @filterfn
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	%edx, %r13d
	shrl	%r13d
	leaq	32(%rsi), %rdi
	leaq	(%rsi,%r13,8), %r12
	addq	$96, %r12
	movq	%r15, %rsi
	callq	_memcpy
	leaq	(%r15,%r13,8), %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	callq	_memcpy
	movq	40(%rbx), %rax
	movq	%rax, 24(%rbx)
	movq	24(%rbx,%r13,8), %rax
	movq	96(%rbx,%r13,8), %rcx
	movq	%rax, 32(%rbx,%r13,8)
	movq	%rcx, 88(%rbx,%r13,8)
	movq	-16(%r12,%r13,8), %rax
	movq	%rax, (%r12,%r13,8)
	movq	48(%rbx), %rax
	movq	%rax, 16(%rbx)
	movq	16(%rbx,%r13,8), %rax
	movq	%rax, 40(%rbx,%r13,8)
	movq	104(%rbx,%r13,8), %rax
	movq	%rax, 80(%rbx,%r13,8)
	movq	-24(%r12,%r13,8), %rax
	movq	%rax, 8(%r12,%r13,8)
	movq	56(%rbx), %rax
	movq	%rax, 8(%rbx)
	movq	8(%rbx,%r13,8), %rax
	movq	112(%rbx,%r13,8), %rcx
	movq	%rax, 48(%rbx,%r13,8)
	movq	%rcx, 72(%rbx,%r13,8)
	movq	-32(%r12,%r13,8), %rax
	movq	%rax, 16(%r12,%r13,8)
	movq	64(%rbx), %rax
	movq	%rax, (%rbx)
	movq	(%rbx,%r13,8), %rax
	movq	120(%rbx,%r13,8), %rcx
	movq	%rax, 56(%rbx,%r13,8)
	movq	%rcx, 64(%rbx,%r13,8)
	movq	-40(%r12,%r13,8), %rax
	movq	%rax, 24(%r12,%r13,8)
	cmpl	$2, %r14d
	jb	LBB0_5
## %bb.1:
	cmpl	$2, %r13d
	movl	$1, %r14d
	cmovael	%r13d, %r14d
	shlq	$4, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$325392907, %edi                ## imm = 0x13651A0B
	callq	_INT64_C
	movl	$-607180976, %edi               ## imm = 0xDBCF2750
	callq	_INT64_C
	movl	$325392907, %edi                ## imm = 0x13651A0B
	callq	_INT64_C
	movl	$1518500249, %edi               ## imm = 0x5A827999
	callq	_INT64_C
	movl	$1518500249, %edi               ## imm = 0x5A827999
	callq	_INT64_C
	callq	_av_clip_int16
	movq	%rax, (%r15,%rbx)
	addq	$16, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_2
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	$65078576, %edi                 ## imm = 0x3E10530
	callq	_INT64_C
	movl	$1583578880, %edi               ## imm = 0x5E637F00
	callq	_INT64_C
	movl	$1583578880, %edi               ## imm = 0x5E637F00
	callq	_INT64_C
	movl	$65078576, %edi                 ## imm = 0x3E10530
	callq	_INT64_C
	movl	$303700064, %edi                ## imm = 0x121A1860
	callq	_INT64_C
	movl	$-650566656, %edi               ## imm = 0xD9392400
	callq	_INT64_C
	movl	$303700064, %edi                ## imm = 0x121A1860
	callq	_INT64_C
	callq	_av_clip_int16
	movq	%rax, 8(%r15,%rbx)
	addq	$16, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_4
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filterfn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filterfn
_filterfn:                              ; @filterfn
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	lsr	w24, w2, #1
	add	x22, x1, #32
	add	w8, w24, #8
	add	x23, x22, w8, uxtw #3
	mov	x0, x22
	mov	x1, x19
	bl	_memcpy
	lsl	x25, x24, #3
	add	x1, x19, x25
	mov	x0, x23
	mov	x2, x20
	bl	_memcpy
	add	x8, x22, x25
	add	x9, x23, x25
	ldr	x10, [x21, #40]
	str	x10, [x21, #24]
	ldur	x10, [x8, #-8]
	str	x10, [x8]
	ldr	x10, [x23]
	stur	x10, [x23, #-8]
	ldur	x10, [x9, #-16]
	str	x10, [x9]
	ldr	x10, [x21, #48]
	str	x10, [x21, #16]
	ldur	x10, [x8, #-16]
	str	x10, [x8, #8]
	ldr	x10, [x23, #8]
	stur	x10, [x23, #-16]
	ldur	x10, [x9, #-24]
	str	x10, [x9, #8]
	ldr	x10, [x21, #56]
	str	x10, [x21, #8]
	ldur	x10, [x8, #-24]
	str	x10, [x8, #16]
	ldr	x10, [x23, #16]
	stur	x10, [x23, #-24]
	ldur	x10, [x9, #-32]
	str	x10, [x9, #16]
	ldr	x10, [x21, #64]
	str	x10, [x21]
	ldur	x10, [x8, #-32]
	str	x10, [x8, #24]
	ldr	x8, [x23, #24]
	stur	x8, [x23, #-32]
	ldur	x8, [x9, #-40]
	str	x8, [x9, #24]
	cmp	w20, #2
	b.lo	LBB0_5
; %bb.1:
	cmp	w24, #1
	csinc	w20, w24, wzr, hi
	mov	x21, x20
	mov	x22, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #6667
	movk	w0, #4965, lsl #16
	bl	_INT64_C
	mov	w0, #10064
	movk	w0, #56271, lsl #16
	bl	_INT64_C
	mov	w0, #6667
	movk	w0, #4965, lsl #16
	bl	_INT64_C
	mov	w0, #31129
	movk	w0, #23170, lsl #16
	bl	_INT64_C
	mov	w0, #31129
	movk	w0, #23170, lsl #16
	bl	_INT64_C
	bl	_av_clip_int16
	str	x0, [x22], #16
	subs	x21, x21, #1
	b.ne	LBB0_2
; %bb.3:
	add	x19, x19, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1328
	movk	w0, #993, lsl #16
	bl	_INT64_C
	mov	w0, #32512
	movk	w0, #24163, lsl #16
	bl	_INT64_C
	mov	w0, #32512
	movk	w0, #24163, lsl #16
	bl	_INT64_C
	mov	w0, #1328
	movk	w0, #993, lsl #16
	bl	_INT64_C
	mov	w0, #6240
	movk	w0, #4634, lsl #16
	bl	_INT64_C
	mov	w0, #9216
	movk	w0, #55609, lsl #16
	bl	_INT64_C
	mov	w0, #6240
	movk	w0, #4634, lsl #16
	bl	_INT64_C
	bl	_av_clip_int16
	str	x0, [x19], #16
	subs	x20, x20, #1
	b.ne	LBB0_4
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_filterfn
.subsections_via_symbols
