	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FatCountClustersInChain
_FatCountClustersInChain:               ## @FatCountClustersInChain
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	%rsi, -32(%rbp)
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	movq	%rbx, %rdi
	callq	_FAT_IS_END_CLUSTER
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_2:
	leaq	-32(%rbp), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%rbp), %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	callq	_FatGetFatEntry
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	-32(%rbp), %rdi
	callq	_FAT_IS_END_CLUSTER
	testq	%rax, %rax
	je	LBB0_3
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TRACE
	jmp	LBB0_7
LBB0_4:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FatCountClustersInChain() StartCluster = %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"FatCountClustersInChain() ClusterCount = %d\n"

	.no_dead_strip	_FatCountClustersInChain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FatCountClustersInChain
_FatCountClustersInChain:               ; @FatCountClustersInChain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	x1, [sp, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	mov	x0, x20
	bl	_FAT_IS_END_CLUSTER
	mov	x20, #0
	cbz	x0, LBB0_3
LBB0_1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_TRACE
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #1
	ldr	x0, [sp, #8]
	bl	_FAT_IS_END_CLUSTER
	cbnz	x0, LBB0_1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [sp, #8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_FatGetFatEntry
	cbnz	w0, LBB0_2
; %bb.4:
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FatCountClustersInChain() StartCluster = %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"FatCountClustersInChain() ClusterCount = %d\n"

	.no_dead_strip	_FatCountClustersInChain
.subsections_via_symbols
