	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function CheckFileSystem
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	2                               ## 0x2
	.quad	2                               ## 0x2
LCPI0_2:
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	255                             ## 0xff
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_3:
	.quad	4                               ## 0x4
	.quad	4                               ## 0x4
LCPI0_4:
	.quad	6                               ## 0x6
	.quad	6                               ## 0x6
LCPI0_5:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CheckFileSystem
	.p2align	4, 0x90
_CheckFileSystem:                       ## @CheckFileSystem
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_GetExeName
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_GetExeDir
	movq	%r15, %rdi
	callq	_EnumDir
	movq	%rax, %r15
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_EndWith
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jb	LBB0_2
LBB0_4:
	movq	%r15, %rdi
	callq	_FreeDir
	leaq	L_.str(%rip), %rdi
	callq	_Print
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_22
## %bb.7:
	movl	%ebx, %eax
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, %rdi
	callq	_FreeDir
	movl	$1234567, %edi                  ## imm = 0x12D687
	callq	_Malloc
	movq	%rax, %rbx
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	movl	$6, %eax
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [2,2]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [255,0,0,0,0,0,0,0,255,0,0,0,0,0,0,0]
	movdqa	LCPI0_3(%rip), %xmm3            ## xmm3 = [4,4]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [6,6]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [8,8]
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm6
	paddq	%xmm1, %xmm6
	movdqa	%xmm0, %xmm7
	pand	%xmm2, %xmm7
	pand	%xmm2, %xmm6
	movdqu	%xmm7, -48(%rbx,%rax,8)
	movdqu	%xmm6, -32(%rbx,%rax,8)
	cmpq	$1234566, %rax                  ## imm = 0x12D686
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movdqa	%xmm0, %xmm6
	paddq	%xmm3, %xmm6
	movdqa	%xmm0, %xmm7
	paddq	%xmm4, %xmm7
	pand	%xmm2, %xmm6
	pand	%xmm2, %xmm7
	movdqu	%xmm6, -16(%rbx,%rax,8)
	movdqu	%xmm7, (%rbx,%rax,8)
	paddq	%xmm5, %xmm0
	addq	$8, %rax
	jmp	LBB0_9
LBB0_11:
	movq	$132, 9876512(%rbx)
	movq	$133, 9876520(%rbx)
	movq	$134, 9876528(%rbx)
	leaq	l_.str.1(%rip), %rdi
	callq	_FileCreateW
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%rax, %r14
	movl	$1234567, %edx                  ## imm = 0x12D687
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_FileWrite
	movq	%rbx, %rdi
	callq	_Free
	movq	%r14, %rdi
	callq	_FileClose
	leaq	l_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_FileOpenW
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_FileSize
	cmpl	$1234567, %eax                  ## imm = 0x12D687
	jne	LBB0_20
## %bb.13:
	movq	%r14, %rdi
	callq	_FileClose
	leaq	l_.str.1(%rip), %rdi
	callq	_ReadDumpW
	testq	%rax, %rax
	je	LBB0_6
## %bb.14:
	movq	%rax, %r14
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	8(%r14), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movzbl	%dl, %esi
	cmpq	%rsi, (%rcx,%rdx,8)
	jne	LBB0_21
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_16
LBB0_18:
	movq	%r14, %rdi
	callq	_FreeBuf
	leaq	l_.str.1(%rip), %rdi
	callq	_FileDeleteW
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_19:
	leaq	L_.str.2(%rip), %rdi
	callq	_Print
	movq	%rbx, %rdi
	callq	_Free
	jmp	LBB0_5
LBB0_20:
	leaq	L_.str.3(%rip), %rdi
	callq	_Print
	movq	%r14, %rdi
	callq	_FileClose
	jmp	LBB0_6
LBB0_21:
	leaq	L_.str.4(%rip), %rdi
	callq	_Print
	movq	%r14, %rdi
	callq	_FreeBuf
	jmp	LBB0_5
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EnumDir Failed.\n"

	.section	__TEXT,__const
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	47                              ## 0x2f
	.long	116                             ## 0x74
	.long	109                             ## 0x6d
	.long	112                             ## 0x70
	.long	47                              ## 0x2f
	.long	118                             ## 0x76
	.long	112                             ## 0x70
	.long	110                             ## 0x6e
	.long	95                              ## 0x5f
	.long	99                              ## 0x63
	.long	104                             ## 0x68
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	107                             ## 0x6b
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	95                              ## 0x5f
	.long	116                             ## 0x74
	.long	109                             ## 0x6d
	.long	112                             ## 0x70
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"FileCreate Failed.\n"

L_.str.3:                               ## @.str.3
	.asciz	"FileSize Failed.\n"

