	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linkup                         ## -- Begin function linkup
	.p2align	4, 0x90
_linkup:                                ## @linkup
	.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
	movq	%rdx, -120(%rbp)                ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	leaq	-96(%rbp), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	%r12, %rdi
	callq	_ginode
	movq	%rax, %rbx
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_DIP
	movl	%eax, %r14d
	movq	_IFMT@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_IFDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpl	%r15d, %r14d
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pwarn
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_prtinode
	movl	$10, %edi
	callq	_putchar
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_di_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_DIP
	testl	%eax, %eax
	je	LBB0_39
LBB0_2:
	movq	_cursnapshot@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rdi
	callq	_pfatal
	jmp	LBB0_39
LBB0_4:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	leaq	L_str.22(%rip), %rdi
	callq	_puts
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.6(%rip), %rdi
	callq	_reply
	testq	%rax, %rax
	je	LBB0_38
LBB0_8:
	movq	_lfdir@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
LBB0_20:
	callq	_ginode
	movq	%rax, %r13
	movq	_di_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_DIP
	movq	_IFMT@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_IFDIR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_32
LBB0_21:
	movq	(%rbx), %rdi
	callq	_inoinfo
	movq	(%rax), %rax
	movq	_DFOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.22:
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_lftempname
	movq	(%rbx), %rdi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	testq	%rdx, %rdx
	cmoveq	%r13, %rdx
	movq	%r12, %rsi
	callq	_makeentry
	testq	%rax, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_43
## %bb.23:
	movq	%r12, %rdi
	callq	_inoinfo
	decq	8(%rax)
	movl	$1, %eax
	cmpl	%r15d, %r14d
	jne	LBB0_40
