	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function deinterleaveBytes_c
_deinterleaveBytes_c:                   ## @deinterleaveBytes_c
	.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
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%r8d, %r8d
	jle	LBB0_17
## %bb.1:
	movslq	%r9d, %rax
	movslq	16(%rbp), %rdx
	movslq	24(%rbp), %rsi
	movl	%ecx, %r9d
	leaq	(%r9,%r9), %r14
	movl	%r9d, %edi
	andl	$-8, %edi
	movq	%rdi, -104(%rbp)                ## 8-byte Spill
	movq	%r9, %rdi
	negq	%rdi
	movq	%rdi, -144(%rbp)                ## 8-byte Spill
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %r12
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	leaq	(,%rdx,4), %r13
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	leaq	(,%rsi,4), %rbx
	movq	%r14, -112(%rbp)                ## 8-byte Spill
	andq	$-16, %r14
	xorl	%r11d, %r11d
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%r12, %rdi
	addq	%r13, %rsi
	addq	%rbx, %rdx
	incq	%r11
	cmpl	%r8d, %r11d
	je	LBB0_17
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
                                        ##     Child Loop BB0_15 Depth 2
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$8, %ecx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r11, %r10
	imulq	-128(%rbp), %r10                ## 8-byte Folded Reload
	addq	%r9, %r10
	movq	%r11, %rbx
	imulq	-120(%rbp), %rbx                ## 8-byte Folded Reload
	addq	%r9, %rbx
	movq	%r11, %rax
	imulq	-136(%rbp), %rax                ## 8-byte Folded Reload
	addq	-112(%rbp), %rax                ## 8-byte Folded Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%r10,4), %r10
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rbx,4), %rbx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	cmpq	%rbx, %rsi
	setb	%r15b
	cmpq	%r10, %rdx
	setb	%r13b
	cmpq	%rax, %rsi
	setb	%r12b
	cmpq	%r10, %rdi
	setb	%cl
	cmpq	%rax, %rdx
	setb	%r10b
	cmpq	%rbx, %rdi
	setb	%al
	testb	%r13b, %r15b
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	andb	%cl, %r12b
	jne	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, %r15d
	andb	%al, %r10b
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rdi,%rbx,4), %xmm0
	movups	16(%rdi,%rbx,4), %xmm1
	movups	32(%rdi,%rbx,4), %xmm2
	movups	48(%rdi,%rbx,4), %xmm3
	movaps	%xmm0, %xmm4
	shufps	$136, %xmm1, %xmm4              ## xmm4 = xmm4[0,2],xmm1[0,2]
	movaps	%xmm2, %xmm5
	shufps	$136, %xmm3, %xmm5              ## xmm5 = xmm5[0,2],xmm3[0,2]
	shufps	$221, %xmm1, %xmm0              ## xmm0 = xmm0[1,3],xmm1[1,3]
	shufps	$221, %xmm3, %xmm2              ## xmm2 = xmm2[1,3],xmm3[1,3]
	movups	%xmm4, (%rsi,%rbx,2)
	movups	%xmm5, 16(%rsi,%rbx,2)
	movups	%xmm0, (%rdx,%rbx,2)
	movups	%xmm2, 16(%rdx,%rbx,2)
	addq	$16, %rbx
	cmpq	%rbx, %r14
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, %r15
	cmpq	%r9, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
	jmp	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r15d, %r15d
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r10
	testb	$1, %r9b
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdi,%r15,8), %eax
	movl	%eax, (%rsi,%r15,4)
	movl	4(%rdi,%r15,8), %eax
	movl	%eax, (%rdx,%r15,4)
	movq	%r15, %r10
	orq	$1, %r10
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	notq	%r15
	cmpq	-144(%rbp), %r15                ## 8-byte Folded Reload
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rdi,%r10,8), %eax
	movl	%eax, (%rsi,%r10,4)
	movl	4(%rdi,%r10,8), %eax
	movl	%eax, (%rdx,%r10,4)
	movl	8(%rdi,%r10,8), %eax
	movl	%eax, 4(%rsi,%r10,4)
	movl	12(%rdi,%r10,8), %eax
	movl	%eax, 4(%rdx,%r10,4)
	addq	$2, %r10
	cmpq	%r10, %r9
	jne	LBB0_15
	jmp	LBB0_16
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_deinterleaveBytes_c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function deinterleaveBytes_c
_deinterleaveBytes_c:                   ; @deinterleaveBytes_c
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	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
	.cfi_offset w19, -8
	.cfi_offset w20, -16
	.cfi_offset w21, -24
	.cfi_offset w22, -32
	.cfi_offset w23, -40
	.cfi_offset w24, -48
	.cfi_offset w25, -56
	.cfi_offset w26, -64
                                        ; kill: def $w7 killed $w7 def $x7
                                        ; kill: def $w6 killed $w6 def $x6
                                        ; kill: def $w5 killed $w5 def $x5
	cmp	w4, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x8, #0
	sxtw	x9, w5
	mov	w10, w3
	sxtw	x11, w6
	sxtw	x12, w7
	lsl	x13, x10, #1
	and	x14, x10, #0xfffffff8
	lsl	x15, x10, #2
	and	x15, x15, #0x3ffffffe0
	add	x16, x0, #32
	sbfiz	x17, x5, #2, #32
	mov	x5, x0
	sbfiz	x7, x7, #2, #32
	mov	x19, x1
	mov	x20, x2
	sbfiz	x6, x6, #2, #32
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x5, x5, x17
	add	x19, x19, x6
	add	x20, x20, x7
	add	x8, x8, #1
	add	x16, x16, x17
	cmp	w8, w4
	b.eq	LBB0_14
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;     Child Loop BB0_13 Depth 2
	cmp	w3, #1
	b.lt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, #8
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	b	LBB0_12
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	madd	x22, x8, x11, x10
	add	x24, x1, x22, lsl #2
	madd	x22, x8, x12, x10
	add	x25, x2, x22, lsl #2
	madd	x22, x8, x9, x13
	add	x23, x0, x22, lsl #2
	cmp	x19, x23
	ccmp	x5, x24, #2, lo
	cset	w22, lo
	cmp	x20, x23
	ccmp	x5, x25, #2, lo
	cset	w23, lo
	cmp	x20, x24
	ccmp	x19, x25, #2, lo
	b.lo	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w22, #0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	tbnz	w23, #0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, #0
	mov	x22, x16
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x23, x22, #32
	ld2.4s	{ v0, v1 }, [x23]
	ld2.4s	{ v2, v3 }, [x22]
	add	x23, x19, x21
	stp	q0, q2, [x23]
	add	x23, x20, x21
	stp	q1, q3, [x23]
	add	x21, x21, #32
	add	x22, x22, #64
	cmp	x15, x21
	b.ne	LBB0_10
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x14
	cmp	x14, x10
	b.eq	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x5, x21, lsl #3
LBB0_13:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w23, [x22]
	lsl	x24, x21, #2
	str	w23, [x19, x24]
	ldr	w23, [x22, #4]
	str	w23, [x20, x24]
	add	x21, x21, #1
	add	x22, x22, #8
	cmp	x10, x21
	b.ne	LBB0_13
	b	LBB0_2
LBB0_14:
	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], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_deinterleaveBytes_c
.subsections_via_symbols
