	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function FatReadAdjacentClusters
_FatReadAdjacentClusters:               ## @FatReadAdjacentClusters
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, %rbx
	movl	%ecx, %r13d
	movl	%edx, %r15d
	movl	%esi, %r14d
	leal	-2(%r14), %eax
	imull	(%rdi), %eax
	addl	4(%rdi), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	$0, (%r8)
	movl	$0, (%r9)
	leaq	-44(%rbp), %rdx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_FatGetFatEntry
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movl	%r13d, -48(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-44(%rbp), %edi
	callq	_FAT_IS_END_CLUSTER
	cmpl	%r15d, %r13d
	setl	%bl
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, %r13d
	jge	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-44(%rbp), %r12d
	incl	%r14d
	cmpl	%r14d, %r12d
	jne	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	leaq	-44(%rbp), %rdx
	callq	_FatGetFatEntry
	movl	%r12d, %r14d
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_9
LBB0_5:
	movb	$1, %bl
LBB0_6:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %edx
	imull	%r13d, %edx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	callq	_FatReadVolumeSectors
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%r13d, (%rax)
	movl	-44(%rbp), %edi
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	%edi, (%rax)
	callq	_FAT_IS_END_CLUSTER
	testl	%eax, %eax
	sete	%al
	andb	%bl, %al
	movzbl	%al, %eax
	jmp	LBB0_10
LBB0_9:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_FatReadAdjacentClusters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function FatReadAdjacentClusters
_FatReadAdjacentClusters:               ; @FatReadAdjacentClusters
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x25, x1
	mov	x22, x0
	ldp	w24, w26, [x0]
	str	wzr, [x4]
	str	wzr, [x5]
	add	x2, sp, #12
	bl	_FatGetFatEntry
	cbz	w0, LBB0_8
; %bb.1:
	sub	w8, w25, #2
	madd	w24, w24, w8, w26
	mov	w27, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [sp, #12]
	bl	_FAT_IS_END_CLUSTER
	cmp	w27, w23
	cset	w26, lt
	cmp	w0, #0
	ccmp	w27, w23, #0, eq
	b.ge	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w26, [sp, #12]
	add	w8, w25, #1
	cmp	w26, w8
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w27, w27, #1
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x26
	bl	_FatGetFatEntry
	mov	x25, x26
	cbnz	w0, LBB0_2
	b	LBB0_8
LBB0_5:
	mov	w26, #1
LBB0_6:
	ldr	w8, [x22]
	mul	w2, w8, w27
	mov	x0, x22
	mov	x1, x24
	mov	x3, x21
	bl	_FatReadVolumeSectors
	cbz	w0, LBB0_8
; %bb.7:
	str	w27, [x20]
	ldr	w0, [sp, #12]
	str	w0, [x19]
	bl	_FAT_IS_END_CLUSTER
	cmp	w0, #0
	cset	w8, eq
	and	w0, w8, w26
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_FatReadAdjacentClusters
.subsections_via_symbols
