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

```c
#include <stdio.h>
typedef long long ll;

int main(){
  ll n, m, c, a, b[100+1]={0}, cnt=0, sum;
  scanf("%lld%lld%lld", &n, &m, &c);
  for(int i=0; i<m; i++){
    scanf("%lld", &b[i]);
  }
  for(int i=0; i<n; i++){
    sum=0;
    for(int j=0; j<m; j++){
      scanf("%lld", &a);
      sum += a*b[j];
    }
    if( sum+c > 0 ){ cnt++; }
  }
  printf("%lld", cnt);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.unlikely,"ax",@progbits
.LCOLDB2:
	.section	.text.startup,"ax",@progbits
.LHOTB2:
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$101, %ecx
	leaq	.LC1(%rip), %r15
	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	$872, %rsp
	.cfi_def_cfa_offset 928
	movq	%fs:40, %rax
	movq	%rax, 856(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbp
	leaq	24(%rsp), %rdx
	movq	%rbp, %rdi
	leaq	16(%rsp), %rsi
	rep stosq
	leaq	32(%rsp), %rcx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	testq	%r13, %r13
	jle	.L2
	movq	%rbp, %r12
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	addq	$8, %r12
	cmpq	%rbx, %r13
	jg	.L3
.L2:
	movq	16(%rsp), %rcx
	movq	$1, (%rsp)
	leaq	40(%rsp), %r12
	movq	$0, 8(%rsp)
	testq	%rcx, %rcx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r13, %rax
	testq	%r13, %r13
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	0(%rbp,%r14,8), %rax
	imulq	40(%rsp), %rax
	addq	$1, %r14
	addq	%rax, %rbx
	movq	24(%rsp), %rax
	cmpq	%r14, %rax
	jg	.L6
	movq	16(%rsp), %rcx
.L12:
	movq	32(%rsp), %rdx
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	addq	%rdx, %rbx
	testq	%rbx, %rbx
	setg	%sil
	addq	%rsi, 8(%rsp)
	movslq	%edi, %rsi
	cmpq	%rdi, %rcx
	jle	.L5
	addq	$1, %rdi
	movq	%rdi, (%rsp)
	testq	%r13, %r13
	jle	.L10
	movq	%rax, %r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$872, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	main.cold, @function
main.cold:
.LFSB23:
.L28:
	.cfi_def_cfa_offset 928
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	addq	$1, 8(%rsp)
.L9:
	addq	$1, %rsi
	cmpq	%rsi, %rcx
	jle	.L27
.L10:
	testq	%rdx, %rdx
	jg	.L28
	jmp	.L9
.L27:
	jmp	.L5
	.cfi_endproc
.LFE23:
	.section	.text.startup
	.size	main, .-main
	.section	.text.unlikely
	.size	main.cold, .-main.cold
.LCOLDE2:
	.section	.text.startup
.LHOTE2:
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.unlikely,"ax",@progbits
.LCOLDB2:
	.section	.text.startup,"ax",@progbits
.LHOTB2:
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$101, %ecx
	leaq	.LC1(%rip), %r15
	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	$872, %rsp
	.cfi_def_cfa_offset 928
	movq	%fs:40, %rax
	movq	%rax, 856(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbp
	leaq	24(%rsp), %rdx
	movq	%rbp, %rdi
	leaq	16(%rsp), %rsi
	rep stosq
	leaq	32(%rsp), %rcx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	testq	%r13, %r13
	jle	.L2
	movq	%rbp, %r12
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	addq	$8, %r12
	cmpq	%rbx, %r13
	jg	.L3
.L2:
	movq	16(%rsp), %rcx
	movq	$1, (%rsp)
	leaq	40(%rsp), %r12
	movq	$0, 8(%rsp)
	testq	%rcx, %rcx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r13, %rax
	testq	%r13, %r13
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	0(%rbp,%r14,8), %rax
	imulq	40(%rsp), %rax
	addq	$1, %r14
	addq	%rax, %rbx
	movq	24(%rsp), %rax
	cmpq	%r14, %rax
	jg	.L6
	movq	16(%rsp), %rcx
.L12:
	movq	32(%rsp), %rdx
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	addq	%rdx, %rbx
	testq	%rbx, %rbx
	setg	%sil
	addq	%rsi, 8(%rsp)
	movslq	%edi, %rsi
	cmpq	%rdi, %rcx
	jle	.L5
	addq	$1, %rdi
	movq	%rdi, (%rsp)
	testq	%r13, %r13
	jle	.L10
	movq	%rax, %r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$872, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	main.cold, @function
main.cold:
.LFSB23:
.L28:
	.cfi_def_cfa_offset 928
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	addq	$1, 8(%rsp)
.L9:
	addq	$1, %rsi
	cmpq	%rsi, %rcx
	jle	.L27
.L10:
	testq	%rdx, %rdx
	jg	.L28
	jmp	.L9
.L27:
	jmp	.L5
	.cfi_endproc
.LFE23:
	.section	.text.startup
	.size	main, .-main
	.section	.text.unlikely
	.size	main.cold, .-main.cold
.LCOLDE2:
	.section	.text.startup
.LHOTE2:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.unlikely,"ax",@progbits
.LCOLDB2:
	.section	.text.startup,"ax",@progbits
.LHOTB2:
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$101, %ecx
	leaq	.LC1(%rip), %r15
	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	$872, %rsp
	.cfi_def_cfa_offset 928
	movq	%fs:40, %rax
	movq	%rax, 856(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbp
	leaq	24(%rsp), %rdx
	movq	%rbp, %rdi
	leaq	16(%rsp), %rsi
	rep stosq
	leaq	32(%rsp), %rcx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	testq	%r13, %r13
	jle	.L2
	movq	%rbp, %r12
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	addq	$8, %r12
	cmpq	%rbx, %r13
	jg	.L3
.L2:
	movq	16(%rsp), %rcx
	movq	$1, (%rsp)
	leaq	40(%rsp), %r12
	movq	$0, 8(%rsp)
	testq	%rcx, %rcx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r13, %rax
	testq	%r13, %r13
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	0(%rbp,%r14,8), %rax
	imulq	40(%rsp), %rax
	addq	$1, %r14
	addq	%rax, %rbx
	movq	24(%rsp), %rax
	cmpq	%r14, %rax
	jg	.L6
	movq	16(%rsp), %rcx
.L12:
	movq	32(%rsp), %rdx
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	addq	%rdx, %rbx
	testq	%rbx, %rbx
	setg	%sil
	addq	%rsi, 8(%rsp)
	movslq	%edi, %rsi
	cmpq	%rdi, %rcx
	jle	.L5
	addq	$1, %rdi
	movq	%rdi, (%rsp)
	testq	%r13, %r13
	jle	.L10
	movq	%rax, %r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$872, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	main.cold, @function
main.cold:
.LFSB23:
.L28:
	.cfi_def_cfa_offset 928
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	addq	$1, 8(%rsp)
.L9:
	addq	$1, %rsi
	cmpq	%rsi, %rcx
	jle	.L27
.L10:
	testq	%rdx, %rdx
	jg	.L28
	jmp	.L9
.L27:
	jmp	.L5
	.cfi_endproc
.LFE23:
	.section	.text.startup
	.size	main, .-main
	.section	.text.unlikely
	.size	main.cold, .-main.cold
.LCOLDE2:
	.section	.text.startup
.LHOTE2:
	.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:
```
```c
#include <stdio.h>
typedef long long ll;

int main(){
  ll n, m, c, a, b[100+1]={0}, cnt=0, sum;
  scanf("%lld%lld%lld", &n, &m, &c);
  for(int i=0; i<m; i++){
    scanf("%lld", &b[i]);
  }
  for(int i=0; i<n; i++){
    sum=0;
    for(int j=0; j<m; j++){
      scanf("%lld", &a);
      sum += a*b[j];
    }
    if( sum+c > 0 ){ cnt++; }
  }
  printf("%lld", cnt);
  return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
typedef long long ll;

int main(){
  ll n, m, c, a, b[100+1]={0}, cnt=0, sum;
  scanf("%lld%lld%lld", &n, &m, &c);
  for(int i=0; i<m; i++){
    scanf("%lld", &b[i]);
  }
  for(int i=0; i<n; i++){
    sum=0;
    for(int j=0; j<m; j++){
      scanf("%lld", &a);
      sum += a*b[j];
    }
    if( sum+c > 0 ){ cnt++; }
  }
  printf("%lld", cnt);
  return 0;
}
```

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.
Optimized Assembly Code:

