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 INF 10000000
int min(int,int);
void warshall_floyd(void);

int graph[21][21];
int V;

int main(void){
int i,j,road,a,b,c,d;
int x1,x2,y1,y2;
for(i=0;i<21;i++)
for(j=0;j<21;j++)
graph[i][j]=INF;

scanf("%d",&V);
scanf("%d",&road);
for(i=0;i<road;i++){
scanf("%d,%d,%d,%d",&a,&b,&c,&d);
graph[a][b]=c;
graph[b][a]=d;
}
scanf("%d,%d,%d,%d",&x1,&x2,&y1,&y2);
warshall_floyd();

printf("%d\n",y1-graph[x1][x2]-graph[x2][x1]-y2);

return 0;
}

int min(int x,int y){
return (x>y)?y:x;
}

void warshall_floyd(){
int i,j,k;
for(k=0;k<=V;k++)
for(i=0;i<=V;i++)
for(j=0;j<=V;j++)
graph[i][j]=min(graph[i][j],graph[i][k]+graph[k][j]);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	graph
	.bss
	.align 32
	.type	graph, @object
	.size	graph, 1764
graph:
	.zero	1764
	.globl	V
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d,%d,%d,%d"
.LC2:
	.string	"%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
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -16(%rbp)
	jmp	.L2
.L5:
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	$10000000, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L3:
	cmpl	$20, -12(%rbp)
	jle	.L4
	addl	$1, -16(%rbp)
.L2:
	cmpl	$20, -16(%rbp)
	jle	.L5
	leaq	V(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L6
.L7:
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %edx
	movl	-40(%rbp), %ecx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-44(%rbp), %eax
	movl	-48(%rbp), %edx
	movl	-36(%rbp), %ecx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L6:
	movl	-52(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L7
	leaq	-20(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	call	warshall_floyd
	movl	-24(%rbp), %ecx
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	%eax, %ecx
	movl	-28(%rbp), %eax
	movl	-32(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	min
	.type	min, @function
min:
.LFB1:
	.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), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	min, .-min
	.globl	warshall_floyd
	.type	warshall_floyd, @function
warshall_floyd:
.LFB2:
	.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, -4(%rbp)
	jmp	.L13
.L18:
	movl	$0, -12(%rbp)
	jmp	.L14
.L17:
	movl	$0, -8(%rbp)
	jmp	.L15
.L16:
	movl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -8(%rbp)
.L15:
	movl	V(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jle	.L16
	addl	$1, -12(%rbp)
.L14:
	movl	V(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L17
	addl	$1, -4(%rbp)
.L13:
	movl	V(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	warshall_floyd, .-warshall_floyd
	.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	min
	.type	min, @function
min:
.LFB24:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	min, .-min
	.p2align 4
	.globl	warshall_floyd
	.type	warshall_floyd, @function
warshall_floyd:
.LFB25:
	.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	$16, %rsp
	.cfi_def_cfa_offset 72
	movl	V(%rip), %ebx
	testl	%ebx, %ebx
	js	.L3
	movslq	%ebx, %rax
	leal	1(%rbx), %ebp
	leaq	graph(%rip), %r8
	xorl	%r12d, %r12d
	movq	%rax, -8(%rsp)
	movl	%ebp, %edi
	movl	%ebp, %r14d
	movq	%r8, %r11
	leaq	4(,%rax,4), %rax
	andl	$-4, %edi
	shrl	$2, %r14d
	movq	$0, -16(%rsp)
	movq	%rax, -88(%rsp)
	movq	$-4, %rax
	leal	1(%rdi), %esi
	leal	2(%rdi), %ecx
	subq	%r8, %rax
	movl	%edi, -76(%rsp)
	movq	%rax, (%rsp)
	movslq	%edi, %rax
	movq	%rax, -72(%rsp)
	movslq	%esi, %rax
	movq	%rax, -64(%rsp)
	movslq	%ecx, %rax
	movl	%esi, -40(%rsp)
	movl	%ecx, -36(%rsp)
	movq	$0, -24(%rsp)
	movq	$0, -112(%rsp)
	movq	%rax, -32(%rsp)
	movq	-112(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	(%rax,%r8), %rdi
	addq	$4, %rax
	movq	-72(%rsp), %r13
	movq	%r8, %rcx
	movq	%rax, -104(%rsp)
	movq	(%rsp), %rax
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	addq	-16(%rsp), %rax
	movq	%rax, -96(%rsp)
	movslq	-24(%rsp), %rax
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, -48(%rsp)
	addq	%rax, %r13
	addq	-64(%rsp), %rax
	movq	%rax, -56(%rsp)
	.p2align 4,,10
	.p2align 3
.L14:
	movq	-96(%rsp), %rax
	addq	%rcx, %rax
	cmpq	$8, %rax
	seta	%dl
	cmpl	$2, %ebx
	seta	%al
	testb	%al, %dl
	je	.L13
	movq	-112(%rsp), %rax
	leaq	(%rsi,%rax), %rdx
	movq	-88(%rsp), %rax
	addq	%rsi, %rax
	cmpq	%rax, %rdx
	movq	-104(%rsp), %rax
	setge	%dl
	addq	%rsi, %rax
	cmpq	%rax, %rsi
	setge	%al
	orb	%dl, %al
	je	.L13
	movd	(%rdi), %xmm4
	movdqu	(%r11), %xmm2
	movdqu	(%rcx), %xmm5
	pshufd	$0, %xmm4, %xmm3
	paddd	%xmm3, %xmm2
	movdqa	%xmm5, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm5, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, (%rcx)
	cmpl	$1, %r14d
	jbe	.L9
	movdqu	16(%r11), %xmm2
	movdqu	16(%rcx), %xmm6
	paddd	%xmm3, %xmm2
	movdqa	%xmm6, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm6, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 16(%rcx)
	cmpl	$2, %r14d
	je	.L9
	movdqu	32(%r11), %xmm2
	movdqu	32(%rcx), %xmm7
	paddd	%xmm3, %xmm2
	movdqa	%xmm7, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm7, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 32(%rcx)
	cmpl	$3, %r14d
	je	.L9
	movdqu	48(%r11), %xmm2
	movdqu	48(%rcx), %xmm7
	paddd	%xmm3, %xmm2
	movdqa	%xmm7, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm7, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 48(%rcx)
	cmpl	$4, %r14d
	je	.L9
	movdqu	64(%r11), %xmm2
	movdqu	64(%rcx), %xmm6
	paddd	%xmm3, %xmm2
	movdqa	%xmm6, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm6, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 64(%rcx)
.L9:
	cmpl	-76(%rsp), %ebp
	je	.L8
	movslq	%r10d, %rax
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	-72(%rsp), %rax
	leaq	(%rdx,%rax), %r9
	movl	(%r8,%r13,4), %eax
	addl	(%rdi), %eax
	movl	(%r8,%r9,4), %r15d
	cmpl	%r15d, %eax
	cmovg	%r15d, %eax
	movl	%eax, (%r8,%r9,4)
	cmpl	-40(%rsp), %ebx
	jl	.L8
	movq	-64(%rsp), %rax
	leaq	(%rdx,%rax), %r9
	movq	-56(%rsp), %rax
	movl	(%r8,%r9,4), %r15d
	movl	(%r8,%rax,4), %eax
	addl	(%rdi), %eax
	cmpl	%r15d, %eax
	cmovg	%r15d, %eax
	movl	%eax, (%r8,%r9,4)
	cmpl	-36(%rsp), %ebx
	jl	.L8
	movq	-32(%rsp), %r15
	movq	-48(%rsp), %rax
	addq	%r15, %rdx
	addq	%r15, %rax
	movl	(%r8,%rdx,4), %r9d
	movl	(%r8,%rax,4), %eax
	addl	(%rdi), %eax
	cmpl	%r9d, %eax
	cmovg	%r9d, %eax
	movl	%eax, (%r8,%rdx,4)
.L8:
	addl	$1, %r10d
	addq	$84, %rsi
	addq	$84, %rcx
	addq	$84, %rdi
	cmpl	%ebp, %r10d
	jne	.L14
	movq	-24(%rsp), %rdi
	subq	$84, -16(%rsp)
	addq	$84, %r12
	addq	$84, %r11
	leaq	1(%rdi), %rax
	cmpq	-8(%rsp), %rdi
	je	.L3
	movq	-104(%rsp), %rdi
	movq	%rax, -24(%rsp)
	movq	%rdi, -112(%rsp)
	movq	%rdi, %rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	movq	-88(%rsp), %rax
	movq	%rcx, %rdx
	leaq	(%rax,%rcx), %r15
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rdx, %r9
	movl	(%rdi), %eax
	subq	%rsi, %r9
	addl	(%r9,%r12), %eax
	movl	(%rdx), %r9d
	cmpl	%r9d, %eax
	cmovg	%r9d, %eax
	addq	$4, %rdx
	movl	%eax, -4(%rdx)
	cmpq	%r15, %rdx
	jne	.L7
	jmp	.L8
.L3:
	addq	$16, %rsp
	.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
	.cfi_endproc
.LFE25:
	.size	warshall_floyd, .-warshall_floyd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d,%d,%d,%d"
.LC3:
	.string	"%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	graph(%rip), %rbx
	leaq	1764(%rbx), %rdx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movdqa	.LC0(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	movq	%rbx, %rax
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$10000000, 80(%rax)
	addq	$84, %rax
	movups	%xmm0, -84(%rax)
	movups	%xmm0, -68(%rax)
	movups	%xmm0, -52(%rax)
	movups	%xmm0, -36(%rax)
	movups	%xmm0, -20(%rax)
	cmpq	%rdx, %rax
	jne	.L30
	leaq	.LC1(%rip), %rbp
	leaq	V(%rip), %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	leaq	20(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L31
	leaq	24(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	36(%rsp), %r14
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r13
	leaq	28(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L32:
	movq	8(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r14, %r8
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	24(%rsp), %rax
	movslq	28(%rsp), %rdx
	movl	32(%rsp), %esi
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rax,%rcx,4), %rcx
	addq	%rdx, %rcx
	movl	%esi, (%rbx,%rcx,4)
	leaq	(%rdx,%rdx,4), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	addq	%rdx, %rax
	movl	36(%rsp), %edx
	movl	%edx, (%rbx,%rax,4)
	cmpl	%r15d, 20(%rsp)
	jg	.L32
.L31:
	leaq	48(%rsp), %rcx
	leaq	44(%rsp), %rdx
	movq	%rbp, %rdi
	xorl	%eax, %eax
	leaq	40(%rsp), %rsi
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	call	warshall_floyd
	movslq	40(%rsp), %rax
	movslq	44(%rsp), %rcx
	movl	$1, %edi
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rax,%rdx,4), %rsi
	movl	48(%rsp), %edx
	addq	%rcx, %rsi
	subl	(%rbx,%rsi,4), %edx
	leaq	(%rcx,%rcx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	leaq	.LC3(%rip), %rsi
	addq	%rcx, %rax
	subl	(%rbx,%rax,4), %edx
	xorl	%eax, %eax
	subl	52(%rsp), %edx
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$72, %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
.L38:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	V
	.bss
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.globl	graph
	.align 32
	.type	graph, @object
	.size	graph, 1764
graph:
	.zero	1764
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000000
	.long	10000000
	.long	10000000
	.long	10000000
	.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	min
	.type	min, @function
min:
.LFB24:
	.cfi_startproc
	endbr64
	cmpl	%esi, %edi
	movl	%esi, %eax
	cmovle	%edi, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	min, .-min
	.p2align 4
	.globl	warshall_floyd
	.type	warshall_floyd, @function
warshall_floyd:
.LFB25:
	.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	$16, %rsp
	.cfi_def_cfa_offset 72
	movl	V(%rip), %ebx
	testl	%ebx, %ebx
	js	.L3
	movslq	%ebx, %rax
	leal	1(%rbx), %ebp
	leaq	graph(%rip), %r8
	xorl	%r12d, %r12d
	movq	%rax, -8(%rsp)
	movl	%ebp, %edi
	movl	%ebp, %r14d
	movq	%r8, %r11
	leaq	4(,%rax,4), %rax
	andl	$-4, %edi
	shrl	$2, %r14d
	movq	$0, -16(%rsp)
	movq	%rax, -88(%rsp)
	movq	$-4, %rax
	leal	1(%rdi), %esi
	leal	2(%rdi), %ecx
	subq	%r8, %rax
	movl	%edi, -76(%rsp)
	movq	%rax, (%rsp)
	movslq	%edi, %rax
	movq	%rax, -72(%rsp)
	movslq	%esi, %rax
	movq	%rax, -64(%rsp)
	movslq	%ecx, %rax
	movl	%esi, -40(%rsp)
	movl	%ecx, -36(%rsp)
	movq	$0, -24(%rsp)
	movq	$0, -112(%rsp)
	movq	%rax, -32(%rsp)
	movq	-112(%rsp), %rax
	.p2align 4,,10
	.p2align 3
.L5:
	leaq	(%rax,%r8), %rdi
	addq	$4, %rax
	movq	-72(%rsp), %r13
	movq	%r8, %rcx
	movq	%rax, -104(%rsp)
	movq	(%rsp), %rax
	xorl	%esi, %esi
	xorl	%r10d, %r10d
	addq	-16(%rsp), %rax
	movq	%rax, -96(%rsp)
	movslq	-24(%rsp), %rax
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rax,%rdx,4), %rax
	movq	%rax, -48(%rsp)
	addq	%rax, %r13
	addq	-64(%rsp), %rax
	movq	%rax, -56(%rsp)
	.p2align 4,,10
	.p2align 3
.L14:
	movq	-96(%rsp), %rax
	addq	%rcx, %rax
	cmpq	$8, %rax
	seta	%dl
	cmpl	$2, %ebx
	seta	%al
	testb	%al, %dl
	je	.L13
	movq	-112(%rsp), %rax
	leaq	(%rsi,%rax), %rdx
	movq	-88(%rsp), %rax
	addq	%rsi, %rax
	cmpq	%rax, %rdx
	movq	-104(%rsp), %rax
	setge	%dl
	addq	%rsi, %rax
	cmpq	%rax, %rsi
	setge	%al
	orb	%dl, %al
	je	.L13
	movd	(%rdi), %xmm4
	movdqu	(%r11), %xmm2
	movdqu	(%rcx), %xmm5
	pshufd	$0, %xmm4, %xmm3
	paddd	%xmm3, %xmm2
	movdqa	%xmm5, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm5, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, (%rcx)
	cmpl	$1, %r14d
	jbe	.L9
	movdqu	16(%r11), %xmm2
	movdqu	16(%rcx), %xmm6
	paddd	%xmm3, %xmm2
	movdqa	%xmm6, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm6, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 16(%rcx)
	cmpl	$2, %r14d
	je	.L9
	movdqu	32(%r11), %xmm2
	movdqu	32(%rcx), %xmm7
	paddd	%xmm3, %xmm2
	movdqa	%xmm7, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm7, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 32(%rcx)
	cmpl	$3, %r14d
	je	.L9
	movdqu	48(%r11), %xmm2
	movdqu	48(%rcx), %xmm7
	paddd	%xmm3, %xmm2
	movdqa	%xmm7, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm7, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 48(%rcx)
	cmpl	$4, %r14d
	je	.L9
	movdqu	64(%r11), %xmm2
	movdqu	64(%rcx), %xmm6
	paddd	%xmm3, %xmm2
	movdqa	%xmm6, %xmm1
	movdqa	%xmm2, %xmm0
	pcmpgtd	%xmm6, %xmm0
	pand	%xmm0, %xmm1
	pandn	%xmm2, %xmm0
	por	%xmm1, %xmm0
	movups	%xmm0, 64(%rcx)
.L9:
	cmpl	-76(%rsp), %ebp
	je	.L8
	movslq	%r10d, %rax
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rax,%rdx,4), %rdx
	movq	-72(%rsp), %rax
	leaq	(%rdx,%rax), %r9
	movl	(%r8,%r13,4), %eax
	addl	(%rdi), %eax
	movl	(%r8,%r9,4), %r15d
	cmpl	%r15d, %eax
	cmovg	%r15d, %eax
	movl	%eax, (%r8,%r9,4)
	cmpl	-40(%rsp), %ebx
	jl	.L8
	movq	-64(%rsp), %rax
	leaq	(%rdx,%rax), %r9
	movq	-56(%rsp), %rax
	movl	(%r8,%r9,4), %r15d
	movl	(%r8,%rax,4), %eax
	addl	(%rdi), %eax
	cmpl	%r15d, %eax
	cmovg	%r15d, %eax
	movl	%eax, (%r8,%r9,4)
	cmpl	-36(%rsp), %ebx
	jl	.L8
	movq	-32(%rsp), %r15
	movq	-48(%rsp), %rax
	addq	%r15, %rdx
	addq	%r15, %rax
	movl	(%r8,%rdx,4), %r9d
	movl	(%r8,%rax,4), %eax
	addl	(%rdi), %eax
	cmpl	%r9d, %eax
	cmovg	%r9d, %eax
	movl	%eax, (%r8,%rdx,4)
.L8:
	addl	$1, %r10d
	addq	$84, %rsi
	addq	$84, %rcx
	addq	$84, %rdi
	cmpl	%ebp, %r10d
	jne	.L14
	movq	-24(%rsp), %rdi
	subq	$84, -16(%rsp)
	addq	$84, %r12
	addq	$84, %r11
	leaq	1(%rdi), %rax
	cmpq	-8(%rsp), %rdi
	je	.L3
	movq	-104(%rsp), %rdi
	movq	%rax, -24(%rsp)
	movq	%rdi, -112(%rsp)
	movq	%rdi, %rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L13:
	movq	-88(%rsp), %rax
	movq	%rcx, %rdx
	leaq	(%rax,%rcx), %r15
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rdx, %r9
	movl	(%rdi), %eax
	subq	%rsi, %r9
	addl	(%r9,%r12), %eax
	movl	(%rdx), %r9d
	cmpl	%r9d, %eax
	cmovg	%r9d, %eax
	addq	$4, %rdx
	movl	%eax, -4(%rdx)
	cmpq	%r15, %rdx
	jne	.L7
	jmp	.L8
.L3:
	addq	$16, %rsp
	.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
	.cfi_endproc
.LFE25:
	.size	warshall_floyd, .-warshall_floyd
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d,%d,%d,%d"
.LC3:
	.string	"%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	graph(%rip), %rbx
	leaq	1764(%rbx), %rdx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movdqa	.LC0(%rip), %xmm0
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	movq	%rbx, %rax
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$10000000, 80(%rax)
	addq	$84, %rax
	movups	%xmm0, -84(%rax)
	movups	%xmm0, -68(%rax)
	movups	%xmm0, -52(%rax)
	movups	%xmm0, -36(%rax)
	movups	%xmm0, -20(%rax)
	cmpq	%rdx, %rax
	jne	.L30
	leaq	.LC1(%rip), %rbp
	leaq	V(%rip), %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	leaq	20(%rsp), %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L31
	leaq	24(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	36(%rsp), %r14
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r13
	leaq	28(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L32:
	movq	8(%rsp), %rsi
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r14, %r8
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	24(%rsp), %rax
	movslq	28(%rsp), %rdx
	movl	32(%rsp), %esi
	leaq	(%rax,%rax,4), %rcx
	leaq	(%rax,%rcx,4), %rcx
	addq	%rdx, %rcx
	movl	%esi, (%rbx,%rcx,4)
	leaq	(%rdx,%rdx,4), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	addq	%rdx, %rax
	movl	36(%rsp), %edx
	movl	%edx, (%rbx,%rax,4)
	cmpl	%r15d, 20(%rsp)
	jg	.L32
.L31:
	leaq	48(%rsp), %rcx
	leaq	44(%rsp), %rdx
	movq	%rbp, %rdi
	xorl	%eax, %eax
	leaq	40(%rsp), %rsi
	leaq	52(%rsp), %r8
	call	__isoc99_scanf@PLT
	call	warshall_floyd
	movslq	40(%rsp), %rax
	movslq	44(%rsp), %rcx
	movl	$1, %edi
	leaq	(%rax,%rax,4), %rdx
	leaq	(%rax,%rdx,4), %rsi
	movl	48(%rsp), %edx
	addq	%rcx, %rsi
	subl	(%rbx,%rsi,4), %edx
	leaq	(%rcx,%rcx,4), %rsi
	leaq	(%rcx,%rsi,4), %rcx
	leaq	.LC3(%rip), %rsi
	addq	%rcx, %rax
	subl	(%rbx,%rax,4), %edx
	xorl	%eax, %eax
	subl	52(%rsp), %edx
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$72, %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
.L38:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	V
	.bss
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.globl	graph
	.align 32
	.type	graph, @object
	.size	graph, 1764
graph:
	.zero	1764
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC0:
	.long	10000000
	.long	10000000
	.long	10000000
	.long	10000000
	.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 INF 10000000
int min(int,int);
void warshall_floyd(void);

int graph[21][21];
int V;

int main(void){
int i,j,road,a,b,c,d;
int x1,x2,y1,y2;
for(i=0;i<21;i++)
for(j=0;j<21;j++)
graph[i][j]=INF;

scanf("%d",&V);
scanf("%d",&road);
for(i=0;i<road;i++){
scanf("%d,%d,%d,%d",&a,&b,&c,&d);
graph[a][b]=c;
graph[b][a]=d;
}
scanf("%d,%d,%d,%d",&x1,&x2,&y1,&y2);
warshall_floyd();

printf("%d\n",y1-graph[x1][x2]-graph[x2][x1]-y2);

return 0;
}

int min(int x,int y){
return (x>y)?y:x;
}

void warshall_floyd(){
int i,j,k;
for(k=0;k<=V;k++)
for(i=0;i<=V;i++)
for(j=0;j<=V;j++)
graph[i][j]=min(graph[i][j],graph[i][k]+graph[k][j]);
}
6
8
1,2,2,2
1,3,4,3
1,4,4,2
2,5,3,2
3,4,4,2
3,6,1,2
4,6,1,1
5,6,2,2
2,4,50,30
 6
8
1,2,2,2
1,3,4,3
1,4,4,2
2,5,3,2
3,4,4,2
3,6,1,2
4,6,1,1
2,1,6,5
2,4,50,30
 6
8
1,2,2,2
0,3,4,3
2,4,4,1
2,5,3,2
3,4,2,4
3,6,1,2
4,6,1,1
5,6,2,2
2,4,50,30
 6
8
1,1,2,2
3,4,3,0
1,4,4,2
2,3,5,2
3,4,4,2
3,6,1,2
4,6,1,1
5,6,2,2
2,4,50,30
 6
7
1,2,2,2
1,2,4,3
1,4,4,2
2,5,3,2
3,4,4,2
3,6,1,2
4,6,1,1
2,1,6,5
2,4,50,30
 6
8
1,2,2,2
3,4,3,0
2,4,4,1
2,3,5,2
3,4,4,2
3,6,1,2
4,6,1,2
5,6,2,2
2,4,50,31
 6
8
1,2,2,2
0,3,4,3
1,4,4,2
2,5,2,2
3,4,4,2
3,6,1,2
4,6,1,1
5,6,2,2
2,4,50,30
 6
8
1,2,2,2
0,3,4,3
1,4,4,2
1,5,3,2
3,4,2,4
2,1,6,3
4,6,1,1
5,6,2,2
2,4,50,30
 6
8
1,2,2,2
3,4,3,0
1,5,2,4
1,5,3,2
4,4,2,4
2,1,6,3
4,6,1,1
5,6,2,2
2,4,50,30
 6
8
1,2,2,2
0,3,4,3
1,5,2,4
1,6,3,2
4,4,2,4
2,1,6,3
4,6,1,1
5,6,2,2
2,4,50,30

10
 3
 15
 9
 -6
 14
 11
 5
 0
 4

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 INF 10000000
int min(int,int);
void warshall_floyd(void);

int graph[21][21];
int V;

int main(void){
int i,j,road,a,b,c,d;
int x1,x2,y1,y2;
for(i=0;i<21;i++)
for(j=0;j<21;j++)
graph[i][j]=INF;

scanf("%d",&V);
scanf("%d",&road);
for(i=0;i<road;i++){
scanf("%d,%d,%d,%d",&a,&b,&c,&d);
graph[a][b]=c;
graph[b][a]=d;
}
scanf("%d,%d,%d,%d",&x1,&x2,&y1,&y2);
warshall_floyd();

printf("%d\n",y1-graph[x1][x2]-graph[x2][x1]-y2);

return 0;
}

int min(int x,int y){
return (x>y)?y:x;
}

void warshall_floyd(){
int i,j,k;
for(k=0;k<=V;k++)
for(i=0;i<=V;i++)
for(j=0;j<=V;j++)
graph[i][j]=min(graph[i][j],graph[i][k]+graph[k][j]);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	graph
	.bss
	.align 32
	.type	graph, @object
	.size	graph, 1764
graph:
	.zero	1764
	.globl	V
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d,%d,%d,%d"
.LC2:
	.string	"%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
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -16(%rbp)
	jmp	.L2
.L5:
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	$10000000, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L3:
	cmpl	$20, -12(%rbp)
	jle	.L4
	addl	$1, -16(%rbp)
.L2:
	cmpl	$20, -16(%rbp)
	jle	.L5
	leaq	V(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L6
.L7:
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %edx
	movl	-40(%rbp), %ecx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-44(%rbp), %eax
	movl	-48(%rbp), %edx
	movl	-36(%rbp), %ecx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L6:
	movl	-52(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L7
	leaq	-20(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	call	warshall_floyd
	movl	-24(%rbp), %ecx
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	%eax, %ecx
	movl	-28(%rbp), %eax
	movl	-32(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	min
	.type	min, @function
min:
.LFB1:
	.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), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	min, .-min
	.globl	warshall_floyd
	.type	warshall_floyd, @function
warshall_floyd:
.LFB2:
	.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, -4(%rbp)
	jmp	.L13
.L18:
	movl	$0, -12(%rbp)
	jmp	.L14
.L17:
	movl	$0, -8(%rbp)
	jmp	.L15
.L16:
	movl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -8(%rbp)
.L15:
	movl	V(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jle	.L16
	addl	$1, -12(%rbp)
.L14:
	movl	V(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L17
	addl	$1, -4(%rbp)
.L13:
	movl	V(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	warshall_floyd, .-warshall_floyd
	.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	graph
	.bss
	.align 32
	.type	graph, @object
	.size	graph, 1764
graph:
	.zero	1764
	.globl	V
	.align 4
	.type	V, @object
	.size	V, 4
V:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d,%d,%d,%d"
.LC2:
	.string	"%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
	subq	$64, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -16(%rbp)
	jmp	.L2
.L5:
	movl	$0, -12(%rbp)
	jmp	.L3
.L4:
	movl	-12(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	$10000000, (%rdx,%rax)
	addl	$1, -12(%rbp)
.L3:
	cmpl	$20, -12(%rbp)
	jle	.L4
	addl	$1, -16(%rbp)
.L2:
	cmpl	$20, -16(%rbp)
	jle	.L5
	leaq	V(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-52(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -16(%rbp)
	jmp	.L6
.L7:
	leaq	-36(%rbp), %rsi
	leaq	-40(%rbp), %rcx
	leaq	-44(%rbp), %rdx
	leaq	-48(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %edx
	movl	-40(%rbp), %ecx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-44(%rbp), %eax
	movl	-48(%rbp), %edx
	movl	-36(%rbp), %ecx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L6:
	movl	-52(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L7
	leaq	-20(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	leaq	-28(%rbp), %rdx
	leaq	-32(%rbp), %rax
	movq	%rsi, %r8
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	call	warshall_floyd
	movl	-24(%rbp), %ecx
	movl	-32(%rbp), %eax
	movl	-28(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	subl	%eax, %ecx
	movl	-28(%rbp), %eax
	movl	-32(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %edx
	movl	%ecx, %eax
	subl	%edx, %eax
	movl	-20(%rbp), %edx
	subl	%edx, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	min
	.type	min, @function
min:
.LFB1:
	.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), %edx
	movl	-8(%rbp), %eax
	cmpl	%eax, %edx
	cmovle	%edx, %eax
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	min, .-min
	.globl	warshall_floyd
	.type	warshall_floyd, @function
warshall_floyd:
.LFB2:
	.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, -4(%rbp)
	jmp	.L13
.L18:
	movl	$0, -12(%rbp)
	jmp	.L14
.L17:
	movl	$0, -8(%rbp)
	jmp	.L15
.L16:
	movl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	addl	%eax, %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	min
	movl	%eax, %ecx
	movl	-8(%rbp), %eax
	movslq	%eax, %rsi
	movl	-12(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	graph(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -8(%rbp)
.L15:
	movl	V(%rip), %eax
	cmpl	%eax, -8(%rbp)
	jle	.L16
	addl	$1, -12(%rbp)
.L14:
	movl	V(%rip), %eax
	cmpl	%eax, -12(%rbp)
	jle	.L17
	addl	$1, -4(%rbp)
.L13:
	movl	V(%rip), %eax
	cmpl	%eax, -4(%rbp)
	jle	.L18
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	warshall_floyd, .-warshall_floyd
	.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:
