	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function interleave
_interleave:                            ## @interleave
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	24(%rbp), %r10d
	movl	16(%rbp), %ebx
	movl	$1, %r15d
	subl	%r10d, %r15d
	movl	%ecx, %eax
	sarl	%eax
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.1:
	movl	%edx, %r14d
	cmpl	$130, %ebx
	je	LBB0_9
## %bb.2:
	cmpl	$129, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_12
## %bb.3:
	cmpl	$2, %ecx
	jl	LBB0_12
## %bb.4:
	movq	%rsi, %r13
	movslq	%r10d, %rcx
	movslq	%r8d, %rdx
	movslq	%r9d, %rsi
	movslq	%eax, %rdi
	cmpl	$2, %edi
	movl	$1, %r12d
	cmovgel	%eax, %r12d
	imull	%r8d, %r15d
	leal	(%rdx,%rdx), %eax
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	imulq	%rsi, %rdi
	shlq	$2, %rdi
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	shlq	$2, %rsi
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	imulq	%rdx, %rcx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rbx
	shlq	$3, %rdx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movslq	%r15d, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rdi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r13), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	addl	-64(%rbp), %r15d                ## 4-byte Folded Reload
	addq	-80(%rbp), %r13                 ## 8-byte Folded Reload
	addq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	decq	%r12
	jne	LBB0_5
	jmp	LBB0_12
LBB0_6:
	cmpl	$2, %ecx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	jl	LBB0_12
## %bb.7:
	movl	%edx, %ebx
	movslq	%r10d, %rcx
	movslq	%r9d, %rdx
	movslq	%r8d, %rsi
	addl	%r8d, %r8d
	cmpl	$2, %eax
	movl	$1, %edi
	cmovgel	%eax, %edi
	imull	%r9d, %r15d
	addl	%r9d, %r9d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rsi,4), %r13
	shlq	$3, %rsi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	imulq	%rdx, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %r12
	shlq	$3, %rdx
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movl	%r9d, -80(%rbp)                 ## 4-byte Spill
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movslq	%r14d, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,4), %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%r15d, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	addl	%r8d, %r14d
	addl	%r9d, %r15d
	addq	-88(%rbp), %r13                 ## 8-byte Folded Reload
	addq	-96(%rbp), %r12                 ## 8-byte Folded Reload
	decq	%rdi
	jne	LBB0_8
	jmp	LBB0_12
LBB0_9:
	cmpl	$2, %ecx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jl	LBB0_12
## %bb.10:
	movq	%rdi, %r12
	movslq	%r10d, %rcx
	movslq	%r9d, %rdx
	movslq	%r8d, %rsi
	movslq	%eax, %rdi
	cmpl	$2, %eax
	movl	$1, %r13d
	cmovgel	%eax, %r13d
	imull	%r9d, %r15d
	addl	%r9d, %r9d
	imulq	%rsi, %rdi
	shlq	$2, %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	shlq	$2, %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	imulq	%rdx, %rcx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rbx
	shlq	$3, %rdx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%r9d, -80(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax), %rdi
	movslq	%r15d, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15,4), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	-80(%rbp), %r9d                 ## 4-byte Reload
	addl	%r9d, %r15d
	addq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	decq	%r13
	jne	LBB0_11
LBB0_12:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_interleave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function interleave
_interleave:                            ; @interleave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
                                        ; kill: def $w5 killed $w5 def $x5
                                        ; kill: def $w4 killed $w4 def $x4
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w8, #1
	sub	w9, w8, w7
	asr	w8, w3, #1
	cmp	w6, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w6, #130
	b.eq	LBB0_9
; %bb.2:
	cmp	w6, #129
	b.ne	LBB0_12
; %bb.3:
	cmp	w3, #2
	b.lt	LBB0_12
; %bb.4:
	cmp	w8, #1
	csinc	w23, w8, wzr, gt
	mul	w24, w4, w9
	lsl	w25, w4, #1
	smull	x8, w8, w5
	lsl	x26, x8, #2
	sbfiz	x27, x5, #2, #32
	smull	x8, w7, w4
	add	x22, x21, x8, lsl #2
	sbfiz	x28, x4, #3, #32
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_memcpy
	add	x0, x21, w24, sxtw #2
	add	x1, x20, x26
	mov	x2, x19
	bl	_memcpy
	add	w24, w24, w25
	add	x20, x20, x27
	add	x22, x22, x28
	subs	x23, x23, #1
	b.ne	LBB0_5
	b	LBB0_12
LBB0_6:
	cmp	w3, #2
	b.lt	LBB0_12
; %bb.7:
	mov	w24, #0
	lsl	w10, w4, #1
	cmp	w8, #1
	csinc	w26, w8, wzr, gt
	mul	w27, w5, w9
	lsl	w8, w5, #1
	stp	w8, w10, [sp, #8]               ; 8-byte Folded Spill
	add	x22, x21, w4, sxtw #2
                                        ; kill: def $w4 killed $w4 killed $x4 def $x4
	sbfiz	x25, x4, #3, #32
	smull	x8, w7, w5
	add	x23, x20, x8, lsl #2
                                        ; kill: def $w5 killed $w5 killed $x5 def $x5
	sbfiz	x28, x5, #3, #32
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x21, w24, sxtw #2
	mov	x1, x23
	mov	x2, x19
	bl	_memcpy
	add	x1, x20, w27, sxtw #2
	mov	x0, x22
	mov	x2, x19
	bl	_memcpy
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w24, w24, w8
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	add	w27, w27, w8
	add	x22, x22, x25
	add	x23, x23, x28
	subs	x26, x26, #1
	b.ne	LBB0_8
	b	LBB0_12
LBB0_9:
	cmp	w3, #2
	b.lt	LBB0_12
; %bb.10:
	cmp	w8, #1
	csinc	w23, w8, wzr, gt
	mul	w24, w5, w9
	lsl	w25, w5, #1
	smull	x8, w8, w4
	lsl	x26, x8, #2
                                        ; kill: def $w4 killed $w4 killed $x4 def $x4
	sbfiz	x27, x4, #2, #32
	smull	x8, w7, w5
	add	x22, x20, x8, lsl #2
                                        ; kill: def $w5 killed $w5 killed $x5 def $x5
	sbfiz	x28, x5, #3, #32
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	bl	_memcpy
	add	x0, x21, x26
	add	x1, x20, w24, sxtw #2
	mov	x2, x19
	bl	_memcpy
	add	w24, w24, w25
	add	x21, x21, x27
	add	x22, x22, x28
	subs	x23, x23, #1
	b.ne	LBB0_11
LBB0_12:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_interleave
.subsections_via_symbols
