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>
int Min(int,int);

int main(){
  int n,i,j,k,l;
  int f[101],s[101][101];
  scanf("%d",&n);
  for(i=1;i<=n;i++){
    scanf("%d %d",&f[i-1],&f[i]);
  }
  for(i=1;i<=n;i++){
    s[i][i]=0;
  }
  for(l=2; l<=n; l++){
    for(i=1; i<=n-l+1; i++){
      j=i+l-1;
      s[i][j]=1E+9;
      for(k=i; k<=j-1;k++){
    s[i][j] = Min(s[i][j],s[i][k]+s[k+1][j]+f[i-1]*f[k]*f[j]);
      }
    }
  }
    printf("%d\n",s[1][n]);
    return 0;
}

int Min(int a,int b){
  if(a<b){
    return a;
  }
  else{
    return b;
  }
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%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
	leaq	-40960(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$304, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-41252(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -41248(%rbp)
	jmp	.L2
.L3:
	leaq	-41232(%rbp), %rdx
	movl	-41248(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-41248(%rbp), %eax
	subl	$1, %eax
	leaq	-41232(%rbp), %rcx
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -41248(%rbp)
.L2:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L3
	movl	$1, -41248(%rbp)
	jmp	.L4
.L5:
	movl	-41248(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	addq	%rbp, %rax
	subq	$40816, %rax
	movl	$0, (%rax)
	addl	$1, -41248(%rbp)
.L4:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L5
	movl	$2, -41240(%rbp)
	jmp	.L6
.L11:
	movl	$1, -41248(%rbp)
	jmp	.L7
.L10:
	movl	-41248(%rbp), %edx
	movl	-41240(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	movl	%eax, -41236(%rbp)
	movl	-41236(%rbp), %eax
	movslq	%eax, %rcx
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40816(%rbp,%rax,4)
	movl	-41248(%rbp), %eax
	movl	%eax, -41244(%rbp)
	jmp	.L8
.L9:
	movl	-41244(%rbp), %eax
	movslq	%eax, %rcx
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-40816(%rbp,%rax,4), %ecx
	movl	-41244(%rbp), %eax
	leal	1(%rax), %edx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-40816(%rbp,%rax,4), %eax
	addl	%eax, %ecx
	movl	-41248(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-41232(%rbp,%rax,4), %edx
	movl	-41244(%rbp), %eax
	cltq
	movl	-41232(%rbp,%rax,4), %eax
	imull	%eax, %edx
	movl	-41236(%rbp), %eax
	cltq
	movl	-41232(%rbp,%rax,4), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-40816(%rbp,%rax,4), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	Min
	movl	%eax, %ecx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	%ecx, -40816(%rbp,%rax,4)
	addl	$1, -41244(%rbp)
.L8:
	movl	-41236(%rbp), %eax
	cmpl	-41244(%rbp), %eax
	jg	.L9
	addl	$1, -41248(%rbp)
.L7:
	movl	-41252(%rbp), %eax
	subl	-41240(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L10
	addl	$1, -41240(%rbp)
.L6:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41240(%rbp)
	jle	.L11
	movl	-41252(%rbp), %eax
	cltq
	addq	$101, %rax
	movl	-40816(%rbp,%rax,4), %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	.L13
	call	__stack_chk_fail@PLT
.L13:
	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), %eax
	cmpl	-8(%rbp), %eax
	jge	.L15
	movl	-4(%rbp), %eax
	jmp	.L16
.L15:
	movl	-8(%rbp), %eax
.L16:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Min, .-Min
	.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\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	-40960(%rsp), %r11
	.cfi_def_cfa 11, 41016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$328, %rsp
	.cfi_def_cfa_offset 41344
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 41272(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movl	%eax, 24(%rsp)
	testl	%eax, %eax
	jle	.L12
	leaq	48(%rsp), %rbx
	movl	$1, %r12d
	leaq	.LC1(%rip), %r13
	movq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	addq	$4, %rbp
	movq	%r13, %rdi
	xorl	%eax, %eax
	movq	%rbp, %rdx
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	cmpl	%r12d, %eax
	jge	.L3
	movl	%eax, 24(%rsp)
	movl	%eax, %edi
	testl	%eax, %eax
	jle	.L12
	leal	-1(%rdi), %edx
	leaq	872(%rsp), %rax
	imulq	$408, %rdx, %rdx
	leaq	1280(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movl	$0, (%rax)
	addq	$408, %rax
	cmpq	%rdx, %rax
	jne	.L4
	movl	24(%rsp), %eax
	cmpl	$1, %eax
	jle	.L12
	addl	$1, %eax
	leaq	876(%rsp), %rdi
	leaq	56(%rsp), %r14
	movl	$2, %r15d
	movq	%rdi, 8(%rsp)
	movl	%eax, 28(%rsp)
	movq	%rax, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L6:
	movl	28(%rsp), %eax
	movl	%r15d, %r9d
	subl	%r15d, %eax
	testl	%eax, %eax
	jle	.L9
	movl	24(%rsp), %r13d
	movq	8(%rsp), %r8
	leaq	868(%rsp), %r10
	movl	$1, %r12d
	subl	%r15d, %r13d
	addq	$2, %r13
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$1000000000, (%r8)
	cmpl	%r12d, %r9d
	jle	.L11
	movl	-4(%rbx,%r12,4), %r11d
	movl	-4(%r14,%r12,4), %edi
	movq	%r8, %rsi
	movq	%r12, %rdx
	movl	$1000000000, %ecx
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx,%rdx,4), %ebp
	movl	404(%rsi), %eax
	addl	(%r10,%rdx,4), %eax
	imull	%r11d, %ebp
	imull	%edi, %ebp
	addl	%ebp, %eax
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
	addq	$1, %rdx
	addq	$404, %rsi
	movl	%ecx, (%r8)
	cmpl	%edx, %r9d
	jg	.L10
.L11:
	addq	$1, %r12
	addq	$408, %r8
	addl	$1, %r9d
	addq	$404, %r10
	cmpq	%r13, %r12
	jne	.L8
.L9:
	addq	$4, 8(%rsp)
	addq	$4, %r14
	addq	$1, %r15
	cmpq	16(%rsp), %r15
	jne	.L6
.L12:
	movslq	24(%rsp), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movl	868(%rsp,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	41272(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$41288, %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
.L21:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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
	.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\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	-40960(%rsp), %r11
	.cfi_def_cfa 11, 41016
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$328, %rsp
	.cfi_def_cfa_offset 41344
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 41272(%rsp)
	xorl	%eax, %eax
	leaq	44(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movl	%eax, 24(%rsp)
	testl	%eax, %eax
	jle	.L12
	leaq	48(%rsp), %rbx
	movl	$1, %r12d
	leaq	.LC1(%rip), %r13
	movq	%rbx, %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	addq	$4, %rbp
	movq	%r13, %rdi
	xorl	%eax, %eax
	movq	%rbp, %rdx
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	cmpl	%r12d, %eax
	jge	.L3
	movl	%eax, 24(%rsp)
	movl	%eax, %edi
	testl	%eax, %eax
	jle	.L12
	leal	-1(%rdi), %edx
	leaq	872(%rsp), %rax
	imulq	$408, %rdx, %rdx
	leaq	1280(%rsp,%rdx), %rdx
	.p2align 4,,10
	.p2align 3
.L4:
	movl	$0, (%rax)
	addq	$408, %rax
	cmpq	%rdx, %rax
	jne	.L4
	movl	24(%rsp), %eax
	cmpl	$1, %eax
	jle	.L12
	addl	$1, %eax
	leaq	876(%rsp), %rdi
	leaq	56(%rsp), %r14
	movl	$2, %r15d
	movq	%rdi, 8(%rsp)
	movl	%eax, 28(%rsp)
	movq	%rax, 16(%rsp)
	.p2align 4,,10
	.p2align 3
.L6:
	movl	28(%rsp), %eax
	movl	%r15d, %r9d
	subl	%r15d, %eax
	testl	%eax, %eax
	jle	.L9
	movl	24(%rsp), %r13d
	movq	8(%rsp), %r8
	leaq	868(%rsp), %r10
	movl	$1, %r12d
	subl	%r15d, %r13d
	addq	$2, %r13
	.p2align 4,,10
	.p2align 3
.L8:
	movl	$1000000000, (%r8)
	cmpl	%r12d, %r9d
	jle	.L11
	movl	-4(%rbx,%r12,4), %r11d
	movl	-4(%r14,%r12,4), %edi
	movq	%r8, %rsi
	movq	%r12, %rdx
	movl	$1000000000, %ecx
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx,%rdx,4), %ebp
	movl	404(%rsi), %eax
	addl	(%r10,%rdx,4), %eax
	imull	%r11d, %ebp
	imull	%edi, %ebp
	addl	%ebp, %eax
	cmpl	%eax, %ecx
	cmovg	%eax, %ecx
	addq	$1, %rdx
	addq	$404, %rsi
	movl	%ecx, (%r8)
	cmpl	%edx, %r9d
	jg	.L10
.L11:
	addq	$1, %r12
	addq	$408, %r8
	addl	$1, %r9d
	addq	$404, %r10
	cmpq	%r13, %r12
	jne	.L8
.L9:
	addq	$4, 8(%rsp)
	addq	$4, %r14
	addq	$1, %r15
	cmpq	16(%rsp), %r15
	jne	.L6
.L12:
	movslq	24(%rsp), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movl	868(%rsp,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	41272(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$41288, %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
.L21:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.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
	.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>
int Min(int,int);

int main(){
  int n,i,j,k,l;
  int f[101],s[101][101];
  scanf("%d",&n);
  for(i=1;i<=n;i++){
    scanf("%d %d",&f[i-1],&f[i]);
  }
  for(i=1;i<=n;i++){
    s[i][i]=0;
  }
  for(l=2; l<=n; l++){
    for(i=1; i<=n-l+1; i++){
      j=i+l-1;
      s[i][j]=1E+9;
      for(k=i; k<=j-1;k++){
    s[i][j] = Min(s[i][j],s[i][k]+s[k+1][j]+f[i-1]*f[k]*f[j]);
      }
    }
  }
    printf("%d\n",s[1][n]);
    return 0;
}

int Min(int a,int b){
  if(a<b){
    return a;
  }
  else{
    return b;
  }
}


6
10 35
35 15
15 5
5 10
10 20
20 25
 6
1 35
35 15
15 5
5 10
10 20
20 25
 6
30 35
35 15
15 5
5 10
10 20
20 29
 6
2 35
35 15
15 5
5 10
10 20
20 25
 6
2 35
35 15
15 5
5 10
10 20
20 24
 6
30 35
35 15
15 5
5 10
10 20
20 27
 6
30 35
35 15
15 5
5 10
10 20
20 8
 6
30 35
35 15
15 5
5 10
10 20
20 7
 6
2 35
35 15
15 5
5 10
10 20
20 34
 6
29 35
35 15
15 5
5 10
10 20
20 7

9125
 1350
 16125
 2700
 2660
 15625
 10875
 10625
 3060
 10415

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>
int Min(int,int);

int main(){
  int n,i,j,k,l;
  int f[101],s[101][101];
  scanf("%d",&n);
  for(i=1;i<=n;i++){
    scanf("%d %d",&f[i-1],&f[i]);
  }
  for(i=1;i<=n;i++){
    s[i][i]=0;
  }
  for(l=2; l<=n; l++){
    for(i=1; i<=n-l+1; i++){
      j=i+l-1;
      s[i][j]=1E+9;
      for(k=i; k<=j-1;k++){
    s[i][j] = Min(s[i][j],s[i][k]+s[k+1][j]+f[i-1]*f[k]*f[j]);
      }
    }
  }
    printf("%d\n",s[1][n]);
    return 0;
}

int Min(int a,int b){
  if(a<b){
    return a;
  }
  else{
    return b;
  }
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%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
	leaq	-40960(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$304, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-41252(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -41248(%rbp)
	jmp	.L2
.L3:
	leaq	-41232(%rbp), %rdx
	movl	-41248(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-41248(%rbp), %eax
	subl	$1, %eax
	leaq	-41232(%rbp), %rcx
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -41248(%rbp)
.L2:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L3
	movl	$1, -41248(%rbp)
	jmp	.L4
.L5:
	movl	-41248(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	addq	%rbp, %rax
	subq	$40816, %rax
	movl	$0, (%rax)
	addl	$1, -41248(%rbp)
.L4:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L5
	movl	$2, -41240(%rbp)
	jmp	.L6
.L11:
	movl	$1, -41248(%rbp)
	jmp	.L7
.L10:
	movl	-41248(%rbp), %edx
	movl	-41240(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	movl	%eax, -41236(%rbp)
	movl	-41236(%rbp), %eax
	movslq	%eax, %rcx
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40816(%rbp,%rax,4)
	movl	-41248(%rbp), %eax
	movl	%eax, -41244(%rbp)
	jmp	.L8
.L9:
	movl	-41244(%rbp), %eax
	movslq	%eax, %rcx
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-40816(%rbp,%rax,4), %ecx
	movl	-41244(%rbp), %eax
	leal	1(%rax), %edx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-40816(%rbp,%rax,4), %eax
	addl	%eax, %ecx
	movl	-41248(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-41232(%rbp,%rax,4), %edx
	movl	-41244(%rbp), %eax
	cltq
	movl	-41232(%rbp,%rax,4), %eax
	imull	%eax, %edx
	movl	-41236(%rbp), %eax
	cltq
	movl	-41232(%rbp,%rax,4), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-40816(%rbp,%rax,4), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	Min
	movl	%eax, %ecx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	%ecx, -40816(%rbp,%rax,4)
	addl	$1, -41244(%rbp)
.L8:
	movl	-41236(%rbp), %eax
	cmpl	-41244(%rbp), %eax
	jg	.L9
	addl	$1, -41248(%rbp)
.L7:
	movl	-41252(%rbp), %eax
	subl	-41240(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L10
	addl	$1, -41240(%rbp)
.L6:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41240(%rbp)
	jle	.L11
	movl	-41252(%rbp), %eax
	cltq
	addq	$101, %rax
	movl	-40816(%rbp,%rax,4), %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	.L13
	call	__stack_chk_fail@PLT
.L13:
	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), %eax
	cmpl	-8(%rbp), %eax
	jge	.L15
	movl	-4(%rbp), %eax
	jmp	.L16
.L15:
	movl	-8(%rbp), %eax
.L16:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Min, .-Min
	.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\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	-40960(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$304, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-41252(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -41248(%rbp)
	jmp	.L2
.L3:
	leaq	-41232(%rbp), %rdx
	movl	-41248(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rax, %rdx
	movl	-41248(%rbp), %eax
	subl	$1, %eax
	leaq	-41232(%rbp), %rcx
	cltq
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -41248(%rbp)
.L2:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L3
	movl	$1, -41248(%rbp)
	jmp	.L4
.L5:
	movl	-41248(%rbp), %eax
	cltq
	imulq	$408, %rax, %rax
	addq	%rbp, %rax
	subq	$40816, %rax
	movl	$0, (%rax)
	addl	$1, -41248(%rbp)
.L4:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L5
	movl	$2, -41240(%rbp)
	jmp	.L6
.L11:
	movl	$1, -41248(%rbp)
	jmp	.L7
.L10:
	movl	-41248(%rbp), %edx
	movl	-41240(%rbp), %eax
	addl	%edx, %eax
	subl	$1, %eax
	movl	%eax, -41236(%rbp)
	movl	-41236(%rbp), %eax
	movslq	%eax, %rcx
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	$1000000000, -40816(%rbp,%rax,4)
	movl	-41248(%rbp), %eax
	movl	%eax, -41244(%rbp)
	jmp	.L8
.L9:
	movl	-41244(%rbp), %eax
	movslq	%eax, %rcx
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-40816(%rbp,%rax,4), %ecx
	movl	-41244(%rbp), %eax
	leal	1(%rax), %edx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%edx, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-40816(%rbp,%rax,4), %eax
	addl	%eax, %ecx
	movl	-41248(%rbp), %eax
	subl	$1, %eax
	cltq
	movl	-41232(%rbp,%rax,4), %edx
	movl	-41244(%rbp), %eax
	cltq
	movl	-41232(%rbp,%rax,4), %eax
	imull	%eax, %edx
	movl	-41236(%rbp), %eax
	cltq
	movl	-41232(%rbp,%rax,4), %eax
	imull	%edx, %eax
	addl	%eax, %ecx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-40816(%rbp,%rax,4), %eax
	movl	%ecx, %esi
	movl	%eax, %edi
	call	Min
	movl	%eax, %ecx
	movl	-41236(%rbp), %eax
	movslq	%eax, %rsi
	movl	-41248(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdi
	addq	%rdi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	%ecx, -40816(%rbp,%rax,4)
	addl	$1, -41244(%rbp)
.L8:
	movl	-41236(%rbp), %eax
	cmpl	-41244(%rbp), %eax
	jg	.L9
	addl	$1, -41248(%rbp)
.L7:
	movl	-41252(%rbp), %eax
	subl	-41240(%rbp), %eax
	addl	$1, %eax
	cmpl	%eax, -41248(%rbp)
	jle	.L10
	addl	$1, -41240(%rbp)
.L6:
	movl	-41252(%rbp), %eax
	cmpl	%eax, -41240(%rbp)
	jle	.L11
	movl	-41252(%rbp), %eax
	cltq
	addq	$101, %rax
	movl	-40816(%rbp,%rax,4), %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	.L13
	call	__stack_chk_fail@PLT
.L13:
	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), %eax
	cmpl	-8(%rbp), %eax
	jge	.L15
	movl	-4(%rbp), %eax
	jmp	.L16
.L15:
	movl	-8(%rbp), %eax
.L16:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	Min, .-Min
	.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:
