	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mix24
LCPI0_0:
	.long	4278190080                      ## 0xff000000
	.long	4278190080                      ## 0xff000000
	.long	4278190080                      ## 0xff000000
	.long	4278190080                      ## 0xff000000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mix24:                                 ## @mix24
	.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, %r14
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movl	%r15d, %ecx
	callq	_TRACE
	cmpl	$3, %r15d
	jb	LBB0_10
## %bb.1:
	movl	%r15d, %ecx
	movl	$2863311531, %eax               ## imm = 0xAAAAAAAB
	imulq	%rcx, %rax
	shrq	$33, %rax
	leal	-1(%rax), %r8d
	cmpl	$7, %r8d
	jb	LBB0_2
## %bb.3:
	leaq	(%rbx,%r8,4), %rcx
	addq	$12, %rcx
	cmpq	%r14, %rcx
	jbe	LBB0_5
## %bb.4:
	leaq	(%r14,%r8,4), %rcx
	addq	$4, %rcx
	cmpq	%rbx, %rcx
	jbe	LBB0_5
LBB0_2:
	movq	%r14, %r9
	movq	%rbx, %rdx
LBB0_8:
	movl	%eax, %eax
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rdx,%rsi,4), %edi
	movl	8(%rdx,%rsi,4), %ecx
	movl	%ecx, %ebx
	shll	$16, %ebx
	shll	$8, %edi
	addl	%ebx, %edi
	addl	(%rdx,%rsi,4), %edi
	movl	%edi, %ebx
	orl	$-16777216, %ebx                ## imm = 0xFF000000
	testb	$-128, %cl
	cmovel	%edi, %ebx
	addl	%ebx, (%r9,%rsi,4)
	incq	%rsi
	cmpl	%esi, %eax
	jne	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	incq	%r8
	movq	%r8, %rdi
	andq	$-8, %rdi
	subl	%edi, %eax
	leaq	(%r14,%rdi,4), %r9
	leaq	(%rbx,%rdi,4), %rdx
	xorl	%esi, %esi
	movdqa	LCPI0_0(%rip), %xmm8            ## xmm8 = [4278190080,4278190080,4278190080,4278190080]
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	24(%rbx,%rsi,4), %xmm1
	movdqu	(%rbx,%rsi,4), %xmm4
	movdqu	4(%rbx,%rsi,4), %xmm3
	movdqu	8(%rbx,%rsi,4), %xmm0
	movdqu	16(%rbx,%rsi,4), %xmm5
	movdqa	%xmm0, %xmm6
	pslld	$16, %xmm6
	movdqa	%xmm1, %xmm7
	pslld	$16, %xmm7
	movdqu	20(%rbx,%rsi,4), %xmm2
	pslld	$8, %xmm3
	paddd	%xmm6, %xmm3
	paddd	%xmm4, %xmm3
	pslld	$8, %xmm2
	paddd	%xmm7, %xmm2
	paddd	%xmm5, %xmm2
	movdqa	%xmm3, %xmm4
	por	%xmm8, %xmm4
	movdqa	%xmm2, %xmm5
	pslld	$24, %xmm0
	blendvps	%xmm0, %xmm4, %xmm3
	por	%xmm8, %xmm5
	pslld	$24, %xmm1
	movdqa	%xmm1, %xmm0
	blendvps	%xmm0, %xmm5, %xmm2
	movdqu	(%r14,%rsi,4), %xmm0
	paddd	%xmm3, %xmm0
	movdqu	16(%r14,%rsi,4), %xmm1
	paddd	%xmm2, %xmm1
	movdqu	%xmm0, (%r14,%rsi,4)
	movdqu	%xmm1, 16(%r14,%rsi,4)
	addq	$8, %rsi
	cmpq	%rsi, %rdi
	jne	LBB0_6
## %bb.7:
	cmpq	%rdi, %r8
	jne	LBB0_8
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%p - %p %d\n"

	.no_dead_strip	_mix24
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mix24
_mix24:                                 ; @mix24
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_TRACE
	cmp	w21, #3
	b.lo	LBB0_9