L_.str.4:                               ## @.str.4
	.asciz	"FileToBuf Failed.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function CheckFileSystem
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CheckFileSystem
	.p2align	2
_CheckFileSystem:                       ; @CheckFileSystem
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	mov	x9, x20
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x20, #15
	and	x12, x9, #0x1fffffff0
	sub	x19, x8, x12
	mov	sp, x19
	mov	x9, x20
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x21, x8, x12
	mov	sp, x21
	mov	x0, x19
	mov	x1, x20
	bl	_GetExeName
	mov	x0, x21
	mov	x1, x20
	bl	_GetExeDir
	mov	x0, x21
	bl	_EnumDir
	mov	x20, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x21, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EndWith
	cbnz	x0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	cmp	x21, x8
	b.lo	LBB0_2
LBB0_4:
	mov	x0, x20
	bl	_FreeDir
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Print
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.7:
	sub	sp, x29, #32
	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
LBB0_8:
	mov	x0, x20
	bl	_FreeDir
	mov	w0, #54919
	movk	w0, #18, lsl #16
	bl	_Malloc
	mov	x19, x0
	mov	x8, #0
	mov	w10, #46080
	movk	w10, #150, lsl #16
	mov	w9, #2
	dup.2d	v0, x9
	mov	w9, #4
	dup.2d	v1, x9
	mov	w9, #6
	dup.2d	v2, x9
Lloh15:
	adrp	x9, lCPI0_0@PAGE
Lloh16:
	ldr	q3, [x9, lCPI0_0@PAGEOFF]
	mov	w9, #8
	dup.2d	v4, x9
	add	x9, x0, x10
	movi.2d	v5, #0x000000000000ff
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add.2d	v6, v3, v0
	add.2d	v7, v3, v1
	add.2d	v16, v3, v2
	and.16b	v17, v3, v5
	and.16b	v6, v6, v5
	and.16b	v7, v7, v5
	and.16b	v16, v16, v5
	add	x11, x19, x8
	stp	q17, q6, [x11]
	stp	q7, q16, [x11, #32]
	add.2d	v3, v3, v4
	add	x8, x8, #64
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.10:
	mov	w8, #128
	mov	w10, #129
	stp	x8, x10, [x9]
	mov	w8, #130
	mov	w10, #131
	stp	x8, x10, [x9, #16]
	mov	w8, #132
	mov	w10, #133
	stp	x8, x10, [x9, #32]
	mov	w8, #134
	str	x8, [x9, #48]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FileCreateW
	cbz	x0, LBB0_18
; %bb.11:
	mov	x20, x0
	mov	x1, x19
	mov	w2, #54919
	movk	w2, #18, lsl #16
	bl	_FileWrite
	mov	x0, x19
	bl	_Free
	mov	x0, x20
	bl	_FileClose
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_FileOpenW
	mov	x19, x0
	bl	_FileSize
	sub	w8, w0, #301, lsl #12           ; =1232896
	cmp	w8, #1671
	b.ne	LBB0_19
; %bb.12:
	mov	x0, x19
	bl	_FileClose
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ReadDumpW
	cbz	x0, LBB0_6
; %bb.13:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_17
; %bb.14:
	mov	x9, #0
	ldr	x10, [x19, #8]
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10, x9, lsl #3]
	cmp	x11, w9, uxtb
	b.ne	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_17:
	mov	x0, x19
	bl	_FreeBuf
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_FileDeleteW
	mov	w0, #1
	b	LBB0_6
LBB0_18:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_Print
	mov	x0, x19
	bl	_Free
	b	LBB0_5
LBB0_19:
Lloh27:
	adrp	x0, l_.str.3@PAGE
Lloh28:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Print
	mov	x0, x19
	bl	_FileClose
	b	LBB0_5
LBB0_20:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_Print
	mov	x0, x19
	bl	_FreeBuf
	b	LBB0_5
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdr	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EnumDir Failed.\n"

	.section	__TEXT,__const
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	47                              ; 0x2f
	.long	116                             ; 0x74
	.long	109                             ; 0x6d
	.long	112                             ; 0x70
	.long	47                              ; 0x2f
	.long	118                             ; 0x76
	.long	112                             ; 0x70
	.long	110                             ; 0x6e
	.long	95                              ; 0x5f
	.long	99                              ; 0x63
	.long	104                             ; 0x68
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	107                             ; 0x6b
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	95                              ; 0x5f
	.long	116                             ; 0x74
	.long	109                             ; 0x6d
	.long	112                             ; 0x70
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"FileCreate Failed.\n"

l_.str.3:                               ; @.str.3
	.asciz	"FileSize Failed.\n"

l_.str.4:                               ; @.str.4
	.asciz	"FileToBuf Failed.\n"

.subsections_via_symbols
