	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FatReadClusterChain
_FatReadClusterChain:                   ## @FatReadClusterChain
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setg	%dil
	callq	_ASSERT
	leaq	-56(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_FatReadAdjacentClusters
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	-56(%rbp), %r13
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax
	subq	%rax, %rbx
	imulq	(%r12), %rax
	imulq	8(%r12), %rax
	addq	%rax, %r15
	movq	-48(%rbp), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%r13, %r8
	movq	%r14, %r9
	callq	_FatReadAdjacentClusters
	testq	%rax, %rax
	jne	LBB0_2
LBB0_3:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, (%rcx)
LBB0_5:
	xorl	%eax, %eax
	cmpq	$0, -56(%rbp)
	setg	%al
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FatReadClusterChain() StartClusterNumber = %d NumberOfClusters = %d Buffer = 0x%x\n"

	.no_dead_strip	_FatReadClusterChain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FatReadClusterChain
_FatReadClusterChain:                   ; @FatReadClusterChain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cmp	x21, #0
	cset	w0, gt
	bl	_ASSERT
	add	x4, sp, #8
	mov	x5, sp
	mov	x0, x22
	mov	x1, x23
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x2, x21
	mov	x3, x20
	bl	_FatReadAdjacentClusters
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldp	x1, x8, [sp]
	sub	x21, x21, x8
	ldp	x9, x10, [x22]
	mul	x8, x9, x8
	madd	x20, x8, x10, x20
	add	x4, sp, #8
	mov	x5, sp
	mov	x0, x22
	b	LBB0_1
LBB0_3:
	cbz	x19, LBB0_5
; %bb.4:
	ldr	x8, [sp]
	str	x8, [x19]
LBB0_5:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, gt
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FatReadClusterChain() StartClusterNumber = %d NumberOfClusters = %d Buffer = 0x%x\n"

	.no_dead_strip	_FatReadClusterChain
.subsections_via_symbols
