	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checkfat                       ## -- Begin function checkfat
	.p2align	4, 0x90
_checkfat:                              ## @checkfat
	.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	%rsi, %r15
	movq	%rdi, %r14
	movq	_CLUST_FIRST@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	movq	(%rdi), %r8
	cmpq	%r8, %rbx
	jae	LBB0_17
## %bb.1:
	movq	_CLUST_FREE@GOTPCREL(%rip), %r9
	movq	_CLUST_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, %r10
	movl	$0, %ecx
	cmovneq	%rdi, %rcx
	movq	%rcx, 16(%r15,%r11,8)
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%r8, %rbx
	je	LBB0_16
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
	leaq	(%rbx,%rbx,2), %r11
	cmpq	$0, (%r15,%r11,8)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15,%r11,8), %r10
	movq	(%r9), %rcx
	cmpq	%rcx, %r10
	je	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	(%rax), %r10
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	(%r12), %rbx
	jb	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edx
	movq	%rbx, %rcx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %rdi
	leaq	(%rcx,%rcx,2), %rcx
	movq	%rbx, (%r15,%rcx,8)
	movq	8(%r15,%rcx,8), %rcx
	cmpq	(%r12), %rcx
	jb	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=2
	cmpq	%r8, %rcx
	jae	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	leaq	(%rcx,%rcx,2), %rsi
	leaq	1(%rdi), %rdx
	cmpq	%rbx, (%r15,%rsi,8)
	jne	LBB0_11
	jmp	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r9), %rcx
	jmp	LBB0_3
LBB0_16:
	movq	(%r12), %rbx
LBB0_17:
	xorl	%r10d, %r10d
	cmpq	%r8, %rbx
	jae	LBB0_56
## %bb.18:
	movq	_CLUST_EOFS@GOTPCREL(%rip), %r9
	xorl	%r10d, %r10d
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=1
	incq	%rbx
	movq	(%r14), %r8
	cmpq	%r8, %rbx
	jae	LBB0_56
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
                                        ##     Child Loop BB0_49 Depth 2
	leaq	(%rbx,%rbx,2), %rdx
	cmpq	%rbx, (%r15,%rdx,8)
	jne	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %r14
	movq	(%r12), %rsi
	leaq	(%r15,%rdx,8), %r13
	addq	$8, %r13
	movq	8(%r15,%rdx,8), %r12
	cmpq	%rsi, %r12
	setb	%cl
	jb	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	%r8, %r12
	jae	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	(%r12,%r12,2), %rdi
	cmpq	%rbx, (%r15,%rdi,8)
	jne	LBB0_32
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	16(%r15,%rdx,8), %rdi
	cmpq	$2, %rdi
	jl	LBB0_30
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdx
	leaq	(%r12,%r12,2), %rcx
	leaq	(%r15,%rcx,8), %r13
	addq	$8, %r13
	movq	8(%r15,%rcx,8), %r12
	cmpq	%rsi, %r12
	setb	%cl
	jb	LBB0_33
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	cmpq	%r8, %r12
	jae	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_26 Depth=2
	leaq	(%r12,%r12,2), %rax
	cmpq	%rbx, (%r15,%rax,8)
	jne	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_26 Depth=2
	leaq	-1(%rdi), %rax
	cmpq	$2, %rdi
	movq	%rax, %rdi
	jg	LBB0_26
	jmp	LBB0_33
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%rbx, %rdx
	cmpq	(%r9), %r12
	jb	LBB0_34
	jmp	LBB0_19
LBB0_32:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%rbx, %rdx
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_21 Depth=1
	cmpq	(%r9), %r12
	jae	LBB0_19
LBB0_34:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_CLUST_FREE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	movl	%r10d, -56(%rbp)                ## 4-byte Spill
	je	LBB0_40
## %bb.35:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_CLUST_RSRVD@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	jae	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_21 Depth=1
	testb	%cl, %cl
	jne	LBB0_43
## %bb.37:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	%r8, %r12
	jae	LBB0_43
## %bb.38:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	(%r12,%r12,2), %rcx
	movq	(%r15,%rcx,8), %rax
	cmpq	%rax, %rbx
	jne	LBB0_45
## %bb.39:                              ##   in Loop: Header=BB0_21 Depth=1
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_41
LBB0_40:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_rsrvdcltype
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rdi
LBB0_41:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%rbx, %rsi
	jmp	LBB0_44
LBB0_43:                                ##   in Loop: Header=BB0_21 Depth=1
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
LBB0_44:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%eax, %eax
	callq	_pwarn
	movq	%r14, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_tryclear
	movl	-56(%rbp), %r10d                ## 4-byte Reload
	orl	%eax, %r10d
	movq	_CLUST_EOFS@GOTPCREL(%rip), %r9
	jmp	LBB0_20
LBB0_45:                                ##   in Loop: Header=BB0_21 Depth=1
	leaq	(%r15,%rcx,8), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_pwarn
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_tryclear
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	xorl	%edi, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdx
	callq	_ask
	testq	%rax, %rax
	je	LBB0_52