; %bb.1:
	mov	w8, #43691
	movk	w8, #43690, lsl #16
	umull	x8, w21, w8
	lsr	x8, x8, #33
	sub	w9, w8, #1
	cmp	w9, #15
	b.lo	LBB0_6
; %bb.2:
	lsl	x10, x9, #2
	add	x11, x10, x20
	add	x11, x11, #4
	add	x10, x10, x19
	add	x10, x10, #12
	cmp	x10, x20
	ccmp	x11, x19, #0, hi
	b.hi	LBB0_6
; %bb.3:
	add	x11, x9, #1
	and	x12, x11, #0x1fffffff0
	sub	w8, w8, w12
	lsl	x10, x12, #2
	add	x9, x20, x10
	add	x10, x19, x10
	add	x13, x20, #32
	add	x14, x19, #32
	movi.4s	v0, #128
	mov	x15, x12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	q1, [x14, #-24]
	ldur	q2, [x14, #-8]
	ldur	q3, [x14, #8]
	ldur	q4, [x14, #24]
	shl.4s	v5, v1, #16
	shl.4s	v6, v2, #16
	shl.4s	v7, v3, #16
	shl.4s	v16, v4, #16
	ldur	q17, [x14, #-28]
	ldur	q18, [x14, #-12]
	ldur	q19, [x14, #4]
	ldur	q20, [x14, #20]
	shl.4s	v17, v17, #8
	shl.4s	v18, v18, #8
	shl.4s	v19, v19, #8
	shl.4s	v20, v20, #8
	add.4s	v5, v17, v5
	add.4s	v6, v18, v6
	add.4s	v7, v19, v7
	add.4s	v16, v20, v16
	ldp	q17, q18, [x14, #-32]
	ldp	q19, q20, [x14], #64
	add.4s	v5, v5, v17
	add.4s	v6, v6, v18
	add.4s	v7, v7, v19
	add.4s	v16, v16, v20
	and.16b	v1, v1, v0
	and.16b	v2, v2, v0
	and.16b	v3, v3, v0
	and.16b	v4, v4, v0
	cmeq.4s	v1, v1, #0
	cmeq.4s	v2, v2, #0
	cmeq.4s	v3, v3, #0
	cmeq.4s	v4, v4, #0
	mov.16b	v17, v5
	orr.4s	v17, #255, lsl #24
	mov.16b	v18, v6
	orr.4s	v18, #255, lsl #24
	mov.16b	v19, v7
	orr.4s	v19, #255, lsl #24
	mov.16b	v20, v16
	orr.4s	v20, #255, lsl #24
	bsl.16b	v1, v5, v17
	bsl.16b	v2, v6, v18
	bsl.16b	v3, v7, v19
	bsl.16b	v4, v16, v20
	ldp	q5, q6, [x13, #-32]
	ldp	q7, q16, [x13]
	add.4s	v1, v1, v5
	add.4s	v2, v2, v6
	add.4s	v3, v3, v7
	stp	q1, q2, [x13, #-32]
	add.4s	v1, v4, v16
	stp	q3, q1, [x13], #64
	subs	x15, x15, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x11, x12
	b.ne	LBB0_7
	b	LBB0_9
LBB0_6:
	mov	x9, x20
	mov	x10, x19
LBB0_7:
	add	x10, x10, #8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w12, w11, [x10, #-4]
	ldur	w13, [x10, #-8]
	lsl	w12, w12, #8
	add	w12, w12, w11, lsl #16
	add	w12, w12, w13
	orr	w13, w12, #0xff000000
	tst	w11, #0x80
	csel	w11, w12, w13, eq
	ldr	w12, [x9]
	add	w11, w11, w12
	str	w11, [x9], #4
	add	x10, x10, #4
	sub	w8, w8, #1
	cbnz	w8, LBB0_8
LBB0_9:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%p - %p %d\n"

	.no_dead_strip	_mix24
.subsections_via_symbols
