	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_treespace_free_stats       ## -- Begin function get_treespace_free_stats
	.p2align	4, 0x90
_get_treespace_free_stats:              ## @get_treespace_free_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_TS_HEADER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.1:
	movq	8(%rax), %rdx
	cmpl	$5, %ecx
	jae	LBB0_4
## %bb.2:
	xorl	%esi, %esi
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_4:
	movl	%ecx, %eax
	andl	$3, %eax
	testq	%rax, %rax
	movl	$4, %edi
	cmovneq	%rax, %rdi
	movq	%rcx, %rsi
	subq	%rdi, %rsi
	leaq	40(%rdx), %rax
	pxor	%xmm0, %xmm0
	movq	%rsi, %rdi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	-32(%rax), %xmm2
	movdqu	-16(%rax), %xmm3
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	paddq	%xmm2, %xmm0
	movdqu	(%rax), %xmm2
	movdqu	16(%rax), %xmm3
	punpcklqdq	%xmm3, %xmm2            ## xmm2 = xmm2[0],xmm3[0]
	paddq	%xmm2, %xmm1
	addq	$64, %rax
	addq	$-4, %rdi
	jne	LBB0_5
## %bb.6:
	paddq	%xmm0, %xmm1
	pshufd	$238, %xmm1, %xmm0              ## xmm0 = xmm1[2,3,2,3]
	paddq	%xmm1, %xmm0
	movq	%xmm0, %rax
LBB0_7:
	subq	%rsi, %rcx
	shlq	$4, %rsi
	addq	%rsi, %rdx
	addq	$8, %rdx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	addq	(%rdx), %rax
	addq	$16, %rdx
	decq	%rcx
	jne	LBB0_8
LBB0_9:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TS_HEADER,8,3                  ## @TS_HEADER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_treespace_free_stats       ; -- Begin function get_treespace_free_stats
	.p2align	2
_get_treespace_free_stats:              ; @get_treespace_free_stats
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _TS_HEADER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TS_HEADER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	w8, [x9]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x9, #8]
	cmp	w8, #9
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	x0, #0
	b	LBB0_7
LBB0_3:
	mov	w0, #0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_4:
	ands	x10, x8, #0x7
	mov	w11, #8
	csel	x10, x11, x10, eq
	sub	x10, x8, x10
	add	x12, x9, #72
	movi.2d	v0, #0000000000000000
	mov	x11, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x13, x12, #64
	ld2.2d	{ v4, v5 }, [x13]
	sub	x13, x12, #32
	ld2.2d	{ v6, v7 }, [x13]
	add	x13, x12, #128
	ld2.2d	{ v16, v17 }, [x12], #32
	ld2.2d	{ v18, v19 }, [x12]
	add.2d	v0, v4, v0
	add.2d	v1, v6, v1
	add.2d	v2, v16, v2
	add.2d	v3, v18, v3
	mov	x12, x13
	subs	x11, x11, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x0, d0
LBB0_7:
	add	x9, x9, x10, lsl #4
	add	x9, x9, #8
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #16
	add	x0, x10, x0
	subs	x8, x8, #1
	b.ne	LBB0_8
; %bb.9:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TS_HEADER,8,3                  ; @TS_HEADER
.subsections_via_symbols