## %bb.46:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_FSERROR@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_54
## %bb.47:                              ##   in Loop: Header=BB0_21 Depth=1
	cmpq	(%r14), %r12
	jb	LBB0_54
## %bb.48:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	.p2align	4, 0x90
LBB0_49:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rax, %r12
	jae	LBB0_54
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=2
	leaq	(%r12,%r12,2), %rcx
	cmpq	(%r15,%rcx,8), %r13
	jne	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_49 Depth=2
	leaq	(%r15,%rcx,8), %rdx
	movq	%rbx, (%rdx)
	movq	8(%r15,%rcx,8), %r12
	cmpq	(%r14), %r12
	jae	LBB0_49
	jmp	LBB0_54
LBB0_52:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	_CLUST_EOFS@GOTPCREL(%rip), %r9
	movl	-56(%rbp), %r10d                ## 4-byte Reload
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_55
LBB0_53:                                ##   in Loop: Header=BB0_21 Depth=1
	decq	%rbx
LBB0_54:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %r12
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_clearchain
	movq	_FSFATMOD@GOTPCREL(%rip), %rax
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	orl	(%rax), %ecx
	movl	%ecx, %eax
	movq	_CLUST_EOFS@GOTPCREL(%rip), %r9
	movl	-56(%rbp), %r10d                ## 4-byte Reload
LBB0_55:                                ##   in Loop: Header=BB0_21 Depth=1
	orl	%eax, %r10d
	jmp	LBB0_20
LBB0_56:
	movl	%r10d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLUST_FIRST,8,3                ## @CLUST_FIRST
	.comm	_CLUST_FREE,8,3                 ## @CLUST_FREE
	.comm	_CLUST_BAD,8,3                  ## @CLUST_BAD
	.comm	_CLUST_EOFS,8,3                 ## @CLUST_EOFS
	.comm	_CLUST_RSRVD,8,3                ## @CLUST_RSRVD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cluster chain starting at %u ends with cluster marked %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"Cluster chain starting at %u ends with cluster out of range (%u)\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cluster chain starting at %u loops at cluster %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"Cluster chains starting at %u and %u are linked at cluster %u\n"

L_.str.4:                               ## @.str.4
	.asciz	"Clear chain starting at %u"

	.comm	_FSERROR,4,2                    ## @FSERROR
	.comm	_FSFATMOD,4,2                   ## @FSFATMOD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_checkfat                       ; -- Begin function checkfat
	.p2align	2
_checkfat:                              ; @checkfat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _CLUST_FIRST@GOTPAGE
Lloh1:
	ldr	x26, [x26, _CLUST_FIRST@GOTPAGEOFF]
	ldr	x21, [x26]
	ldr	x8, [x0]
	cmp	x21, x8
	b.hs	LBB0_15
; %bb.1:
	mov	w9, #24
Lloh2:
	adrp	x10, _CLUST_FREE@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CLUST_FREE@GOTPAGEOFF]
Lloh4:
	adrp	x11, _CLUST_BAD@GOTPAGE
