	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewEraser                      ## -- Begin function NewEraser
	.p2align	4, 0x90
_NewEraser:                             ## @NewEraser
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	testq	%rbx, %rbx
	jne	LBB0_5
## %bb.1:
	xorl	%eax, %eax
	callq	_GetOsInfo
	movl	(%rax), %edi
	callq	_OS_IS_WINDOWS
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_DISK_FREE_SPACE_DEFAULT_WINDOWS@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_DISK_FREE_SPACE_DEFAULT@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rbx
LBB0_5:
	movq	_DISK_FREE_SPACE_MIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	cmpq	%r13, %rbx
	cmovgq	%rbx, %r13
	movl	$32, %edi
	callq	_ZeroMalloc
	movq	%rax, %rbx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_GetExeDir
	movq	%r14, 24(%rbx)
	movq	%r13, 16(%rbx)
	movq	%r12, %rdi
	callq	_CopyStr
	movl	%eax, 8(%rbx)
	xorl	%eax, %eax
	callq	_NewEvent
	movl	%eax, 4(%rbx)
	movq	_EraserThread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_NewThread
	movl	%eax, (%rbx)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.comm	_DISK_FREE_SPACE_DEFAULT_WINDOWS,8,3 ## @DISK_FREE_SPACE_DEFAULT_WINDOWS
	.comm	_DISK_FREE_SPACE_DEFAULT,8,3    ## @DISK_FREE_SPACE_DEFAULT
	.comm	_DISK_FREE_SPACE_MIN,8,3        ## @DISK_FREE_SPACE_MIN
	.comm	_EraserThread,4,2               ## @EraserThread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_NewEraser                      ; -- Begin function NewEraser
	.p2align	2
_NewEraser:                             ; @NewEraser
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
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	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
	cbnz	x1, LBB0_5
; %bb.1:
	bl	_GetOsInfo
	ldr	w0, [x0]
	bl	_OS_IS_WINDOWS
	cbz	x0, LBB0_3
; %bb.2:
Lloh8:
	adrp	x8, _DISK_FREE_SPACE_DEFAULT_WINDOWS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DISK_FREE_SPACE_DEFAULT_WINDOWS@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _DISK_FREE_SPACE_DEFAULT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DISK_FREE_SPACE_DEFAULT@GOTPAGEOFF]
LBB0_4:
	ldr	x1, [x8]
LBB0_5:
Lloh12:
	adrp	x8, _DISK_FREE_SPACE_MIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DISK_FREE_SPACE_MIN@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cmp	x1, x8
	csel	x23, x1, x8, gt
	mov	w0, #32
	bl	_ZeroMalloc
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_GetExeDir
	stp	x23, x19, [x22, #16]
	mov	x0, x21
	bl	_CopyStr
	str	w0, [x22, #8]
	bl	_NewEvent
	str	w0, [x22, #4]
Lloh15:
	adrp	x8, _EraserThread@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EraserThread@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_NewThread
	str	w0, [x22]
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x22
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.comm	_DISK_FREE_SPACE_DEFAULT_WINDOWS,8,3 ; @DISK_FREE_SPACE_DEFAULT_WINDOWS
	.comm	_DISK_FREE_SPACE_DEFAULT,8,3    ; @DISK_FREE_SPACE_DEFAULT
	.comm	_DISK_FREE_SPACE_MIN,8,3        ; @DISK_FREE_SPACE_MIN
	.comm	_EraserThread,4,2               ; @EraserThread
.subsections_via_symbols
