	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_dir_size                 ## -- Begin function check_dir_size
	.p2align	4, 0x90
_check_dir_size:                        ## @check_dir_size
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_now@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	-3600(%rcx), %edx
	cmpl	%edx, %eax
	jle	LBB0_3
## %bb.2:
	movsd	8(%rbx), %xmm3                  ## xmm3 = mem[0],zero
	movapd	%xmm3, %xmm1
	mulsd	%xmm0, %xmm1
	cvtsi2sdq	16(%rbx), %xmm2
	subsd	%xmm2, %xmm3
	xorps	%xmm2, %xmm2
	cvtsi2sd	%r14, %xmm2
	addsd	%xmm3, %xmm2
	subl	%eax, %ecx
	movslq	%ecx, %rax
	imulq	$200000000, %rax, %rax          ## imm = 0xBEBC200
	xorps	%xmm3, %xmm3
	cvtsi2sd	%rax, %xmm3
	addsd	%xmm2, %xmm3
	movl	$1, %r15d
	ucomisd	%xmm1, %xmm3
	jbe	LBB0_6
LBB0_3:
	movsd	%xmm0, -32(%rbp)                ## 8-byte Spill
	movl	24(%rbx), %edi
	leaq	-64(%rbp), %rsi
	callq	_statvfs
	testq	%rax, %rax
	js	LBB0_4
## %bb.5:
	movq	_statvfs_calls@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	-48(%rbp), %rax
	imulq	-40(%rbp), %rax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	movsd	%xmm0, 8(%rbx)
	movq	-64(%rbp), %r8
	imulq	-56(%rbp), %r8
	movq	%r8, 16(%rbx)
	movl	24(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	movb	$1, %al
	callq	_vkprintf
	movsd	8(%rbx), %xmm0                  ## xmm0 = mem[0],zero
	movsd	-32(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	mulsd	%xmm0, %xmm2
	xorps	%xmm1, %xmm1
	cvtsi2sdq	16(%rbx), %xmm1
	subsd	%xmm1, %xmm0
	xorps	%xmm1, %xmm1
	cvtsi2sd	%r14, %xmm1
	addsd	%xmm0, %xmm1
	xorl	%r15d, %r15d
	ucomisd	%xmm1, %xmm2
	setae	%r15b
	jmp	LBB0_6
LBB0_4:
	movl	24(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_6:
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_now,4,2                        ## @now
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"statvfs (\"%s\") fail. %m"

	.comm	_statvfs_calls,4,2              ## @statvfs_calls
L_.str.1:                               ## @.str.1
	.asciz	"path: %s, last_statvfs_time: %d, disk_total_bytes: %lld, disk_free_bytes: %lld\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_dir_size                 ; -- Begin function check_dir_size
	.p2align	2
_check_dir_size:                        ; @check_dir_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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 b8, -56
	.cfi_offset b9, -64
	mov	x19, x1
	fmov	d8, d0
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x21, _now@GOTPAGE
Lloh1:
	ldr	x21, [x21, _now@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w9, [x21]
	sub	w10, w9, #3600
	cmp	w8, w10
	b.le	LBB0_3
; %bb.2:
	ldp	d0, d1, [x20, #8]
	fmul	d2, d0, d8
	scvtf	d1, d1
	fsub	d0, d0, d1
	scvtf	d1, x19
	fadd	d0, d0, d1
	sub	w8, w9, w8
	mov	w9, #49664
	movk	w9, #3051, lsl #16
	smull	x8, w8, w9
	scvtf	d1, x8
	fadd	d0, d0, d1
	fcmp	d2, d0
	b.pl	LBB0_6
LBB0_3:
	ldr	w0, [x20, #24]
	add	x1, sp, #32
	bl	_statvfs
	tbnz	x0, #63, LBB0_5
; %bb.4:
Lloh2:
	adrp	x8, _statvfs_calls@GOTPAGE
Lloh3:
	ldr	x8, [x8, _statvfs_calls@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	ldr	w8, [x21]
	str	w8, [x20]
	ldp	x10, x9, [sp, #48]
	mul	x9, x10, x9
	scvtf	d0, x9
	str	d0, [x20, #8]
	ldp	x10, x9, [sp, #32]
	mul	x9, x10, x9
	str	x9, [x20, #16]
	ldr	w2, [x20, #24]
	str	x9, [sp, #16]
	str	d0, [sp, #8]
	str	x8, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
	ldp	d0, d1, [x20, #8]
	fmul	d2, d0, d8
	scvtf	d1, d1
	fsub	d0, d0, d1
	scvtf	d1, x19
	fadd	d0, d0, d1
	fcmp	d2, d0
	cset	w0, ge
	b	LBB0_7
LBB0_5:
	ldr	w2, [x20, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	w0, #0
	b	LBB0_7
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_now,4,2                        ; @now
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"statvfs (\"%s\") fail. %m"

	.comm	_statvfs_calls,4,2              ; @statvfs_calls
l_.str.1:                               ; @.str.1
	.asciz	"path: %s, last_statvfs_time: %d, disk_total_bytes: %lld, disk_free_bytes: %lld\n"

.subsections_via_symbols
