	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mix8
LCPI0_0:
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.byte	128                             ## 0x80
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.space	1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mix8:                                  ## @mix8
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r15d, %ecx
	callq	_TRACE
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.1:
	leal	-1(%r15), %eax
	cmpl	$7, %eax
	jb	LBB0_12
## %bb.2:
	leaq	(%r14,%rax), %rcx
	incq	%rcx
	cmpq	%rbx, %rcx
	jbe	LBB0_4
## %bb.3:
	leaq	(%rbx,%rax,4), %rcx
	addq	$4, %rcx
	cmpq	%r14, %rcx
	jbe	LBB0_4
LBB0_12:
	testb	$1, %r15b
	jne	LBB0_14
LBB0_13:
	movl	%r15d, %eax
	cmpl	$1, %r15d
	jne	LBB0_16
	jmp	LBB0_18
LBB0_4:
	incq	%rax
	movq	%rax, %rcx
	andq	$-8, %rcx
	leaq	-8(%rcx), %rdx
	movq	%rdx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.6:
	movq	%rsi, %rdi
	andq	$-2, %rdi
	xorl	%edx, %edx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = <128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u>
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movd	(%r14,%rdx), %xmm1              ## xmm1 = mem[0],zero,zero,zero
	movd	4(%r14,%rdx), %xmm2             ## xmm2 = mem[0],zero,zero,zero
	pxor	%xmm0, %xmm1
	pxor	%xmm0, %xmm2
	pmovsxbd	%xmm1, %xmm1
	pmovsxbd	%xmm2, %xmm2
	movdqu	(%rbx,%rdx,4), %xmm3
	paddd	%xmm1, %xmm3
	movdqu	16(%rbx,%rdx,4), %xmm1
	paddd	%xmm2, %xmm1
	movdqu	32(%rbx,%rdx,4), %xmm2
	movdqu	48(%rbx,%rdx,4), %xmm4
	movdqu	%xmm3, (%rbx,%rdx,4)
	movdqu	%xmm1, 16(%rbx,%rdx,4)
	movd	8(%r14,%rdx), %xmm1             ## xmm1 = mem[0],zero,zero,zero
	movd	12(%r14,%rdx), %xmm3            ## xmm3 = mem[0],zero,zero,zero
	pxor	%xmm0, %xmm1
	pxor	%xmm0, %xmm3
	pmovsxbd	%xmm1, %xmm1
	paddd	%xmm2, %xmm1
	pmovsxbd	%xmm3, %xmm2
	paddd	%xmm4, %xmm2
	movdqu	%xmm1, 32(%rbx,%rdx,4)
	movdqu	%xmm2, 48(%rbx,%rdx,4)
	addq	$16, %rdx
	addq	$-2, %rdi
	jne	LBB0_7
## %bb.8:
	testb	$1, %sil
	je	LBB0_10
LBB0_9:
	movd	(%r14,%rdx), %xmm0              ## xmm0 = mem[0],zero,zero,zero
	movd	4(%r14,%rdx), %xmm1             ## xmm1 = mem[0],zero,zero,zero
	movdqa	LCPI0_0(%rip), %xmm2            ## xmm2 = <128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u>
	pxor	%xmm2, %xmm0
	pxor	%xmm2, %xmm1
	pmovsxbd	%xmm0, %xmm0
	pmovsxbd	%xmm1, %xmm1
	movdqu	(%rbx,%rdx,4), %xmm2
	paddd	%xmm0, %xmm2
	movdqu	16(%rbx,%rdx,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	%xmm2, (%rbx,%rdx,4)
	movdqu	%xmm0, 16(%rbx,%rdx,4)
LBB0_10:
	cmpq	%rcx, %rax
	je	LBB0_18
## %bb.11:
	subl	%ecx, %r15d
	leaq	(%rbx,%rcx,4), %rbx
	addq	%rcx, %r14
	testb	$1, %r15b
	je	LBB0_13
LBB0_14:
	leal	-1(%r15), %eax
	movsbl	(%r14), %ecx
	incq	%r14
	xorl	$-128, %ecx
	addl	%ecx, (%rbx)
	addq	$4, %rbx
	cmpl	$1, %r15d
	je	LBB0_18
LBB0_16:
	movl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rcx), %edx
	xorl	$-128, %edx
	addl	%edx, (%rbx,%rcx,4)
	movsbl	1(%r14,%rcx), %edx
	xorl	$-128, %edx
	addl	%edx, 4(%rbx,%rcx,4)
	addq	$2, %rcx
	cmpl	%ecx, %eax
	jne	LBB0_17
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	xorl	%edx, %edx
	testb	$1, %sil
	jne	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p - %p %d\n"

	.no_dead_strip	_mix8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mix8
_mix8:                                  ; @mix8
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x20
	mov	x3, x19
	bl	_TRACE
	cbz	w19, LBB0_6
; %bb.1:
	sub	w9, w19, #1
	cmp	w9, #7
	b.lo	LBB0_4
; %bb.2:
	add	x8, x9, #1
	add	x10, x21, x8
	cmp	x10, x20
	b.ls	LBB0_7
; %bb.3:
	add	x8, x20, x8, lsl #2
	cmp	x8, x21
	b.ls	LBB0_7
LBB0_4:
	mov	x9, x20
	mov	x10, x21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w8, [x10], #1
	eor	w8, w8, #0xffffff80
	ldr	w11, [x9]
	add	w8, w11, w8
	str	w8, [x9], #4
	subs	w19, w19, #1
	b.ne	LBB0_5
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	add	x8, x9, #1
	cmp	w9, #15
	b.hs	LBB0_9
; %bb.8:
	mov	x11, #0
	b	LBB0_14
LBB0_9:
	and	x11, x8, #0x1fffffff0
	movi.16b	v0, #128
	mov	x9, x11
	mov	x10, x20
	mov	x12, x21
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	q1, [x12], #16
	eor.16b	v1, v1, v0
	sshll2.8h	v2, v1, #0
	sshll.8h	v1, v1, #0
	ldp	q4, q3, [x10, #32]
	ldp	q6, q5, [x10]
	saddw.4s	v6, v6, v1
	saddw2.4s	v1, v5, v1
	saddw.4s	v4, v4, v2
	saddw2.4s	v2, v3, v2
	stp	q4, q2, [x10, #32]
	stp	q6, q1, [x10], #64
	subs	x9, x9, #16
	b.ne	LBB0_10
; %bb.11:
	cmp	x8, x11
	b.eq	LBB0_6
; %bb.12:
	tbnz	w8, #3, LBB0_14
; %bb.13:
	add	x10, x21, x11
	add	x9, x20, x11, lsl #2
	sub	w19, w19, w11
	b	LBB0_5
LBB0_14:
	and	x12, x8, #0x1fffffff8
	sub	w19, w19, w12
	add	x9, x20, x12, lsl #2
	add	x10, x21, x12
	add	x13, x21, x11
	sub	x14, x11, x12
	movi.8b	v0, #128
	add	x11, x20, x11, lsl #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	d1, [x13], #8
	eor.8b	v1, v1, v0
	sshll.8h	v1, v1, #0
	ldp	q3, q2, [x11]
	saddw.4s	v3, v3, v1
	saddw2.4s	v1, v2, v1
	stp	q3, q1, [x11], #32
	adds	x14, x14, #8
	b.ne	LBB0_15
; %bb.16:
	cmp	x8, x12
	b.ne	LBB0_5
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p - %p %d\n"

	.no_dead_strip	_mix8
.subsections_via_symbols
