	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getfsstat                      ## -- Begin function getfsstat
	.p2align	4, 0x90
_getfsstat:                             ## @getfsstat
	.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
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %r14
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	___getosreldate
	movq	_INO64_FIRST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_11
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.8:
	andl	$-4, %r12d
	movl	%r12d, %edi
	callq	_malloc
	movl	%r12d, %r13d
	testq	%rax, %rax
	jne	LBB0_3
## %bb.9:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %r15d
	jmp	LBB0_10
LBB0_11:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___sys_getfsstat                ## TAILCALL
LBB0_2:
	xorl	%eax, %eax
LBB0_3:
	movq	_SYS_freebsd11_getfsstat@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movl	%r13d, %edx
	movl	%r15d, %ecx
	callq	_syscall
	movl	%eax, %r15d
	testq	%r14, %r14
	je	LBB0_7
## %bb.4:
	testl	%r15d, %r15d
	jle	LBB0_7
## %bb.5:
	movl	%r15d, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	___statfs11_to_statfs
	addq	$4, %r14
	addq	$4, %rbx
	decq	%r12
	jne	LBB0_6
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
LBB0_10:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INO64_FIRST,8,3                ## @INO64_FIRST
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_errno,4,2                      ## @errno
	.comm	_SYS_freebsd11_getfsstat,4,2    ## @SYS_freebsd11_getfsstat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getfsstat                      ; -- Begin function getfsstat
	.p2align	2
_getfsstat:                             ; @getfsstat
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	bl	___getosreldate
Lloh0:
	adrp	x8, _INO64_FIRST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INO64_FIRST@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_4
; %bb.1:
	cbz	x19, LBB0_5
; %bb.2:
	and	w22, w20, #0xfffffffc
	mov	x0, x22
	bl	_malloc
	cbz	x0, LBB0_11
; %bb.3:
	mov	x20, x0
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	b	___sys_getfsstat
LBB0_5:
	mov	x20, #0
	mov	w22, #0
LBB0_6:
Lloh3:
	adrp	x8, _SYS_freebsd11_getfsstat@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SYS_freebsd11_getfsstat@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_syscall
	mov	x21, x0
	cbz	x19, LBB0_10
; %bb.7:
	cmp	w21, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w23, w21
	mov	x22, x20
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	___statfs11_to_statfs
	add	x19, x19, #4
	add	x22, x22, #4
	subs	x23, x23, #1
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x20
	bl	_free
	b	LBB0_12
LBB0_11:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w21, #-1
LBB0_12:
	mov	x0, x21
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_INO64_FIRST,8,3                ; @INO64_FIRST
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_errno,4,2                      ; @errno
	.comm	_SYS_freebsd11_getfsstat,4,2    ; @SYS_freebsd11_getfsstat
.subsections_via_symbols
