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

```c
#include<stdio.h>
#include<stdlib.h>

struct node {
  int id;
  struct node *next;
};
struct node **list;
int *seq, *art, counter;

void Insert(int, int);
int Biconnected(int);
int main(void)
{
  int i, v, e, s, t;
  scanf("%d %d", &v, &e);
  list = (struct node**)malloc(sizeof(struct node*) * v);
  art = (int*)calloc(v, sizeof(int));
  seq = (int*)calloc(v, sizeof(int));
  for (i = 0; i < v; i++) {
    list[i] = NULL;
  }
  for (i = 0; i < e; i++) {
    scanf("%d %d", &s, &t);
    Insert(s,t);
  }
  Biconnected(0);
  for (i = 0; i < v; i++) {
    if (art[i]) printf("%d\n", i);
    free(list[i]);
  }
  free(list);
  free(seq);
  free(art);
}
void Insert(int a, int b)
{
  struct node *p = (struct node*)malloc(sizeof(struct node));
  p->id = b;
  p->next = list[a];
  list[a] = p;
  p = (struct node*)malloc(sizeof(struct node));
  p->id = a;
  p->next = list[b];
  list[b] = p;
}
int Biconnected(int point)
{
  int min;
  struct node *n;
  counter++;
  seq[point] = counter;
  min = counter;
  for(n = list[point]; n != NULL; n = n->next) {
    if (!seq[n->id]) {
      int m;
      m = Biconnected(n->id);
      if (m < min) min = m;
      if (seq[point] == 1) {
        if (seq[n->id] != 2) {
          art[point] = 1;
        }
      }else {
        if (m >= seq[point]) {
          art[point] = 1;
        }
      }
    } else if (seq[n->id] < min) {
      min = seq[n->id];
    }
  }
  return min;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	list
	.bss
	.align 8
	.type	list, @object
	.size	list, 8
list:
	.zero	8
	.globl	seq
	.align 8
	.type	seq, @object
	.size	seq, 8
seq:
	.zero	8
	.globl	art
	.align 8
	.type	art, @object
	.size	art, 8
art:
	.zero	8
	.globl	counter
	.align 4
	.type	counter, @object
	.size	counter, 4
counter:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, list(%rip)
	movl	-28(%rbp), %eax
	cltq
	movl	$4, %esi
	movq	%rax, %rdi
	call	calloc@PLT
	movq	%rax, art(%rip)
	movl	-28(%rbp), %eax
	cltq
	movl	$4, %esi
	movq	%rax, %rdi
	call	calloc@PLT
	movq	%rax, seq(%rip)
	movl	$0, -12(%rbp)
	jmp	.L2
.L3:
	movq	list(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addl	$1, -12(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L3
	movl	$0, -12(%rbp)
	jmp	.L4
.L5:
	leaq	-16(%rbp), %rdx
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Insert
	addl	$1, -12(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	$0, %edi
	call	Biconnected
	movl	$0, -12(%rbp)
	jmp	.L6
.L8:
	movq	art(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L7
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movq	list(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	free@PLT
	addl	$1, -12(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L8
	movq	list(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movq	seq(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movq	art(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Insert
	.type	Insert, @function
Insert:
.LFB7:
	.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	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-24(%rbp), %edx
	movl	%edx, (%rax)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rax, %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rdx)
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, (%rax)
	movq	list(%rip), %rdx
	movl	-24(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	list(%rip), %rdx
	movl	-24(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rax, %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rdx)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Insert, .-Insert
	.globl	Biconnected
	.type	Biconnected, @function
Biconnected:
.LFB8:
	.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	counter(%rip), %eax
	addl	$1, %eax
	movl	%eax, counter(%rip)
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	counter(%rip), %eax
	movl	%eax, (%rdx)
	movl	counter(%rip), %eax
	movl	%eax, -16(%rbp)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	jmp	.L13
.L18:
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	.L14
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	call	Biconnected
	movl	%eax, -12(%rbp)
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jge	.L15
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L15:
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	jne	.L16
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	je	.L17
	movq	art(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	$1, (%rax)
	jmp	.L17
.L16:
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L17
	movq	art(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	$1, (%rax)
	jmp	.L17
.L14:
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L17
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
.L17:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
.L13:
	cmpq	$0, -8(%rbp)
	jne	.L18
	movl	-16(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Biconnected, .-Biconnected
	.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	Insert
	.type	Insert, @function
Insert:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movl	%edi, %ebp
	movl	$16, %edi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movslq	%esi, %rbx
	call	malloc@PLT
	movq	list(%rip), %r12
	movslq	%ebp, %rdx
	movl	$16, %edi
	movl	%ebx, (%rax)
	leaq	(%r12,%rdx,8), %rdx
	movq	(%rdx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%rdx)
	call	malloc@PLT
	leaq	(%r12,%rbx,8), %rdx
	movq	(%rdx), %rcx
	movl	%ebp, (%rax)
	movq	%rcx, 8(%rax)
	movq	%rax, (%rdx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.size	Insert, .-Insert
	.p2align 4
	.globl	Biconnected
	.type	Biconnected, @function
Biconnected:
.LFB41:
	.cfi_startproc
	endbr64
	movl	counter(%rip), %eax
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movslq	%edi, %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	0(,%rdi,4), %r14
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leal	1(%rax), %r12d
	movq	list(%rip), %rax
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	seq(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	(%rax,%rdi,8), %rbx
	leaq	0(%rbp,%r14), %r13
	movl	%r12d, counter(%rip)
	movl	%r12d, 0(%r13)
	testq	%rbx, %rbx
	je	.L4
.L9:
	movslq	(%rbx), %rax
	movq	%rax, %rdi
	movl	0(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L16
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
.L8:
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	.L9
.L4:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r12d, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	call	Biconnected
	movl	0(%r13), %edx
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	cmpl	$1, %edx
	je	.L17
	cmpl	%eax, %edx
	jg	.L8
	movq	art(%rip), %rax
	movl	$1, (%rax,%r14)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	movslq	(%rbx), %rax
	cmpl	$2, 0(%rbp,%rax,4)
	je	.L8
	movq	art(%rip), %rax
	movl	$1, (%rax,%r14)
	jmp	.L8
	.cfi_endproc
.LFE41:
	.size	Biconnected, .-Biconnected
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	24(%rsp), %r13
	leaq	0(,%r13,8), %r14
	movq	%r14, %rdi
	call	malloc@PLT
	movl	$4, %esi
	movq	%r13, %rdi
	movq	%rax, list(%rip)
	movq	%rax, %rbp
	call	calloc@PLT
	movl	$4, %esi
	movq	%r13, %rdi
	movq	%rax, art(%rip)
	call	calloc@PLT
	movq	%rax, seq(%rip)
	testl	%r13d, %r13d
	jle	.L19
	movq	%r14, %rdx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	call	memset@PLT
.L19:
	movl	28(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L20
	leaq	32(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	36(%rsp), %r14
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movq	8(%rsp), %rsi
	movq	%r14, %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	32(%rsp), %ebp
	movl	$16, %edi
	movslq	36(%rsp), %rbx
	call	malloc@PLT
	movq	list(%rip), %r13
	movl	$16, %edi
	movslq	%ebp, %rcx
	movl	%ebx, (%rax)
	leaq	0(%r13,%rcx,8), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, 8(%rax)
	movq	%rax, (%rcx)
	call	malloc@PLT
	leaq	0(%r13,%rbx,8), %rdx
	movq	(%rdx), %rcx
	movl	%ebp, (%rax)
	movq	%rcx, 8(%rax)
	movq	%rax, (%rdx)
	cmpl	%r15d, 28(%rsp)
	jg	.L21
.L20:
	xorl	%edi, %edi
	call	Biconnected
	movl	24(%rsp), %edx
	testl	%edx, %edx
	jle	.L22
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L23:
	movq	list(%rip), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$1, %rbx
	call	free@PLT
	cmpl	%ebx, 24(%rsp)
	jle	.L22
.L25:
	movq	art(%rip), %rax
	movl	%ebx, %edx
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	je	.L23
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L22:
	movq	list(%rip), %rdi
	call	free@PLT
	movq	seq(%rip), %rdi
	call	free@PLT
	movq	art(%rip), %rdi
	call	free@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$56, %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
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	counter
	.bss
	.align 4
	.type	counter, @object
	.size	counter, 4
counter:
	.zero	4
	.globl	art
	.align 8
	.type	art, @object
	.size	art, 8
art:
	.zero	8
	.globl	seq
	.align 8
	.type	seq, @object
	.size	seq, 8
seq:
	.zero	8
	.globl	list
	.align 8
	.type	list, @object
	.size	list, 8
list:
	.zero	8
	.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	Insert
	.type	Insert, @function
Insert:
.LFB40:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movl	%edi, %ebp
	movl	$16, %edi
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movslq	%esi, %rbx
	call	malloc@PLT
	movq	list(%rip), %r12
	movslq	%ebp, %rdx
	movl	$16, %edi
	movl	%ebx, (%rax)
	leaq	(%r12,%rdx,8), %rdx
	movq	(%rdx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, (%rdx)
	call	malloc@PLT
	leaq	(%r12,%rbx,8), %rdx
	movq	(%rdx), %rcx
	movl	%ebp, (%rax)
	movq	%rcx, 8(%rax)
	movq	%rax, (%rdx)
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE40:
	.size	Insert, .-Insert
	.p2align 4
	.globl	Biconnected
	.type	Biconnected, @function
Biconnected:
.LFB41:
	.cfi_startproc
	endbr64
	movl	counter(%rip), %eax
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movslq	%edi, %rdi
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	0(,%rdi,4), %r14
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leal	1(%rax), %r12d
	movq	list(%rip), %rax
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	seq(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movq	(%rax,%rdi,8), %rbx
	leaq	0(%rbp,%r14), %r13
	movl	%r12d, counter(%rip)
	movl	%r12d, 0(%r13)
	testq	%rbx, %rbx
	je	.L4
.L9:
	movslq	(%rbx), %rax
	movq	%rax, %rdi
	movl	0(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L16
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
.L8:
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	.L9
.L4:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	movl	%r12d, %eax
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	call	Biconnected
	movl	0(%r13), %edx
	cmpl	%eax, %r12d
	cmovg	%eax, %r12d
	cmpl	$1, %edx
	je	.L17
	cmpl	%eax, %edx
	jg	.L8
	movq	art(%rip), %rax
	movl	$1, (%rax,%r14)
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L17:
	movslq	(%rbx), %rax
	cmpl	$2, 0(%rbp,%rax,4)
	je	.L8
	movq	art(%rip), %rax
	movl	$1, (%rax,%r14)
	jmp	.L8
	.cfi_endproc
.LFE41:
	.size	Biconnected, .-Biconnected
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.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
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movslq	24(%rsp), %r13
	leaq	0(,%r13,8), %r14
	movq	%r14, %rdi
	call	malloc@PLT
	movl	$4, %esi
	movq	%r13, %rdi
	movq	%rax, list(%rip)
	movq	%rax, %rbp
	call	calloc@PLT
	movl	$4, %esi
	movq	%r13, %rdi
	movq	%rax, art(%rip)
	call	calloc@PLT
	movq	%rax, seq(%rip)
	testl	%r13d, %r13d
	jle	.L19
	movq	%r14, %rdx
	xorl	%esi, %esi
	movq	%rbp, %rdi
	call	memset@PLT
.L19:
	movl	28(%rsp), %ecx
	testl	%ecx, %ecx
	jle	.L20
	leaq	32(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	36(%rsp), %r14
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movq	8(%rsp), %rsi
	movq	%r14, %rdx
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	32(%rsp), %ebp
	movl	$16, %edi
	movslq	36(%rsp), %rbx
	call	malloc@PLT
	movq	list(%rip), %r13
	movl	$16, %edi
	movslq	%ebp, %rcx
	movl	%ebx, (%rax)
	leaq	0(%r13,%rcx,8), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, 8(%rax)
	movq	%rax, (%rcx)
	call	malloc@PLT
	leaq	0(%r13,%rbx,8), %rdx
	movq	(%rdx), %rcx
	movl	%ebp, (%rax)
	movq	%rcx, 8(%rax)
	movq	%rax, (%rdx)
	cmpl	%r15d, 28(%rsp)
	jg	.L21
.L20:
	xorl	%edi, %edi
	call	Biconnected
	movl	24(%rsp), %edx
	testl	%edx, %edx
	jle	.L22
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L23:
	movq	list(%rip), %rax
	movq	(%rax,%rbx,8), %rdi
	addq	$1, %rbx
	call	free@PLT
	cmpl	%ebx, 24(%rsp)
	jle	.L22
.L25:
	movq	art(%rip), %rax
	movl	%ebx, %edx
	movl	(%rax,%rbx,4), %eax
	testl	%eax, %eax
	je	.L23
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L22:
	movq	list(%rip), %rdi
	call	free@PLT
	movq	seq(%rip), %rdi
	call	free@PLT
	movq	art(%rip), %rdi
	call	free@PLT
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$56, %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
.L29:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.size	main, .-main
	.globl	counter
	.bss
	.align 4
	.type	counter, @object
	.size	counter, 4
counter:
	.zero	4
	.globl	art
	.align 8
	.type	art, @object
	.size	art, 8
art:
	.zero	8
	.globl	seq
	.align 8
	.type	seq, @object
	.size	seq, 8
seq:
	.zero	8
	.globl	list
	.align 8
	.type	list, @object
	.size	list, 8
list:
	.zero	8
	.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:

#include<stdio.h>
#include<stdlib.h>

struct node {
  int id;
  struct node *next;
};
struct node **list;
int *seq, *art, counter;

void Insert(int, int);
int Biconnected(int);
int main(void)
{
  int i, v, e, s, t;
  scanf("%d %d", &v, &e);
  list = (struct node**)malloc(sizeof(struct node*) * v);
  art = (int*)calloc(v, sizeof(int));
  seq = (int*)calloc(v, sizeof(int));
  for (i = 0; i < v; i++) {
    list[i] = NULL;
  }
  for (i = 0; i < e; i++) {
    scanf("%d %d", &s, &t);
    Insert(s,t);
  }
  Biconnected(0);
  for (i = 0; i < v; i++) {
    if (art[i]) printf("%d\n", i);
    free(list[i]);
  }
  free(list);
  free(seq);
  free(art);
}
void Insert(int a, int b)
{
  struct node *p = (struct node*)malloc(sizeof(struct node));
  p->id = b;
  p->next = list[a];
  list[a] = p;
  p = (struct node*)malloc(sizeof(struct node));
  p->id = a;
  p->next = list[b];
  list[b] = p;
}
int Biconnected(int point)
{
  int min;
  struct node *n;
  counter++;
  seq[point] = counter;
  min = counter;
  for(n = list[point]; n != NULL; n = n->next) {
    if (!seq[n->id]) {
      int m;
      m = Biconnected(n->id);
      if (m < min) min = m;
      if (seq[point] == 1) {
        if (seq[n->id] != 2) {
          art[point] = 1;
        }
      }else {
        if (m >= seq[point]) {
          art[point] = 1;
        }
      }
    } else if (seq[n->id] < min) {
      min = seq[n->id];
    }
  }
  return min;
}

5 4
0 1
1 2
2 3
3 2

1
2

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

```c
#include<stdio.h>
#include<stdlib.h>