3 3 0
100 -100 0
0 100 101
100 100 100
-100 100 100
 5 2 -4
-2 5
100 41
100 40
-4 0
-6 -2
18 -13
 3 3 0
101 -100 0
0 100 101
100 100 100
-100 100 100
 5 2 -4
-2 5
100 41
001 40
-3 1
-6 -2
18 -13
 2 3 -10
1 2 3
3 2 1
1 1 2
 5 2 -4
-2 5
100 41
100 40
-4 -1
-6 -2
18 -13
 2 3 -10
1 2 3
3 2 1
1 1 1
 3 3 0
101 -100 0
-1 100 101
100 100 100
-100 100 100
 2 2 -4
-2 5
100 41
100 40
-4 -1
-6 -2
18 -13
 2 3 -11
1 2 3
3 2 1
1 1 1

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

```c
#include <stdio.h>
typedef long long ll;

int main(){
  ll n, m, c, a, b[100+1]={0}, cnt=0, sum;
  scanf("%lld%lld%lld", &n, &m, &c);
  for(int i=0; i<m; i++){
    scanf("%lld", &b[i]);
  }
  for(int i=0; i<n; i++){
    sum=0;
    for(int j=0; j<m; j++){
      scanf("%lld", &a);
      sum += a*b[j];
    }
    if( sum+c > 0 ){ cnt++; }
  }
  printf("%lld", cnt);
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.unlikely,"ax",@progbits
.LCOLDB2:
	.section	.text.startup,"ax",@progbits
.LHOTB2:
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$101, %ecx
	leaq	.LC1(%rip), %r15
	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	$872, %rsp
	.cfi_def_cfa_offset 928
	movq	%fs:40, %rax
	movq	%rax, 856(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbp
	leaq	24(%rsp), %rdx
	movq	%rbp, %rdi
	leaq	16(%rsp), %rsi
	rep stosq
	leaq	32(%rsp), %rcx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	testq	%r13, %r13
	jle	.L2
	movq	%rbp, %r12
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	addq	$8, %r12
	cmpq	%rbx, %r13
	jg	.L3
.L2:
	movq	16(%rsp), %rcx
	movq	$1, (%rsp)
	leaq	40(%rsp), %r12
	movq	$0, 8(%rsp)
	testq	%rcx, %rcx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r13, %rax
	testq	%r13, %r13
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	0(%rbp,%r14,8), %rax
	imulq	40(%rsp), %rax
	addq	$1, %r14
	addq	%rax, %rbx
	movq	24(%rsp), %rax
	cmpq	%r14, %rax
	jg	.L6
	movq	16(%rsp), %rcx
.L12:
	movq	32(%rsp), %rdx
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	addq	%rdx, %rbx
	testq	%rbx, %rbx
	setg	%sil
	addq	%rsi, 8(%rsp)
	movslq	%edi, %rsi
	cmpq	%rdi, %rcx
	jle	.L5
	addq	$1, %rdi
	movq	%rdi, (%rsp)
	testq	%r13, %r13
	jle	.L10
	movq	%rax, %r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$872, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	main.cold, @function
main.cold:
.LFSB23:
.L28:
	.cfi_def_cfa_offset 928
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	addq	$1, 8(%rsp)
.L9:
	addq	$1, %rsi
	cmpq	%rsi, %rcx
	jle	.L27
.L10:
	testq	%rdx, %rdx
	jg	.L28
	jmp	.L9
.L27:
	jmp	.L5
	.cfi_endproc
.LFE23:
	.section	.text.startup
	.size	main, .-main
	.section	.text.unlikely
	.size	main.cold, .-main.cold
.LCOLDE2:
	.section	.text.startup
.LHOTE2:
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld%lld%lld"
.LC1:
	.string	"%lld"
	.section	.text.unlikely,"ax",@progbits
.LCOLDB2:
	.section	.text.startup,"ax",@progbits
.LHOTB2:
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	$101, %ecx
	leaq	.LC1(%rip), %r15
	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	$872, %rsp
	.cfi_def_cfa_offset 928
	movq	%fs:40, %rax
	movq	%rax, 856(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %rbp
	leaq	24(%rsp), %rdx
	movq	%rbp, %rdi
	leaq	16(%rsp), %rsi
	rep stosq
	leaq	32(%rsp), %rcx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	testq	%r13, %r13
	jle	.L2
	movq	%rbp, %r12
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__isoc99_scanf@PLT
	movq	24(%rsp), %r13
	addq	$8, %r12
	cmpq	%rbx, %r13
	jg	.L3
.L2:
	movq	16(%rsp), %rcx
	movq	$1, (%rsp)
	leaq	40(%rsp), %r12
	movq	$0, 8(%rsp)
	testq	%rcx, %rcx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	%r13, %rax
	testq	%r13, %r13
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r12, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	0(%rbp,%r14,8), %rax
	imulq	40(%rsp), %rax
	addq	$1, %r14
	addq	%rax, %rbx
	movq	24(%rsp), %rax
	cmpq	%r14, %rax
	jg	.L6
	movq	16(%rsp), %rcx
.L12:
	movq	32(%rsp), %rdx
	movq	(%rsp), %rdi
	xorl	%esi, %esi
	addq	%rdx, %rbx
	testq	%rbx, %rbx
	setg	%sil
	addq	%rsi, 8(%rsp)
	movslq	%edi, %rsi
	cmpq	%rdi, %rcx
	jle	.L5
	addq	$1, %rdi
	movq	%rdi, (%rsp)
	testq	%r13, %r13
	jle	.L10
	movq	%rax, %r13
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	movq	8(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	856(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L26
	addq	$872, %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
.L26:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	main.cold, @function
main.cold:
.LFSB23:
.L28:
	.cfi_def_cfa_offset 928
	.cfi_offset 3, -56
	.cfi_offset 6, -48
	.cfi_offset 12, -40
	.cfi_offset 13, -32
	.cfi_offset 14, -24
	.cfi_offset 15, -16
	addq	$1, 8(%rsp)
.L9:
	addq	$1, %rsi
	cmpq	%rsi, %rcx
	jle	.L27
.L10:
	testq	%rdx, %rdx
	jg	.L28
	jmp	.L9
.L27:
	jmp	.L5
	.cfi_endproc
.LFE23:
	.section	.text.startup
	.size	main, .-main
	.section	.text.unlikely
	.size	main.cold, .-main.cold
.LCOLDE2:
	.section	.text.startup
.LHOTE2:
	.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:
```