	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function long_filter_high_3800
_long_filter_high_3800:                 ## @long_filter_high_3800
	.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	$2120, %rsp                     ## imm = 0x848
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -2100(%rbp)               ## 4-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%ecx, -2104(%rbp)               ## 4-byte Spill
	cmpl	%ecx, %esi
	jge	LBB0_18
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %rbx
	leal	(,%r12,4), %edx
	leaq	-1072(%rbp), %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	%r12d, %r13d
	testl	%r12d, %r12d
	jle	LBB0_3
## %bb.2:
	leaq	(,%r13,4), %rdx
	leaq	-2096(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_memcpy
LBB0_3:
	leal	-1(%r12), %eax
	movslq	%eax, %rcx
	movq	%rcx, -2152(%rbp)               ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -2144(%rbp)               ## 8-byte Spill
	movslq	%r12d, %r15
	movl	%r13d, %eax
	andl	$-8, %eax
	movq	%rax, -2136(%rbp)               ## 8-byte Spill
	addq	$-8, %rax
	movq	%rax, -2128(%rbp)               ## 8-byte Spill
	movq	%rax, %rcx
	shrq	$3, %rcx
	incq	%rcx
	movq	%rcx, %rax
	movq	%rcx, -2120(%rbp)               ## 8-byte Spill
	andq	$-2, %rcx
	movq	%rcx, -2112(%rbp)               ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-2152(%rbp), %rax               ## 8-byte Reload
	movl	%r14d, -2096(%rbp,%rax,4)
	incq	%r15
	cmpl	-2104(%rbp), %r15d              ## 4-byte Folded Reload
	je	LBB0_18
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movl	(%rbx,%r15,4), %edi
	callq	_APESIGN
	movl	$0, %edx
	testl	%r12d, %r12d
	jle	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$8, %r12d
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm8                ## xmm8 = xmm0[0,0,0,0]
	cmpq	$0, -2128(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	pxor	%xmm1, %xmm1
	movq	-2112(%rbp), %rdx               ## 8-byte Reload
	xorl	%ecx, %ecx
	pxor	%xmm2, %xmm2
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	-1072(%rbp,%rcx,4), %xmm3
	movdqa	-1056(%rbp,%rcx,4), %xmm4
	movdqa	-1040(%rbp,%rcx,4), %xmm5
	movdqa	-1024(%rbp,%rcx,4), %xmm6
	movdqa	-2096(%rbp,%rcx,4), %xmm7
	pmulld	%xmm3, %xmm7
	paddd	%xmm1, %xmm7
	movdqa	-2080(%rbp,%rcx,4), %xmm0
	pmulld	%xmm4, %xmm0
	paddd	%xmm2, %xmm0
	paddd	%xmm8, %xmm3
	paddd	%xmm8, %xmm4
	movdqa	%xmm3, -1072(%rbp,%rcx,4)
	movdqa	%xmm4, -1056(%rbp,%rcx,4)
	movdqa	-2064(%rbp,%rcx,4), %xmm1
	pmulld	%xmm5, %xmm1
	paddd	%xmm7, %xmm1
	movdqa	-2048(%rbp,%rcx,4), %xmm2
	pmulld	%xmm6, %xmm2
	paddd	%xmm0, %xmm2
	paddd	%xmm8, %xmm5
	paddd	%xmm8, %xmm6
	movdqa	%xmm5, -1040(%rbp,%rcx,4)
	movdqa	%xmm6, -1024(%rbp,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rdx
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	testb	$1, -2120(%rbp)                 ## 1-byte Folded Reload
	je	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movdqa	-1072(%rbp,%rcx,4), %xmm0
	movdqa	-1056(%rbp,%rcx,4), %xmm3
	movdqa	-2096(%rbp,%rcx,4), %xmm4
	pmulld	%xmm0, %xmm4
	paddd	%xmm4, %xmm1
	movdqa	-2080(%rbp,%rcx,4), %xmm4
	pmulld	%xmm3, %xmm4
	paddd	%xmm4, %xmm2
	paddd	%xmm8, %xmm0
	paddd	%xmm8, %xmm3
	movdqa	%xmm0, -1072(%rbp,%rcx,4)
	movdqa	%xmm3, -1056(%rbp,%rcx,4)
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	paddd	%xmm2, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %edx
	movq	-2136(%rbp), %rsi               ## 8-byte Reload
	movq	%rsi, %rcx
	cmpq	%r13, %rsi
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	-1072(%rbp,%rcx,4), %esi
	movl	-2096(%rbp,%rcx,4), %edi
	imull	%esi, %edi
	addl	%edi, %edx
	addl	%eax, %esi
	movl	%esi, -1072(%rbp,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %r13
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	-2100(%rbp), %ecx               ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edx
	movl	(%rbx,%r15,4), %r14d
	subl	%edx, %r14d
	movl	%r14d, (%rbx,%r15,4)
	cmpl	$2, %r12d
	jl	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_4 Depth=1
	leaq	-2096(%rbp), %rdi
	leaq	-2092(%rbp), %rsi
	movq	-2144(%rbp), %rdx               ## 8-byte Reload
	callq	_memmove
	jmp	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	pxor	%xmm1, %xmm1
	xorl	%ecx, %ecx
	pxor	%xmm2, %xmm2
	testb	$1, -2120(%rbp)                 ## 1-byte Folded Reload
	jne	LBB0_12
	jmp	LBB0_13
LBB0_18:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_20
## %bb.19:
	addq	$2120, %rsp                     ## imm = 0x848
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_long_filter_high_3800
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function long_filter_high_3800
_long_filter_high_3800:                 ; @long_filter_high_3800
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #2096
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	cmp	w1, w3
	b.ge	LBB0_16
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	lsl	w2, w1, #2
	add	x0, sp, #1056
	mov	w1, #0
	bl	_memset
	mov	w26, w21
	subs	w23, w21, #1
	b.lt	LBB0_3
; %bb.2:
	lsl	x2, x26, #2
	add	x0, sp, #32
	mov	x1, x22
	bl	_memcpy
LBB0_3:
	mov	x8, x23
	sxtw	x27, w8
	add	x28, sp, #32
	add	x9, x28, #4
	lsl	x8, x23, #2
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	sxtw	x25, w21
	and	x23, x26, #0xfffffff0
	add	x8, sp, #1056
	add	x9, x8, #32
	add	x8, x28, #32
	stp	x8, x9, [sp]                    ; 16-byte Folded Spill
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	w24, [x28, x27, lsl #2]
	add	x25, x25, #1
	cmp	w25, w19
	b.eq	LBB0_16
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	ldr	w0, [x22, x25, lsl #2]
	bl	_APESIGN
	cmp	w21, #1
	b.lt	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #16
	b.hs	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x11, #0
	mov	w8, #0
	b	LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w8, #0
	b	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	dup.4s	v1, w0
	movi.2d	v0, #0000000000000000
	ldp	x8, x9, [sp]                    ; 16-byte Folded Reload
	mov	x10, x23
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q5, q6, [x8, #-32]
	ldp	q7, q16, [x8], #64
	ldp	q17, q18, [x9, #-32]
	ldp	q19, q20, [x9]
	mla.4s	v0, v17, v5
	mla.4s	v2, v18, v6
	mla.4s	v3, v19, v7
	mla.4s	v4, v20, v16
	add.4s	v5, v17, v1
	add.4s	v6, v18, v1
	add.4s	v7, v19, v1
	add.4s	v16, v20, v1
	stp	q5, q6, [x9, #-32]
	stp	q7, q16, [x9], #64
	subs	x10, x10, #16
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	add.4s	v0, v4, v0
	addv.4s	s0, v0
	fmov	w8, s0
	mov	x11, x23
	cmp	x23, x26
	b.eq	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	x10, x11, #2
	add	x9, sp, #1056
	add	x9, x9, x10
	add	x10, x28, x10
	sub	x11, x26, x11
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w12, [x10], #4
	ldr	w13, [x9]
	madd	w8, w13, w12, w8
	add	w12, w13, w0
	str	w12, [x9], #4
	subs	x11, x11, #1
	b.ne	LBB0_13
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	lsr	w8, w8, w20
	lsl	x9, x25, #2
	ldr	w10, [x22, x9]
	sub	w24, w10, w8
	str	w24, [x22, x9]
	cmp	w21, #1
	b.le	LBB0_4
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #32
	ldp	x2, x1, [sp, #16]               ; 16-byte Folded Reload
	bl	_memmove
	b	LBB0_4
LBB0_16:
	ldur	x8, [x29, #-96]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	add	sp, sp, #2096
	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	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_long_filter_high_3800
.subsections_via_symbols
