	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function update
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_update
	.p2align	4, 0x90
_update:                                ## @update
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_quota_maxid
	movq	%rax, %r13
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	-112(%rbp), %r15
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%r12, %r8
	callq	_printchanges
	movups	(%rbx), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_quota_write_usage
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rbx)
	incq	%r12
	cmpq	%r13, %r12
	ja	LBB0_14
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	leaq	-112(%rbp), %rsi
	movq	%r12, %rdx
	callq	_quota_read
	testq	%rax, %rax
	jns	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_lookup
	movq	%rax, %rbx
	testq	%rax, %rax
	leaq	_update.zerofileusage(%rip), %rax
	cmoveq	%rax, %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %r14
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rax, -112(%rbp)
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-104(%rbp), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_12
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, 8(%rbx)
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -72(%rbp)
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -80(%rbp)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -88(%rbp)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -96(%rbp)
	je	LBB0_10
	jmp	LBB0_9
LBB0_14:
	movq	_FUHASH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.15:
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	xorl	%r15d, %r15d
	leaq	-112(%rbp), %rbx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	_FUHASH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	cmpq	%rax, %r15
	jae	LBB0_24
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	_fuhead@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	movq	(%rcx,%rdx,8), %rcx
	movq	(%rcx,%r15,8), %r12
	testq	%r12, %r12
	jne	LBB0_17
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	%rbx, %rdi
	movl	$48, %esi
	callq	_bzero
	movq	16(%r12), %r8
	cmpq	%r14, %r8
	cmovaq	%r8, %r14
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_printchanges
	movups	(%r12), %xmm0
	movaps	%xmm0, -112(%rbp)
	movq	16(%r12), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_quota_write_usage
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r12)
LBB0_21:                                ##   in Loop: Header=BB0_17 Depth=2
	movq	24(%r12), %r12
	testq	%r12, %r12
	je	LBB0_22
LBB0_17:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r13, 16(%r12)
	jbe	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpq	$0, (%r12)
	jne	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=2
	cmpq	$0, 8(%r12)
	jne	LBB0_20
	jmp	LBB0_21
LBB0_24:
	cmpq	%r13, %r14
	jae	LBB0_28
## %bb.25:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_quota_qfname
	leaq	-128(%rbp), %rsi
	movl	%eax, %edi
	callq	_stat
	testq	%rax, %rax
	jne	LBB0_28
## %bb.26:
	leaq	(%r14,%r14,2), %rbx
	shlq	$4, %rbx
	addq	$96, %rbx
	cmpq	%rbx, -128(%rbp)
	jle	LBB0_28
## %bb.27:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_quota_qfname
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_truncate
LBB0_28:
	xorl	%eax, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_update.zerofileusage,32,3 ## @update.zerofileusage
	.comm	_FUHASH,8,3                     ## @FUHASH
	.comm	_fuhead,8,3                     ## @fuhead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update                         ; -- Begin function update
	.p2align	2
_update:                                ; @update
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_quota_maxid
	mov	x21, x0
	mov	x25, #0
	mov	x23, #0
	add	x26, sp, #16
Lloh0:
	adrp	x27, _update.zerofileusage@PAGE
Lloh1:
	add	x27, x27, _update.zerofileusage@PAGEOFF
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x2, sp, #16
	mov	x0, x22
	mov	x1, x20
	mov	x3, x24
	mov	x4, x23
	bl	_printchanges
	ldr	q0, [x24]
	str	q0, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x23
	bl	_quota_write_usage
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	stp	xzr, xzr, [x24]
	add	x23, x23, #1
	cmp	x23, x21
	b.hi	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #16
	mov	x0, x19
	mov	x2, x23
	bl	_quota_read
	tbz	x0, #63, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #32]
	str	q0, [sp, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_lookup
	cmp	x0, #0
	csel	x24, x27, x0, eq
	ldr	x8, [x24]
	cbnz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x26, #40
	add	x10, x26, #24
	ldr	d0, [sp, #48]
	ld1.d	{ v0 }[1], [x10]
	ldr	d1, [x24, #8]
	ld1.d	{ v1 }[1], [x9]
	cmtst.2d	v0, v0, v0
	cmtst.2d	v1, v1, v1
	uzp1.4s	v0, v1, v0
	xtn.4h	v0, v0
	umov.h	w9, v0[0]
	umov.h	w10, v0[1]
	and	w10, w10, #0x1
	bfi	w9, w10, #1, #1
	umov.h	w10, v0[2]
	and	w10, w10, #0x1
	umov.h	w11, v0[3]
	bfi	w9, w10, #2, #1
	bfi	w9, w11, #3, #29
	and	w9, w9, #0xf
	ldr	x10, [sp, #32]
	cmp	w9, #0
	ccmp	x10, #0, #0, eq
	b.eq	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x25, x23
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #16]
	cmp	x9, x8
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #24]
	ldr	x9, [x24, #8]
	cmp	x8, x9
	b.ne	LBB0_1
	b	LBB0_2
LBB0_10:
Lloh2:
	adrp	x24, _FUHASH@GOTPAGE
Lloh3:
	ldr	x24, [x24, _FUHASH@GOTPAGEOFF]
	ldr	x8, [x24]
	cbz	x8, LBB0_20
; %bb.11:
	mov	x26, #0
	sxtw	x27, w20
Lloh4:
	adrp	x28, _fuhead@GOTPAGE
Lloh5:
	ldr	x28, [x28, _fuhead@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x24]
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x26, x26, #1
	cmp	x26, x8
	b.hs	LBB0_20
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x9, [x28]
	ldr	x9, [x9, x27, lsl #3]
	ldr	x23, [x9, x26, lsl #3]
	cbnz	x23, LBB0_17
	b	LBB0_13
LBB0_15:                                ;   in Loop: Header=BB0_17 Depth=2
	add	x0, sp, #16
	mov	w1, #48
	bl	_bzero
	ldr	x4, [x23, #16]
	cmp	x4, x25
	csel	x25, x4, x25, hi
	add	x2, sp, #16
	mov	x0, x22
	mov	x1, x20
	mov	x3, x23
	bl	_printchanges
	ldr	q0, [x23]
	str	q0, [sp, #16]
	ldr	x2, [x23, #16]
	add	x1, sp, #16
	mov	x0, x19
	bl	_quota_write_usage
	stp	xzr, xzr, [x23]
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=2
	ldr	x23, [x23, #24]
	cbz	x23, LBB0_12
LBB0_17:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x23, #16]
	cmp	x8, x21
	b.ls	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	x8, [x23]
	cbnz	x8, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_17 Depth=2
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_15
	b	LBB0_16
LBB0_20:
	cmp	x25, x21
	b.hs	LBB0_24
; %bb.21:
	mov	x0, x19
	bl	_quota_qfname
	add	x1, sp, #8
	bl	_stat
	cbnz	x0, LBB0_24
; %bb.22:
	ldr	x8, [sp, #8]
	mov	w9, #48
	orr	x10, xzr, #0x60
	madd	x20, x25, x9, x10
	cmp	x8, x20
	b.le	LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_quota_qfname
	mov	x1, x20
	bl	_truncate
LBB0_24:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_update.zerofileusage,32,3 ; @update.zerofileusage
	.comm	_FUHASH,8,3                     ; @FUHASH
	.comm	_fuhead,8,3                     ; @fuhead
.subsections_via_symbols