struct node {
  int id;
  struct node *next;
};
struct node **list;
int *seq, *art, counter;

void Insert(int, int);
int Biconnected(int);
int main(void)
{
  int i, v, e, s, t;
  scanf("%d %d", &v, &e);
  list = (struct node**)malloc(sizeof(struct node*) * v);
  art = (int*)calloc(v, sizeof(int));
  seq = (int*)calloc(v, sizeof(int));
  for (i = 0; i < v; i++) {
    list[i] = NULL;
  }
  for (i = 0; i < e; i++) {
    scanf("%d %d", &s, &t);
    Insert(s,t);
  }
  Biconnected(0);
  for (i = 0; i < v; i++) {
    if (art[i]) printf("%d\n", i);
    free(list[i]);
  }
  free(list);
  free(seq);
  free(art);
}
void Insert(int a, int b)
{
  struct node *p = (struct node*)malloc(sizeof(struct node));
  p->id = b;
  p->next = list[a];
  list[a] = p;
  p = (struct node*)malloc(sizeof(struct node));
  p->id = a;
  p->next = list[b];
  list[b] = p;
}
int Biconnected(int point)
{
  int min;
  struct node *n;
  counter++;
  seq[point] = counter;
  min = counter;
  for(n = list[point]; n != NULL; n = n->next) {
    if (!seq[n->id]) {
      int m;
      m = Biconnected(n->id);
      if (m < min) min = m;
      if (seq[point] == 1) {
        if (seq[n->id] != 2) {
          art[point] = 1;
        }
      }else {
        if (m >= seq[point]) {
          art[point] = 1;
        }
      }
    } else if (seq[n->id] < min) {
      min = seq[n->id];
    }
  }
  return min;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	list
	.bss
	.align 8
	.type	list, @object
	.size	list, 8
list:
	.zero	8
	.globl	seq
	.align 8
	.type	seq, @object
	.size	seq, 8
seq:
	.zero	8
	.globl	art
	.align 8
	.type	art, @object
	.size	art, 8
art:
	.zero	8
	.globl	counter
	.align 4
	.type	counter, @object
	.size	counter, 4
counter:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, list(%rip)
	movl	-28(%rbp), %eax
	cltq
	movl	$4, %esi
	movq	%rax, %rdi
	call	calloc@PLT
	movq	%rax, art(%rip)
	movl	-28(%rbp), %eax
	cltq
	movl	$4, %esi
	movq	%rax, %rdi
	call	calloc@PLT
	movq	%rax, seq(%rip)
	movl	$0, -12(%rbp)
	jmp	.L2
.L3:
	movq	list(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addl	$1, -12(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L3
	movl	$0, -12(%rbp)
	jmp	.L4
.L5:
	leaq	-16(%rbp), %rdx
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Insert
	addl	$1, -12(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	$0, %edi
	call	Biconnected
	movl	$0, -12(%rbp)
	jmp	.L6
.L8:
	movq	art(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L7
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movq	list(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	free@PLT
	addl	$1, -12(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L8
	movq	list(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movq	seq(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movq	art(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Insert
	.type	Insert, @function
Insert:
.LFB7:
	.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	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-24(%rbp), %edx
	movl	%edx, (%rax)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rax, %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rdx)
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, (%rax)
	movq	list(%rip), %rdx
	movl	-24(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	list(%rip), %rdx
	movl	-24(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rax, %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rdx)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Insert, .-Insert
	.globl	Biconnected
	.type	Biconnected, @function
Biconnected:
.LFB8:
	.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	counter(%rip), %eax
	addl	$1, %eax
	movl	%eax, counter(%rip)
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	counter(%rip), %eax
	movl	%eax, (%rdx)
	movl	counter(%rip), %eax
	movl	%eax, -16(%rbp)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	jmp	.L13
.L18:
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	.L14
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	call	Biconnected
	movl	%eax, -12(%rbp)
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jge	.L15
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L15:
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	jne	.L16
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	je	.L17
	movq	art(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	$1, (%rax)
	jmp	.L17
.L16:
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L17
	movq	art(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	$1, (%rax)
	jmp	.L17
.L14:
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L17
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
.L17:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
.L13:
	cmpq	$0, -8(%rbp)
	jne	.L18
	movl	-16(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Biconnected, .-Biconnected
	.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	list
	.bss
	.align 8
	.type	list, @object
	.size	list, 8
list:
	.zero	8
	.globl	seq
	.align 8
	.type	seq, @object
	.size	seq, 8
seq:
	.zero	8
	.globl	art
	.align 8
	.type	art, @object
	.size	art, 8
art:
	.zero	8
	.globl	counter
	.align 4
	.type	counter, @object
	.size	counter, 4
counter:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d\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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-24(%rbp), %rdx
	leaq	-28(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-28(%rbp), %eax
	cltq
	salq	$3, %rax
	movq	%rax, %rdi
	call	malloc@PLT
	movq	%rax, list(%rip)
	movl	-28(%rbp), %eax
	cltq
	movl	$4, %esi
	movq	%rax, %rdi
	call	calloc@PLT
	movq	%rax, art(%rip)
	movl	-28(%rbp), %eax
	cltq
	movl	$4, %esi
	movq	%rax, %rdi
	call	calloc@PLT
	movq	%rax, seq(%rip)
	movl	$0, -12(%rbp)
	jmp	.L2
.L3:
	movq	list(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	$0, (%rax)
	addl	$1, -12(%rbp)
.L2:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L3
	movl	$0, -12(%rbp)
	jmp	.L4
.L5:
	leaq	-16(%rbp), %rdx
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-16(%rbp), %edx
	movl	-20(%rbp), %eax
	movl	%edx, %esi
	movl	%eax, %edi
	call	Insert
	addl	$1, -12(%rbp)
.L4:
	movl	-24(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L5
	movl	$0, %edi
	call	Biconnected
	movl	$0, -12(%rbp)
	jmp	.L6
.L8:
	movq	art(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	.L7
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L7:
	movq	list(%rip), %rdx
	movl	-12(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, %rdi
	call	free@PLT
	addl	$1, -12(%rbp)
.L6:
	movl	-28(%rbp), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L8
	movq	list(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movq	seq(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movq	art(%rip), %rax
	movq	%rax, %rdi
	call	free@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	Insert
	.type	Insert, @function
Insert:
.LFB7:
	.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	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-24(%rbp), %edx
	movl	%edx, (%rax)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rax, %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rdx)
	movl	$16, %edi
	call	malloc@PLT
	movq	%rax, -8(%rbp)
	movq	-8(%rbp), %rax
	movl	-20(%rbp), %edx
	movl	%edx, (%rax)
	movq	list(%rip), %rdx
	movl	-24(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rdx
	movq	-8(%rbp), %rax
	movq	%rdx, 8(%rax)
	movq	list(%rip), %rdx
	movl	-24(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rax, %rdx
	movq	-8(%rbp), %rax
	movq	%rax, (%rdx)
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Insert, .-Insert
	.globl	Biconnected
	.type	Biconnected, @function
Biconnected:
.LFB8:
	.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	counter(%rip), %eax
	addl	$1, %eax
	movl	%eax, counter(%rip)
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	counter(%rip), %eax
	movl	%eax, (%rdx)
	movl	counter(%rip), %eax
	movl	%eax, -16(%rbp)
	movq	list(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	jmp	.L13
.L18:
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jne	.L14
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	movl	%eax, %edi
	call	Biconnected
	movl	%eax, -12(%rbp)
	movl	-12(%rbp), %eax
	cmpl	-16(%rbp), %eax
	jge	.L15
	movl	-12(%rbp), %eax
	movl	%eax, -16(%rbp)
.L15:
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	jne	.L16
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	$2, %eax
	je	.L17
	movq	art(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	$1, (%rax)
	jmp	.L17
.L16:
	movq	seq(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -12(%rbp)
	jl	.L17
	movq	art(%rip), %rdx
	movl	-20(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	$1, (%rax)
	jmp	.L17
.L14:
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -16(%rbp)
	jle	.L17
	movq	seq(%rip), %rdx
	movq	-8(%rbp), %rax
	movl	(%rax), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
.L17:
	movq	-8(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -8(%rbp)
.L13:
	cmpq	$0, -8(%rbp)
	jne	.L18
	movl	-16(%rbp), %eax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Biconnected, .-Biconnected
	.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:
