	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getquotasize                   ## -- Begin function getquotasize
	.p2align	4, 0x90
_getquotasize:                          ## @getquotasize
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%ecx, %r15d
	movq	%rsi, %rdi
	callq	_VFSTOUFS
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_UFS_LOCK
	movq	(%rbx), %rcx
	movslq	%r15d, %rax
	movq	(%rcx,%rax,8), %rcx
	movq	_NULLVP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rcx
	movl	(%rcx,%rax,4), %eax
	movq	_QTF_CLOSING@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
LBB0_2:
	movq	%rbx, %rdi
	callq	_UFS_UNLOCK
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	movq	_QTF_64BIT@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	shll	$5, %edx
	addl	$32, %edx
	movl	%edx, -28(%rbp)
	movq	%rbx, %rdi
	callq	_UFS_UNLOCK
	leaq	-28(%rbp), %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_copyout
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NULLVP,8,3                     ## @NULLVP
	.comm	_QTF_CLOSING,4,2                ## @QTF_CLOSING
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_QTF_64BIT,4,2                  ## @QTF_64BIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getquotasize                   ; -- Begin function getquotasize
	.p2align	2
_getquotasize:                          ; @getquotasize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x0, x1
	bl	_VFSTOUFS
	mov	x20, x0
	bl	_UFS_LOCK
	ldr	x8, [x20]
	ldr	x8, [x8, w21, sxtw #3]
Lloh0:
	adrp	x9, _NULLVP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NULLVP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	sxtw	x8, w21
	ldr	x9, [x20, #8]
	ldr	w8, [x9, x8, lsl #2]
Lloh3:
	adrp	x9, _QTF_CLOSING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QTF_CLOSING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_UFS_UNLOCK
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x9, _QTF_64BIT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QTF_64BIT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #64
	mov	w9, #32
	csel	w8, w9, w8, eq
	str	w8, [sp, #12]
	mov	x0, x20
	bl	_UFS_UNLOCK
	add	x0, sp, #12
	mov	x1, x19
	mov	w2, #4
	bl	_copyout
LBB0_4:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_NULLVP,8,3                     ; @NULLVP
	.comm	_QTF_CLOSING,4,2                ; @QTF_CLOSING
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_QTF_64BIT,4,2                  ; @QTF_64BIT
.subsections_via_symbols