Lloh5:
	ldr	x11, [x11, _CLUST_BAD@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, #0
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	x12, x14
	csel	x12, xzr, x13, eq
	madd	x13, x21, x9, x19
	str	x12, [x13, #16]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x21, x8
	b.eq	LBB0_14
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mul	x12, x21, x9
	ldr	x12, [x19, x12]
	cbnz	x12, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x12, x21, x9, x19
	ldr	x12, [x12, #8]
	ldr	x14, [x10]
	ldr	x13, [x11]
	cmp	x12, x14
	ccmp	x12, x13, #4, ne
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x13, [x26]
	cmp	x21, x13
	b.lo	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w15, #1
	mov	x14, x21
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x13, x15
	madd	x14, x14, x9, x19
	str	x21, [x14]
	ldr	x14, [x14, #8]
	ldr	x15, [x26]
	cmp	x14, x15
	ccmp	x14, x8, #2, hs
	b.hs	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mul	x15, x14, x9
	ldr	x16, [x19, x15]
	add	x15, x13, #1
	cmp	x16, x21
	b.ne	LBB0_10
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, #0
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x14, [x10]
	b	LBB0_3
LBB0_14:
	ldr	x21, [x26]
LBB0_15:
	cmp	x21, x8
	b.hs	LBB0_44
; %bb.16:
	mov	w22, #0
	mov	w27, #24
Lloh6:
	adrp	x23, _CLUST_EOFS@GOTPAGE
Lloh7:
	ldr	x23, [x23, _CLUST_EOFS@GOTPAGEOFF]
Lloh8:
	adrp	x25, _CLUST_FREE@GOTPAGE
Lloh9:
	ldr	x25, [x25, _CLUST_FREE@GOTPAGEOFF]
	b	LBB0_21
LBB0_17:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x28
	bl	_rsrvdcltype
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
LBB0_18:                                ;   in Loop: Header=BB0_21 Depth=1
	bl	_pwarn
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x24
	bl	_tryclear
	orr	w22, w0, w22
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	cmp	x21, x8
	b.hs	LBB0_45
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
	mul	x9, x21, x27
	ldr	x9, [x19, x9]
	cmp	x9, x21
	b.ne	LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x10, [x26]
	madd	x24, x21, x27, x19
	ldr	x28, [x24, #8]!
	cmp	x28, x10
	cset	w9, lo
	ccmp	x28, x8, #2, hs
	b.hs	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	madd	x11, x21, x27, x19
	ldr	x11, [x11, #16]
	mul	x12, x28, x27
	ldr	x12, [x19, x12]
	cmp	x12, x21
	ccmp	x11, #2, #8, eq
	b.ge	LBB0_31
LBB0_24:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x2, x21
LBB0_25:                                ;   in Loop: Header=BB0_21 Depth=1
	ldr	x10, [x23]
	cmp	x28, x10
	b.hs	LBB0_20
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x10, [x25]
Lloh12:
	adrp	x11, _CLUST_RSRVD@GOTPAGE
Lloh13:
	ldr	x11, [x11, _CLUST_RSRVD@GOTPAGEOFF]
Lloh14:
	ldr	x11, [x11]
	cmp	x28, x10
	ccmp	x28, x11, #2, ne
	b.hs	LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_21 Depth=1
	tbnz	w9, #0, LBB0_33
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=1
	cmp	x28, x8
	b.hs	LBB0_33
; %bb.29:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x23, x25
	madd	x25, x28, x27, x19
	ldr	x8, [x25]
	cmp	x21, x8
	b.ne	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_21 Depth=1
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_pwarn
	mov	x25, x23
Lloh17:
	adrp	x23, _CLUST_EOFS@GOTPAGE
Lloh18:
	ldr	x23, [x23, _CLUST_EOFS@GOTPAGEOFF]
	b	LBB0_19
LBB0_31:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x2, x28
	madd	x24, x28, x27, x19
	ldr	x28, [x24, #8]!
	cmp	x28, x10
	cset	w9, lo
	ccmp	x28, x8, #2, hs
	b.hs	LBB0_25
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	mul	x12, x28, x27
	ldr	x12, [x19, x12]
	cmp	x12, x21
	ccmp	x11, #2, #4, eq
	sub	x11, x11, #1
	b.gt	LBB0_31
	b	LBB0_25
LBB0_33:                                ;   in Loop: Header=BB0_21 Depth=1
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	mov	x2, x28
	b	LBB0_18
LBB0_34:                                ;   in Loop: Header=BB0_21 Depth=1
	str	x28, [sp]
Lloh21:
	adrp	x0, l_.str.3@PAGE
Lloh22:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x21
	mov	x2, x8
	bl	_pwarn
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x24
	bl	_tryclear
	mov	x24, x0
	ldr	x25, [x25]
	mov	w0, #0
Lloh23:
	adrp	x1, l_.str.4@PAGE
Lloh24:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x2, x25
	bl	_ask
	cbz	x0, LBB0_43
; %bb.35:                               ;   in Loop: Header=BB0_21 Depth=1
Lloh25:
	adrp	x8, _FSERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FSERROR@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w24, w8
	b.ne	LBB0_42
; %bb.36:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x26]
	cmp	x28, x8
	b.lo	LBB0_42
; %bb.37:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	x8, [x20]
LBB0_38:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x28, x8
	b.hs	LBB0_42
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=2
	madd	x9, x28, x27, x19
	ldr	x10, [x9]
	cmp	x25, x10
	b.ne	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_38 Depth=2
	str	x21, [x9]
	madd	x9, x28, x27, x19
	ldr	x28, [x9, #8]
	ldr	x9, [x26]
	cmp	x28, x9
	b.hs	LBB0_38
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_21 Depth=1
	sub	x21, x21, #1
LBB0_42:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x25
	bl	_clearchain
Lloh28:
	adrp	x8, _FSFATMOD@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FSFATMOD@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	orr	w24, w8, w24
LBB0_43:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x25, x23
Lloh31:
	adrp	x23, _CLUST_EOFS@GOTPAGE
Lloh32:
	ldr	x23, [x23, _CLUST_EOFS@GOTPAGEOFF]
	orr	w22, w24, w22
	b	LBB0_20
LBB0_44:
	mov	w22, #0
LBB0_45:
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_CLUST_FIRST,8,3                ; @CLUST_FIRST
	.comm	_CLUST_FREE,8,3                 ; @CLUST_FREE
	.comm	_CLUST_BAD,8,3                  ; @CLUST_BAD
	.comm	_CLUST_EOFS,8,3                 ; @CLUST_EOFS
	.comm	_CLUST_RSRVD,8,3                ; @CLUST_RSRVD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cluster chain starting at %u ends with cluster marked %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"Cluster chain starting at %u ends with cluster out of range (%u)\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cluster chain starting at %u loops at cluster %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"Cluster chains starting at %u and %u are linked at cluster %u\n"

l_.str.4:                               ; @.str.4
	.asciz	"Clear chain starting at %u"

	.comm	_FSERROR,4,2                    ; @FSERROR
	.comm	_FSFATMOD,4,2                   ; @FSFATMOD
.subsections_via_symbols
