	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function group_previous
_group_previous:                        ## @group_previous
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leal	-1(%rax), %ecx
	movl	%ecx, 4(%rsi)
	movq	(%rdi), %rdx
	movslq	%ecx, %rcx
	leaq	(%rdx,%rcx,8), %rcx
	addq	$-8, %rcx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	decl	%eax
	cmpq	$0, (%rcx)
	leaq	-8(%rcx), %rcx
	jne	LBB0_3
## %bb.4:
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_group_previous
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function group_previous
_group_previous:                        ; @group_previous
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
	cbz	w8, LBB0_4
; %bb.1:
	sub	w9, w8, #1
	str	w9, [x1, #4]
	ldr	x10, [x0]
	add	x9, x10, w9, sxtw #3
	sub	x9, x9, #8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #-8
	sub	w8, w8, #1
	cbnz	x10, LBB0_2
; %bb.3:
	mov	w0, #0
	str	w8, [x1]
	ret
LBB0_4:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_group_previous
.subsections_via_symbols
