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>
#define min(a,b) ((a)>(b))?(b):(a)
int main(void){
	int i,j,n,u,k,s,tmp,w,adj[100][100]={0};
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d %d",&u,&k);
		for(j=0;j<k;j++){
			scanf("%d %d",&tmp,&w);
			adj[u][tmp]=w;
		}
	}
	for(i=0;i<n;i++){
		for(j=0;j<n;j++){
			if((adj[i][j]==0) && (i!=j)){
				adj[i][j]=100000000;
			}
		}
	}
	for(s=0;s<n;s++){
		for(i=0;i<n;i++){
			for(j=0;j<n;j++){
				adj[i][j]=min(adj[i][j],adj[i][s]+adj[s][j]);
			}
		}
	}
	for(i=0;i<n;i++){
		printf("%d %d\n",i,adj[0][i]);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3184, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-40016(%rbp), %rax
	movl	$40000, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-40048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -40028(%rbp)
	jmp	.L2
.L5:
	leaq	-40040(%rbp), %rdx
	leaq	-40044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -40024(%rbp)
	jmp	.L3
.L4:
	leaq	-40032(%rbp), %rdx
	leaq	-40036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40044(%rbp), %eax
	movl	-40036(%rbp), %ecx
	movl	-40032(%rbp), %edx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40024(%rbp)
.L3:
	movl	-40040(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L4
	addl	$1, -40028(%rbp)
.L2:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L5
	movl	$0, -40028(%rbp)
	jmp	.L6
.L10:
	movl	$0, -40024(%rbp)
	jmp	.L7
.L9:
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L8
	movl	-40028(%rbp), %eax
	cmpl	-40024(%rbp), %eax
	je	.L8
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$100000000, -40016(%rbp,%rax,4)
.L8:
	addl	$1, -40024(%rbp)
.L7:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L9
	addl	$1, -40028(%rbp)
.L6:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L10
	movl	$0, -40020(%rbp)
	jmp	.L11
.L16:
	movl	$0, -40028(%rbp)
	jmp	.L12
.L15:
	movl	$0, -40024(%rbp)
	jmp	.L13
.L14:
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40028(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %esi
	movl	-40024(%rbp), %eax
	movslq	%eax, %rdi
	movl	-40020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	addl	%esi, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40024(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40028(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40024(%rbp)
.L13:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L14
	addl	$1, -40028(%rbp)
.L12:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L15
	addl	$1, -40020(%rbp)
.L11:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40020(%rbp)
	jl	.L16
	movl	$0, -40028(%rbp)
	jmp	.L17
.L18:
	movl	-40028(%rbp), %eax
	cltq
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -40028(%rbp)
.L17:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L18
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	leaq	-36864(%rsp), %r11
	.cfi_def_cfa 11, 36920
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3304, %rsp
	.cfi_def_cfa_offset 40224
	movl	$40000, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 40152(%rsp)
	xorl	%eax, %eax
	leaq	144(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 96(%rsp)
	call	memset@PLT
	leaq	124(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	124(%rsp), %r9d
	testl	%r9d, %r9d
	jle	.L2
	leaq	128(%rsp), %rax
	xorl	%r12d, %r12d
	leaq	132(%rsp), %r14
	movq	%rax, 8(%rsp)
	leaq	.LC1(%rip), %rbx
	leaq	140(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L4:
	movq	8(%rsp), %rsi
	movq	%r14, %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	leaq	136(%rsp), %r13
	call	__isoc99_scanf@PLT
	movl	132(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rdx
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	128(%rsp), %rax
	addl	$1, %r15d
	movslq	136(%rsp), %rdx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdx,%rax,4), %rax
	movl	140(%rsp), %edx
	movl	%edx, 144(%rsp,%rax,4)
	cmpl	%r15d, 132(%rsp)
	jg	.L3
.L6:
	movl	124(%rsp), %r11d
	addl	$1, %r12d
	cmpl	%r12d, %r11d
	jg	.L4
	testl	%r11d, %r11d
	jle	.L2
	movq	96(%rsp), %rsi
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%rsi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L8:
	movl	(%rdx), %edi
	testl	%edi, %edi
	jne	.L7
	cmpl	%ecx, %eax
	je	.L7
	movl	$100000000, (%rdx)
.L7:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%eax, %r11d
	jne	.L8
	addl	$1, %ecx
	addq	$400, %rsi
	cmpl	%ecx, %r11d
	jne	.L9
	movl	%r11d, %eax
	movl	%r11d, %ebx
	leal	-1(%r11), %edi
	xorl	%r14d, %r14d
	movq	%rax, 104(%rsp)
	movslq	%r11d, %rax
	andl	$-4, %ebx
	xorl	%r12d, %r12d
	salq	$2, %rax
	leal	1(%rbx), %esi
	leal	2(%rbx), %ecx
	movl	%edi, 24(%rsp)
	movq	%rax, 16(%rsp)
	movl	%r11d, %eax
	shrl	$2, %eax
	movl	%ebx, 28(%rsp)
	movslq	%ebx, %rbx
	leal	-1(%rax), %r10d
	movl	%edi, %eax
	movq	96(%rsp), %rdi
	movl	%esi, 64(%rsp)
	movq	%rbx, 32(%rsp)
	movslq	%esi, %rbx
	addq	$1, %r10
	leaq	4(%rdi,%rax,4), %rax
	movl	%ecx, 68(%rsp)
	salq	$4, %r10
	movq	%rdi, %r8
	movq	%rbx, 40(%rsp)
	movslq	%ecx, %rbx
	movq	$0, 8(%rsp)
	movq	$0, 72(%rsp)
	movq	%rbx, 80(%rsp)
	movq	%rax, 88(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	72(%rsp), %rdx
	movq	32(%rsp), %rbp
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	movq	96(%rsp), %rax
	leaq	4(%r14), %r13
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%r14), %rdi
	leaq	0(,%rdx,4), %rcx
	movq	%rcx, 56(%rsp)
	addq	%rcx, %rbp
	addq	40(%rsp), %rcx
	movq	%rcx, 48(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movq	16(%rsp), %rdx
	leaq	(%rsi,%r14), %rcx
	addq	%rsi, %rdx
	cmpq	%rdx, %rcx
	leaq	0(%r13,%rsi), %rdx
	setge	%cl
	cmpq	%rdx, %rsi
	setge	%dl
	orb	%cl, %dl
	je	.L19
	movq	8(%rsp), %rcx
	leaq	-4(%rsi,%rcx), %rdx
	cmpq	$8, %rdx
	seta	%cl
	cmpl	$2, 24(%rsp)
	seta	%dl
	testb	%dl, %cl
	je	.L19
	movd	(%rdi), %xmm3
	xorl	%edx, %edx
	pshufd	$0, %xmm3, %xmm2
	.p2align 4,,10
	.p2align 3
.L14:
	movdqa	(%r8,%rdx), %xmm1
	movdqa	(%rax,%rdx), %xmm0
	paddd	%xmm2, %xmm1
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	(%rax,%rdx), %xmm0
	por	%xmm1, %xmm0
	movaps	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%r10, %rdx
	jne	.L14
	cmpl	%r11d, 28(%rsp)
	je	.L13
	movslq	%ebx, %rdx
	movq	32(%rsp), %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	leaq	(%rdx,%rcx), %r9
	movl	144(%rsp,%rbp,4), %ecx
	addl	(%rdi), %ecx
	movl	144(%rsp,%r9,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 144(%rsp,%r9,4)
	cmpl	64(%rsp), %r11d
	jle	.L13
	movq	40(%rsp), %rcx
	leaq	(%rdx,%rcx), %r9
	movq	48(%rsp), %rcx
	movl	144(%rsp,%r9,4), %r15d
	movl	144(%rsp,%rcx,4), %ecx
	addl	(%rdi), %ecx
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 144(%rsp,%r9,4)
	cmpl	68(%rsp), %r11d
	jle	.L13
	movq	80(%rsp), %r15
	movq	56(%rsp), %rcx
	addq	%r15, %rdx
	addq	%r15, %rcx
	movl	144(%rsp,%rdx,4), %r9d
	movl	144(%rsp,%rcx,4), %ecx
	addl	(%rdi), %ecx
	cmpl	%r9d, %ecx
	cmovg	%r9d, %ecx
	movl	%ecx, 144(%rsp,%rdx,4)
.L13:
	addl	$1, %ebx
	addq	$400, %rsi
	addq	$400, %rax
	addq	$400, %rdi
	cmpl	%ebx, %r11d
	jne	.L21
	addq	$1, 72(%rsp)
	addq	$400, %r12
	movq	72(%rsp), %rax
	addq	$400, %r8
	subq	$400, 8(%rsp)
	cmpq	104(%rsp), %rax
	je	.L20
	movq	%r13, %r14
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	movq	88(%rsp), %rcx
	leaq	(%rcx,%rsi), %r15
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rcx, %r9
	movl	(%rdi), %edx
	subq	%rsi, %r9
	addl	(%r9,%r12), %edx
	movl	(%rcx), %r9d
	cmpl	%r9d, %edx
	cmovg	%r9d, %edx
	addq	$4, %rcx
	movl	%edx, -4(%rcx)
	cmpq	%r15, %rcx
	jne	.L12
	jmp	.L13
.L2:
	cmpl	$0, 124(%rsp)
	jle	.L23
.L20:
	movq	96(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L22:
	movl	(%r12,%rbx,4), %ecx
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 124(%rsp)
	jg	.L22
.L23:
	movq	40152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$40168, %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
.L48:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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
	leaq	-36864(%rsp), %r11
	.cfi_def_cfa 11, 36920
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$3304, %rsp
	.cfi_def_cfa_offset 40224
	movl	$40000, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 40152(%rsp)
	xorl	%eax, %eax
	leaq	144(%rsp), %rax
	movq	%rax, %rdi
	movq	%rax, 96(%rsp)
	call	memset@PLT
	leaq	124(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	124(%rsp), %r9d
	testl	%r9d, %r9d
	jle	.L2
	leaq	128(%rsp), %rax
	xorl	%r12d, %r12d
	leaq	132(%rsp), %r14
	movq	%rax, 8(%rsp)
	leaq	.LC1(%rip), %rbx
	leaq	140(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L4:
	movq	8(%rsp), %rsi
	movq	%r14, %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	leaq	136(%rsp), %r13
	call	__isoc99_scanf@PLT
	movl	132(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rdx
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	128(%rsp), %rax
	addl	$1, %r15d
	movslq	136(%rsp), %rdx
	leaq	(%rax,%rax,4), %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rdx,%rax,4), %rax
	movl	140(%rsp), %edx
	movl	%edx, 144(%rsp,%rax,4)
	cmpl	%r15d, 132(%rsp)
	jg	.L3
.L6:
	movl	124(%rsp), %r11d
	addl	$1, %r12d
	cmpl	%r12d, %r11d
	jg	.L4
	testl	%r11d, %r11d
	jle	.L2
	movq	96(%rsp), %rsi
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%rsi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L8:
	movl	(%rdx), %edi
	testl	%edi, %edi
	jne	.L7
	cmpl	%ecx, %eax
	je	.L7
	movl	$100000000, (%rdx)
.L7:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%eax, %r11d
	jne	.L8
	addl	$1, %ecx
	addq	$400, %rsi
	cmpl	%ecx, %r11d
	jne	.L9
	movl	%r11d, %eax
	movl	%r11d, %ebx
	leal	-1(%r11), %edi
	xorl	%r14d, %r14d
	movq	%rax, 104(%rsp)
	movslq	%r11d, %rax
	andl	$-4, %ebx
	xorl	%r12d, %r12d
	salq	$2, %rax
	leal	1(%rbx), %esi
	leal	2(%rbx), %ecx
	movl	%edi, 24(%rsp)
	movq	%rax, 16(%rsp)
	movl	%r11d, %eax
	shrl	$2, %eax
	movl	%ebx, 28(%rsp)
	movslq	%ebx, %rbx
	leal	-1(%rax), %r10d
	movl	%edi, %eax
	movq	96(%rsp), %rdi
	movl	%esi, 64(%rsp)
	movq	%rbx, 32(%rsp)
	movslq	%esi, %rbx
	addq	$1, %r10
	leaq	4(%rdi,%rax,4), %rax
	movl	%ecx, 68(%rsp)
	salq	$4, %r10
	movq	%rdi, %r8
	movq	%rbx, 40(%rsp)
	movslq	%ecx, %rbx
	movq	$0, 8(%rsp)
	movq	$0, 72(%rsp)
	movq	%rbx, 80(%rsp)
	movq	%rax, 88(%rsp)
	.p2align 4,,10
	.p2align 3
.L10:
	movslq	72(%rsp), %rdx
	movq	32(%rsp), %rbp
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	movq	96(%rsp), %rax
	leaq	4(%r14), %r13
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rax,%r14), %rdi
	leaq	0(,%rdx,4), %rcx
	movq	%rcx, 56(%rsp)
	addq	%rcx, %rbp
	addq	40(%rsp), %rcx
	movq	%rcx, 48(%rsp)
	.p2align 4,,10
	.p2align 3
.L21:
	movq	16(%rsp), %rdx
	leaq	(%rsi,%r14), %rcx
	addq	%rsi, %rdx
	cmpq	%rdx, %rcx
	leaq	0(%r13,%rsi), %rdx
	setge	%cl
	cmpq	%rdx, %rsi
	setge	%dl
	orb	%cl, %dl
	je	.L19
	movq	8(%rsp), %rcx
	leaq	-4(%rsi,%rcx), %rdx
	cmpq	$8, %rdx
	seta	%cl
	cmpl	$2, 24(%rsp)
	seta	%dl
	testb	%dl, %cl
	je	.L19
	movd	(%rdi), %xmm3
	xorl	%edx, %edx
	pshufd	$0, %xmm3, %xmm2
	.p2align 4,,10
	.p2align 3
.L14:
	movdqa	(%r8,%rdx), %xmm1
	movdqa	(%rax,%rdx), %xmm0
	paddd	%xmm2, %xmm1
	pcmpgtd	%xmm1, %xmm0
	pand	%xmm0, %xmm1
	pandn	(%rax,%rdx), %xmm0
	por	%xmm1, %xmm0
	movaps	%xmm0, (%rax,%rdx)
	addq	$16, %rdx
	cmpq	%r10, %rdx
	jne	.L14
	cmpl	%r11d, 28(%rsp)
	je	.L13
	movslq	%ebx, %rdx
	movq	32(%rsp), %rcx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	salq	$2, %rdx
	leaq	(%rdx,%rcx), %r9
	movl	144(%rsp,%rbp,4), %ecx
	addl	(%rdi), %ecx
	movl	144(%rsp,%r9,4), %r15d
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 144(%rsp,%r9,4)
	cmpl	64(%rsp), %r11d
	jle	.L13
	movq	40(%rsp), %rcx
	leaq	(%rdx,%rcx), %r9
	movq	48(%rsp), %rcx
	movl	144(%rsp,%r9,4), %r15d
	movl	144(%rsp,%rcx,4), %ecx
	addl	(%rdi), %ecx
	cmpl	%r15d, %ecx
	cmovg	%r15d, %ecx
	movl	%ecx, 144(%rsp,%r9,4)
	cmpl	68(%rsp), %r11d
	jle	.L13
	movq	80(%rsp), %r15
	movq	56(%rsp), %rcx
	addq	%r15, %rdx
	addq	%r15, %rcx
	movl	144(%rsp,%rdx,4), %r9d
	movl	144(%rsp,%rcx,4), %ecx
	addl	(%rdi), %ecx
	cmpl	%r9d, %ecx
	cmovg	%r9d, %ecx
	movl	%ecx, 144(%rsp,%rdx,4)
.L13:
	addl	$1, %ebx
	addq	$400, %rsi
	addq	$400, %rax
	addq	$400, %rdi
	cmpl	%ebx, %r11d
	jne	.L21
	addq	$1, 72(%rsp)
	addq	$400, %r12
	movq	72(%rsp), %rax
	addq	$400, %r8
	subq	$400, 8(%rsp)
	cmpq	104(%rsp), %rax
	je	.L20
	movq	%r13, %r14
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L19:
	movq	88(%rsp), %rcx
	leaq	(%rcx,%rsi), %r15
	movq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L12:
	movq	%rcx, %r9
	movl	(%rdi), %edx
	subq	%rsi, %r9
	addl	(%r9,%r12), %edx
	movl	(%rcx), %r9d
	cmpl	%r9d, %edx
	cmovg	%r9d, %edx
	addq	$4, %rcx
	movl	%edx, -4(%rcx)
	cmpq	%r15, %rcx
	jne	.L12
	jmp	.L13
.L2:
	cmpl	$0, 124(%rsp)
	jle	.L23
.L20:
	movq	96(%rsp), %r12
	xorl	%ebx, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L22:
	movl	(%r12,%rbx,4), %ecx
	movl	%ebx, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 124(%rsp)
	jg	.L22
.L23:
	movq	40152(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L48
	addq	$40168, %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
.L48:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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>
#define min(a,b) ((a)>(b))?(b):(a)
int main(void){
	int i,j,n,u,k,s,tmp,w,adj[100][100]={0};
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d %d",&u,&k);
		for(j=0;j<k;j++){
			scanf("%d %d",&tmp,&w);
			adj[u][tmp]=w;
		}
	}
	for(i=0;i<n;i++){
		for(j=0;j<n;j++){
			if((adj[i][j]==0) && (i!=j)){
				adj[i][j]=100000000;
			}
		}
	}
	for(s=0;s<n;s++){
		for(i=0;i<n;i++){
			for(j=0;j<n;j++){
				adj[i][j]=min(adj[i][j],adj[i][s]+adj[s][j]);
			}
		}
	}
	for(i=0;i<n;i++){
		printf("%d %d\n",i,adj[0][i]);
	}
	return 0;
}
5
0 3 2 3 3 1 1 2
1 2 0 2 3 4
2 3 0 3 3 1 4 1
3 4 2 1 0 1 1 4 4 3
4 2 2 1 3 3

0 0
1 2
2 2
3 1
4 3

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>
#define min(a,b) ((a)>(b))?(b):(a)
int main(void){
	int i,j,n,u,k,s,tmp,w,adj[100][100]={0};
	scanf("%d",&n);
	for(i=0;i<n;i++){
		scanf("%d %d",&u,&k);
		for(j=0;j<k;j++){
			scanf("%d %d",&tmp,&w);
			adj[u][tmp]=w;
		}
	}
	for(i=0;i<n;i++){
		for(j=0;j<n;j++){
			if((adj[i][j]==0) && (i!=j)){
				adj[i][j]=100000000;
			}
		}
	}
	for(s=0;s<n;s++){
		for(i=0;i<n;i++){
			for(j=0;j<n;j++){
				adj[i][j]=min(adj[i][j],adj[i][s]+adj[s][j]);
			}
		}
	}
	for(i=0;i<n;i++){
		printf("%d %d\n",i,adj[0][i]);
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3184, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-40016(%rbp), %rax
	movl	$40000, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-40048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -40028(%rbp)
	jmp	.L2
.L5:
	leaq	-40040(%rbp), %rdx
	leaq	-40044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -40024(%rbp)
	jmp	.L3
.L4:
	leaq	-40032(%rbp), %rdx
	leaq	-40036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40044(%rbp), %eax
	movl	-40036(%rbp), %ecx
	movl	-40032(%rbp), %edx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40024(%rbp)
.L3:
	movl	-40040(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L4
	addl	$1, -40028(%rbp)
.L2:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L5
	movl	$0, -40028(%rbp)
	jmp	.L6
.L10:
	movl	$0, -40024(%rbp)
	jmp	.L7
.L9:
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L8
	movl	-40028(%rbp), %eax
	cmpl	-40024(%rbp), %eax
	je	.L8
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$100000000, -40016(%rbp,%rax,4)
.L8:
	addl	$1, -40024(%rbp)
.L7:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L9
	addl	$1, -40028(%rbp)
.L6:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L10
	movl	$0, -40020(%rbp)
	jmp	.L11
.L16:
	movl	$0, -40028(%rbp)
	jmp	.L12
.L15:
	movl	$0, -40024(%rbp)
	jmp	.L13
.L14:
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40028(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %esi
	movl	-40024(%rbp), %eax
	movslq	%eax, %rdi
	movl	-40020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	addl	%esi, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40024(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40028(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40024(%rbp)
.L13:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L14
	addl	$1, -40028(%rbp)
.L12:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L15
	addl	$1, -40020(%rbp)
.L11:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40020(%rbp)
	jl	.L16
	movl	$0, -40028(%rbp)
	jmp	.L17
.L18:
	movl	-40028(%rbp), %eax
	cltq
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -40028(%rbp)
.L17:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L18
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-36864(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$3184, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-40016(%rbp), %rax
	movl	$40000, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	leaq	-40048(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -40028(%rbp)
	jmp	.L2
.L5:
	leaq	-40040(%rbp), %rdx
	leaq	-40044(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -40024(%rbp)
	jmp	.L3
.L4:
	leaq	-40032(%rbp), %rdx
	leaq	-40036(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-40044(%rbp), %eax
	movl	-40036(%rbp), %ecx
	movl	-40032(%rbp), %edx
	movslq	%ecx, %rsi
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40024(%rbp)
.L3:
	movl	-40040(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L4
	addl	$1, -40028(%rbp)
.L2:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L5
	movl	$0, -40028(%rbp)
	jmp	.L6
.L10:
	movl	$0, -40024(%rbp)
	jmp	.L7
.L9:
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %eax
	testl	%eax, %eax
	jne	.L8
	movl	-40028(%rbp), %eax
	cmpl	-40024(%rbp), %eax
	je	.L8
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$100000000, -40016(%rbp,%rax,4)
.L8:
	addl	$1, -40024(%rbp)
.L7:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L9
	addl	$1, -40028(%rbp)
.L6:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L10
	movl	$0, -40020(%rbp)
	jmp	.L11
.L16:
	movl	$0, -40028(%rbp)
	jmp	.L12
.L15:
	movl	$0, -40024(%rbp)
	jmp	.L13
.L14:
	movl	-40024(%rbp), %eax
	movslq	%eax, %rcx
	movl	-40028(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40020(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40028(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	-40016(%rbp,%rax,4), %esi
	movl	-40024(%rbp), %eax
	movslq	%eax, %rdi
	movl	-40020(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdi, %rax
	movl	-40016(%rbp,%rax,4), %eax
	addl	%esi, %eax
	cmpl	%eax, %edx
	cmovg	%eax, %edx
	movl	-40024(%rbp), %eax
	movslq	%eax, %rsi
	movl	-40028(%rbp), %eax
	movslq	%eax, %rcx
	movq	%rcx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	movl	%edx, -40016(%rbp,%rax,4)
	addl	$1, -40024(%rbp)
.L13:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40024(%rbp)
	jl	.L14
	addl	$1, -40028(%rbp)
.L12:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L15
	addl	$1, -40020(%rbp)
.L11:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40020(%rbp)
	jl	.L16
	movl	$0, -40028(%rbp)
	jmp	.L17
.L18:
	movl	-40028(%rbp), %eax
	cltq
	movl	-40016(%rbp,%rax,4), %edx
	movl	-40028(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -40028(%rbp)
.L17:
	movl	-40048(%rbp), %eax
	cmpl	%eax, -40028(%rbp)
	jl	.L18
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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:
