	.file	"extr_pass3.c_pass3.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"%s: phase 3: dir %d of %d (%d%%)\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s p3 %d%%"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"ORPHANED DIRECTORY LOOP DETECTED I=%lu"
	.section	.rodata.str1.1
.LC3:
	.string	"RECONNECT"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"COULD NOT FIND NAME IN PARENT DIRECTORY"
	.text
	.p2align 4
	.globl	pass3
	.type	pass3, @function
pass3:
.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
	push	r13
	push	r12
	push	rbx
	sub	rsp, 72
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR UFS_MAXNAMLEN[rip]
	mov	rsi, rsp
	add	eax, 1
	cdqe
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L56:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L56
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L57
.L4:
	mov	eax, DWORD PTR inplast[rip]
	mov	QWORD PTR -104[rbp], rsp
	lea	r13d, -1[rax]
	lea	rax, -96[rbp]
	movsx	r14, r13d
	mov	QWORD PTR -112[rbp], rax
	sal	r14, 3
	test	r13d, r13d
	jns	.L25
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	QWORD PTR got_sigalarm[rip], 0
	jne	.L58
.L7:
	mov	rax, QWORD PTR inpsort[rip]
	mov	r15, QWORD PTR [rax+r14]
	mov	rdi, QWORD PTR [r15]
	call	inoinfo@PLT
	mov	r12d, DWORD PTR [rax]
	mov	rax, QWORD PTR UFS_ROOTINO[rip]
	cmp	QWORD PTR [r15], rax
	je	.L9
	cmp	QWORD PTR 8[r15], 0
	jne	.L10
.L13:
	cmp	DWORD PTR DCLEAR[rip], r12d
	je	.L9
	mov	rax, QWORD PTR preen[rip]
	or	rax, QWORD PTR bkgrdflag[rip]
	je	.L17
	cmp	QWORD PTR resolved[rip], 0
	je	.L17
	cmp	QWORD PTR usedsoftdep[rip], 0
	je	.L17
	mov	edi, r12d
	call	S_IS_DUNFOUND@PLT
	test	rax, rax
	je	.L17
	mov	rdi, QWORD PTR 16[r15]
	cmp	rdi, QWORD PTR UFS_ROOTINO[rip]
	jge	.L59
	.p2align 4,,10
	.p2align 3
.L9:
	sub	r13d, 1
	sub	r14, 8
	cmp	r13d, -1
	je	.L1
.L25:
	cmp	QWORD PTR got_siginfo[rip], 0
	je	.L6
	mov	ecx, DWORD PTR inplast[rip]
	mov	rsi, QWORD PTR cdevname[rip]
	lea	rdi, .LC0[rip]
	mov	r9d, ecx
	sub	r9d, r13d
	sub	r9d, 1
	imul	eax, r9d, 100
	cdq
	idiv	ecx
	mov	edx, r9d
	mov	r8d, eax
	call	printf@PLT
	cmp	QWORD PTR got_sigalarm[rip], 0
	mov	QWORD PTR got_siginfo[rip], 0
	je	.L7
.L58:
	mov	ecx, DWORD PTR inplast[rip]
	mov	rsi, QWORD PTR cdevname[rip]
	lea	rdi, .LC1[rip]
	mov	eax, ecx
	sub	eax, r13d
	sub	eax, 1
	imul	eax, eax, 100
	cdq
	idiv	ecx
	mov	edx, eax
	call	setproctitle@PLT
	mov	QWORD PTR got_sigalarm[rip], 0
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR 8[r15]
	mov	r12, QWORD PTR [r15]
	test	rdi, rdi
	je	.L15
	xor	ebx, ebx
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	DWORD PTR countdirs[rip], ebx
	jl	.L20
	mov	rdi, QWORD PTR 8[r15]
	add	ebx, 1
	call	getinoinfo@PLT
	mov	rdi, QWORD PTR 8[rax]
	mov	r12, QWORD PTR [rax]
	mov	r15, rax
	test	rdi, rdi
	je	.L54
.L16:
	call	INO_IS_DUNFOUND@PLT
	test	eax, eax
	jne	.L18
.L54:
	mov	eax, DWORD PTR countdirs[rip]
.L19:
	cmp	ebx, eax
	jg	.L20
	mov	rsi, QWORD PTR 16[r15]
	xor	edx, edx
	mov	rdi, r12
	call	linkup@PLT
	test	rax, rax
	jne	.L24
.L23:
	mov	rbx, QWORD PTR DFOUND[rip]
	mov	rdi, r12
	sub	r13d, 1
	sub	r14, 8
	call	inoinfo@PLT
	mov	DWORD PTR [rax], ebx
	xor	eax, eax
	call	propagate@PLT
	cmp	r13d, -1
	jne	.L25
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L60
	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
.L20:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	xor	eax, eax
	mov	esi, r12d
	call	pfatal@PLT
	lea	rdi, .LC3[rip]
	call	reply@PLT
	test	rax, rax
	je	.L9
	mov	rbx, QWORD PTR -112[rbp]
	xor	esi, esi
	mov	edx, 40
	mov	rdi, rbx
	call	memset@PLT
	mov	eax, DWORD PTR DATA[rip]
	mov	rdi, QWORD PTR 8[r15]
	mov	QWORD PTR -72[rbp], r12
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR findname[rip]
	mov	QWORD PTR -96[rbp], rdi
	mov	DWORD PTR -80[rbp], eax
	mov	rax, QWORD PTR -104[rbp]
	mov	QWORD PTR -88[rbp], rax
	call	ginode@PLT
	mov	rsi, rbx
	mov	edi, eax
	call	ckinode@PLT
	test	DWORD PTR FOUND[rip], eax
	je	.L61
.L22:
	mov	rsi, QWORD PTR 8[r15]
	mov	rdx, QWORD PTR -104[rbp]
	mov	rdi, r12
	call	linkup@PLT
	test	rax, rax
	je	.L23
	mov	eax, DWORD PTR clearentry[rip]
	mov	rdi, QWORD PTR 8[r15]
	mov	DWORD PTR -80[rbp], eax
	call	ginode@PLT
	mov	rsi, QWORD PTR -112[rbp]
	mov	edi, eax
	call	ckinode@PLT
	test	DWORD PTR FOUND[rip], eax
	jne	.L62
.L24:
	mov	rdi, QWORD PTR lfdir[rip]
	mov	QWORD PTR 16[r15], rdi
	mov	QWORD PTR 8[r15], rdi
	call	inoinfo@PLT
	sub	DWORD PTR 4[rax], 1
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L10:
	mov	edi, r12d
	call	S_IS_DUNFOUND@PLT
	test	rax, rax
	jne	.L13
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L61:
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	pfatal@PLT
	jmp	.L22
.L59:
	call	inoinfo@PLT
	add	DWORD PTR 4[rax], 1
	jmp	.L9
.L57:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L62:
	mov	rdi, r12
	call	inoinfo@PLT
	add	DWORD PTR 4[rax], 1
	jmp	.L24
.L15:
	mov	eax, DWORD PTR countdirs[rip]
	xor	ebx, ebx
	jmp	.L19
.L60:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pass3, .-pass3
	.comm	usedsoftdep,8,8
	.comm	resolved,8,8
	.comm	preen,8,8
	.comm	lfdir,8,8
	.comm	inpsort,8,8
	.comm	inplast,4,4
	.comm	got_siginfo,8,8
	.comm	got_sigalarm,8,8
	.comm	findname,4,4
	.comm	countdirs,4,4
	.comm	clearentry,4,4
	.comm	cdevname,8,8
	.comm	bkgrdflag,8,8
	.comm	UFS_ROOTINO,8,8
	.comm	UFS_MAXNAMLEN,4,4
	.comm	FOUND,4,4
	.comm	DFOUND,8,8
	.comm	DCLEAR,4,4
	.comm	DATA,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_pass3.c_pass3.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: phase 3: dir %d of %d (%d%%)\012\000"
	.global	__aeabi_idiv
	.align	2
.LC1:
	.ascii	"%s p3 %d%%\000"
	.align	2
