Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
// AOJ 2748 Early Morning Work at Summer Camp
// 2018.4.26 bal4u

#include <stdio.h>
#include <malloc.h>
#include <string.h>

#define MAX_V 102
int  V;    // 頂点数
int  to[MAX_V][MAX_V], hi[MAX_V];
int  r_to[MAX_V][MAX_V], r_hi[MAX_V];
int  g_to[MAX_V][MAX_V], g_hi[MAX_V];
int  vs[MAX_V], vsz;
char used[MAX_V];
int  cmp[MAX_V];    // 属する強連結成分のトポロジカル順序

void add_edge(int _from, int _to)
{
	to[_from][hi[_from]++] = _to;
	r_to[_to][r_hi[_to]++] = _from;
}

void dfs(int v)
{
	int i;
	used[v] = 1;
	for (i = 0; i < hi[v]; i++) {
		if (!used[to[v][i]]) dfs(to[v][i]);
	}
	vs[vsz++] = v;
}

void rdfs(int v, int k)
{
	int i;
	used[v] = 1;
	cmp[v] = k;
	g_to[k][g_hi[k]++] = v;
	for (i = 0; i < r_hi[v]; i++) {
		if (!used[r_to[v][i]]) rdfs(r_to[v][i], k);
	}
}

// 強連結成分への分解
int scc()
{
	int v, i, k;
	memset(used, 0, V);
	vsz = 0;
	for (v = 0; v < V; v++) if (!used[v]) dfs(v);
	memset(used, 0, V);
	k = 0;
	for (i = vsz-1; i >= 0; i--) {
		if (!used[vs[i]]) rdfs(vs[i], k++);
	}
	return k;       // 得られた強連結成分の数
}

// バッファを経ずstdinから数値を得る
//#define getchar_unlocked()  getchar()
int in()
{
	int n = 0, c = getchar_unlocked();
	do n = 10*n + (c & 0xf), c = getchar_unlocked(); while (c >= '0');
	return n;
}

// 実数対応
double getdbl()
{
	double x, y;
	int n = 0, c = getchar_unlocked();
	do n = 10*n + (c & 0xf), c = getchar_unlocked(); while (c >= '0');
	if (c == '.') {
		x = 0;
		y = 1, c = getchar_unlocked();
		do y *= 0.1, x += y * (c & 0xf), c = getchar_unlocked(); while (c >= '0');
		x += n;
	} else x = n;
	return x;
}

double p[102];

