	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cluster_done
_cluster_done:                          ## @cluster_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rsi), %rax
	cmpl	%edi, %eax
	jle	LBB0_12
## %bb.1:
	movl	%edi, %ecx
	shlq	$4, %rcx
	movq	8(%rdx,%rcx), %rcx
	movq	(%rcx), %rcx
	movslq	%edi, %r9
	movl	%eax, %esi
	subl	%edi, %esi
	movq	%r9, %rdi
	notq	%rdi
	testb	$1, %sil
	je	LBB0_5
## %bb.2:
	movq	%r9, %r8
	shlq	$4, %r8
	movq	8(%rdx,%r8), %rsi
	cmpq	%rcx, (%rsi)
	jne	LBB0_4
## %bb.3:
	movl	$1, (%rdx,%r8)
LBB0_4:
	incq	%r9
LBB0_5:
	addq	%rax, %rdi
	jne	LBB0_6
LBB0_12:
	popq	%rbp
	retq
LBB0_6:
	subq	%r9, %rax
	shlq	$4, %r9
	addq	%r9, %rdx
	addq	$24, %rdx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$32, %rdx
	addq	$-2, %rax
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-16(%rdx), %rsi
	cmpq	%rcx, (%rsi)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, -24(%rdx)
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%rdx), %rsi
	cmpq	%rcx, (%rsi)
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, -8(%rdx)
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cluster_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cluster_done
_cluster_done:                          ; @cluster_done
	.cfi_startproc
; %bb.0:
	ldrsw	x10, [x1]
	cmp	w10, w0
	b.le	LBB0_5
; %bb.1:
	add	x8, x2, w0, uxtw #4
	ldr	x8, [x8, #8]
	ldr	x8, [x8]
	add	x9, x2, w0, sxtw #4
	add	x9, x9, #8
	sub	x10, x10, w0, sxtw
	mov	w11, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #16
	subs	x10, x10, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x9]
	ldr	x12, [x12]
	cmp	x12, x8
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	stur	w11, [x9, #-8]
	b	LBB0_2
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cluster_done
.subsections_via_symbols