.LC2:
	.ascii	"ORPHANED DIRECTORY LOOP DETECTED I=%lu\000"
	.align	2
.LC3:
	.ascii	"RECONNECT\000"
	.align	2
.LC4:
	.ascii	"COULD NOT FIND NAME IN PARENT DIRECTORY\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pass3
	.syntax unified
	.arm
	.fpu softvfp
	.type	pass3, %function
pass3:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #44
	ldr	r3, .L67
	ldr	r2, .L67+4
	ldr	r3, [r3]
	ldr	r6, [r2]
	add	r3, r3, #8
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L67+8
	subs	r6, r6, #1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	add	r3, sp, #8
	str	r3, [fp, #-64]
	bmi	.L1
	ldr	r9, .L67+12
	ldr	r8, .L67+16
	b	.L2
.L3:
	ldr	r3, [r8]
	cmp	r3, #0
	bne	.L62
.L4:
	ldr	r3, .L67+20
	ldr	r3, [r3]
	ldr	r10, [r3, r6, lsl #2]
	ldr	r0, [r10]
	bl	inoinfo
	ldr	r3, .L67+24
	ldr	r1, [r10]
	ldr	r2, [r3]
	ldr	r4, [r0]
	cmp	r1, r2
	beq	.L6
	ldr	r2, [r10, #4]
	cmp	r2, #0
	bne	.L7
.L10:
	ldr	r3, .L67+28
	ldr	r2, [r3]
	cmp	r2, r4
	beq	.L6
	ldr	r3, .L67+32
	ldr	r1, [r3]
	ldr	r3, .L67+36
	ldr	r2, [r3]
	orrs	r3, r1, r2
	beq	.L14
	ldr	r2, .L67+40
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L14
	ldr	r2, .L67+44
	ldr	r2, [r2]
	cmp	r2, #0
	beq	.L14
	mov	r0, r4
	bl	S_IS_DUNFOUND
	cmp	r0, #0
	beq	.L14
	ldr	r3, .L67+24
	ldr	r0, [r10, #8]
	ldr	r3, [r3]
	cmp	r0, r3
	bge	.L63
.L6:
	subs	r6, r6, #1
	bcc	.L1
.L2:
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L67+4
	ldr	r7, [r3]
	ldr	r3, .L67+48
	sub	r4, r7, r6
	sub	r4, r4, #1
	add	r0, r4, r4, lsl #2
	add	r0, r0, r0, lsl #2
	mov	r1, r7
	lsl	r0, r0, #2
	ldr	r5, [r3]
	bl	__aeabi_idiv
	mov	r3, r7
	str	r0, [sp]
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L67+52
	bl	printf
	mov	r3, #0
	str	r3, [r9]
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L4
.L62:
	ldr	r3, .L67+4
	ldr	r1, [r3]
	sub	r0, r1, r6
	sub	r0, r0, #1
	add	r0, r0, r0, lsl #2
	add	r0, r0, r0, lsl #2
	lsl	r0, r0, #2
	bl	__aeabi_idiv
	ldr	r3, .L67+48
	mov	r2, r0
	ldr	r1, [r3]
	ldr	r0, .L67+56
	bl	setproctitle
	mov	r3, #0
	str	r3, [r8]
	b	.L4
.L14:
	ldr	r0, [r10, #4]
	ldr	r5, [r10]
	cmp	r0, #0
	beq	.L12
	mov	r4, #0
	ldr	r7, .L67+60
	b	.L13
.L15:
	ldr	r3, [r7]
	cmp	r3, r4
	blt	.L17
	ldr	r0, [r10, #4]
	bl	getinoinfo
	mov	r10, r0
	ldr	r0, [r0, #4]
	ldr	r5, [r10]
	cmp	r0, #0
	add	r4, r4, #1
	beq	.L60
.L13:
	bl	INO_IS_DUNFOUND
	cmp	r0, #0
	bne	.L15
.L60:
	ldr	r2, [r7]
	cmp	r4, r2
	bgt	.L17
	mov	r2, #0
	mov	r0, r5
	ldr	r1, [r10, #8]
	bl	linkup
	cmp	r0, #0
	bne	.L21
.L20:
	ldr	r3, .L67+64
	mov	r0, r5
	ldr	r4, [r3]
	bl	inoinfo
	str	r4, [r0]
	bl	propagate
	subs	r6, r6, #1
	bcs	.L2
.L1:
	ldr	r3, .L67+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L64
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L17:
	mov	r1, r5
	ldr	r0, .L67+68
	bl	pfatal
	ldr	r0, .L67+72
	bl	reply
	cmp	r0, #0
	beq	.L6
	mov	r2, #0
	ldr	r1, .L67+76
	str	r2, [fp, #-60]
	str	r2, [fp, #-56]
	str	r2, [fp, #-52]
	str	r2, [fp, #-48]
	ldr	r2, .L67+80
	ldr	r0, [r10, #4]
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r3, [fp, #-64]
	str	r2, [fp, #-52]
	str	r3, [fp, #-56]
	str	r1, [fp, #-44]
	str	r0, [fp, #-60]
	str	r5, [fp, #-48]
	bl	ginode
	sub	r1, fp, #60
	bl	ckinode
	ldr	r4, .L67+84
	ldr	r2, [r4]
	tst	r0, r2
	beq	.L65
.L19:
	mov	r0, r5
	ldr	r2, [fp, #-64]
	ldr	r1, [r10, #4]
	bl	linkup
	cmp	r0, #0
	beq	.L20
	ldr	r2, .L67+88
	ldr	r0, [r10, #4]
	ldr	r2, [r2]
	str	r2, [fp, #-52]
	bl	ginode
	sub	r1, fp, #60
	bl	ckinode
	ldr	r2, [r4]
	tst	r0, r2
	bne	.L66
.L21:
	ldr	r2, .L67+92
	ldr	r0, [r2]
	str	r0, [r10, #8]
	str	r0, [r10, #4]
	bl	inoinfo
	ldr	r3, [r0, #4]
	sub	r3, r3, #1
	str	r3, [r0, #4]
	b	.L20
.L7:
	mov	r0, r4
	bl	S_IS_DUNFOUND
	cmp	r0, #0
	bne	.L10
	b	.L6
.L65:
	ldr	r0, .L67+96
	bl	pfatal
	b	.L19
.L63:
	bl	inoinfo
	ldr	r3, [r0, #4]
	add	r3, r3, #1
	str	r3, [r0, #4]
	b	.L6
.L66:
	mov	r0, r5
	bl	inoinfo
	ldr	r2, [r0, #4]
	add	r2, r2, #1
	str	r2, [r0, #4]
	b	.L21
.L12:
	mov	r4, r0
	ldr	r7, .L67+60
	b	.L60
.L64:
	bl	__stack_chk_fail
.L68:
	.align	2
.L67:
	.word	UFS_MAXNAMLEN
	.word	inplast
	.word	.LC5
	.word	got_siginfo
	.word	got_sigalarm
	.word	inpsort
	.word	UFS_ROOTINO
	.word	DCLEAR
	.word	preen
	.word	bkgrdflag
	.word	resolved
	.word	usedsoftdep
	.word	cdevname
	.word	.LC0
	.word	.LC1
	.word	countdirs
	.word	DFOUND
	.word	.LC2
	.word	.LC3
	.word	DATA
	.word	findname
	.word	FOUND
	.word	clearentry
	.word	lfdir
	.word	.LC4
	.size	pass3, .-pass3
	.comm	usedsoftdep,4,4
	.comm	resolved,4,4
	.comm	preen,4,4
	.comm	lfdir,4,4
	.comm	inpsort,4,4
	.comm	inplast,4,4
	.comm	got_siginfo,4,4
	.comm	got_sigalarm,4,4
	.comm	findname,4,4
	.comm	countdirs,4,4
	.comm	clearentry,4,4
	.comm	cdevname,4,4
	.comm	bkgrdflag,4,4
	.comm	UFS_ROOTINO,4,4
	.comm	UFS_MAXNAMLEN,4,4
	.comm	FOUND,4,4
	.comm	DFOUND,4,4
	.comm	DCLEAR,4,4
	.comm	DATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
