	.file	"extr_dir.c_linkup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"DIR"
.LC1:
	.string	"FILE"
.LC2:
	.string	"UNREF %s "
.LC3:
	.string	"FILE LINKUP IN SNAPSHOT"
.LC4:
	.string	" (RECONNECTED)"
.LC5:
	.string	"RECONNECT"
.LC6:
	.string	"NO lost+found DIRECTORY"
.LC7:
	.string	"CREATE"
.LC8:
	.string	" (CREATED)"
.LC9:
	.string	"lost+found IS NOT A DIRECTORY"
.LC10:
	.string	"REALLOCATE"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC11:
	.string	"SORRY. CANNOT CREATE lost+found DIRECTORY\n\n"
	.align 8
.LC12:
	.string	"SORRY. NO lost+found DIRECTORY\n\n"
	.align 8
.LC13:
	.string	"SORRY. NO SPACE IN lost+found DIRECTORY"
	.section	.rodata.str1.1
.LC14:
	.string	"\n"
.LC15:
	.string	".."
.LC16:
	.string	"DIR I=%lu CONNECTED. "
.LC17:
	.string	"PARENT WAS I=%lu\n"
	.section	.rodata.str1.8
	.align 8
.LC18:
	.string	"SORRY. CANNOT CREATE lost+found DIRECTORY"
	.text
	.p2align 4
	.globl	linkup
	.type	linkup, @function
