	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_directory_entryStat       ## -- Begin function _FAT_directory_entryStat
	.p2align	4, 0x90
__FAT_directory_entryStat:              ## @_FAT_directory_entryStat
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	__FAT_disc_hostType
	movl	%eax, 88(%r13)
	movl	(%r15), %esi
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	__FAT_directory_entryGetCluster
	movq	%rax, 96(%r13)
	movq	%r15, %rdi
	callq	__FAT_directory_isDirectory
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_S_IFDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_S_IFREG@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_S_IRUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_S_IRGRP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_S_IROTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	__FAT_directory_isWritable
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movq	_S_IWGRP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_S_IWOTH@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	cmovel	%r14d, %ebx
	orl	%r12d, %ebx
	orl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	%eax, %ebx
	movl	%ebx, (%r13)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 4(%r13)
	movl	$2, 12(%r13)
	movl	88(%r13), %eax
	movl	%eax, 92(%r13)
	movl	(%r15), %edi
	movq	_DIR_ENTRY_fileSize@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_u8array_to_u32
	movl	%eax, 16(%r13)
	movl	(%r15), %edi
	movq	_DIR_ENTRY_aDate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_u8array_to_u16
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	__FAT_filetime_to_time_t
	movq	%rax, 80(%r13)
	movq	$0, 72(%r13)
	movl	(%r15), %edi
	movq	_DIR_ENTRY_mTime@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_u8array_to_u16
	movl	%eax, %r12d
	movl	(%r15), %edi
	movq	_DIR_ENTRY_mDate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_u8array_to_u16
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	__FAT_filetime_to_time_t
	movq	%rax, 64(%r13)
	movq	$0, 56(%r13)
	movl	(%r15), %edi
	movq	_DIR_ENTRY_cTime@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_u8array_to_u16
	movl	%eax, %r12d
	movl	(%r15), %edi
	movq	_DIR_ENTRY_cDate@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_u8array_to_u16
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	__FAT_filetime_to_time_t
	movq	%rax, 48(%r13)
	movq	$0, 40(%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %ecx
	movl	%ecx, 20(%r13)
	movl	16(%r13), %eax
	addl	%ecx, %eax
	decl	%eax
	cltd
	idivl	%ecx
	movl	%eax, 24(%r13)
	movq	32(%r13), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_S_IRUSR,4,2                    ## @S_IRUSR
	.comm	_S_IRGRP,4,2                    ## @S_IRGRP
	.comm	_S_IROTH,4,2                    ## @S_IROTH
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_S_IWGRP,4,2                    ## @S_IWGRP
	.comm	_S_IWOTH,4,2                    ## @S_IWOTH
	.comm	_DIR_ENTRY_fileSize,4,2         ## @DIR_ENTRY_fileSize
	.comm	_DIR_ENTRY_aDate,4,2            ## @DIR_ENTRY_aDate
	.comm	_DIR_ENTRY_mTime,4,2            ## @DIR_ENTRY_mTime
	.comm	_DIR_ENTRY_mDate,4,2            ## @DIR_ENTRY_mDate
	.comm	_DIR_ENTRY_cTime,4,2            ## @DIR_ENTRY_cTime
	.comm	_DIR_ENTRY_cDate,4,2            ## @DIR_ENTRY_cDate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__FAT_directory_entryStat       ; -- Begin function _FAT_directory_entryStat
	.p2align	2
__FAT_directory_entryStat:              ; @_FAT_directory_entryStat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	__FAT_disc_hostType
	str	w0, [x19, #88]
	ldr	w1, [x21]
	mov	x0, x20
	bl	__FAT_directory_entryGetCluster
	str	x0, [x19, #96]
	mov	x0, x21
	bl	__FAT_directory_isDirectory
	mov	x22, x0
Lloh0:
	adrp	x8, _S_IFDIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S_IFDIR@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _S_IFREG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S_IFREG@GOTPAGEOFF]
Lloh5:
	ldr	w24, [x8]
Lloh6:
	adrp	x8, _S_IRUSR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S_IRUSR@GOTPAGEOFF]
Lloh8:
	ldr	w25, [x8]
Lloh9:
	adrp	x8, _S_IRGRP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S_IRGRP@GOTPAGEOFF]
