	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function chksize
_chksize:                               ## @chksize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdi
	leaq	-16(%rbp), %rsi
	callq	_statfs
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movl	-12(%rbp), %eax
	leal	511(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$9, %ecx
	imull	-16(%rbp), %ecx
	leal	511(%rbx), %eax
	addl	$1022, %ebx                     ## imm = 0x3FE
	testl	%eax, %eax
	cmovnsl	%eax, %ebx
	sarl	$9, %ebx
	movq	_minfree@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	xorl	%eax, %eax
	cmpl	%ecx, %ebx
	setle	%al
	jmp	LBB0_3
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	callq	_syslog
	movl	$1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"%s: %m"

L_.str.2:                               ## @.str.2
	.asciz	"statfs(\".\")"

	.comm	_minfree,4,2                    ## @minfree
	.no_dead_strip	_chksize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function chksize
_chksize:                               ; @chksize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #8
	bl	_statfs
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldp	w8, w9, [sp, #8]
	add	w10, w9, #511
	cmp	w9, #0
	csel	w9, w10, w9, lt
	asr	w9, w9, #9
	mul	w8, w9, w8
	add	w9, w19, #511
	add	w10, w19, #1022
	cmp	w9, #0
	csel	w9, w10, w9, lt
Lloh2:
	adrp	x10, _minfree@GOTPAGE
Lloh3:
	ldr	x10, [x10, _minfree@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	add	w9, w10, w9, asr #9
	cmp	w9, w8
	cset	w0, le
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_syslog
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"%s: %m"

l_.str.2:                               ; @.str.2
	.asciz	"statfs(\".\")"

	.comm	_minfree,4,2                    ; @minfree
	.no_dead_strip	_chksize
.subsections_via_symbols
