	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addid                          ## -- Begin function addid
	.p2align	4, 0x90
_addid:                                 ## @addid
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r13d
	movl	%edi, %r15d
	callq	_lookup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	testq	%r14, %r14
	je	LBB0_2
## %bb.3:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	jmp	LBB0_4
LBB0_2:
	movl	$10, %r12d
LBB0_4:
	leal	16(%r12), %esi
	movl	$1, %edi
	callq	_calloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_6:
	movq	_fuhead@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%r13d, %rax
	movq	(%rcx,%rax,8), %rcx
	movq	_FUHASH@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	movslq	%r15d, %rsi
	andq	%rdx, %rsi
	movq	(%rcx,%rsi,8), %rdx
	movq	%rdx, 8(%rbx)
	movq	%rbx, (%rcx,%rsi,8)
	movl	%r15d, (%rbx)
	movq	_highid@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpl	%r15d, (%rcx,%rax,4)
	jge	LBB0_8
## %bb.7:
	movl	%r15d, (%rcx,%rax,4)
LBB0_8:
	movl	4(%rbx), %esi
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	incl	%r12d
	movq	%r14, %rdi
	movl	%r12d, %edx
	callq	_bcopy
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.1(%rip), %rax
	movl	%esi, %edi
	movq	%rax, %rsi
	movl	%r15d, %edx
	callq	_sprintf
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory for fileusage structures"

	.comm	_fuhead,8,3                     ## @fuhead
	.comm	_FUHASH,4,2                     ## @FUHASH
	.comm	_highid,8,3                     ## @highid
L_.str.1:                               ## @.str.1
	.asciz	"%lu"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_addid                          ; -- Begin function addid
	.p2align	2
_addid:                                 ; @addid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_lookup
	mov	x22, x0
	cbnz	x0, LBB0_11
; %bb.1:
	cbz	x20, LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_strlen
	mov	x23, x0
	b	LBB0_4
LBB0_3:
	mov	w23, #10
LBB0_4:
	add	w1, w23, #16
	mov	w0, #1
	bl	_calloc
	mov	x22, x0
	cbnz	x0, LBB0_6
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_6:
Lloh2:
	adrp	x8, _fuhead@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fuhead@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x8, [x8, w21, sxtw #3]
Lloh5:
	adrp	x9, _FUHASH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FUHASH@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w9, w9, w19
	sbfiz	x9, x9, #3, #32
	ldr	x10, [x8, x9]
	str	x10, [x22, #8]
	str	x22, [x8, x9]
	str	w19, [x22]
Lloh8:
	adrp	x8, _highid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _highid@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w9, [x8, w21, sxtw #2]
	cmp	w9, w19
	b.ge	LBB0_8
; %bb.7:
	sxtw	x9, w21
	str	w19, [x8, x9, lsl #2]
LBB0_8:
	ldr	w1, [x22, #4]
	cbz	x20, LBB0_10
; %bb.9:
	add	w2, w23, #1
	mov	x0, x20
	bl	_bcopy
	b	LBB0_11
LBB0_10:
Lloh11:
	adrp	x8, l_.str.1@PAGE
Lloh12:
	add	x8, x8, l_.str.1@PAGEOFF
	mov	x0, x1
	mov	x1, x8
	mov	x2, x19
	bl	_sprintf
LBB0_11:
	mov	x0, x22
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory for fileusage structures"

	.comm	_fuhead,8,3                     ; @fuhead
	.comm	_FUHASH,4,2                     ; @FUHASH
	.comm	_highid,8,3                     ; @highid
l_.str.1:                               ; @.str.1
	.asciz	"%lu"

.subsections_via_symbols
