	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function donelist_check
_donelist_check:                        ## @donelist_check
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %rax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rax,%rdx,8)
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_3
LBB0_5:
	xorl	%eax, %eax
	cmpl	4(%rdi), %ecx
	jae	LBB0_7
## %bb.6:
	movq	8(%rdi), %r8
	leal	1(%rcx), %edx
	movl	%edx, (%rdi)
	movq	%rsi, (%r8,%rcx,8)
LBB0_7:
	popq	%rbp
	retq
LBB0_4:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_donelist_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function donelist_check
_donelist_check:                        ; @donelist_check
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cbz	w9, LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	mov	x10, x9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	cmp	x11, x1
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #8
	subs	x10, x10, #1
	b.ne	LBB0_2
LBB0_4:
	ldr	w8, [x0, #4]
	cmp	w9, w8
	b.hs	LBB0_7
; %bb.5:
	ldr	x10, [x0, #8]
	add	w11, w9, #1
	str	w11, [x0]
	str	x1, [x10, x9, lsl #3]
	mov	w0, #0
	ret
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_donelist_check
.subsections_via_symbols
