	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quotaoff                       ## -- Begin function quotaoff
	.p2align	4, 0x90
_quotaoff:                              ## @quotaoff
	.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
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_PRIV_UFS_QUOTAOFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_priv_check
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_VFSTOUFS
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_UFS_LOCK
	movq	(%r12), %rax
	movslq	%r15d, %r15
	movl	(%rax,%r15,4), %ecx
	movq	_QTF_OPENING@GOTPCREL(%rip), %rsi
	movq	_QTF_CLOSING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	(%rsi), %esi
	orl	%edx, %esi
	testl	%ecx, %esi
	je	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	callq	_UFS_UNLOCK
	movq	_EALREADY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	orl	%ecx, %edx
	movl	%edx, (%rax,%r15,4)
	movq	%r12, %rdi
	callq	_UFS_UNLOCK
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_quotaoff_inchange              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PRIV_UFS_QUOTAOFF,4,2          ## @PRIV_UFS_QUOTAOFF
	.comm	_QTF_OPENING,4,2                ## @QTF_OPENING
	.comm	_QTF_CLOSING,4,2                ## @QTF_CLOSING
	.comm	_EALREADY,4,2                   ## @EALREADY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quotaoff                       ; -- Begin function quotaoff
	.p2align	2
_quotaoff:                              ; @quotaoff
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _PRIV_UFS_QUOTAOFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PRIV_UFS_QUOTAOFF@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_priv_check
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_VFSTOUFS
	mov	x22, x0
	bl	_UFS_LOCK
	ldr	x8, [x22]
	ldr	w9, [x8, w19, sxtw #2]
Lloh3:
	adrp	x10, _QTF_OPENING@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QTF_OPENING@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x10]
Lloh6:
	adrp	x10, _QTF_CLOSING@GOTPAGE
Lloh7:
	ldr	x10, [x10, _QTF_CLOSING@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w11, w10, w11
	tst	w11, w9
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x22
	bl	_UFS_UNLOCK
Lloh9:
	adrp	x8, _EALREADY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EALREADY@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_3:
	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
LBB0_4:
	sxtw	x11, w19
	orr	w9, w10, w9
	str	w9, [x8, x11, lsl #2]
	mov	x0, x22
	bl	_UFS_UNLOCK
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	b	_quotaoff_inchange
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_PRIV_UFS_QUOTAOFF,4,2          ; @PRIV_UFS_QUOTAOFF
	.comm	_QTF_OPENING,4,2                ; @QTF_OPENING
	.comm	_QTF_CLOSING,4,2                ; @QTF_CLOSING
	.comm	_EALREADY,4,2                   ; @EALREADY
.subsections_via_symbols
