	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FatReadPartialCluster          ## -- Begin function FatReadPartialCluster
	.p2align	4, 0x90
_FatReadPartialCluster:                 ## @FatReadPartialCluster
	.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
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, %ebx
	movl	%edx, %eax
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %r15d
	movl	4(%rdi), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	8(%rdi), %edi
	cltd
	idivl	%edi
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
                                        ## kill: def $edx killed $edx def $rdx
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%rdi), %eax
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	addl	%edx, %eax
	decl	%eax
	cltd
	idivl	%edi
	movl	%eax, %r13d
	imull	%eax, %edi
	movq	_TAG_FAT_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_FrLdrTempAlloc
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	addl	$-2, %eax
	imull	%eax, %r15d
	addl	-52(%rbp), %r15d                ## 4-byte Folded Reload
	addl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	callq	_FatReadVolumeSectors
	testq	%rax, %rax
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_4
## %bb.3:
	movl	%r14d, %esi
	addl	-72(%rbp), %esi                 ## 4-byte Folded Reload
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_4:
	movq	_TAG_FAT_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_FrLdrTempFree
	jmp	LBB0_5
LBB0_1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, %eax
	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
	.comm	_TAG_FAT_BUFFER,4,2             ## @TAG_FAT_BUFFER
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FatReadPartialCluster          ; -- Begin function FatReadPartialCluster
	.p2align	2
_FatReadPartialCluster:                 ; @FatReadPartialCluster
	.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
	str	w4, [sp, #12]                   ; 4-byte Folded Spill
	mov	x20, x3
	mov	x24, x1
	mov	x23, x0
	ldp	w28, w21, [x0]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldr	w8, [x0, #8]
	sdiv	w26, w2, w8
	msub	w27, w26, w8, w2
	add	w9, w3, w8
	add	w9, w9, w27
	sub	w9, w9, #1
	sdiv	w25, w9, w8
	mul	w0, w25, w8
Lloh3:
	adrp	x8, _TAG_FAT_BUFFER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TAG_FAT_BUFFER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_FrLdrTempAlloc
	cbz	w0, LBB0_4
; %bb.1:
	mov	x22, x0
	sub	w8, w24, #2
	madd	w8, w28, w8, w21
	add	w1, w8, w26
	mov	x0, x23
	mov	x2, x25
	mov	x3, x22
	bl	_FatReadVolumeSectors
	cbz	x0, LBB0_3
; %bb.2:
	add	w1, w22, w27
	ldr	w0, [sp, #12]                   ; 4-byte Folded Reload
	mov	x2, x20
	bl	_memcpy
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
LBB0_3:
Lloh9:
	adrp	x8, _TAG_FAT_BUFFER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TAG_FAT_BUFFER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_FrLdrTempFree
	b	LBB0_5
LBB0_4:
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
LBB0_5:
	mov	x0, x19
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TAG_FAT_BUFFER,4,2             ; @TAG_FAT_BUFFER
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
