	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getinoquota                    ## -- Begin function getinoquota
	.p2align	4, 0x90
_getinoquota:                           ## @getinoquota
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ITOV
	movq	%rax, %r14
	movq	_VV_SYSTEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, (%r14)
	jne	LBB0_6
## %bb.1:
	testb	$-128, 19(%rbx)
	jne	LBB0_6
## %bb.2:
	testb	$-128, 11(%rbx)
	jne	LBB0_6
## %bb.3:
	movl	4(%r14), %edi
	callq	_VFSTOUFS
	movq	%rax, %r15
	movq	16(%rbx), %rsi
	movq	_USRQUOTA@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	(,%rcx,4), %r8
	addq	(%rbx), %r8
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_dqget
	movq	_EINVAL@GOTPCREL(%rip), %r12
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	cmpl	(%r12), %eax
	jne	LBB0_6
LBB0_5:
	movq	8(%rbx), %rsi
	movq	_GRPQUOTA@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	(,%rcx,4), %r8
	addq	(%rbx), %r8
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_dqget
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	(%r12), %ecx
	cmovnel	%ecx, %eax
	testl	%ecx, %ecx
	cmovel	%ecx, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VV_SYSTEM,4,2                  ## @VV_SYSTEM
	.comm	_USRQUOTA,8,3                   ## @USRQUOTA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GRPQUOTA,8,3                   ## @GRPQUOTA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getinoquota                    ; -- Begin function getinoquota
	.p2align	2
_getinoquota:                           ; @getinoquota
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_ITOV
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _VV_SYSTEM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VV_SYSTEM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_5
; %bb.1:
	ldrb	w8, [x19, #19]
	tbnz	w8, #7, LBB0_5
; %bb.2:
	ldrb	w8, [x19, #11]
	tbnz	w8, #7, LBB0_5
; %bb.3:
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_VFSTOUFS
	mov	x21, x0
	ldr	x1, [x19, #16]
Lloh3:
	adrp	x8, _USRQUOTA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USRQUOTA@GOTPAGEOFF]
Lloh5:
	ldr	x3, [x8]
	ldr	x8, [x19]
	add	x4, x8, x3, lsl #2
	mov	x0, x20
	mov	x2, x21
	bl	_dqget
Lloh6:
	adrp	x22, _EINVAL@GOTPAGE
Lloh7:
	ldr	x22, [x22, _EINVAL@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w0, #0
	ccmp	w0, w8, #4, ne
	b.ne	LBB0_6
; %bb.4:
Lloh8:
	adrp	x8, _GRPQUOTA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GRPQUOTA@GOTPAGEOFF]
Lloh10:
	ldr	x3, [x8]
	ldp	x8, x1, [x19]
	add	x4, x8, x3, lsl #2
	mov	x0, x20
	mov	x2, x21
	bl	_dqget
	ldr	w8, [x22]
	cmp	w0, w8
	ccmp	w0, #0, #4, ne
	csel	w0, wzr, w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_VV_SYSTEM,4,2                  ; @VV_SYSTEM
	.comm	_USRQUOTA,8,3                   ; @USRQUOTA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GRPQUOTA,8,3                   ; @GRPQUOTA
.subsections_via_symbols