int main()
{
	int N, m, i, j, k, f, v;
	double a, ans;

	while (N = in()) {
		V = N;
		memset(hi, 0, V<<2), memset(r_hi, 0, V<<2);
		memset(g_hi, 0, V<<2);
		for (i = 0; i < N; i++) {
			p[i] = getdbl();
			m = in();
			while (m--) add_edge(i, in()-1);
		}

		k = scc();
		ans = 1;
		for (i = 0; i < k; i++) {
			f = 1, a = 1;
			for (j = 0; j < g_hi[i]; j++) {
				a *= p[g_to[i][j]];
				for (v = 0; v < r_hi[g_to[i][j]]; v++) {
					f &= (cmp[g_to[i][j]] == cmp[r_to[g_to[i][j]][v]]);
				}
			}
			if (f) ans *= 1.0-a;
		}
		printf("%.10lf\n", ans);
	}
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	V
	.bss
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.globl	to
	.align 32
	.type	to, @object
	.size	to, 41616
to:
	.zero	41616
	.globl	hi
	.align 32
	.type	hi, @object
	.size	hi, 408
hi:
	.zero	408
	.globl	r_to
	.align 32
	.type	r_to, @object
	.size	r_to, 41616
r_to:
	.zero	41616
	.globl	r_hi
	.align 32
	.type	r_hi, @object
	.size	r_hi, 408
r_hi:
	.zero	408
	.globl	g_to
	.align 32
	.type	g_to, @object
	.size	g_to, 41616
g_to:
	.zero	41616
	.globl	g_hi
	.align 32
	.type	g_hi, @object
	.size	g_hi, 408
g_hi:
	.zero	408
	.globl	vs
	.align 32
	.type	vs, @object
	.size	vs, 408
vs:
	.zero	408
	.globl	vsz
	.align 4
	.type	vsz, @object
	.size	vsz, 4
vsz:
	.zero	4
	.globl	used
	.align 32
	.type	used, @object
	.size	used, 102
used:
	.zero	102
	.globl	cmp
	.align 32
	.type	cmp, @object
	.size	cmp, 408
cmp:
	.zero	408
	.text
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-4(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	to(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-8(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	r_hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-8(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	r_to(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	add_edge, .-add_edge
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movb	$1, (%rax,%rdx)
	movl	$0, -4(%rbp)
	jmp	.L3
.L5:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L4
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	to(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %edi
	call	dfs
.L4:
	addl	$1, -4(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L5
	movl	vsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	vs(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	dfs, .-dfs
	.globl	rdfs
	.type	rdfs, @function
rdfs:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movb	$1, (%rax,%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	cmp(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	g_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	g_hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-24(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	g_to(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	$0, -4(%rbp)
	jmp	.L7
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	r_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L8
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	r_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movl	%edx, %esi
	movl	%eax, %edi
	call	rdfs
.L8:
	addl	$1, -4(%rbp)
.L7:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	rdfs, .-rdfs
	.globl	scc
	.type	scc, @function
scc:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	V(%rip), %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	used(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, vsz(%rip)
	movl	$0, -12(%rbp)
	jmp	.L11
.L13:
	movl	-12(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L12
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	dfs
.L12:
	addl	$1, -12(%rbp)
.L11:
	movl	V(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L13
	movl	V(%rip), %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	used(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -4(%rbp)
	movl	vsz(%rip), %eax
	subl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L14
.L16:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	vs(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L15
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	vs(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movl	%eax, %esi
	movl	%edx, %edi
	call	rdfs
.L15:
	subl	$1, -8(%rbp)
.L14:
	cmpl	$0, -8(%rbp)
	jns	.L16
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	scc, .-scc
	.globl	in
	.type	in, @function
in:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
.L19:
	movl	-8(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L19
	movl	-8(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	in, .-in
	.globl	getdbl
	.type	getdbl, @function
getdbl:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	$0, -24(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
.L22:
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-20(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -24(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
	cmpl	$47, -20(%rbp)
	jg	.L22
	cmpl	$46, -20(%rbp)
	jne	.L23
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
.L24:
	movsd	-8(%rbp), %xmm1
	movsd	.LC2(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movl	-20(%rbp), %eax
	andl	$15, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	-8(%rbp), %xmm0
	movsd	-16(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
	cmpl	$47, -20(%rbp)
	jg	.L24
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	movsd	-16(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	jmp	.L25
.L23:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	movsd	%xmm0, -16(%rbp)
.L25:
	movsd	-16(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	getdbl, .-getdbl
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 816
p:
	.zero	816
	.section	.rodata
.LC3:
	.string	"%.10lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	jmp	.L28
.L40:
	movl	-24(%rbp), %eax
	movl	%eax, V(%rip)
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	r_hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	g_hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -40(%rbp)
	jmp	.L29
.L32:
	movl	$0, %eax
	call	getdbl
	movq	%xmm0, %rax
	movl	-40(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	p(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	movl	$0, %eax
	call	in
	movl	%eax, -44(%rbp)
	jmp	.L30
.L31:
	movl	$0, %eax
	call	in
	leal	-1(%rax), %edx
	movl	-40(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	add_edge
.L30:
	movl	-44(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -44(%rbp)
	testl	%eax, %eax
	jne	.L31
	addl	$1, -40(%rbp)
.L29:
	movl	-40(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L32
	movl	$0, %eax
	call	scc
	movl	%eax, -20(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -8(%rbp)
	movl	$0, -40(%rbp)
	jmp	.L33
.L39:
	movl	$1, -32(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -16(%rbp)
	movl	$0, -36(%rbp)
	jmp	.L34
.L37:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movsd	-16(%rbp), %xmm1
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L35
.L36:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	cmp(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-36(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	g_to(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-28(%rbp), %ecx
	movslq	%ecx, %rcx
	cltq
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	r_to(%rip), %rax
	movl	(%rcx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	cmp(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	sete	%al
	movzbl	%al, %eax
	andl	%eax, -32(%rbp)
	addl	$1, -28(%rbp)
.L35:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L36
	addl	$1, -36(%rbp)
.L34:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	g_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -36(%rbp)
	jl	.L37
	cmpl	$0, -32(%rbp)
	je	.L38
	movsd	.LC1(%rip), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-8(%rbp), %xmm1
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
.L38:
	addl	$1, -40(%rbp)
.L33:
	movl	-40(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jl	.L39
	movq	-8(%rbp), %rax
	movq	%rax, %xmm0
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
.L28:
	movl	$0, %eax
	call	in
	movl	%eax, -24(%rbp)
	cmpl	$0, -24(%rbp)
	jne	.L40
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.p2align 4
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB35:
	.cfi_startproc
	endbr64
	movslq	%edi, %rax
	leaq	hi(%rip), %rdi
	movslq	(%rdi,%rax,4), %rcx
	movq	%rax, %rdx
	leal	1(%rcx), %r8d
	movl	%r8d, (%rdi,%rax,4)
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	to(%rip), %rcx
	movl	%esi, (%rcx,%rax,4)
	movslq	%esi, %rsi
	leaq	r_hi(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rax
	leal	1(%rax), %edi
	movl	%edi, (%rcx,%rsi,4)
	imulq	$102, %rsi, %rsi
	addq	%rax, %rsi
	leaq	r_to(%rip), %rax
	movl	%edx, (%rax,%rsi,4)
	ret
	.cfi_endproc
.LFE35:
	.size	add_edge, .-add_edge
	.p2align 4
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edi, %rax
	leaq	used(%rip), %r9
	leaq	hi(%rip), %r10
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$232, %rsp
	.cfi_def_cfa_offset 288
	movb	$1, (%r9,%rax)
	movl	%eax, 192(%rsp)
	movq	%rax, 176(%rsp)
	movl	(%r10,%rax,4), %eax
	testl	%eax, %eax
	jle	.L51
	movq	$0, 32(%rsp)
	leaq	to(%rip), %rdi
	imulq	$408, 176(%rsp), %rdx
	leaq	(%rdi,%rdx), %rsi
	leaq	vs(%rip), %rdx
	movq	%rsi, 144(%rsp)
	movq	%rdx, 16(%rsp)
.L39:
	movq	144(%rsp), %rbx
	movq	32(%rsp), %rcx
	movslq	(%rbx,%rcx,4), %rbx
	cmpb	$0, (%r9,%rbx)
	movl	%ebx, 140(%rsp)
	movq	%rbx, 88(%rsp)
	je	.L52
.L5:
	addq	$1, 32(%rsp)
	movq	32(%rsp), %rsi
	cmpl	%esi, %eax
	jg	.L39
.L40:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rcx
	movl	192(%rsp), %esi
	leal	1(%rax), %edx
	movl	%esi, (%rcx,%rax,4)
	movl	%edx, vsz(%rip)
	addq	$232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L52:
	.cfi_restore_state
	movl	(%r10,%rbx,4), %eax
	movb	$1, (%r9,%rbx)
	testl	%eax, %eax
	jle	.L38
	imulq	$408, 88(%rsp), %rdx
	leaq	to(%rip), %rcx
	movq	$0, 24(%rsp)
	addq	%rcx, %rdx
	movq	%rdx, 120(%rsp)
.L37:
	movq	120(%rsp), %rdi
	movq	24(%rsp), %rdx
	movslq	(%rdi,%rdx,4), %rsi
	cmpb	$0, (%r9,%rsi)
	movl	%esi, 136(%rsp)
	movq	%rsi, 72(%rsp)
	je	.L53
.L7:
	addq	$1, 24(%rsp)
	movq	24(%rsp), %rcx
	cmpl	%ecx, %eax
	jg	.L37
.L38:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rbx
	movl	140(%rsp), %esi
	leal	1(%rax), %edx
	movl	%esi, (%rbx,%rax,4)
	movq	176(%rsp), %rax
	movl	%edx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L53:
	movl	(%r10,%rsi,4), %eax
	movb	$1, (%r9,%rsi)
	testl	%eax, %eax
	jle	.L36
	imulq	$408, 72(%rsp), %rdx
	leaq	to(%rip), %rbx
	movq	$0, 8(%rsp)
	addq	%rbx, %rdx
	movq	%rdx, 112(%rsp)
.L35:
	movq	112(%rsp), %rdi
	movq	8(%rsp), %rcx
	movslq	(%rdi,%rcx,4), %rbx
	cmpb	$0, (%r9,%rbx)
	movl	%ebx, 108(%rsp)
	movq	%rbx, 48(%rsp)
	je	.L54
.L9:
	addq	$1, 8(%rsp)
	movq	8(%rsp), %rdi
	cmpl	%edi, %eax
	jg	.L35
.L36:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rcx
	movl	136(%rsp), %esi
	leal	1(%rax), %edx
	movl	%esi, (%rcx,%rax,4)
	movq	88(%rsp), %rax
	movl	%edx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L54:
	movl	(%r10,%rbx,4), %eax
	movb	$1, (%r9,%rbx)
	testl	%eax, %eax
	jle	.L34
	imulq	$408, 48(%rsp), %rdx
	leaq	to(%rip), %rcx
	xorl	%r8d, %r8d
	addq	%rcx, %rdx
	movq	%rdx, 96(%rsp)
.L33:
	movq	96(%rsp), %rdi
	movslq	(%rdi,%r8,4), %rdi
	cmpb	$0, (%r9,%rdi)
	movl	%edi, 104(%rsp)
	movq	%rdi, 40(%rsp)
	je	.L55
.L11:
	addq	$1, %r8
	cmpl	%r8d, %eax
	jg	.L33
.L34:
	movslq	vsz(%rip), %rax
	movl	108(%rsp), %esi
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	movq	16(%rsp), %rdx
	movl	%esi, (%rdx,%rax,4)
	movq	72(%rsp), %rax
	movl	(%r10,%rax,4), %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L55:
	movl	(%r10,%rdi,4), %eax
	movb	$1, (%r9,%rdi)
	testl	%eax, %eax
	jle	.L32
	imulq	$408, 40(%rsp), %rdx
	leaq	to(%rip), %rbx
	xorl	%r11d, %r11d
	movq	%r8, 184(%rsp)
	movq	%r11, %r8
	addq	%rbx, %rdx
	movq	%rdx, 80(%rsp)
.L31:
	movq	80(%rsp), %rdi
	movslq	(%rdi,%r8,4), %r11
	cmpb	$0, (%r9,%r11)
	movl	%r11d, 68(%rsp)
	je	.L56
.L13:
	addq	$1, %r8
	cmpl	%r8d, %eax
	jg	.L31
	movq	184(%rsp), %r8
.L32:
	movslq	vsz(%rip), %rax
	movl	104(%rsp), %esi
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	movq	16(%rsp), %rdx
	movl	%esi, (%rdx,%rax,4)
	movq	48(%rsp), %rax
	movl	(%r10,%rax,4), %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L56:
	movl	(%r10,%r11,4), %eax
	movb	$1, (%r9,%r11)
	testl	%eax, %eax
	jle	.L30
	imulq	$408, %r11, %rdx
	leaq	to(%rip), %rcx
	movq	%r11, 152(%rsp)
	movq	%r8, 168(%rsp)
	leaq	(%rcx,%rdx), %rdi
	xorl	%ecx, %ecx
	movq	%rdi, 56(%rsp)
	movq	%rcx, %r8
.L29:
	movq	56(%rsp), %rsi
	movslq	(%rsi,%r8,4), %r15
	cmpb	$0, (%r9,%r15)
	movl	%r15d, 64(%rsp)
	je	.L57
.L15:
	addq	$1, %r8
	cmpl	%r8d, %eax
	jg	.L29
	movq	168(%rsp), %r8
.L30:
	movslq	vsz(%rip), %rax
	movl	68(%rsp), %esi
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	movq	16(%rsp), %rdx
	movl	%esi, (%rdx,%rax,4)
	movq	40(%rsp), %rax
	movl	(%r10,%rax,4), %eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L57:
	movl	(%r10,%r15,4), %eax
	movb	$1, (%r9,%r15)
	testl	%eax, %eax
	jle	.L28
	imulq	$408, %r15, %rdx
	leaq	to(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r15, 128(%rsp)
	movq	%r8, 160(%rsp)
	leaq	(%rcx,%rdx), %rbx
	movq	%rbx, %r8
.L27:
	movslq	(%r8,%r12,4), %r14
	cmpb	$0, (%r9,%r14)
	movq	%r14, %rdx
	je	.L58
.L17:
	addq	$1, %r12
	cmpl	%r12d, %eax
	jg	.L27
	movq	160(%rsp), %r8
.L28:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rbx
	movl	64(%rsp), %ecx
	leal	1(%rax), %edx
	movl	%ecx, (%rbx,%rax,4)
	movq	152(%rsp), %rax
	movl	%edx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L58:
	movl	(%r10,%r14,4), %eax
	movb	$1, (%r9,%r14)
	testl	%eax, %eax
	jle	.L26
	imulq	$408, %r14, %rsi
	leaq	to(%rip), %rdi
	movq	%r12, %rcx
	xorl	%ebp, %ebp
	movq	%r14, %r12
	addq	%rdi, %rsi
.L25:
	movslq	(%rsi,%rbp,4), %r13
	cmpb	$0, (%r9,%r13)
	movq	%r13, %r15
	je	.L59
.L19:
	addq	$1, %rbp
	cmpl	%ebp, %eax
	jg	.L25
	movq	%rcx, %r12
.L26:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rsi
	leal	1(%rax), %ecx
	movl	%edx, (%rsi,%rax,4)
	movq	128(%rsp), %rax
	movl	%ecx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L59:
	movl	(%r10,%r13,4), %r11d
	movb	$1, (%r9,%r13)
	testl	%r11d, %r11d
	jle	.L23
	imulq	$408, %r13, %r14
	leaq	to(%rip), %rax
	xorl	%ebx, %ebx
	addq	%rax, %r14
.L24:
	movslq	(%r14,%rbx,4), %rax
	cmpb	$0, (%r9,%rax)
	movq	%rax, %rdi
	je	.L60
	addq	$1, %rbx
	cmpl	%ebx, %r11d
	jg	.L24
.L23:
	movslq	vsz(%rip), %rax
	leal	1(%rax), %edi
	movl	%edi, vsz(%rip)
	movq	16(%rsp), %rdi
	movl	%r15d, (%rdi,%rax,4)
	movl	(%r10,%r12,4), %eax
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L60:
	movq	%rsi, 216(%rsp)
	addq	$1, %rbx
	movq	%rcx, 208(%rsp)
	movq	%r8, 200(%rsp)
	movl	%edx, 196(%rsp)
	call	dfs
	leaq	hi(%rip), %r10
	movl	196(%rsp), %edx
	movq	200(%rsp), %r8
	movl	(%r10,%r13,4), %r11d
	movq	208(%rsp), %rcx
	leaq	used(%rip), %r9
	movq	216(%rsp), %rsi
	cmpl	%ebx, %r11d
	jg	.L24
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L51:
	leaq	vs(%rip), %rax
	movq	%rax, 16(%rsp)
	jmp	.L40
	.cfi_endproc
.LFE36:
	.size	dfs, .-dfs
	.p2align 4
	.globl	rdfs
	.type	rdfs, @function
rdfs:
.LFB37:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edi, %rcx
	movslq	%esi, %r8
	leaq	cmp(%rip), %rax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	g_hi(%rip), %r15
	leaq	r_hi(%rip), %r9
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	used(%rip), %r10
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	imulq	$102, %r8, %rbx
	subq	$216, %rsp
	.cfi_def_cfa_offset 272
	movl	%esi, (%rax,%rcx,4)
	movslq	(%r15,%r8,4), %rax
	movl	%esi, 36(%rsp)
	leal	1(%rax), %edx
	addq	%rbx, %rax
	movb	$1, (%r10,%rcx)
	movl	%edx, (%r15,%r8,4)
	leaq	g_to(%rip), %rdx
	movl	%edi, (%rdx,%rax,4)
	movl	(%r9,%rcx,4), %edx
	movq	%rcx, 168(%rsp)
	movq	%rbx, 40(%rsp)
	testl	%edx, %edx
	jle	.L61
	imulq	$408, %rcx, %rax
	leaq	r_to(%rip), %rsi
	movq	%r8, %r11
	movq	$0, 56(%rsp)
	addq	%rsi, %rax
	movq	%rax, 152(%rsp)
.L90:
	movq	152(%rsp), %rax
	movq	56(%rsp), %rdi
	movslq	(%rax,%rdi,4), %rbx
	cmpb	$0, (%r10,%rbx)
	movq	%rbx, 112(%rsp)
	movq	%rbx, %rax
	je	.L108
.L63:
	addq	$1, 56(%rsp)
	movq	56(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L90
.L61:
	addq	$216, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L108:
	.cfi_restore_state
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %esi
	movb	$1, (%r10,%rbx)
	leaq	cmp(%rip), %rcx
	movl	%esi, (%rcx,%rbx,4)
	leal	1(%rdx), %ecx
	leaq	g_to(%rip), %rbx
	addq	40(%rsp), %rdx
	movl	%eax, (%rbx,%rdx,4)
	movl	(%r9,%rax,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L107
	imulq	$408, 112(%rsp), %rax
	leaq	r_to(%rip), %rcx
	movq	$0, 48(%rsp)
	addq	%rcx, %rax
	movq	%rax, 136(%rsp)
.L89:
	movq	136(%rsp), %rax
	movq	48(%rsp), %rdi
	movslq	(%rax,%rdi,4), %rdi
	cmpb	$0, (%r10,%rdi)
	movq	%rdi, 96(%rsp)
	movq	%rdi, %rax
	je	.L109
.L65:
	addq	$1, 48(%rsp)
	movq	48(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L89
.L107:
	movq	168(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L63
	.p2align 4,,10
	.p2align 3
.L109:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ecx
	movb	$1, (%r10,%rdi)
	leaq	cmp(%rip), %rdi
	leaq	g_to(%rip), %rsi
	movl	%ecx, (%rdi,%rax,4)
	leal	1(%rdx), %ecx
	addq	40(%rsp), %rdx
	movl	%eax, (%rsi,%rdx,4)
	movl	(%r9,%rax,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L106
	imulq	$408, 96(%rsp), %rax
	leaq	r_to(%rip), %rdi
	movq	$0, 24(%rsp)
	addq	%rdi, %rax
	movq	%rax, 128(%rsp)
.L88:
	movq	128(%rsp), %rax
	movq	24(%rsp), %rsi
	movslq	(%rax,%rsi,4), %rsi
	cmpb	$0, (%r10,%rsi)
	movq	%rsi, 80(%rsp)
	je	.L110
.L67:
	addq	$1, 24(%rsp)
	movq	24(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L88
.L106:
	movq	112(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L110:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ebx
	leaq	cmp(%rip), %rcx
	leaq	g_to(%rip), %rdi
	movb	$1, (%r10,%rsi)
	movl	%ebx, (%rcx,%rsi,4)
	leal	1(%rdx), %ecx
	addq	40(%rsp), %rdx
	movl	%esi, (%rdi,%rdx,4)
	movl	(%r9,%rsi,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L105
	imulq	$408, 80(%rsp), %rax
	leaq	r_to(%rip), %rdi
	movq	$0, 16(%rsp)
	addq	%rdi, %rax
	movq	%rax, 120(%rsp)
.L87:
	movq	120(%rsp), %rax
	movq	16(%rsp), %rsi
	movslq	(%rax,%rsi,4), %rbx
	cmpb	$0, (%r10,%rbx)
	movq	%rbx, 72(%rsp)
	je	.L111
.L69:
	addq	$1, 16(%rsp)
	movq	16(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L87
.L105:
	movq	96(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L67
	.p2align 4,,10
	.p2align 3
.L111:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ecx
	movb	$1, (%r10,%rbx)
	leaq	cmp(%rip), %rdi
	movl	%ecx, (%rdi,%rbx,4)
	leal	1(%rdx), %ecx
	leaq	g_to(%rip), %rdi
	addq	40(%rsp), %rdx
	movl	%ebx, (%rdi,%rdx,4)
	movl	(%r9,%rbx,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L104
	imulq	$408, 72(%rsp), %rax
	leaq	r_to(%rip), %rcx
	addq	%rcx, %rax
	xorl	%ecx, %ecx
	movq	%rax, 104(%rsp)
	movq	%rcx, 8(%rsp)
.L86:
	movq	104(%rsp), %rax
	movq	8(%rsp), %rbx
	movslq	(%rax,%rbx,4), %rdi
	cmpb	$0, (%r10,%rdi)
	movq	%rdi, 64(%rsp)
	je	.L112
.L71:
	addq	$1, 8(%rsp)
	movq	8(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L86
.L104:
	movq	80(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L69
	.p2align 4,,10
	.p2align 3
.L112:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ecx
	movb	$1, (%r10,%rdi)
	leaq	cmp(%rip), %rbx
	movl	%ecx, (%rbx,%rdi,4)
	leal	1(%rdx), %ecx
	leaq	g_to(%rip), %rbx
	addq	40(%rsp), %rdx
	movl	%ecx, (%r15,%r11,4)
	movl	(%r9,%rdi,4), %ecx
	movl	%edi, (%rbx,%rdx,4)
	testl	%ecx, %ecx
	jle	.L103
	imulq	$408, 64(%rsp), %rax
	leaq	r_to(%rip), %rbx
	xorl	%r8d, %r8d
	addq	%rbx, %rax
	movq	%rax, 88(%rsp)
.L85:
	movq	88(%rsp), %rax
	movslq	(%rax,%r8,4), %rax
	cmpb	$0, (%r10,%rax)
	je	.L113
.L73:
	addq	$1, %r8
	cmpl	%r8d, %ecx
	jg	.L85
.L103:
	movq	72(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L71
	.p2align 4,,10
	.p2align 3
.L113:
	movslq	(%r15,%r11,4), %rcx
	movl	36(%rsp), %edi
	movb	$1, (%r10,%rax)
	leaq	cmp(%rip), %rsi
	movl	%edi, (%rsi,%rax,4)
	leal	1(%rcx), %esi
	addq	40(%rsp), %rcx
	movl	%esi, (%r15,%r11,4)
	leaq	g_to(%rip), %rsi
	movl	%eax, (%rsi,%rcx,4)
	movl	(%r9,%rax,4), %ecx
	testl	%ecx, %ecx
	jle	.L102
	imulq	$408, %rax, %rdx
	leaq	r_to(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%rax, 144(%rsp)
	movq	%r8, 160(%rsp)
	addq	%rdx, %rsi
	movq	%rsi, %r8
.L84:
	movslq	(%r8,%r12,4), %r14
	cmpb	$0, (%r10,%r14)
	je	.L114
.L75:
	addq	$1, %r12
	cmpl	%r12d, %ecx
	jg	.L84
	movq	160(%rsp), %r8
.L102:
	movq	64(%rsp), %rax
	movl	(%r9,%rax,4), %ecx
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L114:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ebx
	movb	$1, (%r10,%r14)
	leaq	cmp(%rip), %rdi
	leal	1(%rdx), %ecx
	movl	%ebx, (%rdi,%r14,4)
	addq	40(%rsp), %rdx
	leaq	g_to(%rip), %rdi
	movl	%ecx, (%r15,%r11,4)
	movl	(%r9,%r14,4), %ecx
	movl	%r14d, (%rdi,%rdx,4)
	testl	%ecx, %ecx
	jle	.L101
	imulq	$408, %r14, %rdx
	leaq	r_to(%rip), %rax
	xorl	%ebp, %ebp
	addq	%rax, %rdx
	movq	%r12, %rax
	movq	%r14, %r12
.L83:
	movslq	(%rdx,%rbp,4), %r13
	cmpb	$0, (%r10,%r13)
	je	.L115
.L77:
	addq	$1, %rbp
	cmpl	%ebp, %ecx
	jg	.L83
	movq	%rax, %r12
.L101:
	movq	144(%rsp), %rax
	movl	(%r9,%rax,4), %ecx
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L115:
	movslq	(%r15,%r11,4), %rcx
	movl	36(%rsp), %ebx
	leaq	cmp(%rip), %rdi
	movb	$1, (%r10,%r13)
	movl	(%r9,%r13,4), %esi
	movl	%ebx, (%rdi,%r13,4)
	leal	1(%rcx), %edi
	addq	40(%rsp), %rcx
	movl	%edi, (%r15,%r11,4)
	leaq	g_to(%rip), %rdi
	movl	%r13d, (%rdi,%rcx,4)
	testl	%esi, %esi
	jle	.L81
	imulq	$408, %r13, %r14
	leaq	r_to(%rip), %rdi
	xorl	%ebx, %ebx
	addq	%rdi, %r14
.L82:
	movslq	(%r14,%rbx,4), %rcx
	cmpb	$0, (%r10,%rcx)
	movq	%rcx, %rdi
	je	.L116
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L82
.L81:
	movl	(%r9,%r12,4), %ecx
	jmp	.L77
	.p2align 4,,10
	.p2align 3
.L116:
	movl	36(%rsp), %esi
	movq	%r11, 200(%rsp)
	addq	$1, %rbx
	movq	%rdx, 192(%rsp)
	movq	%rax, 184(%rsp)
	movq	%r8, 176(%rsp)
	call	rdfs
	leaq	r_hi(%rip), %r9
	movq	176(%rsp), %r8
	movq	184(%rsp), %rax
	movl	(%r9,%r13,4), %esi
	movq	192(%rsp), %rdx
	leaq	used(%rip), %r10
	movq	200(%rsp), %r11
	cmpl	%ebx, %esi
	jg	.L82
	movl	(%r9,%r12,4), %ecx
	jmp	.L77
	.cfi_endproc
.LFE37:
	.size	rdfs, .-rdfs
	.p2align 4
	.globl	scc
	.type	scc, @function
scc:
.LFB38:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$102, %ecx
	xorl	%esi, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	hi(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	to(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	used(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	xorl	%ebx, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movslq	V(%rip), %r15
	movq	%r15, %rdx
	movq	%r15, %r12
	call	__memset_chk@PLT
	movl	$0, vsz(%rip)
	testl	%r15d, %r15d
	jg	.L125
	jmp	.L141
	.p2align 4,,10
	.p2align 3
.L120:
	addq	$1, %rbx
	addq	$408, %r13
	cmpl	%ebx, %r12d
	jle	.L142
.L125:
	cmpb	$0, 0(%rbp,%rbx)
	movl	%ebx, %r15d
	jne	.L120
	movl	(%r14,%rbx,4), %edx
	movb	$1, 0(%rbp,%rbx)
	xorl	%r12d, %r12d
	testl	%edx, %edx
	jle	.L124
.L121:
	movslq	0(%r13,%r12,4), %rax
	cmpb	$0, 0(%rbp,%rax)
	movq	%rax, %rdi
	je	.L143
	addq	$1, %r12
	cmpl	%r12d, %edx
	jg	.L121
.L124:
	movslq	vsz(%rip), %rax
	movl	V(%rip), %r12d
	addq	$1, %rbx
	leaq	vs(%rip), %rcx
	addq	$408, %r13
	leal	1(%rax), %edx
	movl	%r15d, (%rcx,%rax,4)
	movl	%edx, vsz(%rip)
	cmpl	%ebx, %r12d
	jg	.L125
.L142:
	movl	vsz(%rip), %eax
	xorl	%esi, %esi
	movslq	%r12d, %rdx
	movl	$102, %ecx
	movq	%rbp, %rdi
	leal	-1(%rax), %ebx
	call	__memset_chk@PLT
	testl	%ebx, %ebx
	js	.L132
	movslq	%ebx, %rbx
	leaq	vs(%rip), %r12
	xorl	%r14d, %r14d
	leaq	(%r12,%rbx,4), %r13
	leaq	r_hi(%rip), %r15
	jmp	.L130
	.p2align 4,,10
	.p2align 3
.L126:
	leaq	-4(%r13), %rdx
	cmpq	%r13, %r12
	je	.L117
.L135:
	movq	%rdx, %r13
.L130:
	movslq	0(%r13), %rdx
	cmpb	$0, 0(%rbp,%rdx)
	jne	.L126
	leal	1(%r14), %eax
	movslq	%r14d, %rcx
	movb	$1, 0(%rbp,%rdx)
	movl	%eax, 28(%rsp)
	leaq	cmp(%rip), %rax
	movl	%r14d, (%rax,%rdx,4)
	leaq	g_hi(%rip), %rax
	movslq	(%rax,%rcx,4), %rdi
	leal	1(%rdi), %r11d
	movl	%r11d, (%rax,%rcx,4)
	imulq	$102, %rcx, %rcx
	movl	(%r15,%rdx,4), %r11d
	leaq	g_to(%rip), %rax
	addq	%rdi, %rcx
	movl	%edx, (%rax,%rcx,4)
	testl	%r11d, %r11d
	jle	.L134
	imulq	$408, %rdx, %rcx
	leaq	r_to(%rip), %rsi
	xorl	%ebx, %ebx
	addq	%rsi, %rcx
.L129:
	movslq	(%rcx,%rbx,4), %rsi
	cmpb	$0, 0(%rbp,%rsi)
	movq	%rsi, %rdi
	je	.L144
	addq	$1, %rbx
	cmpl	%ebx, %r11d
	jg	.L129
.L134:
	movl	28(%rsp), %r14d
.L145:
	leaq	-4(%r13), %rdx
	cmpq	%r13, %r12
	jne	.L135
.L117:
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r14d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L143:
	.cfi_restore_state
	call	dfs
	movl	(%r14,%rbx,4), %edx
	addq	$1, %r12
	cmpl	%r12d, %edx
	jg	.L121
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L144:
	movl	%r14d, %esi
	movq	%rdx, 16(%rsp)
	addq	$1, %rbx
	movq	%rcx, 8(%rsp)
	call	rdfs
	movq	16(%rsp), %rdx
	movq	8(%rsp), %rcx
	movl	(%r15,%rdx,4), %r11d
	cmpl	%ebx, %r11d
	jg	.L129
	movl	28(%rsp), %r14d
	jmp	.L145
.L141:
	movl	$102, %ecx
	movq	%r15, %rdx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	call	__memset_chk@PLT
	xorl	%r14d, %r14d
	jmp	.L117
.L132:
	xorl	%r14d, %r14d
	jmp	.L117
	.cfi_endproc
.LFE38:
	.size	scc, .-scc
	.p2align 4
	.globl	in
	.type	in, @function
in:
.LFB39:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L155
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L148:
	xorl	%r12d, %r12d
	jmp	.L152
	.p2align 4,,10
	.p2align 3
.L149:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L146
.L150:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L152:
	leal	(%r12,%r12,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %r12d
	cmpq	%rcx, %rdx
	jb	.L149
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L146
	movq	stdin(%rip), %rdi
	jmp	.L150
	.p2align 4,,10
	.p2align 3
.L146:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L155:
	.cfi_restore_state
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L148
	.cfi_endproc
.LFE39:
	.size	in, .-in
	.p2align 4
	.globl	getdbl
	.type	getdbl, @function
getdbl:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L174
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L158:
	xorl	%ebx, %ebx
	jmp	.L162
	.p2align 4,,10
	.p2align 3
.L159:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L161
.L160:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L162:
	leal	(%rbx,%rbx,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %ebx
	cmpq	%rcx, %rdx
	jb	.L159
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L161
	movq	stdin(%rip), %rdi
	jmp	.L160
	.p2align 4,,10
	.p2align 3
.L161:
	cmpl	$46, %eax
	je	.L175
	pxor	%xmm0, %xmm0
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	cvtsi2sdl	%ebx, %xmm0
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L175:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L176
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L165:
	movsd	.LC0(%rip), %xmm1
	movsd	.LC2(%rip), %xmm3
	pxor	%xmm2, %xmm2
	jmp	.L169
	.p2align 4,,10
	.p2align 3
.L166:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L168
.L167:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L169:
	mulsd	%xmm3, %xmm1
	andl	$15, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm2
	cmpq	%rcx, %rdx
	jb	.L166
	movsd	%xmm2, (%rsp)
	movsd	%xmm1, 8(%rsp)
	call	__uflow@PLT
	movsd	(%rsp), %xmm2
	cmpl	$47, %eax
	jle	.L168
	movq	.LC2(%rip), %rsi
	movq	stdin(%rip), %rdi
	movsd	8(%rsp), %xmm1
	movq	%rsi, %xmm3
	jmp	.L167
	.p2align 4,,10
	.p2align 3
.L168:
	pxor	%xmm0, %xmm0
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	cvtsi2sdl	%ebx, %xmm0
	popq	%rbx
	.cfi_def_cfa_offset 8
	addsd	%xmm2, %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L174:
	.cfi_restore_state
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L158
.L176:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L165
	.cfi_endproc
.LFE40:
	.size	getdbl, .-getdbl
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%.10lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
.L178:
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L225
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L204:
	xorl	%ebp, %ebp
	jmp	.L208
	.p2align 4,,10
	.p2align 3
.L205:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L207
.L206:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L208:
	leal	0(%rbp,%rbp,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %ebp
	cmpq	%rcx, %rdx
	jb	.L205
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L207
	movq	stdin(%rip), %rdi
	jmp	.L206
.L207:
	testl	%ebp, %ebp
	je	.L226
	leal	0(,%rbp,4), %r12d
	movl	$408, %ecx
	xorl	%esi, %esi
	movl	%ebp, V(%rip)
	movslq	%r12d, %r12
	leaq	hi(%rip), %rdi
	leaq	r_hi(%rip), %r13
	movq	%r12, %rdx
	leaq	hi(%rip), %rbx
	call	__memset_chk@PLT
	movl	$408, %ecx
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%r13, %rdi
	call	__memset_chk@PLT
	movl	$408, %ecx
	movq	%r12, %rdx
	xorl	%esi, %esi
	leaq	g_hi(%rip), %rdi
	call	__memset_chk@PLT
	movslq	%ebp, %rax
	movq	$0, (%rsp)
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L186:
	xorl	%eax, %eax
	movq	(%rsp), %r15
	call	getdbl
	movq	stdin(%rip), %rdi
	leaq	p(%rip), %rsi
	movl	%r15d, %r12d
	movsd	%xmm0, (%rsi,%r15,8)
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L227
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L180:
	xorl	%ebp, %ebp
	jmp	.L184
	.p2align 4,,10
	.p2align 3
.L181:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L183
.L182:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L184:
	leal	0(%rbp,%rbp,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %ebp
	cmpq	%rcx, %rdx
	jb	.L181
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L183
	movq	stdin(%rip), %rdi
	jmp	.L182
	.p2align 4,,10
	.p2align 3
.L183:
	leal	-1(%rbp), %r15d
	movslq	%r12d, %rax
	testl	%ebp, %ebp
	je	.L194
	imulq	$102, %rax, %rbp
	.p2align 4,,10
	.p2align 3
.L185:
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L228
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L189:
	xorl	%r14d, %r14d
	jmp	.L193
	.p2align 4,,10
	.p2align 3
.L190:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L192
.L191:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L193:
	leal	(%r14,%r14,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %r14d
	cmpq	%rcx, %rdx
	jb	.L190
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L192
	movq	stdin(%rip), %rdi
	jmp	.L191
	.p2align 4,,10
	.p2align 3
.L192:
	movslq	(%rbx), %rax
	subl	$1, %r14d
	leaq	to(%rip), %rsi
	leal	1(%rax), %edx
	addq	%rbp, %rax
	movl	%r14d, (%rsi,%rax,4)
	movslq	%r14d, %r14
	movslq	0(%r13,%r14,4), %rax
	movl	%edx, (%rbx)
	leal	1(%rax), %edx
	movl	%edx, 0(%r13,%r14,4)
	imulq	$102, %r14, %r14
	addq	%rax, %r14
	leaq	r_to(%rip), %rax
	movl	%r12d, (%rax,%r14,4)
	subl	$1, %r15d
	jnb	.L185
.L194:
	addq	$1, (%rsp)
	addq	$4, %rbx
	movq	(%rsp), %rax
	cmpq	%rax, 8(%rsp)
	jne	.L186
	xorl	%eax, %eax
	call	scc
	testl	%eax, %eax
	jle	.L210
	leaq	g_hi(%rip), %r12
	leal	-1(%rax), %edx
	movsd	.LC0(%rip), %xmm1
	xorl	%r14d, %r14d
	leaq	4(%r12), %rax
	leaq	r_to(%rip), %rbp
	leaq	(%rax,%rdx,4), %rax
	movapd	%xmm1, %xmm2
	leaq	4(%rbp), %rbx
	leaq	g_to(%rip), %r15
	leaq	cmp(%rip), %rsi
	movq	%rax, %r11
	.p2align 4,,10
	.p2align 3
.L196:
	movl	(%r12), %eax
	pxor	%xmm3, %xmm3
	testl	%eax, %eax
	jle	.L202
	subl	$1, %eax
	movq	%r15, %r9
	movapd	%xmm1, %xmm0
	movl	$1, %edx
	addq	%r14, %rax
	leaq	4+g_to(%rip), %rdi
	leaq	(%rdi,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L199:
	movslq	(%r9), %rcx
	leaq	p(%rip), %rax
	movl	0(%r13,%rcx,4), %edi
	mulsd	(%rax,%rcx,8), %xmm0
	testl	%edi, %edi
	jle	.L197
	imulq	$408, %rcx, %rax
	movl	(%rsi,%rcx,4), %r8d
	subl	$1, %edi
	imulq	$102, %rcx, %rcx
	addq	%rbp, %rax
	addq	%rcx, %rdi
	leaq	(%rbx,%rdi,4), %rdi
	.p2align 4,,10
	.p2align 3
.L198:
	movslq	(%rax), %rcx
	cmpl	%r8d, (%rsi,%rcx,4)
	sete	%cl
	addq	$4, %rax
	movzbl	%cl, %ecx
	andl	%ecx, %edx
	cmpq	%rax, %rdi
	jne	.L198
.L197:
	addq	$4, %r9
	cmpq	%r9, %r10
	jne	.L199
	testl	%edx, %edx
	jne	.L229
.L200:
	addq	$4, %r12
	addq	$408, %r15
	addq	$102, %r14
	cmpq	%r12, %r11
	jne	.L196
.L195:
	movapd	%xmm2, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L178
	.p2align 4,,10
	.p2align 3
.L228:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L189
.L229:
	movapd	%xmm1, %xmm3
	subsd	%xmm0, %xmm3
.L202:
	mulsd	%xmm3, %xmm2
	jmp	.L200
.L227:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L180
.L210:
	movsd	.LC0(%rip), %xmm2
	jmp	.L195
.L226:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L225:
	.cfi_restore_state
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L204
	.cfi_endproc
.LFE41:
	.size	main, .-main
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 816
p:
	.zero	816
	.globl	cmp
	.align 32
	.type	cmp, @object
	.size	cmp, 408
cmp:
	.zero	408
	.globl	used
	.align 32
	.type	used, @object
	.size	used, 102
used:
	.zero	102
	.globl	vsz
	.align 4
	.type	vsz, @object
	.size	vsz, 4
vsz:
	.zero	4
	.globl	vs
	.align 32
	.type	vs, @object
	.size	vs, 408
vs:
	.zero	408
	.globl	g_hi
	.align 32
	.type	g_hi, @object
	.size	g_hi, 408
g_hi:
	.zero	408
	.globl	g_to
	.align 32
	.type	g_to, @object
	.size	g_to, 41616
g_to:
	.zero	41616
	.globl	r_hi
	.align 32
	.type	r_hi, @object
	.size	r_hi, 408
r_hi:
	.zero	408
	.globl	r_to
	.align 32
	.type	r_to, @object
	.size	r_to, 41616
r_to:
	.zero	41616
	.globl	hi
	.align 32
	.type	hi, @object
	.size	hi, 408
hi:
	.zero	408
	.globl	to
	.align 32
	.type	to, @object
	.size	to, 41616
to:
	.zero	41616
	.globl	V
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:

rule
	.file	"temp.c"
	.text
	.p2align 4
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB35:
	.cfi_startproc
	endbr64
	movslq	%edi, %rax
	leaq	hi(%rip), %rdi
	movslq	(%rdi,%rax,4), %rcx
	movq	%rax, %rdx
	leal	1(%rcx), %r8d
	movl	%r8d, (%rdi,%rax,4)
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	to(%rip), %rcx
	movl	%esi, (%rcx,%rax,4)
	movslq	%esi, %rsi
	leaq	r_hi(%rip), %rcx
	movslq	(%rcx,%rsi,4), %rax
	leal	1(%rax), %edi
	movl	%edi, (%rcx,%rsi,4)
	imulq	$102, %rsi, %rsi
	addq	%rax, %rsi
	leaq	r_to(%rip), %rax
	movl	%edx, (%rax,%rsi,4)
	ret
	.cfi_endproc
.LFE35:
	.size	add_edge, .-add_edge
	.p2align 4
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edi, %rax
	leaq	used(%rip), %r9
	leaq	hi(%rip), %r10
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$232, %rsp
	.cfi_def_cfa_offset 288
	movb	$1, (%r9,%rax)
	movl	%eax, 192(%rsp)
	movq	%rax, 176(%rsp)
	movl	(%r10,%rax,4), %eax
	testl	%eax, %eax
	jle	.L51
	movq	$0, 32(%rsp)
	leaq	to(%rip), %rdi
	imulq	$408, 176(%rsp), %rdx
	leaq	(%rdi,%rdx), %rsi
	leaq	vs(%rip), %rdx
	movq	%rsi, 144(%rsp)
	movq	%rdx, 16(%rsp)
.L39:
	movq	144(%rsp), %rbx
	movq	32(%rsp), %rcx
	movslq	(%rbx,%rcx,4), %rbx
	cmpb	$0, (%r9,%rbx)
	movl	%ebx, 140(%rsp)
	movq	%rbx, 88(%rsp)
	je	.L52
.L5:
	addq	$1, 32(%rsp)
	movq	32(%rsp), %rsi
	cmpl	%esi, %eax
	jg	.L39
.L40:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rcx
	movl	192(%rsp), %esi
	leal	1(%rax), %edx
	movl	%esi, (%rcx,%rax,4)
	movl	%edx, vsz(%rip)
	addq	$232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L52:
	.cfi_restore_state
	movl	(%r10,%rbx,4), %eax
	movb	$1, (%r9,%rbx)
	testl	%eax, %eax
	jle	.L38
	imulq	$408, 88(%rsp), %rdx
	leaq	to(%rip), %rcx
	movq	$0, 24(%rsp)
	addq	%rcx, %rdx
	movq	%rdx, 120(%rsp)
.L37:
	movq	120(%rsp), %rdi
	movq	24(%rsp), %rdx
	movslq	(%rdi,%rdx,4), %rsi
	cmpb	$0, (%r9,%rsi)
	movl	%esi, 136(%rsp)
	movq	%rsi, 72(%rsp)
	je	.L53
.L7:
	addq	$1, 24(%rsp)
	movq	24(%rsp), %rcx
	cmpl	%ecx, %eax
	jg	.L37
.L38:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rbx
	movl	140(%rsp), %esi
	leal	1(%rax), %edx
	movl	%esi, (%rbx,%rax,4)
	movq	176(%rsp), %rax
	movl	%edx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L53:
	movl	(%r10,%rsi,4), %eax
	movb	$1, (%r9,%rsi)
	testl	%eax, %eax
	jle	.L36
	imulq	$408, 72(%rsp), %rdx
	leaq	to(%rip), %rbx
	movq	$0, 8(%rsp)
	addq	%rbx, %rdx
	movq	%rdx, 112(%rsp)
.L35:
	movq	112(%rsp), %rdi
	movq	8(%rsp), %rcx
	movslq	(%rdi,%rcx,4), %rbx
	cmpb	$0, (%r9,%rbx)
	movl	%ebx, 108(%rsp)
	movq	%rbx, 48(%rsp)
	je	.L54
.L9:
	addq	$1, 8(%rsp)
	movq	8(%rsp), %rdi
	cmpl	%edi, %eax
	jg	.L35
.L36:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rcx
	movl	136(%rsp), %esi
	leal	1(%rax), %edx
	movl	%esi, (%rcx,%rax,4)
	movq	88(%rsp), %rax
	movl	%edx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L54:
	movl	(%r10,%rbx,4), %eax
	movb	$1, (%r9,%rbx)
	testl	%eax, %eax
	jle	.L34
	imulq	$408, 48(%rsp), %rdx
	leaq	to(%rip), %rcx
	xorl	%r8d, %r8d
	addq	%rcx, %rdx
	movq	%rdx, 96(%rsp)
.L33:
	movq	96(%rsp), %rdi
	movslq	(%rdi,%r8,4), %rdi
	cmpb	$0, (%r9,%rdi)
	movl	%edi, 104(%rsp)
	movq	%rdi, 40(%rsp)
	je	.L55
.L11:
	addq	$1, %r8
	cmpl	%r8d, %eax
	jg	.L33
.L34:
	movslq	vsz(%rip), %rax
	movl	108(%rsp), %esi
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	movq	16(%rsp), %rdx
	movl	%esi, (%rdx,%rax,4)
	movq	72(%rsp), %rax
	movl	(%r10,%rax,4), %eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L55:
	movl	(%r10,%rdi,4), %eax
	movb	$1, (%r9,%rdi)
	testl	%eax, %eax
	jle	.L32
	imulq	$408, 40(%rsp), %rdx
	leaq	to(%rip), %rbx
	xorl	%r11d, %r11d
	movq	%r8, 184(%rsp)
	movq	%r11, %r8
	addq	%rbx, %rdx
	movq	%rdx, 80(%rsp)
.L31:
	movq	80(%rsp), %rdi
	movslq	(%rdi,%r8,4), %r11
	cmpb	$0, (%r9,%r11)
	movl	%r11d, 68(%rsp)
	je	.L56
.L13:
	addq	$1, %r8
	cmpl	%r8d, %eax
	jg	.L31
	movq	184(%rsp), %r8
.L32:
	movslq	vsz(%rip), %rax
	movl	104(%rsp), %esi
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	movq	16(%rsp), %rdx
	movl	%esi, (%rdx,%rax,4)
	movq	48(%rsp), %rax
	movl	(%r10,%rax,4), %eax
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L56:
	movl	(%r10,%r11,4), %eax
	movb	$1, (%r9,%r11)
	testl	%eax, %eax
	jle	.L30
	imulq	$408, %r11, %rdx
	leaq	to(%rip), %rcx
	movq	%r11, 152(%rsp)
	movq	%r8, 168(%rsp)
	leaq	(%rcx,%rdx), %rdi
	xorl	%ecx, %ecx
	movq	%rdi, 56(%rsp)
	movq	%rcx, %r8
.L29:
	movq	56(%rsp), %rsi
	movslq	(%rsi,%r8,4), %r15
	cmpb	$0, (%r9,%r15)
	movl	%r15d, 64(%rsp)
	je	.L57
.L15:
	addq	$1, %r8
	cmpl	%r8d, %eax
	jg	.L29
	movq	168(%rsp), %r8
.L30:
	movslq	vsz(%rip), %rax
	movl	68(%rsp), %esi
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	movq	16(%rsp), %rdx
	movl	%esi, (%rdx,%rax,4)
	movq	40(%rsp), %rax
	movl	(%r10,%rax,4), %eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L57:
	movl	(%r10,%r15,4), %eax
	movb	$1, (%r9,%r15)
	testl	%eax, %eax
	jle	.L28
	imulq	$408, %r15, %rdx
	leaq	to(%rip), %rcx
	xorl	%r12d, %r12d
	movq	%r15, 128(%rsp)
	movq	%r8, 160(%rsp)
	leaq	(%rcx,%rdx), %rbx
	movq	%rbx, %r8
.L27:
	movslq	(%r8,%r12,4), %r14
	cmpb	$0, (%r9,%r14)
	movq	%r14, %rdx
	je	.L58
.L17:
	addq	$1, %r12
	cmpl	%r12d, %eax
	jg	.L27
	movq	160(%rsp), %r8
.L28:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rbx
	movl	64(%rsp), %ecx
	leal	1(%rax), %edx
	movl	%ecx, (%rbx,%rax,4)
	movq	152(%rsp), %rax
	movl	%edx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L58:
	movl	(%r10,%r14,4), %eax
	movb	$1, (%r9,%r14)
	testl	%eax, %eax
	jle	.L26
	imulq	$408, %r14, %rsi
	leaq	to(%rip), %rdi
	movq	%r12, %rcx
	xorl	%ebp, %ebp
	movq	%r14, %r12
	addq	%rdi, %rsi
.L25:
	movslq	(%rsi,%rbp,4), %r13
	cmpb	$0, (%r9,%r13)
	movq	%r13, %r15
	je	.L59
.L19:
	addq	$1, %rbp
	cmpl	%ebp, %eax
	jg	.L25
	movq	%rcx, %r12
.L26:
	movslq	vsz(%rip), %rax
	movq	16(%rsp), %rsi
	leal	1(%rax), %ecx
	movl	%edx, (%rsi,%rax,4)
	movq	128(%rsp), %rax
	movl	%ecx, vsz(%rip)
	movl	(%r10,%rax,4), %eax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L59:
	movl	(%r10,%r13,4), %r11d
	movb	$1, (%r9,%r13)
	testl	%r11d, %r11d
	jle	.L23
	imulq	$408, %r13, %r14
	leaq	to(%rip), %rax
	xorl	%ebx, %ebx
	addq	%rax, %r14
.L24:
	movslq	(%r14,%rbx,4), %rax
	cmpb	$0, (%r9,%rax)
	movq	%rax, %rdi
	je	.L60
	addq	$1, %rbx
	cmpl	%ebx, %r11d
	jg	.L24
.L23:
	movslq	vsz(%rip), %rax
	leal	1(%rax), %edi
	movl	%edi, vsz(%rip)
	movq	16(%rsp), %rdi
	movl	%r15d, (%rdi,%rax,4)
	movl	(%r10,%r12,4), %eax
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L60:
	movq	%rsi, 216(%rsp)
	addq	$1, %rbx
	movq	%rcx, 208(%rsp)
	movq	%r8, 200(%rsp)
	movl	%edx, 196(%rsp)
	call	dfs
	leaq	hi(%rip), %r10
	movl	196(%rsp), %edx
	movq	200(%rsp), %r8
	movl	(%r10,%r13,4), %r11d
	movq	208(%rsp), %rcx
	leaq	used(%rip), %r9
	movq	216(%rsp), %rsi
	cmpl	%ebx, %r11d
	jg	.L24
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L51:
	leaq	vs(%rip), %rax
	movq	%rax, 16(%rsp)
	jmp	.L40
	.cfi_endproc
.LFE36:
	.size	dfs, .-dfs
	.p2align 4
	.globl	rdfs
	.type	rdfs, @function
rdfs:
.LFB37:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movslq	%edi, %rcx
	movslq	%esi, %r8
	leaq	cmp(%rip), %rax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	g_hi(%rip), %r15
	leaq	r_hi(%rip), %r9
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	used(%rip), %r10
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	imulq	$102, %r8, %rbx
	subq	$216, %rsp
	.cfi_def_cfa_offset 272
	movl	%esi, (%rax,%rcx,4)
	movslq	(%r15,%r8,4), %rax
	movl	%esi, 36(%rsp)
	leal	1(%rax), %edx
	addq	%rbx, %rax
	movb	$1, (%r10,%rcx)
	movl	%edx, (%r15,%r8,4)
	leaq	g_to(%rip), %rdx
	movl	%edi, (%rdx,%rax,4)
	movl	(%r9,%rcx,4), %edx
	movq	%rcx, 168(%rsp)
	movq	%rbx, 40(%rsp)
	testl	%edx, %edx
	jle	.L61
	imulq	$408, %rcx, %rax
	leaq	r_to(%rip), %rsi
	movq	%r8, %r11
	movq	$0, 56(%rsp)
	addq	%rsi, %rax
	movq	%rax, 152(%rsp)
.L90:
	movq	152(%rsp), %rax
	movq	56(%rsp), %rdi
	movslq	(%rax,%rdi,4), %rbx
	cmpb	$0, (%r10,%rbx)
	movq	%rbx, 112(%rsp)
	movq	%rbx, %rax
	je	.L108
.L63:
	addq	$1, 56(%rsp)
	movq	56(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L90
.L61:
	addq	$216, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L108:
	.cfi_restore_state
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %esi
	movb	$1, (%r10,%rbx)
	leaq	cmp(%rip), %rcx
	movl	%esi, (%rcx,%rbx,4)
	leal	1(%rdx), %ecx
	leaq	g_to(%rip), %rbx
	addq	40(%rsp), %rdx
	movl	%eax, (%rbx,%rdx,4)
	movl	(%r9,%rax,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L107
	imulq	$408, 112(%rsp), %rax
	leaq	r_to(%rip), %rcx
	movq	$0, 48(%rsp)
	addq	%rcx, %rax
	movq	%rax, 136(%rsp)
.L89:
	movq	136(%rsp), %rax
	movq	48(%rsp), %rdi
	movslq	(%rax,%rdi,4), %rdi
	cmpb	$0, (%r10,%rdi)
	movq	%rdi, 96(%rsp)
	movq	%rdi, %rax
	je	.L109
.L65:
	addq	$1, 48(%rsp)
	movq	48(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L89
.L107:
	movq	168(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L63
	.p2align 4,,10
	.p2align 3
.L109:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ecx
	movb	$1, (%r10,%rdi)
	leaq	cmp(%rip), %rdi
	leaq	g_to(%rip), %rsi
	movl	%ecx, (%rdi,%rax,4)
	leal	1(%rdx), %ecx
	addq	40(%rsp), %rdx
	movl	%eax, (%rsi,%rdx,4)
	movl	(%r9,%rax,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L106
	imulq	$408, 96(%rsp), %rax
	leaq	r_to(%rip), %rdi
	movq	$0, 24(%rsp)
	addq	%rdi, %rax
	movq	%rax, 128(%rsp)
.L88:
	movq	128(%rsp), %rax
	movq	24(%rsp), %rsi
	movslq	(%rax,%rsi,4), %rsi
	cmpb	$0, (%r10,%rsi)
	movq	%rsi, 80(%rsp)
	je	.L110
.L67:
	addq	$1, 24(%rsp)
	movq	24(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L88
.L106:
	movq	112(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L65
	.p2align 4,,10
	.p2align 3
.L110:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ebx
	leaq	cmp(%rip), %rcx
	leaq	g_to(%rip), %rdi
	movb	$1, (%r10,%rsi)
	movl	%ebx, (%rcx,%rsi,4)
	leal	1(%rdx), %ecx
	addq	40(%rsp), %rdx
	movl	%esi, (%rdi,%rdx,4)
	movl	(%r9,%rsi,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L105
	imulq	$408, 80(%rsp), %rax
	leaq	r_to(%rip), %rdi
	movq	$0, 16(%rsp)
	addq	%rdi, %rax
	movq	%rax, 120(%rsp)
.L87:
	movq	120(%rsp), %rax
	movq	16(%rsp), %rsi
	movslq	(%rax,%rsi,4), %rbx
	cmpb	$0, (%r10,%rbx)
	movq	%rbx, 72(%rsp)
	je	.L111
.L69:
	addq	$1, 16(%rsp)
	movq	16(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L87
.L105:
	movq	96(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L67
	.p2align 4,,10
	.p2align 3
.L111:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ecx
	movb	$1, (%r10,%rbx)
	leaq	cmp(%rip), %rdi
	movl	%ecx, (%rdi,%rbx,4)
	leal	1(%rdx), %ecx
	leaq	g_to(%rip), %rdi
	addq	40(%rsp), %rdx
	movl	%ebx, (%rdi,%rdx,4)
	movl	(%r9,%rbx,4), %edx
	movl	%ecx, (%r15,%r11,4)
	testl	%edx, %edx
	jle	.L104
	imulq	$408, 72(%rsp), %rax
	leaq	r_to(%rip), %rcx
	addq	%rcx, %rax
	xorl	%ecx, %ecx
	movq	%rax, 104(%rsp)
	movq	%rcx, 8(%rsp)
.L86:
	movq	104(%rsp), %rax
	movq	8(%rsp), %rbx
	movslq	(%rax,%rbx,4), %rdi
	cmpb	$0, (%r10,%rdi)
	movq	%rdi, 64(%rsp)
	je	.L112
.L71:
	addq	$1, 8(%rsp)
	movq	8(%rsp), %rax
	cmpl	%eax, %edx
	jg	.L86
.L104:
	movq	80(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L69
	.p2align 4,,10
	.p2align 3
.L112:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ecx
	movb	$1, (%r10,%rdi)
	leaq	cmp(%rip), %rbx
	movl	%ecx, (%rbx,%rdi,4)
	leal	1(%rdx), %ecx
	leaq	g_to(%rip), %rbx
	addq	40(%rsp), %rdx
	movl	%ecx, (%r15,%r11,4)
	movl	(%r9,%rdi,4), %ecx
	movl	%edi, (%rbx,%rdx,4)
	testl	%ecx, %ecx
	jle	.L103
	imulq	$408, 64(%rsp), %rax
	leaq	r_to(%rip), %rbx
	xorl	%r8d, %r8d
	addq	%rbx, %rax
	movq	%rax, 88(%rsp)
.L85:
	movq	88(%rsp), %rax
	movslq	(%rax,%r8,4), %rax
	cmpb	$0, (%r10,%rax)
	je	.L113
.L73:
	addq	$1, %r8
	cmpl	%r8d, %ecx
	jg	.L85
.L103:
	movq	72(%rsp), %rax
	movl	(%r9,%rax,4), %edx
	jmp	.L71
	.p2align 4,,10
	.p2align 3
.L113:
	movslq	(%r15,%r11,4), %rcx
	movl	36(%rsp), %edi
	movb	$1, (%r10,%rax)
	leaq	cmp(%rip), %rsi
	movl	%edi, (%rsi,%rax,4)
	leal	1(%rcx), %esi
	addq	40(%rsp), %rcx
	movl	%esi, (%r15,%r11,4)
	leaq	g_to(%rip), %rsi
	movl	%eax, (%rsi,%rcx,4)
	movl	(%r9,%rax,4), %ecx
	testl	%ecx, %ecx
	jle	.L102
	imulq	$408, %rax, %rdx
	leaq	r_to(%rip), %rsi
	xorl	%r12d, %r12d
	movq	%rax, 144(%rsp)
	movq	%r8, 160(%rsp)
	addq	%rdx, %rsi
	movq	%rsi, %r8
.L84:
	movslq	(%r8,%r12,4), %r14
	cmpb	$0, (%r10,%r14)
	je	.L114
.L75:
	addq	$1, %r12
	cmpl	%r12d, %ecx
	jg	.L84
	movq	160(%rsp), %r8
.L102:
	movq	64(%rsp), %rax
	movl	(%r9,%rax,4), %ecx
	jmp	.L73
	.p2align 4,,10
	.p2align 3
.L114:
	movslq	(%r15,%r11,4), %rdx
	movl	36(%rsp), %ebx
	movb	$1, (%r10,%r14)
	leaq	cmp(%rip), %rdi
	leal	1(%rdx), %ecx
	movl	%ebx, (%rdi,%r14,4)
	addq	40(%rsp), %rdx
	leaq	g_to(%rip), %rdi
	movl	%ecx, (%r15,%r11,4)
	movl	(%r9,%r14,4), %ecx
	movl	%r14d, (%rdi,%rdx,4)
	testl	%ecx, %ecx
	jle	.L101
	imulq	$408, %r14, %rdx
	leaq	r_to(%rip), %rax
	xorl	%ebp, %ebp
	addq	%rax, %rdx
	movq	%r12, %rax
	movq	%r14, %r12
.L83:
	movslq	(%rdx,%rbp,4), %r13
	cmpb	$0, (%r10,%r13)
	je	.L115
.L77:
	addq	$1, %rbp
	cmpl	%ebp, %ecx
	jg	.L83
	movq	%rax, %r12
.L101:
	movq	144(%rsp), %rax
	movl	(%r9,%rax,4), %ecx
	jmp	.L75
	.p2align 4,,10
	.p2align 3
.L115:
	movslq	(%r15,%r11,4), %rcx
	movl	36(%rsp), %ebx
	leaq	cmp(%rip), %rdi
	movb	$1, (%r10,%r13)
	movl	(%r9,%r13,4), %esi
	movl	%ebx, (%rdi,%r13,4)
	leal	1(%rcx), %edi
	addq	40(%rsp), %rcx
	movl	%edi, (%r15,%r11,4)
	leaq	g_to(%rip), %rdi
	movl	%r13d, (%rdi,%rcx,4)
	testl	%esi, %esi
	jle	.L81
	imulq	$408, %r13, %r14
	leaq	r_to(%rip), %rdi
	xorl	%ebx, %ebx
	addq	%rdi, %r14
.L82:
	movslq	(%r14,%rbx,4), %rcx
	cmpb	$0, (%r10,%rcx)
	movq	%rcx, %rdi
	je	.L116
	addq	$1, %rbx
	cmpl	%ebx, %esi
	jg	.L82
.L81:
	movl	(%r9,%r12,4), %ecx
	jmp	.L77
	.p2align 4,,10
	.p2align 3
.L116:
	movl	36(%rsp), %esi
	movq	%r11, 200(%rsp)
	addq	$1, %rbx
	movq	%rdx, 192(%rsp)
	movq	%rax, 184(%rsp)
	movq	%r8, 176(%rsp)
	call	rdfs
	leaq	r_hi(%rip), %r9
	movq	176(%rsp), %r8
	movq	184(%rsp), %rax
	movl	(%r9,%r13,4), %esi
	movq	192(%rsp), %rdx
	leaq	used(%rip), %r10
	movq	200(%rsp), %r11
	cmpl	%ebx, %esi
	jg	.L82
	movl	(%r9,%r12,4), %ecx
	jmp	.L77
	.cfi_endproc
.LFE37:
	.size	rdfs, .-rdfs
	.p2align 4
	.globl	scc
	.type	scc, @function
scc:
.LFB38:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$102, %ecx
	xorl	%esi, %esi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	hi(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	to(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	used(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rdi
	xorl	%ebx, %ebx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movslq	V(%rip), %r15
	movq	%r15, %rdx
	movq	%r15, %r12
	call	__memset_chk@PLT
	movl	$0, vsz(%rip)
	testl	%r15d, %r15d
	jg	.L125
	jmp	.L141
	.p2align 4,,10
	.p2align 3
.L120:
	addq	$1, %rbx
	addq	$408, %r13
	cmpl	%ebx, %r12d
	jle	.L142
.L125:
	cmpb	$0, 0(%rbp,%rbx)
	movl	%ebx, %r15d
	jne	.L120
	movl	(%r14,%rbx,4), %edx
	movb	$1, 0(%rbp,%rbx)
	xorl	%r12d, %r12d
	testl	%edx, %edx
	jle	.L124
.L121:
	movslq	0(%r13,%r12,4), %rax
	cmpb	$0, 0(%rbp,%rax)
	movq	%rax, %rdi
	je	.L143
	addq	$1, %r12
	cmpl	%r12d, %edx
	jg	.L121
.L124:
	movslq	vsz(%rip), %rax
	movl	V(%rip), %r12d
	addq	$1, %rbx
	leaq	vs(%rip), %rcx
	addq	$408, %r13
	leal	1(%rax), %edx
	movl	%r15d, (%rcx,%rax,4)
	movl	%edx, vsz(%rip)
	cmpl	%ebx, %r12d
	jg	.L125
.L142:
	movl	vsz(%rip), %eax
	xorl	%esi, %esi
	movslq	%r12d, %rdx
	movl	$102, %ecx
	movq	%rbp, %rdi
	leal	-1(%rax), %ebx
	call	__memset_chk@PLT
	testl	%ebx, %ebx
	js	.L132
	movslq	%ebx, %rbx
	leaq	vs(%rip), %r12
	xorl	%r14d, %r14d
	leaq	(%r12,%rbx,4), %r13
	leaq	r_hi(%rip), %r15
	jmp	.L130
	.p2align 4,,10
	.p2align 3
.L126:
	leaq	-4(%r13), %rdx
	cmpq	%r13, %r12
	je	.L117
.L135:
	movq	%rdx, %r13
.L130:
	movslq	0(%r13), %rdx
	cmpb	$0, 0(%rbp,%rdx)
	jne	.L126
	leal	1(%r14), %eax
	movslq	%r14d, %rcx
	movb	$1, 0(%rbp,%rdx)
	movl	%eax, 28(%rsp)
	leaq	cmp(%rip), %rax
	movl	%r14d, (%rax,%rdx,4)
	leaq	g_hi(%rip), %rax
	movslq	(%rax,%rcx,4), %rdi
	leal	1(%rdi), %r11d
	movl	%r11d, (%rax,%rcx,4)
	imulq	$102, %rcx, %rcx
	movl	(%r15,%rdx,4), %r11d
	leaq	g_to(%rip), %rax
	addq	%rdi, %rcx
	movl	%edx, (%rax,%rcx,4)
	testl	%r11d, %r11d
	jle	.L134
	imulq	$408, %rdx, %rcx
	leaq	r_to(%rip), %rsi
	xorl	%ebx, %ebx
	addq	%rsi, %rcx
.L129:
	movslq	(%rcx,%rbx,4), %rsi
	cmpb	$0, 0(%rbp,%rsi)
	movq	%rsi, %rdi
	je	.L144
	addq	$1, %rbx
	cmpl	%ebx, %r11d
	jg	.L129
.L134:
	movl	28(%rsp), %r14d
.L145:
	leaq	-4(%r13), %rdx
	cmpq	%r13, %r12
	jne	.L135
.L117:
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	movl	%r14d, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L143:
	.cfi_restore_state
	call	dfs
	movl	(%r14,%rbx,4), %edx
	addq	$1, %r12
	cmpl	%r12d, %edx
	jg	.L121
	jmp	.L124
	.p2align 4,,10
	.p2align 3
.L144:
	movl	%r14d, %esi
	movq	%rdx, 16(%rsp)
	addq	$1, %rbx
	movq	%rcx, 8(%rsp)
	call	rdfs
	movq	16(%rsp), %rdx
	movq	8(%rsp), %rcx
	movl	(%r15,%rdx,4), %r11d
	cmpl	%ebx, %r11d
	jg	.L129
	movl	28(%rsp), %r14d
	jmp	.L145
.L141:
	movl	$102, %ecx
	movq	%r15, %rdx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	call	__memset_chk@PLT
	xorl	%r14d, %r14d
	jmp	.L117
.L132:
	xorl	%r14d, %r14d
	jmp	.L117
	.cfi_endproc
.LFE38:
	.size	scc, .-scc
	.p2align 4
	.globl	in
	.type	in, @function
in:
.LFB39:
	.cfi_startproc
	endbr64
	movq	stdin(%rip), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L155
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L148:
	xorl	%r12d, %r12d
	jmp	.L152
	.p2align 4,,10
	.p2align 3
.L149:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L146
.L150:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L152:
	leal	(%r12,%r12,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %r12d
	cmpq	%rcx, %rdx
	jb	.L149
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L146
	movq	stdin(%rip), %rdi
	jmp	.L150
	.p2align 4,,10
	.p2align 3
.L146:
	movl	%r12d, %eax
	popq	%r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L155:
	.cfi_restore_state
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L148
	.cfi_endproc
.LFE39:
	.size	in, .-in
	.p2align 4
	.globl	getdbl
	.type	getdbl, @function
getdbl:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L174
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L158:
	xorl	%ebx, %ebx
	jmp	.L162
	.p2align 4,,10
	.p2align 3
.L159:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L161
.L160:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L162:
	leal	(%rbx,%rbx,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %ebx
	cmpq	%rcx, %rdx
	jb	.L159
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L161
	movq	stdin(%rip), %rdi
	jmp	.L160
	.p2align 4,,10
	.p2align 3
.L161:
	cmpl	$46, %eax
	je	.L175
	pxor	%xmm0, %xmm0
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	cvtsi2sdl	%ebx, %xmm0
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L175:
	.cfi_restore_state
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L176
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L165:
	movsd	.LC0(%rip), %xmm1
	movsd	.LC2(%rip), %xmm3
	pxor	%xmm2, %xmm2
	jmp	.L169
	.p2align 4,,10
	.p2align 3
.L166:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L168
.L167:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L169:
	mulsd	%xmm3, %xmm1
	andl	$15, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	%xmm1, %xmm0
	addsd	%xmm0, %xmm2
	cmpq	%rcx, %rdx
	jb	.L166
	movsd	%xmm2, (%rsp)
	movsd	%xmm1, 8(%rsp)
	call	__uflow@PLT
	movsd	(%rsp), %xmm2
	cmpl	$47, %eax
	jle	.L168
	movq	.LC2(%rip), %rsi
	movq	stdin(%rip), %rdi
	movsd	8(%rsp), %xmm1
	movq	%rsi, %xmm3
	jmp	.L167
	.p2align 4,,10
	.p2align 3
.L168:
	pxor	%xmm0, %xmm0
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	cvtsi2sdl	%ebx, %xmm0
	popq	%rbx
	.cfi_def_cfa_offset 8
	addsd	%xmm2, %xmm0
	ret
	.p2align 4,,10
	.p2align 3
.L174:
	.cfi_restore_state
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L158
.L176:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L165
	.cfi_endproc
.LFE40:
	.size	getdbl, .-getdbl
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC3:
	.string	"%.10lf\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB41:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$24, %rsp
	.cfi_def_cfa_offset 80
.L178:
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L225
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L204:
	xorl	%ebp, %ebp
	jmp	.L208
	.p2align 4,,10
	.p2align 3
.L205:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L207
.L206:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L208:
	leal	0(%rbp,%rbp,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %ebp
	cmpq	%rcx, %rdx
	jb	.L205
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L207
	movq	stdin(%rip), %rdi
	jmp	.L206
.L207:
	testl	%ebp, %ebp
	je	.L226
	leal	0(,%rbp,4), %r12d
	movl	$408, %ecx
	xorl	%esi, %esi
	movl	%ebp, V(%rip)
	movslq	%r12d, %r12
	leaq	hi(%rip), %rdi
	leaq	r_hi(%rip), %r13
	movq	%r12, %rdx
	leaq	hi(%rip), %rbx
	call	__memset_chk@PLT
	movl	$408, %ecx
	movq	%r12, %rdx
	xorl	%esi, %esi
	movq	%r13, %rdi
	call	__memset_chk@PLT
	movl	$408, %ecx
	movq	%r12, %rdx
	xorl	%esi, %esi
	leaq	g_hi(%rip), %rdi
	call	__memset_chk@PLT
	movslq	%ebp, %rax
	movq	$0, (%rsp)
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L186:
	xorl	%eax, %eax
	movq	(%rsp), %r15
	call	getdbl
	movq	stdin(%rip), %rdi
	leaq	p(%rip), %rsi
	movl	%r15d, %r12d
	movsd	%xmm0, (%rsi,%r15,8)
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L227
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L180:
	xorl	%ebp, %ebp
	jmp	.L184
	.p2align 4,,10
	.p2align 3
.L181:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L183
.L182:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L184:
	leal	0(%rbp,%rbp,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %ebp
	cmpq	%rcx, %rdx
	jb	.L181
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L183
	movq	stdin(%rip), %rdi
	jmp	.L182
	.p2align 4,,10
	.p2align 3
.L183:
	leal	-1(%rbp), %r15d
	movslq	%r12d, %rax
	testl	%ebp, %ebp
	je	.L194
	imulq	$102, %rax, %rbp
	.p2align 4,,10
	.p2align 3
.L185:
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rax
	movq	16(%rdi), %rcx
	cmpq	%rcx, %rax
	jnb	.L228
	leaq	1(%rax), %rdx
	movq	%rdx, 8(%rdi)
	movzbl	(%rax), %eax
.L189:
	xorl	%r14d, %r14d
	jmp	.L193
	.p2align 4,,10
	.p2align 3
.L190:
	leaq	1(%rdx), %rax
	movq	%rax, 8(%rdi)
	movzbl	(%rdx), %eax
	cmpl	$47, %eax
	jle	.L192
.L191:
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
.L193:
	leal	(%r14,%r14,4), %esi
	andl	$15, %eax
	leal	(%rax,%rsi,2), %r14d
	cmpq	%rcx, %rdx
	jb	.L190
	call	__uflow@PLT
	cmpl	$47, %eax
	jle	.L192
	movq	stdin(%rip), %rdi
	jmp	.L191
	.p2align 4,,10
	.p2align 3
.L192:
	movslq	(%rbx), %rax
	subl	$1, %r14d
	leaq	to(%rip), %rsi
	leal	1(%rax), %edx
	addq	%rbp, %rax
	movl	%r14d, (%rsi,%rax,4)
	movslq	%r14d, %r14
	movslq	0(%r13,%r14,4), %rax
	movl	%edx, (%rbx)
	leal	1(%rax), %edx
	movl	%edx, 0(%r13,%r14,4)
	imulq	$102, %r14, %r14
	addq	%rax, %r14
	leaq	r_to(%rip), %rax
	movl	%r12d, (%rax,%r14,4)
	subl	$1, %r15d
	jnb	.L185
.L194:
	addq	$1, (%rsp)
	addq	$4, %rbx
	movq	(%rsp), %rax
	cmpq	%rax, 8(%rsp)
	jne	.L186
	xorl	%eax, %eax
	call	scc
	testl	%eax, %eax
	jle	.L210
	leaq	g_hi(%rip), %r12
	leal	-1(%rax), %edx
	movsd	.LC0(%rip), %xmm1
	xorl	%r14d, %r14d
	leaq	4(%r12), %rax
	leaq	r_to(%rip), %rbp
	leaq	(%rax,%rdx,4), %rax
	movapd	%xmm1, %xmm2
	leaq	4(%rbp), %rbx
	leaq	g_to(%rip), %r15
	leaq	cmp(%rip), %rsi
	movq	%rax, %r11
	.p2align 4,,10
	.p2align 3
.L196:
	movl	(%r12), %eax
	pxor	%xmm3, %xmm3
	testl	%eax, %eax
	jle	.L202
	subl	$1, %eax
	movq	%r15, %r9
	movapd	%xmm1, %xmm0
	movl	$1, %edx
	addq	%r14, %rax
	leaq	4+g_to(%rip), %rdi
	leaq	(%rdi,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L199:
	movslq	(%r9), %rcx
	leaq	p(%rip), %rax
	movl	0(%r13,%rcx,4), %edi
	mulsd	(%rax,%rcx,8), %xmm0
	testl	%edi, %edi
	jle	.L197
	imulq	$408, %rcx, %rax
	movl	(%rsi,%rcx,4), %r8d
	subl	$1, %edi
	imulq	$102, %rcx, %rcx
	addq	%rbp, %rax
	addq	%rcx, %rdi
	leaq	(%rbx,%rdi,4), %rdi
	.p2align 4,,10
	.p2align 3
.L198:
	movslq	(%rax), %rcx
	cmpl	%r8d, (%rsi,%rcx,4)
	sete	%cl
	addq	$4, %rax
	movzbl	%cl, %ecx
	andl	%ecx, %edx
	cmpq	%rax, %rdi
	jne	.L198
.L197:
	addq	$4, %r9
	cmpq	%r9, %r10
	jne	.L199
	testl	%edx, %edx
	jne	.L229
.L200:
	addq	$4, %r12
	addq	$408, %r15
	addq	$102, %r14
	cmpq	%r12, %r11
	jne	.L196
.L195:
	movapd	%xmm2, %xmm0
	movl	$1, %edi
	movl	$1, %eax
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	jmp	.L178
	.p2align 4,,10
	.p2align 3
.L228:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L189
.L229:
	movapd	%xmm1, %xmm3
	subsd	%xmm0, %xmm3
.L202:
	mulsd	%xmm3, %xmm2
	jmp	.L200
.L227:
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L180
.L210:
	movsd	.LC0(%rip), %xmm2
	jmp	.L195
.L226:
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L225:
	.cfi_restore_state
	call	__uflow@PLT
	movq	stdin(%rip), %rdi
	movq	8(%rdi), %rdx
	movq	16(%rdi), %rcx
	jmp	.L204
	.cfi_endproc
.LFE41:
	.size	main, .-main
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 816
p:
	.zero	816
	.globl	cmp
	.align 32
	.type	cmp, @object
	.size	cmp, 408
cmp:
	.zero	408
	.globl	used
	.align 32
	.type	used, @object
	.size	used, 102
used:
	.zero	102
	.globl	vsz
	.align 4
	.type	vsz, @object
	.size	vsz, 4
vsz:
	.zero	4
	.globl	vs
	.align 32
	.type	vs, @object
	.size	vs, 408
vs:
	.zero	408
	.globl	g_hi
	.align 32
	.type	g_hi, @object
	.size	g_hi, 408
g_hi:
	.zero	408
	.globl	g_to
	.align 32
	.type	g_to, @object
	.size	g_to, 41616
g_to:
	.zero	41616
	.globl	r_hi
	.align 32
	.type	r_hi, @object
	.size	r_hi, 408
r_hi:
	.zero	408
	.globl	r_to
	.align 32
	.type	r_to, @object
	.size	r_to, 41616
r_to:
	.zero	41616
	.globl	hi
	.align 32
	.type	hi, @object
	.size	hi, 408
hi:
	.zero	408
	.globl	to
	.align 32
	.type	to, @object
	.size	to, 41616
to:
	.zero	41616
	.globl	V
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:

// AOJ 2748 Early Morning Work at Summer Camp
// 2018.4.26 bal4u

#include <stdio.h>
#include <malloc.h>
#include <string.h>

#define MAX_V 102
int  V;    // 頂点数
int  to[MAX_V][MAX_V], hi[MAX_V];
int  r_to[MAX_V][MAX_V], r_hi[MAX_V];
int  g_to[MAX_V][MAX_V], g_hi[MAX_V];
int  vs[MAX_V], vsz;
char used[MAX_V];
int  cmp[MAX_V];    // 属する強連結成分のトポロジカル順序

void add_edge(int _from, int _to)
{
	to[_from][hi[_from]++] = _to;
	r_to[_to][r_hi[_to]++] = _from;
}

void dfs(int v)
{
	int i;
	used[v] = 1;
	for (i = 0; i < hi[v]; i++) {
		if (!used[to[v][i]]) dfs(to[v][i]);
	}
	vs[vsz++] = v;
}

void rdfs(int v, int k)
{
	int i;
	used[v] = 1;
	cmp[v] = k;
	g_to[k][g_hi[k]++] = v;
	for (i = 0; i < r_hi[v]; i++) {
		if (!used[r_to[v][i]]) rdfs(r_to[v][i], k);
	}
}

// 強連結成分への分解
int scc()
{
	int v, i, k;
	memset(used, 0, V);
	vsz = 0;
	for (v = 0; v < V; v++) if (!used[v]) dfs(v);
	memset(used, 0, V);
	k = 0;
	for (i = vsz-1; i >= 0; i--) {
		if (!used[vs[i]]) rdfs(vs[i], k++);
	}
	return k;       // 得られた強連結成分の数
}

// バッファを経ずstdinから数値を得る
//#define getchar_unlocked()  getchar()
int in()
{
	int n = 0, c = getchar_unlocked();
	do n = 10*n + (c & 0xf), c = getchar_unlocked(); while (c >= '0');
	return n;
}

// 実数対応
double getdbl()
{
	double x, y;
	int n = 0, c = getchar_unlocked();
	do n = 10*n + (c & 0xf), c = getchar_unlocked(); while (c >= '0');
	if (c == '.') {
		x = 0;
		y = 1, c = getchar_unlocked();
		do y *= 0.1, x += y * (c & 0xf), c = getchar_unlocked(); while (c >= '0');
		x += n;
	} else x = n;
	return x;
}

double p[102];

int main()
{
	int N, m, i, j, k, f, v;
	double a, ans;

	while (N = in()) {
		V = N;
		memset(hi, 0, V<<2), memset(r_hi, 0, V<<2);
		memset(g_hi, 0, V<<2);
		for (i = 0; i < N; i++) {
			p[i] = getdbl();
			m = in();
			while (m--) add_edge(i, in()-1);
		}

		k = scc();
		ans = 1;
		for (i = 0; i < k; i++) {
			f = 1, a = 1;
			for (j = 0; j < g_hi[i]; j++) {
				a *= p[g_to[i][j]];
				for (v = 0; v < r_hi[g_to[i][j]]; v++) {
					f &= (cmp[g_to[i][j]] == cmp[r_to[g_to[i][j]][v]]);
				}
			}
			if (f) ans *= 1.0-a;
		}
		printf("%.10lf\n", ans);
	}
	return 0;
}

2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
0.30 0
0.40 0
0.50 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
0.30 0
0.40 0
0.6358811514072436 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
1.278396585912571 0
0.40 0
0.6358811514072436 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
1.5479161594780728 0
0.40 0
0.6358811514072436 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.5337845409531047 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
1.5479161594780728 0
0.40 0
0.6358811514072436 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.30 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
0.30 0
0.4925885981639069 0
0.50 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.9592397375909304 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
0.30 0
0.40 0
0.50 0
0
 2
0.60 1 2
0.60 0
0
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
0.30 0
0.40 0
0.6358811514072436 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 2
5
0.10 1 2
0.20 1 3
0.30 1 4
0.40 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.10 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
1.5479161594780728 0
0.40 0
0.6358811514072436 0
0
 2
0.60 1 2
0.60 0
2
0.60 1 2
0.60 1 1
5
0.10 1 2
0.20 1 3
0.30 1 4
1.2307241008495593 1 5
0.50 1 1
5
0.10 0
0.20 1 1
0.8904968944594156 1 1
0.40 1 1
0.50 1 1
5
0.5337845409531047 4 2 3 4 5
0.20 0
0.30 0
0.40 0
0.50 0
4
0.10 1 2
0.20 0
0.30 1 4
0.40 1 3
5
0.10 0
0.20 0
1.5479161594780728 0
0.40 0
0.6358811514072436 0
0

0.4000000000
0.6400000000
0.9988000000
0.0262807453
0.9000000000
0.7920000000
0.1512000000
 0.4000000000
0.6400000000
0.9988000000
0.0262807453
0.9000000000
0.7920000000
0.1101095398
 0.4000000000
0.6400000000
0.9988000000
0.0262807453
0.9000000000
0.7920000000
-0.0437915999
 0.4000000000
0.6400000000
0.9988000000
0.0262807453
0.9000000000
0.7920000000
-0.0861868517
 0.4000000000
0.6400000000
0.9988000000
0.0262807453
0.4662154590
0.7920000000
-0.0861868517
 0.4000000000
0.6400000000
0.9988000000
0.1680000000
0.9000000000
0.7920000000
0.1278676733
 0.4000000000
0.6400000000
0.9988000000
0.0262807453
0.0407602624
0.7920000000
0.1512000000
 0.4000000000
 0.4000000000
0.4000000000
0.9988000000
0.0262807453
0.9000000000
0.7920000000
-0.0861868517
 0.4000000000
0.6400000000
0.9963078277
0.0262807453
0.4662154590
0.7920000000
-0.0861868517

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
// AOJ 2748 Early Morning Work at Summer Camp
// 2018.4.26 bal4u

#include <stdio.h>
#include <malloc.h>
#include <string.h>

#define MAX_V 102
int  V;    // 頂点数
int  to[MAX_V][MAX_V], hi[MAX_V];
int  r_to[MAX_V][MAX_V], r_hi[MAX_V];
int  g_to[MAX_V][MAX_V], g_hi[MAX_V];
int  vs[MAX_V], vsz;
char used[MAX_V];
int  cmp[MAX_V];    // 属する強連結成分のトポロジカル順序

void add_edge(int _from, int _to)
{
	to[_from][hi[_from]++] = _to;
	r_to[_to][r_hi[_to]++] = _from;
}

void dfs(int v)
{
	int i;
	used[v] = 1;
	for (i = 0; i < hi[v]; i++) {
		if (!used[to[v][i]]) dfs(to[v][i]);
	}
	vs[vsz++] = v;
}

void rdfs(int v, int k)
{
	int i;
	used[v] = 1;
	cmp[v] = k;
	g_to[k][g_hi[k]++] = v;
	for (i = 0; i < r_hi[v]; i++) {
		if (!used[r_to[v][i]]) rdfs(r_to[v][i], k);
	}
}

// 強連結成分への分解
int scc()
{
	int v, i, k;
	memset(used, 0, V);
	vsz = 0;
	for (v = 0; v < V; v++) if (!used[v]) dfs(v);
	memset(used, 0, V);
	k = 0;
	for (i = vsz-1; i >= 0; i--) {
		if (!used[vs[i]]) rdfs(vs[i], k++);
	}
	return k;       // 得られた強連結成分の数
}

// バッファを経ずstdinから数値を得る
//#define getchar_unlocked()  getchar()
int in()
{
	int n = 0, c = getchar_unlocked();
	do n = 10*n + (c & 0xf), c = getchar_unlocked(); while (c >= '0');
	return n;
}

// 実数対応
double getdbl()
{
	double x, y;
	int n = 0, c = getchar_unlocked();
	do n = 10*n + (c & 0xf), c = getchar_unlocked(); while (c >= '0');
	if (c == '.') {
		x = 0;
		y = 1, c = getchar_unlocked();
		do y *= 0.1, x += y * (c & 0xf), c = getchar_unlocked(); while (c >= '0');
		x += n;
	} else x = n;
	return x;
}

double p[102];

int main()
{
	int N, m, i, j, k, f, v;
	double a, ans;

	while (N = in()) {
		V = N;
		memset(hi, 0, V<<2), memset(r_hi, 0, V<<2);
		memset(g_hi, 0, V<<2);
		for (i = 0; i < N; i++) {
			p[i] = getdbl();
			m = in();
			while (m--) add_edge(i, in()-1);
		}

		k = scc();
		ans = 1;
		for (i = 0; i < k; i++) {
			f = 1, a = 1;
			for (j = 0; j < g_hi[i]; j++) {
				a *= p[g_to[i][j]];
				for (v = 0; v < r_hi[g_to[i][j]]; v++) {
					f &= (cmp[g_to[i][j]] == cmp[r_to[g_to[i][j]][v]]);
				}
			}
			if (f) ans *= 1.0-a;
		}
		printf("%.10lf\n", ans);
	}
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	V
	.bss
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.globl	to
	.align 32
	.type	to, @object
	.size	to, 41616
to:
	.zero	41616
	.globl	hi
	.align 32
	.type	hi, @object
	.size	hi, 408
hi:
	.zero	408
	.globl	r_to
	.align 32
	.type	r_to, @object
	.size	r_to, 41616
r_to:
	.zero	41616
	.globl	r_hi
	.align 32
	.type	r_hi, @object
	.size	r_hi, 408
r_hi:
	.zero	408
	.globl	g_to
	.align 32
	.type	g_to, @object
	.size	g_to, 41616
g_to:
	.zero	41616
	.globl	g_hi
	.align 32
	.type	g_hi, @object
	.size	g_hi, 408
g_hi:
	.zero	408
	.globl	vs
	.align 32
	.type	vs, @object
	.size	vs, 408
vs:
	.zero	408
	.globl	vsz
	.align 4
	.type	vsz, @object
	.size	vsz, 4
vsz:
	.zero	4
	.globl	used
	.align 32
	.type	used, @object
	.size	used, 102
used:
	.zero	102
	.globl	cmp
	.align 32
	.type	cmp, @object
	.size	cmp, 408
cmp:
	.zero	408
	.text
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-4(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	to(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-8(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	r_hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-8(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	r_to(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	add_edge, .-add_edge
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movb	$1, (%rax,%rdx)
	movl	$0, -4(%rbp)
	jmp	.L3
.L5:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L4
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	to(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %edi
	call	dfs
.L4:
	addl	$1, -4(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L5
	movl	vsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	vs(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	dfs, .-dfs
	.globl	rdfs
	.type	rdfs, @function
rdfs:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movb	$1, (%rax,%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	cmp(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	g_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	g_hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-24(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	g_to(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	$0, -4(%rbp)
	jmp	.L7
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	r_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L8
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	r_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movl	%edx, %esi
	movl	%eax, %edi
	call	rdfs
.L8:
	addl	$1, -4(%rbp)
.L7:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	rdfs, .-rdfs
	.globl	scc
	.type	scc, @function
scc:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	V(%rip), %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	used(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, vsz(%rip)
	movl	$0, -12(%rbp)
	jmp	.L11
.L13:
	movl	-12(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L12
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	dfs
.L12:
	addl	$1, -12(%rbp)
.L11:
	movl	V(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L13
	movl	V(%rip), %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	used(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -4(%rbp)
	movl	vsz(%rip), %eax
	subl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L14
.L16:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	vs(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L15
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	vs(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movl	%eax, %esi
	movl	%edx, %edi
	call	rdfs
.L15:
	subl	$1, -8(%rbp)
.L14:
	cmpl	$0, -8(%rbp)
	jns	.L16
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	scc, .-scc
	.globl	in
	.type	in, @function
in:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
.L19:
	movl	-8(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L19
	movl	-8(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	in, .-in
	.globl	getdbl
	.type	getdbl, @function
getdbl:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	$0, -24(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
.L22:
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-20(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -24(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
	cmpl	$47, -20(%rbp)
	jg	.L22
	cmpl	$46, -20(%rbp)
	jne	.L23
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
.L24:
	movsd	-8(%rbp), %xmm1
	movsd	.LC2(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movl	-20(%rbp), %eax
	andl	$15, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	-8(%rbp), %xmm0
	movsd	-16(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
	cmpl	$47, -20(%rbp)
	jg	.L24
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	movsd	-16(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	jmp	.L25
.L23:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	movsd	%xmm0, -16(%rbp)
.L25:
	movsd	-16(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	getdbl, .-getdbl
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 816
p:
	.zero	816
	.section	.rodata
.LC3:
	.string	"%.10lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	jmp	.L28
.L40:
	movl	-24(%rbp), %eax
	movl	%eax, V(%rip)
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	r_hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	g_hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -40(%rbp)
	jmp	.L29
.L32:
	movl	$0, %eax
	call	getdbl
	movq	%xmm0, %rax
	movl	-40(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	p(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	movl	$0, %eax
	call	in
	movl	%eax, -44(%rbp)
	jmp	.L30
.L31:
	movl	$0, %eax
	call	in
	leal	-1(%rax), %edx
	movl	-40(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	add_edge
.L30:
	movl	-44(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -44(%rbp)
	testl	%eax, %eax
	jne	.L31
	addl	$1, -40(%rbp)
.L29:
	movl	-40(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L32
	movl	$0, %eax
	call	scc
	movl	%eax, -20(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -8(%rbp)
	movl	$0, -40(%rbp)
	jmp	.L33
.L39:
	movl	$1, -32(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -16(%rbp)
	movl	$0, -36(%rbp)
	jmp	.L34
.L37:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movsd	-16(%rbp), %xmm1
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L35
.L36:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	cmp(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-36(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	g_to(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-28(%rbp), %ecx
	movslq	%ecx, %rcx
	cltq
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	r_to(%rip), %rax
	movl	(%rcx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	cmp(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	sete	%al
	movzbl	%al, %eax
	andl	%eax, -32(%rbp)
	addl	$1, -28(%rbp)
.L35:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L36
	addl	$1, -36(%rbp)
.L34:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	g_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -36(%rbp)
	jl	.L37
	cmpl	$0, -32(%rbp)
	je	.L38
	movsd	.LC1(%rip), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-8(%rbp), %xmm1
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
.L38:
	addl	$1, -40(%rbp)
.L33:
	movl	-40(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jl	.L39
	movq	-8(%rbp), %rax
	movq	%rax, %xmm0
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
.L28:
	movl	$0, %eax
	call	in
	movl	%eax, -24(%rbp)
	cmpl	$0, -24(%rbp)
	jne	.L40
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.globl	V
	.bss
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.globl	to
	.align 32
	.type	to, @object
	.size	to, 41616
to:
	.zero	41616
	.globl	hi
	.align 32
	.type	hi, @object
	.size	hi, 408
hi:
	.zero	408
	.globl	r_to
	.align 32
	.type	r_to, @object
	.size	r_to, 41616
r_to:
	.zero	41616
	.globl	r_hi
	.align 32
	.type	r_hi, @object
	.size	r_hi, 408
r_hi:
	.zero	408
	.globl	g_to
	.align 32
	.type	g_to, @object
	.size	g_to, 41616
g_to:
	.zero	41616
	.globl	g_hi
	.align 32
	.type	g_hi, @object
	.size	g_hi, 408
g_hi:
	.zero	408
	.globl	vs
	.align 32
	.type	vs, @object
	.size	vs, 408
vs:
	.zero	408
	.globl	vsz
	.align 4
	.type	vsz, @object
	.size	vsz, 4
vsz:
	.zero	4
	.globl	used
	.align 32
	.type	used, @object
	.size	used, 102
used:
	.zero	102
	.globl	cmp
	.align 32
	.type	cmp, @object
	.size	cmp, 408
cmp:
	.zero	408
	.text
	.globl	add_edge
	.type	add_edge, @function
add_edge:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -4(%rbp)
	movl	%esi, -8(%rbp)
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-4(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	to(%rip), %rdx
	movl	-8(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-8(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	r_hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-8(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	r_to(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	add_edge, .-add_edge
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movb	$1, (%rax,%rdx)
	movl	$0, -4(%rbp)
	jmp	.L3
.L5:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L4
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	to(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %edi
	call	dfs
.L4:
	addl	$1, -4(%rbp)
.L3:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L5
	movl	vsz(%rip), %eax
	leal	1(%rax), %edx
	movl	%edx, vsz(%rip)
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	vs(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	dfs, .-dfs
	.globl	rdfs
	.type	rdfs, @function
rdfs:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	movl	-20(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movb	$1, (%rax,%rdx)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	cmp(%rip), %rdx
	movl	-24(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	g_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %edx
	movl	-24(%rbp), %ecx
	movslq	%ecx, %rcx
	leaq	0(,%rcx,4), %rsi
	leaq	g_hi(%rip), %rcx
	movl	%edx, (%rsi,%rcx)
	movslq	%eax, %rdx
	movl	-24(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	g_to(%rip), %rdx
	movl	-20(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	$0, -4(%rbp)
	jmp	.L7
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	r_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L8
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movl	-20(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	r_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	-24(%rbp), %edx
	movl	%edx, %esi
	movl	%eax, %edi
	call	rdfs
.L8:
	addl	$1, -4(%rbp)
.L7:
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -4(%rbp)
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	rdfs, .-rdfs
	.globl	scc
	.type	scc, @function
scc:
.LFB3:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	V(%rip), %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	used(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, vsz(%rip)
	movl	$0, -12(%rbp)
	jmp	.L11
.L13:
	movl	-12(%rbp), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L12
	movl	-12(%rbp), %eax
	movl	%eax, %edi
	call	dfs
.L12:
	addl	$1, -12(%rbp)
.L11:
	movl	V(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L13
	movl	V(%rip), %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	used(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -4(%rbp)
	movl	vsz(%rip), %eax
	subl	$1, %eax
	movl	%eax, -8(%rbp)
	jmp	.L14
.L16:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	vs(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	used(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L15
	movl	-4(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -4(%rbp)
	movl	-8(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	vs(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	movl	%eax, %esi
	movl	%edx, %edi
	call	rdfs
.L15:
	subl	$1, -8(%rbp)
.L14:
	cmpl	$0, -8(%rbp)
	jns	.L16
	movl	-4(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	scc, .-scc
	.globl	in
	.type	in, @function
in:
.LFB4:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16, %rsp
	movl	$0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
.L19:
	movl	-8(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-4(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -4(%rbp)
	cmpl	$47, -4(%rbp)
	jg	.L19
	movl	-8(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	in, .-in
	.globl	getdbl
	.type	getdbl, @function
getdbl:
.LFB5:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movl	$0, -24(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
.L22:
	movl	-24(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %edx
	movl	-20(%rbp), %eax
	andl	$15, %eax
	addl	%edx, %eax
	movl	%eax, -24(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
	cmpl	$47, -20(%rbp)
	jg	.L22
	cmpl	$46, -20(%rbp)
	jne	.L23
	pxor	%xmm0, %xmm0
	movsd	%xmm0, -16(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -8(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
.L24:
	movsd	-8(%rbp), %xmm1
	movsd	.LC2(%rip), %xmm0
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
	movl	-20(%rbp), %eax
	andl	$15, %eax
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%eax, %xmm0
	mulsd	-8(%rbp), %xmm0
	movsd	-16(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	call	getchar_unlocked@PLT
	movl	%eax, -20(%rbp)
	cmpl	$47, -20(%rbp)
	jg	.L24
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	movsd	-16(%rbp), %xmm1
	addsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	jmp	.L25
.L23:
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-24(%rbp), %xmm0
	movsd	%xmm0, -16(%rbp)
.L25:
	movsd	-16(%rbp), %xmm0
	movq	%xmm0, %rax
	movq	%rax, %xmm0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	getdbl, .-getdbl
	.globl	p
	.bss
	.align 32
	.type	p, @object
	.size	p, 816
p:
	.zero	816
	.section	.rodata
.LC3:
	.string	"%.10lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	jmp	.L28
.L40:
	movl	-24(%rbp), %eax
	movl	%eax, V(%rip)
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	r_hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	V(%rip), %eax
	sall	$2, %eax
	cltq
	movq	%rax, %rdx
	movl	$0, %esi
	leaq	g_hi(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -40(%rbp)
	jmp	.L29
.L32:
	movl	$0, %eax
	call	getdbl
	movq	%xmm0, %rax
	movl	-40(%rbp), %edx
	movslq	%edx, %rdx
	leaq	0(,%rdx,8), %rcx
	leaq	p(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	movl	$0, %eax
	call	in
	movl	%eax, -44(%rbp)
	jmp	.L30
.L31:
	movl	$0, %eax
	call	in
	leal	-1(%rax), %edx
	movl	-40(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	add_edge
.L30:
	movl	-44(%rbp), %eax
	leal	-1(%rax), %edx
	movl	%edx, -44(%rbp)
	testl	%eax, %eax
	jne	.L31
	addl	$1, -40(%rbp)
.L29:
	movl	-40(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L32
	movl	$0, %eax
	call	scc
	movl	%eax, -20(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -8(%rbp)
	movl	$0, -40(%rbp)
	jmp	.L33
.L39:
	movl	$1, -32(%rbp)
	movsd	.LC1(%rip), %xmm0
	movsd	%xmm0, -16(%rbp)
	movl	$0, -36(%rbp)
	jmp	.L34
.L37:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,8), %rdx
	leaq	p(%rip), %rax
	movsd	(%rdx,%rax), %xmm0
	movsd	-16(%rbp), %xmm1
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -16(%rbp)
	movl	$0, -28(%rbp)
	jmp	.L35
.L36:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	cmp(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	-36(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	g_to(%rip), %rax
	movl	(%rcx,%rax), %eax
	movl	-28(%rbp), %ecx
	movslq	%ecx, %rcx
	cltq
	imulq	$102, %rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	leaq	r_to(%rip), %rax
	movl	(%rcx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	cmp(%rip), %rax
	movl	(%rcx,%rax), %eax
	cmpl	%eax, %edx
	sete	%al
	movzbl	%al, %eax
	andl	%eax, -32(%rbp)
	addl	$1, -28(%rbp)
.L35:
	movl	-36(%rbp), %eax
	movslq	%eax, %rdx
	movl	-40(%rbp), %eax
	cltq
	imulq	$102, %rax, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	g_to(%rip), %rax
	movl	(%rdx,%rax), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	r_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -28(%rbp)
	jl	.L36
	addl	$1, -36(%rbp)
.L34:
	movl	-40(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	g_hi(%rip), %rax
	movl	(%rdx,%rax), %eax
	cmpl	%eax, -36(%rbp)
	jl	.L37
	cmpl	$0, -32(%rbp)
	je	.L38
	movsd	.LC1(%rip), %xmm0
	subsd	-16(%rbp), %xmm0
	movsd	-8(%rbp), %xmm1
	mulsd	%xmm1, %xmm0
	movsd	%xmm0, -8(%rbp)
.L38:
	addl	$1, -40(%rbp)
.L33:
	movl	-40(%rbp), %eax
	cmpl	-20(%rbp), %eax
	jl	.L39
	movq	-8(%rbp), %rax
	movq	%rax, %xmm0
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$1, %eax
	call	printf@PLT
.L28:
	movl	$0, %eax
	call	in
	movl	%eax, -24(%rbp)
	cmpl	$0, -24(%rbp)
	jne	.L40
	movl	$0, %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	-1717986918
	.long	1069128089
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.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:
