	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_fat_linkFreeCluster       ## -- Begin function _FAT_fat_linkFreeCluster
	.p2align	4, 0x90
__FAT_fat_linkFreeCluster:              ## @_FAT_fat_linkFreeCluster
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r13
	cmpq	%rsi, %r13
	jge	LBB0_2
LBB0_1:
	movq	_CLUSTER_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	jmp	LBB0_17
LBB0_2:
	movq	%rsi, %r14
	movq	%rdi, %r15
	callq	__FAT_fat_nextCluster
	movq	%rax, %r12
	movq	_CLUSTER_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	cmpq	%rbx, %r12
	jl	LBB0_4
## %bb.3:
	cmpq	%r13, %r12
	jle	LBB0_17
LBB0_4:
	movq	8(%r15), %rax
	cmpq	%rbx, %rax
	cmovgq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	__FAT_fat_nextCluster
	movq	_CLUSTER_FREE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %r12
LBB0_12:
	movq	%r12, 8(%r15)
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	decq	%rax
	movq	%rax, 24(%r15)
LBB0_14:
	movq	%r12, 16(%r15)
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	_CLUSTER_FIRST@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jg	LBB0_16
## %bb.15:
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	__FAT_fat_writeFatEntry
LBB0_16:
	movq	_CLUSTER_EOF@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	__FAT_fat_writeFatEntry
LBB0_17:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	__FAT_fat_nextCluster
	movq	%r12, %rbx
	movq	_CLUSTER_FREE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rbx), %r12
	cmpq	%r13, %rbx
	jl	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_CLUSTER_FIRST@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	$1, %r14d
	jmp	LBB0_11
LBB0_9:
	movq	%r12, 8(%r15)
	jmp	LBB0_1
	.cfi_endproc
                                        ## -- End function
	.comm	_CLUSTER_ERROR,8,3              ## @CLUSTER_ERROR
	.comm	_CLUSTER_FIRST,8,3              ## @CLUSTER_FIRST
	.comm	_CLUSTER_FREE,8,3               ## @CLUSTER_FREE
	.comm	_CLUSTER_EOF,8,3                ## @CLUSTER_EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_fat_linkFreeCluster       ; -- Begin function _FAT_fat_linkFreeCluster
	.p2align	2
__FAT_fat_linkFreeCluster:              ; @_FAT_fat_linkFreeCluster
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x24, [x0]
	cmp	x24, x1
	b.ge	LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _CLUSTER_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLUSTER_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	b	LBB0_10
LBB0_2:
	mov	x20, x1
	mov	x19, x0
	bl	__FAT_fat_nextCluster
	mov	x21, x0
Lloh3:
	adrp	x23, _CLUSTER_FIRST@GOTPAGE
Lloh4:
	ldr	x23, [x23, _CLUSTER_FIRST@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	ccmp	x0, x24, #0, ge
	b.le	LBB0_10
; %bb.3:
	ldr	x9, [x19, #8]
	cmp	x9, x8
	csel	x22, x9, x8, gt
	mov	x0, x19
	mov	x1, x22
	bl	__FAT_fat_nextCluster
Lloh5:
	adrp	x25, _CLUSTER_FREE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _CLUSTER_FREE@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.4:
	mov	x21, x22
LBB0_5:
	str	x21, [x19, #8]
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_7
; %bb.6:
	sub	x8, x8, #1
	str	x8, [x19, #24]
LBB0_7:
	str	x21, [x19, #16]
	ldr	x8, [x23]
	cmp	x8, x20
	b.gt	LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	__FAT_fat_writeFatEntry
LBB0_9:
Lloh7:
	adrp	x8, _CLUSTER_EOF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CLUSTER_EOF@GOTPAGEOFF]
Lloh9:
	ldr	x2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	__FAT_fat_writeFatEntry
LBB0_10:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	w26, #0
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	__FAT_fat_nextCluster
	ldr	x8, [x25]
	mov	x22, x21
	cmp	x0, x8
	b.eq	LBB0_5
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x21, x22, #1
	cmp	x22, x24
	b.lt	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cbnz	w26, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x21, [x23]
	mov	w26, #1
	b	LBB0_12
LBB0_16:
	str	x21, [x19, #8]
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CLUSTER_ERROR,8,3              ; @CLUSTER_ERROR
	.comm	_CLUSTER_FIRST,8,3              ; @CLUSTER_FIRST
	.comm	_CLUSTER_FREE,8,3               ; @CLUSTER_FREE
	.comm	_CLUSTER_EOF,8,3                ; @CLUSTER_EOF
.subsections_via_symbols