Lloh11:
	ldr	w26, [x8]
Lloh12:
	adrp	x8, _S_IROTH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S_IROTH@GOTPAGEOFF]
Lloh14:
	ldr	w27, [x8]
	mov	x0, x21
	bl	__FAT_directory_isWritable
	cbz	x0, LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _S_IWUSR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _S_IWUSR@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _S_IWGRP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _S_IWGRP@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh21:
	adrp	x9, _S_IWOTH@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_IWOTH@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w8, #0
LBB0_3:
	cmp	x22, #0
	csel	w9, w24, w23, eq
	orr	w9, w9, w25
	orr	w9, w9, w26
	orr	w9, w9, w27
	orr	w8, w9, w8
	str	w8, [x19]
	movi.2s	v0, #1
	stur	d0, [x19, #4]
	mov	w8, #2
	str	w8, [x19, #12]
	ldr	w8, [x19, #88]
	str	w8, [x19, #92]
	ldr	w0, [x21]
Lloh24:
	adrp	x8, _DIR_ENTRY_fileSize@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DIR_ENTRY_fileSize@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_u8array_to_u32
	str	w0, [x19, #16]
	ldr	w0, [x21]
Lloh27:
	adrp	x8, _DIR_ENTRY_aDate@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DIR_ENTRY_aDate@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_u8array_to_u16
	mov	x1, x0
	mov	w0, #0
	bl	__FAT_filetime_to_time_t
	stp	xzr, x0, [x19, #72]
	ldr	w0, [x21]
Lloh30:
	adrp	x8, _DIR_ENTRY_mTime@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DIR_ENTRY_mTime@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_u8array_to_u16
	mov	x22, x0
	ldr	w0, [x21]
Lloh33:
	adrp	x8, _DIR_ENTRY_mDate@GOTPAGE
Lloh34:
	ldr	x8, [x8, _DIR_ENTRY_mDate@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_u8array_to_u16
	mov	x1, x0
	mov	x0, x22
	bl	__FAT_filetime_to_time_t
	stp	xzr, x0, [x19, #56]
	ldr	w0, [x21]
Lloh36:
	adrp	x8, _DIR_ENTRY_cTime@GOTPAGE
Lloh37:
	ldr	x8, [x8, _DIR_ENTRY_cTime@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	bl	_u8array_to_u16
	mov	x22, x0
	ldr	w0, [x21]
Lloh39:
	adrp	x8, _DIR_ENTRY_cDate@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DIR_ENTRY_cDate@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_u8array_to_u16
	mov	x1, x0
	mov	x0, x22
	bl	__FAT_filetime_to_time_t
	stp	xzr, x0, [x19, #40]
	ldr	w8, [x20]
	ldr	w9, [x19, #16]
	add	w9, w8, w9
	sub	w9, w9, #1
	sdiv	w9, w9, w8
	stp	w8, w9, [x19, #20]
	ldr	x8, [x19, #32]
	stp	xzr, xzr, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_S_IRUSR,4,2                    ; @S_IRUSR
	.comm	_S_IRGRP,4,2                    ; @S_IRGRP
	.comm	_S_IROTH,4,2                    ; @S_IROTH
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_S_IWGRP,4,2                    ; @S_IWGRP
	.comm	_S_IWOTH,4,2                    ; @S_IWOTH
	.comm	_DIR_ENTRY_fileSize,4,2         ; @DIR_ENTRY_fileSize
	.comm	_DIR_ENTRY_aDate,4,2            ; @DIR_ENTRY_aDate
	.comm	_DIR_ENTRY_mTime,4,2            ; @DIR_ENTRY_mTime
	.comm	_DIR_ENTRY_mDate,4,2            ; @DIR_ENTRY_mDate
	.comm	_DIR_ENTRY_cTime,4,2            ; @DIR_ENTRY_cTime
	.comm	_DIR_ENTRY_cDate,4,2            ; @DIR_ENTRY_cDate
.subsections_via_symbols
