	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quotaoff_inchange              ## -- Begin function quotaoff_inchange
	.p2align	4, 0x90
_quotaoff_inchange:                     ## @quotaoff_inchange
	.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, %ebx
	movq	%rsi, %r15
	callq	_quotaoff_inchange1
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_VFSTOUFS
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_UFS_LOCK
	movq	_QTF_CLOSING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	8(%r12), %rcx
	movslq	%ebx, %rdx
	andl	%eax, (%rcx,%rdx,4)
	movq	_MAXQUOTAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.3:
	movq	(%r12), %rdx
	movq	_NULLVP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdx,%rcx,8)
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	xorl	%ecx, %ecx
LBB0_2:
	cmpl	%eax, %ecx
	jne	LBB0_7
LBB0_6:
	movq	%r15, %rdi
	callq	_MNT_ILOCK
	movq	_MNT_QUOTA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	movq	%r15, %rdi
	callq	_MNT_IUNLOCK
LBB0_7:
	movq	%r12, %rdi
	callq	_UFS_UNLOCK
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QTF_CLOSING,4,2                ## @QTF_CLOSING
	.comm	_MAXQUOTAS,4,2                  ## @MAXQUOTAS
	.comm	_NULLVP,8,3                     ## @NULLVP
	.comm	_MNT_QUOTA,4,2                  ## @MNT_QUOTA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_quotaoff_inchange              ; -- Begin function quotaoff_inchange
	.p2align	2
_quotaoff_inchange:                     ; @quotaoff_inchange
	.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	x22, x2
	mov	x20, x1
	bl	_quotaoff_inchange1
	mov	x19, x0
	mov	x0, x20
	bl	_VFSTOUFS
	mov	x21, x0
	bl	_UFS_LOCK
Lloh0:
	adrp	x8, _QTF_CLOSING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QTF_CLOSING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x21, #8]
	sbfiz	x10, x22, #2, #32
	ldr	w11, [x9, x10]
	bic	w8, w11, w8
	str	w8, [x9, x10]
Lloh3:
	adrp	x8, _MAXQUOTAS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXQUOTAS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x9, #0
	ldr	x10, [x21]
Lloh6:
	adrp	x11, _NULLVP@GOTPAGE
Lloh7:
	ldr	x11, [x11, _NULLVP@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x9, lsl #3]
	cmp	x12, x11
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w9, #0
LBB0_5:
	cmp	w9, w8
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x20
	bl	_MNT_ILOCK
Lloh9:
	adrp	x8, _MNT_QUOTA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MNT_QUOTA@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, x20
	bl	_MNT_IUNLOCK
LBB0_7:
	mov	x0, x21
	bl	_UFS_UNLOCK
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_QTF_CLOSING,4,2                ; @QTF_CLOSING
	.comm	_MAXQUOTAS,4,2                  ; @MAXQUOTAS
	.comm	_NULLVP,8,3                     ; @NULLVP
	.comm	_MNT_QUOTA,4,2                  ; @MNT_QUOTA
.subsections_via_symbols