linkup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	mov	r14, rsi
	push	r13
	.cfi_offset 13, -40
	mov	r13, rdx
	push	r12
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 88
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR BUFSIZ[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L67:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L67
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L68
.L4:
	lea	rbx, -96[rbp]
	mov	edx, 32
	xor	esi, esi
	mov	QWORD PTR -104[rbp], rsp
	mov	rdi, rbx
	call	memset@PLT
	mov	rdi, r12
	call	ginode@PLT
	mov	esi, DWORD PTR di_mode[rip]
	mov	rdi, rax
	mov	r15, rax
	call	DIP@PLT
	mov	ecx, DWORD PTR IFDIR[rip]
	and	eax, DWORD PTR IFMT[rip]
	lea	rsi, .LC0[rip]
	mov	DWORD PTR -108[rbp], eax
	lea	rdi, .LC2[rip]
	cmp	eax, ecx
	lea	rax, .LC1[rip]
	mov	DWORD PTR -112[rbp], ecx
	cmovne	rsi, rax
	xor	eax, eax
	call	pwarn@PLT
	mov	rsi, r15
	mov	rdi, r12
	call	prtinode@PLT
	mov	edi, 10
	call	putchar@PLT
	cmp	QWORD PTR preen[rip], 0
	jne	.L69
	cmp	QWORD PTR cursnapshot[rip], 0
	jne	.L32
.L10:
	lea	rdi, .LC5[rip]
	call	reply@PLT
	test	rax, rax
	je	.L65
.L11:
	mov	rdi, QWORD PTR lfdir[rip]
	test	rdi, rdi
	jne	.L13
	mov	rdi, QWORD PTR UFS_ROOTINO[rip]
	call	ginode@PLT
	mov	rdi, QWORD PTR lfname[rip]
	mov	r15, rax
	call	strdup@PLT
	mov	rsi, rbx
	mov	rdi, r15
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR DATA[rip]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR findino[rip]
	mov	DWORD PTR -80[rbp], eax
	mov	rax, QWORD PTR UFS_ROOTINO[rip]
	mov	QWORD PTR -88[rbp], rax
	call	ckinode@PLT
	test	DWORD PTR FOUND[rip], eax
	je	.L14
	mov	rdi, QWORD PTR -96[rbp]
	mov	QWORD PTR lfdir[rip], rdi
.L15:
	test	rdi, rdi
	je	.L20
.L13:
	call	ginode@PLT
	mov	esi, DWORD PTR di_mode[rip]
	mov	rdi, rax
	mov	r15, rax
	call	DIP@PLT
	and	eax, DWORD PTR IFMT[rip]
	cmp	eax, DWORD PTR IFDIR[rip]
	je	.L21
	lea	rdi, .LC9[rip]
	call	pfatal@PLT
	lea	rdi, .LC10[rip]
	call	reply@PLT
	test	rax, rax
	jne	.L70
.L65:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L71
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L69:
	.cfi_restore_state
	mov	esi, DWORD PTR di_size[rip]
	mov	rdi, r15
	call	DIP@PLT
	test	eax, eax
	je	.L65
	cmp	QWORD PTR cursnapshot[rip], 0
	jne	.L32
	cmp	QWORD PTR preen[rip], 0
	je	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rdi, .LC3[rip]
	call	pfatal@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L70:
	mov	rax, QWORD PTR lfdir[rip]
	mov	edx, DWORD PTR lfmode[rip]
	xor	esi, esi
	mov	rdi, QWORD PTR UFS_ROOTINO[rip]
	mov	QWORD PTR -120[rbp], rax
	call	allocdir@PLT
	mov	QWORD PTR lfdir[rip], rax
	mov	rdx, rax
	test	rax, rax
	je	.L23
	mov	rsi, QWORD PTR lfname[rip]
	mov	rdi, QWORD PTR UFS_ROOTINO[rip]
	call	changeino@PLT
	test	DWORD PTR ALTERED[rip], eax
	je	.L23
	mov	rdi, r15
	call	inodirty@PLT
	mov	eax, DWORD PTR ADDR[rip]
	mov	r15, QWORD PTR -120[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR pass4check[rip]
	mov	rdi, r15
	mov	QWORD PTR -88[rbp], r15
	mov	DWORD PTR -80[rbp], eax
	call	inoinfo@PLT
	mov	rdi, rbx
	mov	rsi, QWORD PTR 8[rax]
	add	rsi, 1
	call	adjust@PLT
	mov	rdi, r15
	call	inoinfo@PLT
	mov	rdi, QWORD PTR lfdir[rip]
	mov	QWORD PTR 8[rax], 0
	call	ginode@PLT
.L21:
	mov	rdi, QWORD PTR lfdir[rip]
	call	inoinfo@PLT
	mov	rbx, QWORD PTR DFOUND[rip]
	cmp	QWORD PTR [rax], rbx
	jne	.L72
	mov	rbx, QWORD PTR -104[rbp]
	mov	rsi, r12
	mov	rdi, rbx
	call	lftempname@PLT
	test	r13, r13
	mov	rdi, QWORD PTR lfdir[rip]
	mov	rsi, r12
	cmove	r13, rbx
	mov	rdx, r13
	call	makeentry@PLT
	test	rax, rax
	je	.L73
	mov	rdi, r12
	call	inoinfo@PLT
	mov	ebx, DWORD PTR -112[rbp]
	sub	QWORD PTR 8[rax], 1
	cmp	DWORD PTR -108[rbp], ebx
	je	.L27
.L64:
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L68:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L72:
	lea	rdi, .LC12[rip]
	call	pfatal@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	xor	eax, eax
	lea	rdi, .LC6[rip]
	call	pwarn@PLT
	cmp	QWORD PTR preen[rip], 0
	jne	.L16
	lea	rdi, .LC7[rip]
	call	reply@PLT
	test	rax, rax
	jne	.L16
.L63:
	mov	rdi, QWORD PTR lfdir[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, DWORD PTR lfmode[rip]
	mov	rdi, QWORD PTR UFS_ROOTINO[rip]
	xor	esi, esi
	call	allocdir@PLT
	mov	QWORD PTR lfdir[rip], rax
	test	rax, rax
	jne	.L74
.L20:
	lea	rdi, .LC18[rip]
	call	pfatal@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rdi, .LC11[rip]
	call	pfatal@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L74:
	mov	rdx, QWORD PTR lfname[rip]
	mov	rdi, QWORD PTR UFS_ROOTINO[rip]
	mov	rsi, rax
	call	makeentry@PLT
	test	rax, rax
	je	.L18
	add	DWORD PTR numdirs[rip], 1
	cmp	QWORD PTR preen[rip], 0
	je	.L63
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	rdi, QWORD PTR lfdir[rip]
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L73:
	lea	rdi, .LC13[rip]
	call	pfatal@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L27:
	mov	rdx, QWORD PTR lfdir[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, r12
	call	changeino@PLT
	test	DWORD PTR ALTERED[rip], eax
	jne	.L28
	cmp	r14, -1
	jne	.L75
.L28:
	mov	rdi, QWORD PTR lfdir[rip]
	call	ginode@PLT
	mov	esi, DWORD PTR di_nlink[rip]
	mov	rdi, rax
	mov	r13, rax
	call	DIP@PLT
	mov	esi, DWORD PTR di_nlink[rip]
	mov	rdi, r13
	lea	edx, 1[rax]
	call	DIP_SET@PLT
	mov	rdi, r13
	call	inodirty@PLT
	mov	rdi, QWORD PTR lfdir[rip]
	call	inoinfo@PLT
	mov	rsi, r12
	lea	rdi, .LC16[rip]
	add	QWORD PTR 8[rax], 1
	xor	eax, eax
	call	pwarn@PLT
	cmp	r14, -1
	jne	.L29
.L30:
	cmp	QWORD PTR preen[rip], 0
	jne	.L64
	mov	edi, 10
	call	putchar@PLT
	jmp	.L64
.L75:
	mov	rsi, QWORD PTR lfdir[rip]
	lea	rdx, .LC15[rip]
	mov	rdi, r12
	call	makeentry@PLT
	mov	rdi, QWORD PTR lfdir[rip]
	call	ginode@PLT
	mov	esi, DWORD PTR di_nlink[rip]
	mov	rdi, rax
	mov	r13, rax
	call	DIP@PLT
	mov	esi, DWORD PTR di_nlink[rip]
	mov	rdi, r13
	lea	edx, 1[rax]
	call	DIP_SET@PLT
	mov	rdi, r13
	call	inodirty@PLT
	mov	rdi, QWORD PTR lfdir[rip]
	call	inoinfo@PLT
	mov	rsi, r12
	lea	rdi, .LC16[rip]
	add	QWORD PTR 8[rax], 1
	xor	eax, eax
	call	pwarn@PLT
.L29:
	mov	rsi, r14
	lea	rdi, .LC17[rip]
	xor	eax, eax
	call	printf@PLT
	mov	rdi, r14
	call	inoinfo@PLT
	add	QWORD PTR 8[rax], 1
	jmp	.L30
.L18:
	mov	rsi, QWORD PTR UFS_ROOTINO[rip]
	mov	rdi, QWORD PTR lfdir[rip]
	call	freedir@PLT
	cmp	QWORD PTR preen[rip], 0
	mov	QWORD PTR lfdir[rip], 0
	je	.L20
	mov	edi, 10
	call	putchar@PLT
	jmp	.L63
.L71:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	linkup, .-linkup
	.comm	preen,8,8
	.comm	pass4check,4,4
	.comm	numdirs,4,4
	.comm	lfname,8,8
	.comm	lfmode,4,4
	.comm	lfdir,8,8
	.comm	findino,4,4
	.comm	di_size,4,4
	.comm	di_nlink,4,4
	.comm	di_mode,4,4
	.comm	cursnapshot,8,8
	.comm	UFS_ROOTINO,8,8
	.comm	IFMT,4,4
	.comm	IFDIR,4,4
	.comm	FOUND,4,4
	.comm	DFOUND,8,8
	.comm	DATA,4,4
	.comm	BUFSIZ,4,4
	.comm	ALTERED,4,4
	.comm	ADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_dir.c_linkup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"DIR\000"
	.align	2
.LC1:
	.ascii	"FILE\000"
	.align	2
.LC2:
	.ascii	"UNREF %s \000"
	.align	2
.LC3:
	.ascii	"FILE LINKUP IN SNAPSHOT\000"
	.align	2
.LC4:
	.ascii	" (RECONNECTED)\000"
	.align	2
.LC5:
	.ascii	"RECONNECT\000"
	.align	2
.LC6:
	.ascii	"NO lost+found DIRECTORY\000"
	.align	2
.LC7:
	.ascii	"CREATE\000"
	.align	2
.LC8:
	.ascii	" (CREATED)\000"
	.align	2
.LC9:
	.ascii	"lost+found IS NOT A DIRECTORY\000"
	.align	2
.LC10:
	.ascii	"REALLOCATE\000"
	.align	2
.LC11:
	.ascii	"SORRY. CANNOT CREATE lost+found DIRECTORY\012\012\000"
	.align	2
.LC12:
	.ascii	"SORRY. NO lost+found DIRECTORY\012\012\000"
	.align	2
.LC13:
	.ascii	"SORRY. NO SPACE IN lost+found DIRECTORY\000"
	.align	2
.LC14:
	.ascii	"\012\000"
	.align	2
.LC15:
	.ascii	"..\000"
	.align	2
.LC16:
	.ascii	"DIR I=%lu CONNECTED. \000"
	.align	2
.LC17:
	.ascii	"PARENT WAS I=%lu\012\000"
	.align	2
.LC18:
	.ascii	"SORRY. CANNOT CREATE lost+found DIRECTORY\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC19:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	linkup
	.syntax unified
	.arm
	.fpu softvfp
	.type	linkup, %function
linkup:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #52
	mov	r3, #0
	ldr	ip, .L67
	str	r2, [fp, #-64]
	ldr	ip, [ip]
	ldr	r2, .L67+4
	add	ip, ip, #7
	bic	ip, ip, #7
	sub	sp, sp, ip
	str	r1, [fp, #-76]
	ldr	r2, [r2]
	str	r2, [fp, #-40]
	mov	r2,#0
	mov	r4, r0
	str	r3, [fp, #-60]
	str	r3, [fp, #-56]
	str	r3, [fp, #-52]
	str	r3, [fp, #-48]
	str	r3, [fp, #-44]
	bl	ginode
	ldr	r7, .L67+8
	mov	r5, r0
	ldr	r1, [r7]
	bl	DIP
	ldr	r6, .L67+12
	ldr	r8, .L67+16
	ldr	r2, [r6]
	ldr	ip, [r8]
	and	r2, r0, r2
	ldr	r3, .L67+20
	cmp	r2, ip
	ldr	r1, .L67+24
	ldr	r0, .L67+28
	movne	r1, r3
	str	ip, [fp, #-72]
	str	r2, [fp, #-68]
	ldr	r9, .L67+32
	bl	pwarn
	mov	r1, r5
	mov	r0, r4
	bl	prtinode
	mov	r0, #10
	bl	putchar
	ldr	r3, [r9]
	mov	r10, sp
	cmp	r3, #0
	bne	.L62
	ldr	r3, .L67+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
.L7:
	ldr	r0, .L67+40
	bl	reply
	cmp	r0, #0
	beq	.L60
.L8:
	ldr	r5, .L67+44
	ldr	r3, [r5]
	cmp	r3, #0
	bne	.L10
	str	r3, [fp, #-84]
	ldr	r3, .L67+48
	ldr	r0, [r3]
	bl	ginode
	mov	r2, r0
	ldr	r1, .L67+52
	str	r2, [fp, #-80]
	ldr	r0, [r1]
	bl	strdup
	mov	lr, r0
	ldr	r1, .L67+56
	ldr	r2, [fp, #-80]
	ldr	r3, .L67+48
	ldr	r0, .L67+60
	ldr	r1, [r1]
	ldr	ip, [r0]
	mov	r0, r2
	ldr	r2, [r3]
	str	r1, [fp, #-48]
	sub	r1, fp, #60
	str	r2, [fp, #-56]
	str	lr, [fp, #-44]
	str	ip, [fp, #-52]
	bl	ckinode
	ldr	r2, .L67+64
	ldr	r3, [fp, #-84]
	ldr	r2, [r2]
	tst	r0, r2
	beq	.L11
	ldr	r2, [fp, #-60]
	str	r2, [r5]
.L12:
	cmp	r2, #0
	beq	.L17
	mov	r3, r2
.L10:
	mov	r0, r3
	bl	ginode
	ldr	r1, [r7]
	mov	r7, r0
	bl	DIP
	ldr	r2, [r6]
	ldr	r3, [r8]
	and	r0, r0, r2
	cmp	r0, r3
	beq	.L18
	ldr	r0, .L67+68
	bl	pfatal
	ldr	r0, .L67+72
	bl	reply
	cmp	r0, #0
	beq	.L60
	ldr	r3, .L67+76
	ldr	r8, .L67+48
	ldr	r2, [r3]
	mov	r1, #0
	ldr	r0, [r8]
	ldr	r6, [r5]
	bl	allocdir
	cmp	r0, #0
	mov	r2, r0
	str	r0, [r5]
	beq	.L20
	ldr	r3, .L67+52
	ldr	r0, [r8]
	ldr	r1, [r3]
	bl	changeino
	ldr	r3, .L67+80
	ldr	r3, [r3]
	tst	r0, r3
	beq	.L20
	mov	r0, r7
	bl	inodirty
	ldr	r2, .L67+84
	ldr	r3, .L67+88
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, r6
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	str	r6, [fp, #-56]
	bl	inoinfo
	ldr	r1, [r0, #4]
	sub	r0, fp, #60
	add	r1, r1, #1
	bl	adjust
	mov	r0, r6
	bl	inoinfo
	mov	r2, #0
	mov	r3, r0
	ldr	r0, [r5]
	str	r2, [r3, #4]
	bl	ginode
.L18:
	ldr	r0, [r5]
	bl	inoinfo
	ldr	r3, .L67+92
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L63
	mov	r1, r4
	mov	r0, r10
	bl	lftempname
	ldr	r2, [fp, #-64]
	mov	r1, r4
	cmp	r2, #0
	moveq	r2, r10
	ldr	r0, [r5]
	bl	makeentry
	subs	r3, r0, #0
	beq	.L64
	mov	r0, r4
	bl	inoinfo
	ldr	r2, [fp, #-68]
	ldr	r3, [r0, #4]
	ldr	r1, [fp, #-72]
	sub	r3, r3, #1
	cmp	r2, r1
	str	r3, [r0, #4]
	beq	.L24
.L59:
	mov	r3, #1
	b	.L1
.L30:
	ldr	r0, .L67+96
	bl	pfatal
.L60:
	mov	r3, #0
.L1:
	ldr	r2, .L67+4
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L65
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L62:
	ldr	r3, .L67+100
	mov	r0, r5
	ldr	r1, [r3]
	bl	DIP
	cmp	r0, #0
	beq	.L60
	ldr	r3, .L67+36
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L7
	ldr	r0, .L67+104
	bl	puts
	b	.L8
.L63:
	ldr	r0, .L67+108
	bl	pfatal
	mov	r3, #0
	b	.L1
.L11:
	ldr	r0, .L67+112
	str	r3, [fp, #-80]
	bl	pwarn
	ldr	r2, [r9]
	ldr	r3, [fp, #-80]
	cmp	r2, #0
	bne	.L13
	ldr	r0, .L67+116
	bl	reply
	cmp	r0, #0
	ldr	r3, [fp, #-80]
	bne	.L13
.L58:
	ldr	r2, [r5]
	b	.L12
.L13:
	str	r3, [fp, #-80]
	ldr	r2, .L67+76
	ldr	r3, .L67+48
	mov	r1, #0
	ldr	r0, [r3]
	ldr	r2, [r2]
	bl	allocdir
	cmp	r0, #0
	ldr	r3, [fp, #-80]
	str	r0, [r5]
	bne	.L66
.L17:
	ldr	r0, .L67+120
	str	r3, [fp, #-64]
	bl	pfatal
	ldr	r0, .L67+124
	bl	puts
	ldr	r3, [fp, #-64]
	b	.L1
.L20:
	ldr	r0, .L67+128
	bl	pfatal
	mov	r3, #0
	b	.L1
.L66:
	ldr	r3, .L67+52
	mov	r1, r0
	ldr	r2, [r3]
	ldr	r3, .L67+48
	ldr	r0, [r3]
	bl	makeentry
	subs	r2, r0, #0
	ldr	r3, [fp, #-80]
	beq	.L15
	ldr	r1, .L67+132
	ldr	r0, [r9]
	ldr	r2, [r1]
	cmp	r0, #0
	add	r2, r2, #1
	str	r2, [r1]
	beq	.L58
	ldr	r0, .L67+136
	str	r3, [fp, #-80]
	bl	puts
	ldr	r2, [r5]
	ldr	r3, [fp, #-80]
	b	.L12
.L64:
	ldr	r0, .L67+140
	str	r3, [fp, #-64]
	bl	pfatal
	ldr	r0, .L67+124
	bl	puts
	ldr	r3, [fp, #-64]
	b	.L1
.L24:
	mov	r0, r4
	ldr	r2, [r5]
	ldr	r1, .L67+144
	bl	changeino
	ldr	r3, .L67+80
	ldr	r3, [r3]
	tst	r0, r3
	bne	.L25
	ldr	r3, [fp, #-76]
	ldr	r1, [r5]
	cmn	r3, #1
	beq	.L26
	ldr	r2, .L67+144
	mov	r0, r4
	bl	makeentry
	ldr	r0, [r5]
	bl	ginode
	ldr	r3, .L67+148
	mov	r6, r0
	ldr	r7, [r3]
	mov	r1, r7
	bl	DIP
	mov	r1, r7
	add	r2, r0, #1
	mov	r0, r6
	bl	DIP_SET
	mov	r0, r6
	bl	inodirty
	ldr	r0, [r5]
	bl	inoinfo
	ldr	r3, [r0, #4]
	mov	r1, r4
	add	r3, r3, #1
	str	r3, [r0, #4]
	ldr	r0, .L67+152
	bl	pwarn
.L27:
	ldr	r4, [fp, #-76]
	ldr	r0, .L67+156
	mov	r1, r4
	bl	printf
	mov	r0, r4
	bl	inoinfo
	ldr	r3, [r0, #4]
	add	r3, r3, #1
	str	r3, [r0, #4]
.L28:
	ldr	r3, [r9]
	cmp	r3, #0
	bne	.L59
	mov	r0, #10
	bl	putchar
	b	.L59
.L25:
	ldr	r0, [r5]
	bl	ginode
	ldr	r3, .L67+148
	mov	r6, r0
	ldr	r7, [r3]
	mov	r1, r7
	bl	DIP
	mov	r1, r7
	add	r2, r0, #1
	mov	r0, r6
	bl	DIP_SET
	mov	r0, r6
	bl	inodirty
	ldr	r0, [r5]
	bl	inoinfo
	ldr	r3, [r0, #4]
	mov	r1, r4
	add	r3, r3, #1
	str	r3, [r0, #4]
	ldr	r0, .L67+152
	bl	pwarn
	ldr	r3, [fp, #-76]
	cmn	r3, #1
	beq	.L28
	b	.L27
.L15:
	str	r3, [fp, #-84]
	ldr	r3, .L67+48
	ldr	r0, [r5]
	ldr	r1, [r3]
	str	r2, [fp, #-80]
	bl	freedir
	ldr	r1, [r9]
	ldr	r2, [fp, #-80]
	cmp	r1, #0
	ldr	r3, [fp, #-84]
	str	r2, [r5]
	beq	.L17
	mov	r0, #10
	str	r3, [fp, #-80]
	bl	putchar
	ldr	r2, [r5]
	ldr	r3, [fp, #-80]
	b	.L12
.L26:
	mov	r0, r1
	bl	ginode
	ldr	r3, .L67+148
	mov	r6, r0
	ldr	r7, [r3]
	mov	r1, r7
	bl	DIP
	mov	r1, r7
	add	r2, r0, #1
	mov	r0, r6
	bl	DIP_SET
	mov	r0, r6
	bl	inodirty
	ldr	r0, [r5]
	bl	inoinfo
	ldr	r3, [r0, #4]
	mov	r1, r4
	add	r3, r3, #1
	str	r3, [r0, #4]
	ldr	r0, .L67+152
	bl	pwarn
	b	.L28
.L65:
	bl	__stack_chk_fail
.L68:
	.align	2
.L67:
	.word	BUFSIZ
	.word	.LC19
	.word	di_mode
	.word	IFMT
	.word	IFDIR
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	preen
	.word	cursnapshot
	.word	.LC5
	.word	lfdir
	.word	UFS_ROOTINO
	.word	lfname
	.word	DATA
	.word	findino
	.word	FOUND
	.word	.LC9
	.word	.LC10
	.word	lfmode
	.word	ALTERED
	.word	ADDR
	.word	pass4check
	.word	DFOUND
	.word	.LC3
	.word	di_size
	.word	.LC4
	.word	.LC12
	.word	.LC6
	.word	.LC7
	.word	.LC18
	.word	.LC14
	.word	.LC11
	.word	numdirs
	.word	.LC8
	.word	.LC13
	.word	.LC15
	.word	di_nlink
	.word	.LC16
	.word	.LC17
	.size	linkup, .-linkup
	.comm	preen,4,4
	.comm	pass4check,4,4
	.comm	numdirs,4,4
	.comm	lfname,4,4
	.comm	lfmode,4,4
	.comm	lfdir,4,4
	.comm	findino,4,4
	.comm	di_size,4,4
	.comm	di_nlink,4,4
	.comm	di_mode,4,4
	.comm	cursnapshot,4,4
	.comm	UFS_ROOTINO,4,4
	.comm	IFMT,4,4
	.comm	IFDIR,4,4
	.comm	FOUND,4,4
	.comm	DFOUND,4,4
	.comm	DATA,4,4
	.comm	BUFSIZ,4,4
	.comm	ALTERED,4,4
	.comm	ADDR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
