	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filter8_vrep
_filter8_vrep:                          ## @filter8_vrep
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	8(%rsi), %r9
	movl	(%r9), %r11d
	movl	4(%r9), %r10d
	movl	%r10d, %eax
	imull	%edx, %eax
	cltd
	idivl	%ecx
	movl	%eax, %r8d
	incl	%ebx
	imull	%r10d, %ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	xorl	%edx, %edx
	cmpl	%eax, %r8d
	jge	LBB0_20
## %bb.1:
	movq	(%rdi), %rdi
	movq	(%rsi), %rsi
	movq	16(%r9), %rcx
	movq	(%rcx), %rdx
	movq	8(%r9), %rcx
	movslq	(%rcx), %rbx
	movslq	%r8d, %r12
	movl	%r11d, %ecx
	andl	$-4, %ecx
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	leaq	16(%rdx), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	imulq	%r12, %rcx
	leaq	(%rdx,%rcx,8), %r14
	addq	$16, %r14
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rbx,8), %r15
	leaq	(,%r11,8), %r13
	andq	$-32, %r13
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	leaq	(%rdx,%rcx,8), %r10
	xorl	%edx, %edx
	movq	_VREP_START@GOTPCREL(%rip), %rcx
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r10                 ## 8-byte Reload
	movq	_VREP_START@GOTPCREL(%rip), %rcx
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	addq	%r15, %r14
	addq	%r15, %r10
	cmpl	%r12d, %eax
	je	LBB0_20
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	movslq	(%rcx), %rbx
	cmpq	%rbx, %r12
	jl	LBB0_19
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r11d, %r11d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %r11d
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	jmp	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r9d, %r9d
	jmp	LBB0_12
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %ecx
	subl	%ebx, %ecx
	imull	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	movslq	%ecx, %rcx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%rdx,%rcx,8), %rcx
	pxor	%xmm3, %xmm3
	xorl	%edx, %edx
	pxor	%xmm4, %xmm4
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqu	-16(%rcx,%rdx), %xmm1
	movdqu	(%rcx,%rdx), %xmm2
	movdqu	-16(%r14,%rdx), %xmm0
	psubq	%xmm0, %xmm1
	movdqu	(%r14,%rdx), %xmm0
	psubq	%xmm0, %xmm2
	pxor	%xmm5, %xmm5
	psubq	%xmm1, %xmm5
	movdqa	%xmm1, %xmm0
	blendvpd	%xmm0, %xmm5, %xmm1
	pxor	%xmm5, %xmm5
	psubq	%xmm2, %xmm5
	movdqa	%xmm2, %xmm0
	blendvpd	%xmm0, %xmm5, %xmm2
	pshufd	$232, %xmm1, %xmm0              ## xmm0 = xmm1[0,2,2,3]
	paddd	%xmm0, %xmm3
	pshufd	$232, %xmm2, %xmm0              ## xmm0 = xmm2[0,2,2,3]
	paddd	%xmm0, %xmm4
	addq	$32, %rdx
	cmpq	%rdx, %r13
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	paddd	%xmm3, %xmm4
	pshufd	$85, %xmm4, %xmm0               ## xmm0 = xmm4[1,1,1,1]
	paddd	%xmm4, %xmm0
	movd	%xmm0, %r9d
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, %rdx
	cmpq	%r11, %rcx
	je	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %ecx
	subl	%ebx, %ecx
	imull	-72(%rbp), %ecx                 ## 4-byte Folded Reload
	movslq	%ecx, %rcx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%rcx,8), %r8
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r8,%rdx,8), %rcx
	subq	(%r10,%rdx,8), %rcx
	movq	%rcx, %rbx
	negq	%rbx
	cmovsq	%rcx, %rbx
	addl	%ebx, %r9d
	incq	%rdx
	cmpq	%rdx, %r11
	jne	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r10, -48(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	cmpl	%r11d, %r9d
	setl	%dl
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	addl	%edx, %ecx
	movq	%rcx, %rdx
	cmpl	%r11d, %r9d
	jge	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%r11d, %r11d
	jle	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edx
	movl	%r12d, %ecx
	movq	%rdi, %rbx
	movq	%rsi, %r13
	movq	%r11, %r15
	callq	_burn_frame8
	movq	%r15, %r11
	movq	%r13, %rsi
	movq	%rbx, %rdi
	incl	%r14d
	cmpl	%r14d, %r11d
	jne	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-120(%rbp), %r14                ## 8-byte Reload
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movq	-104(%rbp), %r13                ## 8-byte Reload
	jmp	LBB0_18
LBB0_20:
	imull	%edx, %r11d
	movl	%r11d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VREP_START,4,2                 ## @VREP_START
	.no_dead_strip	_filter8_vrep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filter8_vrep
_filter8_vrep:                          ; @filter8_vrep
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	ldr	x8, [x1, #8]
	ldp	w23, w10, [x8]
	mul	w11, w10, w2
	sdiv	w9, w11, w3
	add	w10, w10, w11
	sdiv	w24, w10, w3
	cmp	w9, w24
	b.ge	LBB0_17
; %bb.1:
	mov	w25, #0
	ldr	x19, [x0]
	ldr	x20, [x1]
	ldp	x8, x10, [x8, #8]
	ldr	x10, [x10]
	ldrsw	x17, [x8]
	sxtw	x21, w9
	and	x8, x23, #0xfffffff8
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	mul	x28, x17, x21
	add	x8, x10, x28, lsl #3
	add	x26, x8, #32
	lsl	x27, x17, #3
	add	x8, x10, #32
	stp	x8, x10, [sp]                   ; 16-byte Folded Spill
Lloh0:
	adrp	x0, _VREP_START@GOTPAGE
Lloh1:
	ldr	x0, [x0, _VREP_START@GOTPAGEOFF]
	str	x17, [sp, #16]                  ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x26, x26, x27
	add	x28, x28, x17
	cmp	w24, w21
	b.eq	LBB0_18
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	ldrsw	x8, [x0]
	cmp	x21, x8
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #1
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w23, #8
	b.hs	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x11, #0
	mov	w9, #0
	b	LBB0_11
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	w9, #0
	b	LBB0_13
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w9, w21, w8
	mul	w9, w17, w9
	ldr	x10, [sp]                       ; 8-byte Folded Reload
	add	x9, x10, w9, sxtw #3
	movi.2d	v0, #0000000000000000
	mov	x10, x26
	ldr	x11, [sp, #24]                  ; 8-byte Folded Reload
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q4, q5, [x9, #-32]
	ldp	q6, q7, [x9], #64
	ldp	q16, q17, [x10, #-32]
	ldp	q18, q19, [x10], #64
	sub.2d	v4, v4, v16
	sub.2d	v5, v5, v17
	sub.2d	v6, v6, v18
	sub.2d	v7, v7, v19
	abs.2d	v4, v4
	abs.2d	v5, v5
	abs.2d	v6, v6
	abs.2d	v7, v7
	xtn.2s	v4, v4
	xtn.2s	v5, v5
	xtn.2s	v6, v6
	xtn.2s	v7, v7
	add.2s	v0, v0, v4
	add.2s	v1, v1, v5
	add.2s	v2, v2, v6
	add.2s	v3, v3, v7
	subs	x11, x11, #8
	b.ne	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w9, s0
	ldr	x10, [sp, #24]                  ; 8-byte Folded Reload
	mov	x11, x10
	cmp	x10, x23
	b.eq	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x11, x28
	ldr	x12, [sp, #8]                   ; 8-byte Folded Reload
	add	x10, x12, x10, lsl #3
	sub	w8, w21, w8
	mul	w8, w17, w8
	add	x8, x11, w8, sxtw
	add	x8, x12, x8, lsl #3
	sub	x11, x23, x11
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x8], #8
	ldr	x13, [x10], #8
	subs	x12, x12, x13
	cneg	x12, x12, mi
	add	w9, w9, w12
	subs	x11, x11, #1
	b.ne	LBB0_12
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w9, w23
	cinc	w25, w25, lt
	ccmp	x20, #0, #4, lt
	ccmp	w23, #1, #8, ne
	b.lt	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w22, #0
LBB0_15:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_burn_frame8
	add	w22, w22, #1
	cmp	w23, w22
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x17, [sp, #16]                  ; 8-byte Folded Reload
Lloh2:
	adrp	x0, _VREP_START@GOTPAGE
Lloh3:
	ldr	x0, [x0, _VREP_START@GOTPAGEOFF]
	b	LBB0_2
LBB0_17:
	mov	w25, #0
LBB0_18:
	mul	w0, w25, w23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VREP_START,4,2                 ; @VREP_START
	.no_dead_strip	_filter8_vrep
.subsections_via_symbols
