	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function heapam_scan_get_blocks_done
_heapam_scan_get_blocks_done:           ## @heapam_scan_get_blocks_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movq	24(%rdi), %rcx
	testq	%rcx, %rcx
	movq	%rcx, %rdx
	cmoveq	%rdi, %rdx
	subq	(%rdx), %rax
	jg	LBB0_2
## %bb.1:
	leaq	8(%rcx), %rdx
	addq	$16, %rdi
	testq	%rcx, %rcx
	cmovneq	%rdx, %rdi
	addq	(%rdi), %rax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_heapam_scan_get_blocks_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function heapam_scan_get_blocks_done
_heapam_scan_get_blocks_done:           ; @heapam_scan_get_blocks_done
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x0, #24]
	cmp	x9, #0
	csel	x10, x0, x9, eq
	ldr	x10, [x10]
	ldr	x11, [x0, #8]
	subs	x0, x11, x10
	b.gt	LBB0_2
; %bb.1:
	add	x10, x9, #8
	add	x8, x8, #16
	cmp	x9, #0
	csel	x8, x8, x10, eq
	ldr	x8, [x8]
	add	x0, x0, x8
LBB0_2:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_heapam_scan_get_blocks_done
.subsections_via_symbols
