	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function juggle
_juggle:                                ## @juggle
	.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
	testl	%edx, %edx
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r10
	movl	%ecx, %eax
	shrl	%eax
	movl	%edx, %esi
	cmpl	$2, %eax
	movl	$1, %r11d
	cmovael	%eax, %r11d
	movl	%r11d, %eax
	andl	$-2, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rax
	shlq	$4, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	leaq	(,%rsi,4), %r12
	xorl	%r14d, %r14d
	movl	%r11d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r15d, (%rdi)
	movl	%ebx, 4(%rdi)
	addq	$8, %rdi
	addq	$4, %r10
	incl	%r14d
	cmpl	%edx, %r14d
	je	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	(%rdi), %r15d
	movl	4(%rdi), %ebx
	cmpl	$2, %ecx
	jb	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$4, %ecx
	jae	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r10, %r9
	testb	$1, %r11b
	je	LBB0_10
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	%r10, %r13
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %r9
	movl	(%r13), %r13d
	leal	(%r15,%rbx,2), %eax
	addl	%r13d, %eax
	movl	%eax, (%r9)
	leaq	(%r9,%r12), %rax
	movl	(%r9,%r12), %r11d
	leal	(%r13,%r13), %esi
	addl	%r11d, %ebx
	subl	%ebx, %esi
	movl	%esi, (%r9,%r12)
	leaq	(%rax,%r12), %rsi
	movl	(%r12,%rax), %r15d
	leal	(%r13,%r11,2), %ebx
	addl	%r15d, %ebx
	movl	%ebx, (%r12,%rax)
	leaq	(%rsi,%r12), %r13
	movl	(%r12,%rsi), %ebx
	leal	(%r15,%r15), %eax
	addl	%ebx, %r11d
	subl	%r11d, %eax
	movl	%eax, (%r12,%rsi)
	addq	%r12, %r13
	addl	$-2, %r8d
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	-56(%rbp), %r9                  ## 8-byte Folded Reload
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	testb	$1, %r11b
	je	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	(%r15,%rbx,2), %eax
	movl	(%r9), %r15d
	addl	%r15d, %eax
	movl	%eax, (%r9)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%r9,%rax,4), %r8d
	leal	(%r15,%r15), %esi
	addl	%r8d, %ebx
	subl	%ebx, %esi
	movl	%esi, (%r9,%rax,4)
                                        ## kill: def $r15d killed $r15d killed $r15 def $r15
	movl	%r8d, %ebx
	jmp	LBB0_10
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_juggle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function juggle
_juggle:                                ; @juggle
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_7
; %bb.1:
	mov	w8, #0
	lsr	w9, w3, #1
	mov	w11, w2
	cmp	w9, #1
	csinc	w9, w9, wzr, hi
	lsl	x10, x11, #3
	lsl	x11, x11, #2
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x15, x16
	mov	x17, x14
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	stp	w15, w17, [x0], #8
	add	x1, x1, #4
	add	w8, w8, #1
	cmp	w8, w2
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldp	w16, w14, [x0]
	cmp	w3, #2
	b.lo	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x12, x9
	mov	x13, x1
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x13]
	ldr	w17, [x13, x11]
	add	w16, w16, w14, lsl #1
	lsl	w4, w15, #1
	add	w14, w14, w17
	sub	w14, w4, w14
	str	w14, [x13, x11]
	add	w14, w16, w15
	str	w14, [x13]
	add	x13, x13, x10
	mov	x14, x17
	mov	x16, x15
	subs	w12, w12, #1
	b.ne	LBB0_6
	b	LBB0_3
LBB0_7:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_juggle
.subsections_via_symbols