## %bb.24:
	movq	_lfdir@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	callq	_changeino
	cmpq	$-1, -64(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_27
## %bb.25:
	movq	_ALTERED@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jne	LBB0_27
## %bb.26:
	movq	(%r15), %rsi
	leaq	L_.str.17(%rip), %rdx
	movq	%r12, %rdi
	callq	_makeentry
LBB0_27:
	movq	(%r15), %rdi
	callq	_ginode
	movq	%rax, %rbx
	movq	_di_nlink@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_DIP
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %edx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_DIP_SET
	movq	%rbx, %rdi
	callq	_inodirty
	movq	(%r15), %rdi
	callq	_inoinfo
	incq	8(%rax)
	leaq	L_.str.18(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_pwarn
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$-1, %rbx
	je	LBB0_29
## %bb.28:
	leaq	L_.str.19(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	%rbx, %rdi
	callq	_inoinfo
	incq	8(%rax)
LBB0_29:
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_31
## %bb.30:
	movl	$10, %edi
	callq	_putchar
LBB0_31:
	movl	$1, %eax
	jmp	LBB0_40
LBB0_32:
	leaq	L_.str.12(%rip), %rdi
	callq	_pfatal
	leaq	L_.str.13(%rip), %rdi
	callq	_reply
	testq	%rax, %rax
	je	LBB0_38
## %bb.33:
	movq	(%rbx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_lfmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_allocdir
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_42
## %bb.34:
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movq	_lfname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdx
	callq	_changeino
	movq	_ALTERED@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_42
## %bb.35:
	movq	%r13, %rdi
	callq	_inodirty
	movq	_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_pass4check@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, -88(%rbp)
	movq	%rbx, %rdi
	callq	_inoinfo
	movq	8(%rax), %rsi
	incq	%rsi
	leaq	-96(%rbp), %rdi
	callq	_adjust
	movq	%rbx, %rdi
	callq	_inoinfo
	movq	$0, 8(%rax)
	movq	_lfdir@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_ginode
	jmp	LBB0_21
LBB0_9:
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ginode
	movq	%rax, %rbx
	movq	_lfname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_strdup
	movl	%eax, -72(%rbp)
	movq	_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_findino@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	(%r13), %rax
	movq	%rax, -88(%rbp)
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ckinode
	movq	_FOUND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	-96(%rbp), %rdi
	movq	_lfdir@GOTPCREL(%rip), %rbx
	movq	%rdi, (%rbx)
	testq	%rdi, %rdi
	jne	LBB0_20
	jmp	LBB0_37
LBB0_36:
	leaq	L_.str.15(%rip), %rdi
	callq	_pfatal
	jmp	LBB0_38
LBB0_42:
	leaq	L_.str.14(%rip), %rdi
	callq	_pfatal
	xorl	%eax, %eax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_40
LBB0_11:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_pwarn
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	_lfdir@GOTPCREL(%rip), %rbx
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.8(%rip), %rdi
	callq	_reply
	testq	%rax, %rax
	je	LBB0_19
LBB0_13:
	movq	(%r13), %rdi
	movq	_lfmode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_allocdir
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_37
## %bb.14:
	movq	(%r13), %rdi
	movq	_lfname@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rax, %rsi
	callq	_makeentry
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	_numdirs@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.16:
	leaq	L_str.21(%rip), %rdi
	callq	_puts
	jmp	LBB0_19
LBB0_43:
	leaq	L_.str.16(%rip), %rdi
	callq	_pfatal
	leaq	L_str.20(%rip), %rdi
	callq	_puts
	jmp	LBB0_39
LBB0_17:
	movq	(%rbx), %rdi
	movq	(%r13), %rsi
	callq	_freedir
	movq	$0, (%rbx)
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_37
## %bb.18:
	movl	$10, %edi
	callq	_putchar
LBB0_19:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	jne	LBB0_20
LBB0_37:
	leaq	L_.str.10(%rip), %rdi
	callq	_pfatal
	leaq	L_str.20(%rip), %rdi
	callq	_puts
LBB0_38:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_39:
	xorl	%eax, %eax
LBB0_40:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_44
## %bb.41:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_44:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.comm	_di_mode,4,2                    ## @di_mode
	.comm	_IFMT,4,2                       ## @IFMT
	.comm	_IFDIR,4,2                      ## @IFDIR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UNREF %s "

L_.str.1:                               ## @.str.1
	.asciz	"DIR"

L_.str.2:                               ## @.str.2
	.asciz	"FILE"

	.comm	_preen,8,3                      ## @preen
	.comm	_di_size,4,2                    ## @di_size
	.comm	_cursnapshot,8,3                ## @cursnapshot
L_.str.4:                               ## @.str.4
	.asciz	"FILE LINKUP IN SNAPSHOT"

L_.str.6:                               ## @.str.6
	.asciz	"RECONNECT"

	.comm	_lfdir,8,3                      ## @lfdir
	.comm	_UFS_ROOTINO,8,3                ## @UFS_ROOTINO
	.comm	_lfname,8,3                     ## @lfname
	.comm	_DATA,4,2                       ## @DATA
	.comm	_findino,4,2                    ## @findino
	.comm	_FOUND,4,2                      ## @FOUND
L_.str.7:                               ## @.str.7
	.asciz	"NO lost+found DIRECTORY"

L_.str.8:                               ## @.str.8
	.asciz	"CREATE"

	.comm	_lfmode,4,2                     ## @lfmode
	.comm	_numdirs,4,2                    ## @numdirs
L_.str.10:                              ## @.str.10
	.asciz	"SORRY. CANNOT CREATE lost+found DIRECTORY"

L_.str.12:                              ## @.str.12
	.asciz	"lost+found IS NOT A DIRECTORY"

L_.str.13:                              ## @.str.13
	.asciz	"REALLOCATE"

L_.str.14:                              ## @.str.14
	.asciz	"SORRY. CANNOT CREATE lost+found DIRECTORY\n\n"

	.comm	_ALTERED,4,2                    ## @ALTERED
	.comm	_ADDR,4,2                       ## @ADDR
	.comm	_pass4check,4,2                 ## @pass4check
	.comm	_DFOUND,8,3                     ## @DFOUND
L_.str.15:                              ## @.str.15
	.asciz	"SORRY. NO lost+found DIRECTORY\n\n"

L_.str.16:                              ## @.str.16
	.asciz	"SORRY. NO SPACE IN lost+found DIRECTORY"

L_.str.17:                              ## @.str.17
	.asciz	".."

	.comm	_di_nlink,4,2                   ## @di_nlink
L_.str.18:                              ## @.str.18
	.asciz	"DIR I=%lu CONNECTED. "

L_.str.19:                              ## @.str.19
	.asciz	"PARENT WAS I=%lu\n"

L_str.20:                               ## @str.20
	.asciz	"\n"

L_str.21:                               ## @str.21
	.asciz	" (CREATED)"

L_str.22:                               ## @str.22
	.asciz	" (RECONNECTED)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_linkup                         ; -- Begin function linkup
	.p2align	2
_linkup:                                ; @linkup
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #64
	mov	x21, x2
	stur	x1, [x29, #-128]                ; 8-byte Folded Spill
	mov	x20, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	sub	x0, x29, #120
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	mov	x0, x20
	bl	_ginode
	mov	x23, x0
Lloh8:
	adrp	x24, _di_mode@GOTPAGE
Lloh9:
	ldr	x24, [x24, _di_mode@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_DIP
Lloh10:
	adrp	x19, _IFMT@GOTPAGE
Lloh11:
	ldr	x19, [x19, _IFMT@GOTPAGEOFF]
	ldr	w8, [x19]
	and	w27, w8, w0
Lloh12:
	adrp	x26, _IFDIR@GOTPAGE
Lloh13:
	ldr	x26, [x26, _IFDIR@GOTPAGEOFF]
	ldr	w28, [x26]
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh16:
	adrp	x9, l_.str.1@PAGE
Lloh17:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w27, w28
	csel	x8, x9, x8, eq
	str	x8, [sp, #-16]!
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pwarn
	add	sp, sp, #16
	mov	x0, x20
	mov	x1, x23
	bl	_prtinode
	mov	w0, #10
	bl	_putchar
Lloh20:
	adrp	x8, _preen@GOTPAGE
Lloh21:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh23:
	adrp	x8, _di_size@GOTPAGE
Lloh24:
	ldr	x8, [x8, _di_size@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_DIP
	cbz	w0, LBB0_6
LBB0_2:
Lloh26:
	adrp	x8, _cursnapshot@GOTPAGE
Lloh27:
	ldr	x8, [x8, _cursnapshot@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.3:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_4:
	bl	_pfatal
LBB0_5:
	mov	w0, #0
LBB0_6:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh34:
	adrp	x8, _preen@GOTPAGE
Lloh35:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.9:
Lloh37:
	adrp	x0, l_str.22@PAGE
Lloh38:
	add	x0, x0, l_str.22@PAGEOFF
	bl	_puts
	b	LBB0_11
LBB0_10:
Lloh39:
	adrp	x0, l_.str.6@PAGE
Lloh40:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_reply
	cbz	x0, LBB0_6
LBB0_11:
Lloh41:
	adrp	x8, _lfdir@GOTPAGE
Lloh42:
	ldr	x8, [x8, _lfdir@GOTPAGEOFF]
Lloh43:
	ldr	x0, [x8]
	cbz	x0, LBB0_28
LBB0_12:
	bl	_ginode
	mov	x23, x0
	ldr	w1, [x24]
	bl	_DIP
	ldr	w8, [x19]
	and	w8, w8, w0
	ldr	w9, [x26]
	cmp	w8, w9
Lloh44:
	adrp	x26, _lfdir@GOTPAGE
Lloh45:
	ldr	x26, [x26, _lfdir@GOTPAGEOFF]
	b.ne	LBB0_24
LBB0_13:
	ldr	x0, [x26]
	bl	_inoinfo
	ldr	x8, [x0]
Lloh46:
	adrp	x9, _DFOUND@GOTPAGE
Lloh47:
	ldr	x9, [x9, _DFOUND@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.14:
	mov	x0, x22
	mov	x1, x20
	bl	_lftempname
	ldr	x0, [x26]
	cmp	x21, #0
	csel	x2, x22, x21, eq
	mov	x1, x20
	bl	_makeentry
	cbz	x0, LBB0_38
; %bb.15:
	mov	x0, x20
	bl	_inoinfo
	ldr	x8, [x0, #8]
	sub	x8, x8, #1
	str	x8, [x0, #8]
	cmp	w27, w28
	b.ne	LBB0_23
; %bb.16:
	ldr	x2, [x26]
Lloh49:
	adrp	x1, l_.str.17@PAGE
Lloh50:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_changeino
	ldur	x19, [x29, #-128]               ; 8-byte Folded Reload
	cmn	x19, #1
	b.eq	LBB0_19
; %bb.17:
Lloh51:
	adrp	x8, _ALTERED@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ALTERED@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	and	w8, w8, w0
	cbnz	w8, LBB0_19
; %bb.18:
	ldr	x1, [x26]
Lloh54:
	adrp	x2, l_.str.17@PAGE
Lloh55:
	add	x2, x2, l_.str.17@PAGEOFF
	mov	x0, x20
	bl	_makeentry
LBB0_19:
	ldr	x0, [x26]
	bl	_ginode
	mov	x21, x0
Lloh56:
	adrp	x8, _di_nlink@GOTPAGE
Lloh57:
	ldr	x8, [x8, _di_nlink@GOTPAGEOFF]
Lloh58:
	ldr	w22, [x8]
	mov	x1, x22
	bl	_DIP
	add	w2, w0, #1
	mov	x0, x21
	mov	x1, x22
	bl	_DIP_SET
	mov	x0, x21
	bl	_inodirty
	ldr	x0, [x26]
	bl	_inoinfo
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	str	x8, [x0, #8]
	str	x20, [sp, #-16]!
Lloh59:
	adrp	x0, l_.str.18@PAGE
Lloh60:
	add	x0, x0, l_.str.18@PAGEOFF
	bl	_pwarn
	add	sp, sp, #16
	cmn	x19, #1
	b.eq	LBB0_21
; %bb.20:
	str	x19, [sp, #-16]!
Lloh61:
	adrp	x0, l_.str.19@PAGE
Lloh62:
	add	x0, x0, l_.str.19@PAGEOFF
	bl	_printf
	add	sp, sp, #16
	mov	x0, x19
	bl	_inoinfo
	ldr	x8, [x0, #8]
	add	x8, x8, #1
	str	x8, [x0, #8]
LBB0_21:
Lloh63:
	adrp	x8, _preen@GOTPAGE
Lloh64:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh65:
	ldr	x8, [x8]
	cbnz	x8, LBB0_23
; %bb.22:
	mov	w0, #10
	bl	_putchar
LBB0_23:
	mov	w0, #1
	b	LBB0_6
LBB0_24:
Lloh66:
	adrp	x0, l_.str.12@PAGE
Lloh67:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_pfatal
Lloh68:
	adrp	x0, l_.str.13@PAGE
Lloh69:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_reply
	cbz	x0, LBB0_6
; %bb.25:
	ldr	x24, [x26]
Lloh70:
	adrp	x19, _UFS_ROOTINO@GOTPAGE
Lloh71:
	ldr	x19, [x19, _UFS_ROOTINO@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh72:
	adrp	x8, _lfmode@GOTPAGE
Lloh73:
	ldr	x8, [x8, _lfmode@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_allocdir
	str	x0, [x26]
	cbz	x0, LBB0_31
; %bb.26:
	mov	x2, x0
	ldr	x0, [x19]
Lloh75:
	adrp	x8, _lfname@GOTPAGE
Lloh76:
	ldr	x8, [x8, _lfname@GOTPAGEOFF]
Lloh77:
	ldr	x1, [x8]
	bl	_changeino
Lloh78:
	adrp	x8, _ALTERED@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ALTERED@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_31
; %bb.27:
	mov	x0, x23
	bl	_inodirty
Lloh81:
	adrp	x8, _ADDR@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ADDR@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
Lloh84:
	adrp	x9, _pass4check@GOTPAGE
Lloh85:
	ldr	x9, [x9, _pass4check@GOTPAGEOFF]
Lloh86:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-104]
	stur	x24, [x29, #-112]
	mov	x0, x24
	bl	_inoinfo
	ldr	x8, [x0, #8]
	add	x1, x8, #1
	sub	x0, x29, #120
	bl	_adjust
	mov	x0, x24
	bl	_inoinfo
	str	xzr, [x0, #8]
	ldr	x0, [x26]
	bl	_ginode
	b	LBB0_13
LBB0_28:
	stur	x21, [x29, #-136]               ; 8-byte Folded Spill
Lloh87:
	adrp	x21, _UFS_ROOTINO@GOTPAGE
Lloh88:
	ldr	x21, [x21, _UFS_ROOTINO@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ginode
	mov	x23, x0
Lloh89:
	adrp	x8, _lfname@GOTPAGE
Lloh90:
	ldr	x8, [x8, _lfname@GOTPAGEOFF]
Lloh91:
	ldr	x0, [x8]
	bl	_strdup
	stur	w0, [x29, #-96]
Lloh92:
	adrp	x8, _DATA@GOTPAGE
Lloh93:
	ldr	x8, [x8, _DATA@GOTPAGEOFF]
Lloh94:
	adrp	x9, _findino@GOTPAGE
Lloh95:
	ldr	x9, [x9, _findino@GOTPAGEOFF]
Lloh96:
	ldr	w8, [x8]
Lloh97:
	ldr	w9, [x9]
	stp	w9, w8, [x29, #-104]
	ldr	x8, [x21]
	stur	x8, [x29, #-112]
	sub	x1, x29, #120
	mov	x0, x23
	bl	_ckinode
Lloh98:
	adrp	x8, _FOUND@GOTPAGE
Lloh99:
	ldr	x8, [x8, _FOUND@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_32
; %bb.29:
	ldur	x0, [x29, #-120]
Lloh101:
	adrp	x8, _lfdir@GOTPAGE
Lloh102:
	ldr	x8, [x8, _lfdir@GOTPAGEOFF]
Lloh103:
	str	x0, [x8]
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	cbnz	x0, LBB0_12
	b	LBB0_42
LBB0_30:
Lloh104:
	adrp	x0, l_.str.15@PAGE
Lloh105:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_4
LBB0_31:
Lloh106:
	adrp	x0, l_.str.14@PAGE
Lloh107:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_4
LBB0_32:
Lloh108:
	adrp	x23, _UFS_ROOTINO@GOTPAGE
Lloh109:
	ldr	x23, [x23, _UFS_ROOTINO@GOTPAGEOFF]
Lloh110:
	adrp	x0, l_.str.7@PAGE
Lloh111:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_pwarn
Lloh112:
	adrp	x8, _preen@GOTPAGE
Lloh113:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh114:
	ldr	x8, [x8]
	ldur	x21, [x29, #-136]               ; 8-byte Folded Reload
	cbnz	x8, LBB0_34
; %bb.33:
Lloh115:
	adrp	x0, l_.str.8@PAGE
Lloh116:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_reply
	cbz	x0, LBB0_41
LBB0_34:
	ldr	x0, [x23]
Lloh117:
	adrp	x8, _lfmode@GOTPAGE
Lloh118:
	ldr	x8, [x8, _lfmode@GOTPAGEOFF]
Lloh119:
	ldr	w2, [x8]
	mov	x1, #0
	bl	_allocdir
Lloh120:
	adrp	x8, _lfdir@GOTPAGE
Lloh121:
	ldr	x8, [x8, _lfdir@GOTPAGEOFF]
Lloh122:
	str	x0, [x8]
	cbz	x0, LBB0_42
; %bb.35:
	mov	x1, x0
	ldr	x0, [x23]
Lloh123:
	adrp	x8, _lfname@GOTPAGE
Lloh124:
	ldr	x8, [x8, _lfname@GOTPAGEOFF]
Lloh125:
	ldr	x2, [x8]
	bl	_makeentry
	cbz	x0, LBB0_39
; %bb.36:
Lloh126:
	adrp	x8, _numdirs@GOTPAGE
Lloh127:
	ldr	x8, [x8, _numdirs@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh128:
	adrp	x8, _preen@GOTPAGE
Lloh129:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh130:
	ldr	x8, [x8]
	cbz	x8, LBB0_41
; %bb.37:
Lloh131:
	adrp	x0, l_str.21@PAGE
Lloh132:
	add	x0, x0, l_str.21@PAGEOFF
	bl	_puts
	b	LBB0_41
LBB0_38:
Lloh133:
	adrp	x0, l_.str.16@PAGE
Lloh134:
	add	x0, x0, l_.str.16@PAGEOFF
	b	LBB0_43
LBB0_39:
Lloh135:
	adrp	x8, _lfdir@GOTPAGE
Lloh136:
	ldr	x8, [x8, _lfdir@GOTPAGEOFF]
	mov	x9, x23
	mov	x23, x8
	ldr	x0, [x8]
	ldr	x1, [x9]
	bl	_freedir
	str	xzr, [x23]
Lloh137:
	adrp	x8, _preen@GOTPAGE
Lloh138:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh139:
	ldr	x8, [x8]
	cbz	x8, LBB0_42
; %bb.40:
	mov	w0, #10
	bl	_putchar
LBB0_41:
Lloh140:
	adrp	x8, _lfdir@GOTPAGE
Lloh141:
	ldr	x8, [x8, _lfdir@GOTPAGEOFF]
Lloh142:
	ldr	x0, [x8]
	cbnz	x0, LBB0_12
LBB0_42:
Lloh143:
	adrp	x0, l_.str.10@PAGE
Lloh144:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_43:
	bl	_pfatal
Lloh145:
	adrp	x0, l_str.20@PAGE
Lloh146:
	add	x0, x0, l_str.20@PAGEOFF
	bl	_puts
	b	LBB0_5
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh96
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGotStr	Lloh101, Lloh102, Lloh103
	.loh AdrpAdd	Lloh104, Lloh105
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpLdrGotStr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpLdrGot	Lloh126, Lloh127
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh137, Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh135, Lloh136
	.loh AdrpLdrGotLdr	Lloh140, Lloh141, Lloh142
	.loh AdrpAdd	Lloh143, Lloh144
	.loh AdrpAdd	Lloh145, Lloh146
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.comm	_di_mode,4,2                    ; @di_mode
	.comm	_IFMT,4,2                       ; @IFMT
	.comm	_IFDIR,4,2                      ; @IFDIR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UNREF %s "

l_.str.1:                               ; @.str.1
	.asciz	"DIR"

l_.str.2:                               ; @.str.2
	.asciz	"FILE"

	.comm	_preen,8,3                      ; @preen
	.comm	_di_size,4,2                    ; @di_size
	.comm	_cursnapshot,8,3                ; @cursnapshot
l_.str.4:                               ; @.str.4
	.asciz	"FILE LINKUP IN SNAPSHOT"

l_.str.6:                               ; @.str.6
	.asciz	"RECONNECT"

	.comm	_lfdir,8,3                      ; @lfdir
	.comm	_UFS_ROOTINO,8,3                ; @UFS_ROOTINO
	.comm	_lfname,8,3                     ; @lfname
	.comm	_DATA,4,2                       ; @DATA
	.comm	_findino,4,2                    ; @findino
	.comm	_FOUND,4,2                      ; @FOUND
l_.str.7:                               ; @.str.7
	.asciz	"NO lost+found DIRECTORY"

l_.str.8:                               ; @.str.8
	.asciz	"CREATE"

	.comm	_lfmode,4,2                     ; @lfmode
	.comm	_numdirs,4,2                    ; @numdirs
l_.str.10:                              ; @.str.10
	.asciz	"SORRY. CANNOT CREATE lost+found DIRECTORY"

l_.str.12:                              ; @.str.12
	.asciz	"lost+found IS NOT A DIRECTORY"

l_.str.13:                              ; @.str.13
	.asciz	"REALLOCATE"

l_.str.14:                              ; @.str.14
	.asciz	"SORRY. CANNOT CREATE lost+found DIRECTORY\n\n"

	.comm	_ALTERED,4,2                    ; @ALTERED
	.comm	_ADDR,4,2                       ; @ADDR
	.comm	_pass4check,4,2                 ; @pass4check
	.comm	_DFOUND,8,3                     ; @DFOUND
l_.str.15:                              ; @.str.15
	.asciz	"SORRY. NO lost+found DIRECTORY\n\n"

l_.str.16:                              ; @.str.16
	.asciz	"SORRY. NO SPACE IN lost+found DIRECTORY"

l_.str.17:                              ; @.str.17
	.asciz	".."

	.comm	_di_nlink,4,2                   ; @di_nlink
l_.str.18:                              ; @.str.18
	.asciz	"DIR I=%lu CONNECTED. "

l_.str.19:                              ; @.str.19
	.asciz	"PARENT WAS I=%lu\n"

l_str.20:                               ; @str.20
	.asciz	"\n"

l_str.21:                               ; @str.21
	.asciz	" (CREATED)"

l_str.22:                               ; @str.22
	.asciz	" (RECONNECTED)"

.subsections_via_symbols
