	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stackRoll                      ## -- Begin function stackRoll
	.p2align	4, 0x90
_stackRoll:                             ## @stackRoll
	.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
	testl	%esi, %esi
	je	LBB0_11
## %bb.1:
	movl	%esi, %r14d
	movslq	(%rdi), %rax
	jle	LBB0_3
## %bb.2:
	movl	%r14d, %ecx
	notl	%ecx
	addl	%eax, %ecx
	movslq	%ecx, %rbx
	movl	(%rbx), %r15d
	leaq	4(%rbx), %rsi
	movl	%r14d, %edx
	shlq	$2, %rdx
	movq	%rbx, %rdi
	callq	_memmove
	decl	%r14d
	movl	%r15d, 4(%rbx,%r14,4)
	jmp	LBB0_11
LBB0_3:
	movl	-1(%rax), %ecx
	decq	%rax
	movl	%r14d, %edx
	negl	%edx
	andl	$7, %edx
	je	LBB0_4
## %bb.5:
	negl	%edx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rax), %edi
	movl	%edi, (%rax)
	addq	$-4, %rax
	decq	%rsi
	cmpl	%esi, %edx
	jne	LBB0_6
## %bb.7:
	movl	%r14d, %edx
	subl	%esi, %edx
	cmpl	$-8, %r14d
	ja	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax), %xmm0
	movups	%xmm0, -12(%rax)
	movq	-32(%rax), %rsi
	movq	-24(%rax), %rdi
	movq	%rdi, -20(%rax)
	movq	%rsi, -28(%rax)
	addq	$-32, %rax
	addl	$8, %edx
	jne	LBB0_9
LBB0_10:
	movl	%ecx, (%rax)
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r14d, %edx
	cmpl	$-8, %r14d
	jbe	LBB0_9
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stackRoll                      ; -- Begin function stackRoll
	.p2align	2
_stackRoll:                             ; @stackRoll
	.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
	cbz	w1, LBB0_6
; %bb.1:
	ldrsw	x8, [x0]
	subs	w20, w1, #1
	b.lt	LBB0_3
; %bb.2:
	mvn	w9, w1
	add	w8, w8, w9
	sxtw	x19, w8
	mov	x8, x19
	ldr	w21, [x8], #4
	mov	w9, w1
	lsl	x2, x9, #2
	mov	x0, x19
	mov	x1, x8
	bl	_memmove
	add	x8, x19, w20, uxtw #2
	str	w21, [x8, #4]
	b	LBB0_6
LBB0_3:
	ldr	w9, [x8, #-1]!
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x10, x8
	ldr	w11, [x8, #-4]!
	str	w11, [x10]
	adds	w1, w1, #1
	b.lo	LBB0_4
; %bb.5:
	str	w9, [x8]
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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
