	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_partition_createFSinfo    ## -- Begin function _FAT_partition_createFSinfo
	.p2align	4, 0x90
__FAT_partition_createFSinfo:           ## @_FAT_partition_createFSinfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, 32(%rdi)
	jne	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_FS_FAT32@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movl	24(%rbx), %edi
	callq	__FAT_mem_align
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r14
	movl	24(%rbx), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_FS_INFO_SIG1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_FS_INFO_SIG2@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax), %edx
	movq	_FSIB_SIG1@GOTPCREL(%rip), %r8
	movslq	(%r8), %rdi
	movl	%edx, (%r14,%rdi,4)
	movl	(%rcx), %edx
	movq	_FSIB_SIG2@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rsi
	movl	%edx, (%r14,%rsi,4)
	movl	4(%rax), %edx
	movslq	(%r8), %rsi
	movl	%edx, 4(%r14,%rsi,4)
	movl	4(%rcx), %edx
	movslq	(%rdi), %rsi
	movl	%edx, 4(%r14,%rsi,4)
	movl	8(%rax), %edx
	movslq	(%r8), %rsi
	movl	%edx, 8(%r14,%rsi,4)
	movl	8(%rcx), %edx
	movslq	(%rdi), %rsi
	movl	%edx, 8(%r14,%rsi,4)
	movl	12(%rax), %eax
	movslq	(%r8), %rdx
	movl	%eax, 12(%r14,%rdx,4)
	movl	12(%rcx), %eax
	movslq	(%rdi), %rcx
	movl	%eax, 12(%r14,%rcx,4)
	movq	%rbx, %rdi
	callq	__FAT_fat_freeClusterCount
	movl	%eax, 20(%rbx)
	movq	_FSIB_numberOfFreeCluster@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_u32_to_u8array
	movq	_FSIB_numberLastAllocCluster@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%r14, %rdi
	callq	_u32_to_u8array
	movq	_FSIB_bootSig_55@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$85, (%r14,%rax,4)
	movq	_FSIB_bootSig_AA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$170, (%r14,%rax,4)
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movl	$1, %edx
	movq	%r14, %rcx
	callq	__FAT_disc_writeSectors
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__FAT_mem_free                  ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FS_FAT32,8,3                   ## @FS_FAT32
	.comm	_FS_INFO_SIG1,8,3               ## @FS_INFO_SIG1
	.comm	_FSIB_SIG1,4,2                  ## @FSIB_SIG1
	.comm	_FS_INFO_SIG2,8,3               ## @FS_INFO_SIG2
	.comm	_FSIB_SIG2,4,2                  ## @FSIB_SIG2
	.comm	_FSIB_numberOfFreeCluster,4,2   ## @FSIB_numberOfFreeCluster
	.comm	_FSIB_numberLastAllocCluster,4,2 ## @FSIB_numberLastAllocCluster
	.comm	_FSIB_bootSig_55,8,3            ## @FSIB_bootSig_55
	.comm	_FSIB_bootSig_AA,8,3            ## @FSIB_bootSig_AA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_partition_createFSinfo    ; -- Begin function _FAT_partition_createFSinfo
	.p2align	2
__FAT_partition_createFSinfo:           ; @_FAT_partition_createFSinfo
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #32]
	cbnz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FS_FAT32@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FS_FAT32@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x19, #24]
	bl	__FAT_mem_align
	cbz	x0, LBB0_4
; %bb.3:
	mov	x20, x0
	ldr	w2, [x19, #24]
	mov	w1, #0
	bl	_memset
Lloh3:
	adrp	x8, _FS_INFO_SIG1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FS_INFO_SIG1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _FS_INFO_SIG2@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FS_INFO_SIG2@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	ldr	w10, [x8]
Lloh9:
	adrp	x11, _FSIB_SIG1@GOTPAGE
Lloh10:
	ldr	x11, [x11, _FSIB_SIG1@GOTPAGEOFF]
	ldrsw	x12, [x11]
	str	w10, [x20, x12, lsl #2]
	ldr	w10, [x9]
Lloh11:
	adrp	x12, _FSIB_SIG2@GOTPAGE
Lloh12:
	ldr	x12, [x12, _FSIB_SIG2@GOTPAGEOFF]
	ldrsw	x13, [x12]
	str	w10, [x20, x13, lsl #2]
	ldr	w10, [x8, #4]
	ldrsw	x13, [x11]
	add	x13, x20, x13, lsl #2
	str	w10, [x13, #4]
	ldr	w10, [x9, #4]
	ldrsw	x13, [x12]
	add	x13, x20, x13, lsl #2
	str	w10, [x13, #4]
	ldr	w10, [x8, #8]
	ldrsw	x13, [x11]
	add	x13, x20, x13, lsl #2
	str	w10, [x13, #8]
	ldr	w10, [x9, #8]
	ldrsw	x13, [x12]
	add	x13, x20, x13, lsl #2
	str	w10, [x13, #8]
	ldr	w8, [x8, #12]
	ldrsw	x10, [x11]
	add	x10, x20, x10, lsl #2
	str	w8, [x10, #12]
	ldr	w8, [x9, #12]
	ldrsw	x9, [x12]
	add	x9, x20, x9, lsl #2
	str	w8, [x9, #12]
	mov	x0, x19
	bl	__FAT_fat_freeClusterCount
	mov	x2, x0
	str	w0, [x19, #20]
Lloh13:
	adrp	x8, _FSIB_numberOfFreeCluster@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FSIB_numberOfFreeCluster@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_u32_to_u8array
Lloh16:
	adrp	x8, _FSIB_numberLastAllocCluster@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FSIB_numberLastAllocCluster@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
	mov	x0, x20
	bl	_u32_to_u8array
Lloh19:
	adrp	x8, _FSIB_bootSig_55@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FSIB_bootSig_55@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	mov	w9, #85
	str	w9, [x20, x8, lsl #2]
Lloh22:
	adrp	x8, _FSIB_bootSig_AA@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FSIB_bootSig_AA@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	mov	w9, #170
	str	w9, [x20, x8, lsl #2]
	ldp	w1, w0, [x19, #8]
	mov	w2, #1
	mov	x3, x20
	bl	__FAT_disc_writeSectors
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__FAT_mem_free
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FS_FAT32,8,3                   ; @FS_FAT32
	.comm	_FS_INFO_SIG1,8,3               ; @FS_INFO_SIG1
	.comm	_FSIB_SIG1,4,2                  ; @FSIB_SIG1
	.comm	_FS_INFO_SIG2,8,3               ; @FS_INFO_SIG2
	.comm	_FSIB_SIG2,4,2                  ; @FSIB_SIG2
	.comm	_FSIB_numberOfFreeCluster,4,2   ; @FSIB_numberOfFreeCluster
	.comm	_FSIB_numberLastAllocCluster,4,2 ; @FSIB_numberLastAllocCluster
	.comm	_FSIB_bootSig_55,8,3            ; @FSIB_bootSig_55
	.comm	_FSIB_bootSig_AA,8,3            ; @FSIB_bootSig_AA
.subsections_via_symbols
