	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EraserMain                     ## -- Begin function EraserMain
	.p2align	4, 0x90
_EraserMain:                            ## @EraserMain
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r14
	callq	_CheckEraserDiskFreeSpace
	testq	%rax, %rax
	jne	LBB0_14
## %bb.2:
	movl	4(%r14), %edx
	leaq	-112(%rbp), %rdi
	movl	$64, %esi
	callq	_ToStrByte
	movq	%r14, %rdi
	callq	_GenerateEraseFileList
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_LIST_NUM
	testq	%rax, %rax
	jle	LBB0_3
## %bb.4:
	leaq	-112(%rbp), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_FileDelete
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r15), %ecx
	movq	%r14, %rdi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_ELog
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_CheckEraserDiskFreeSpace
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movq	%r13, %rdi
	callq	_LIST_NUM
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_9:
	testq	%r15, %r15
	setne	%r15b
	jmp	LBB0_10
LBB0_3:
	xorl	%r15d, %r15d
LBB0_10:
	movl	%r15d, %ebx
	xorb	$1, %bl
	movq	%r13, %rdi
	callq	_FreeEraseFileList
	testb	%r15b, %r15b
	jne	LBB0_13
## %bb.11:
	cmpl	$0, (%r14)
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	leaq	-112(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ELog
LBB0_13:
	movzbl	%bl, %eax
	movl	%eax, (%r14)
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"LE_DELETE"

L_.str.1:                               ## @.str.1
	.asciz	"LE_NOT_ENOUGH_FREE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EraserMain                     ; -- Begin function EraserMain
	.p2align	2
_EraserMain:                            ; @EraserMain
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	cbz	x0, LBB0_14
; %bb.1:
	mov	x19, x0
	bl	_CheckEraserDiskFreeSpace
	cbnz	x0, LBB0_14
; %bb.2:
	ldr	w2, [x19, #4]
	add	x0, sp, #8
	mov	w1, #64
	bl	_ToStrByte
	mov	x0, x19
	bl	_GenerateEraseFileList
	mov	x20, x0
	bl	_LIST_NUM
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.3:
	mov	x21, #0
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_LIST_DATA
	mov	x23, x0
	ldr	w0, [x0]
	bl	_FileDelete
	cbz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x23]
	str	x8, [sp]
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x22
	bl	_ELog
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_CheckEraserDiskFreeSpace
	mov	x23, x0
	cbnz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	mov	x0, x20
	bl	_LIST_NUM
	cmp	x21, x0
	b.lt	LBB0_4
LBB0_8:
	cmp	x23, #0
	cset	w22, ne
	b	LBB0_10
LBB0_9:
	mov	w22, #0
LBB0_10:
	eor	w21, w22, #0x1
	mov	x0, x20
	bl	_FreeEraseFileList
	tbnz	w22, #0, LBB0_13
; %bb.11:
	ldr	w8, [x19]
	cbnz	w8, LBB0_13
; %bb.12:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #8
	mov	x0, x19
	bl	_ELog
LBB0_13:
	str	w21, [x19]
LBB0_14:
	ldur	x8, [x29, #-56]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"LE_DELETE"

l_.str.1:                               ; @.str.1
	.asciz	"LE_NOT_ENOUGH_FREE"

.subsections_via_symbols
