	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_directory_getRootEntry    ## -- Begin function _FAT_directory_getRootEntry
	.p2align	4, 0x90
__FAT_directory_getRootEntry:           ## @_FAT_directory_getRootEntry
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 48(%rsi)
	movups	%xmm0, 32(%rsi)
	movups	%xmm0, 16(%rsi)
	movq	(%rsi), %rdi
	movq	_NAME_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%rbx), %rax
	movb	$46, (%rax)
	movq	8(%rbx), %rdi
	movq	_DIR_ENTRY_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rdi
	movl	$32, %esi
	movl	$11, %edx
	callq	_memset
	movq	8(%rbx), %rax
	movb	$46, (%rax)
	movq	_ATTRIB_DIR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	8(%rbx), %rcx
	movq	_DIR_ENTRY_attributes@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movb	%al, (%rcx,%rdx)
	movq	8(%rbx), %rdi
	movq	_DIR_ENTRY_cluster@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %edx
	callq	_u16_to_u8array
	movq	8(%rbx), %rdi
	movq	_DIR_ENTRY_clusterHigh@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movswl	2(%r14), %edx
	callq	_u16_to_u8array
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NAME_MAX,4,2                   ## @NAME_MAX
	.comm	_DIR_ENTRY_DATA_SIZE,4,2        ## @DIR_ENTRY_DATA_SIZE
	.comm	_ATTRIB_DIR,1,0                 ## @ATTRIB_DIR
	.comm	_DIR_ENTRY_attributes,8,3       ## @DIR_ENTRY_attributes
	.comm	_DIR_ENTRY_cluster,4,2          ## @DIR_ENTRY_cluster
	.comm	_DIR_ENTRY_clusterHigh,4,2      ## @DIR_ENTRY_clusterHigh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_directory_getRootEntry    ; -- Begin function _FAT_directory_getRootEntry
	.p2align	2
__FAT_directory_getRootEntry:           ; @_FAT_directory_getRootEntry
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x1, #32]
	str	q0, [x1, #16]
	ldr	x0, [x1]
Lloh0:
	adrp	x8, _NAME_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAME_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19]
	mov	w21, #46
	strb	w21, [x8]
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x8, _DIR_ENTRY_DATA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DIR_ENTRY_DATA_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x19, #8]
	mov	w1, #32
	mov	w2, #11
	bl	_memset
	ldr	x8, [x19, #8]
	strb	w21, [x8]
Lloh6:
	adrp	x8, _ATTRIB_DIR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ATTRIB_DIR@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [x19, #8]
Lloh8:
	adrp	x10, _DIR_ENTRY_attributes@GOTPAGE
Lloh9:
	ldr	x10, [x10, _DIR_ENTRY_attributes@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	strb	w8, [x9, x10]
	ldr	x0, [x19, #8]
Lloh11:
	adrp	x8, _DIR_ENTRY_cluster@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DIR_ENTRY_cluster@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	ldr	w2, [x20]
	bl	_u16_to_u8array
	ldr	x0, [x19, #8]
Lloh14:
	adrp	x8, _DIR_ENTRY_clusterHigh@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DIR_ENTRY_clusterHigh@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldrsh	w2, [x20, #2]
	bl	_u16_to_u8array
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NAME_MAX,4,2                   ; @NAME_MAX
	.comm	_DIR_ENTRY_DATA_SIZE,4,2        ; @DIR_ENTRY_DATA_SIZE
	.comm	_ATTRIB_DIR,1,0                 ; @ATTRIB_DIR
	.comm	_DIR_ENTRY_attributes,8,3       ; @DIR_ENTRY_attributes
	.comm	_DIR_ENTRY_cluster,4,2          ; @DIR_ENTRY_cluster
	.comm	_DIR_ENTRY_clusterHigh,4,2      ; @DIR_ENTRY_clusterHigh
.subsections_via_symbols
