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 main()
{
	int n,m,c,b[20],a[20][20],s=0,k=0,i,j;

	scanf("%d%d%d",&n,&m,&c);
	for(i=0;i<m;i++)
		scanf("%d",&b[i]);
	for(i=0;i<n;i++)
		for(j=0;j<m;j++)
			scanf("%d",&a[i][j]);

	for(i=0;i<n;i++){
		for(j=0;j<m;j++)
			s+=a[i][j]*b[j];
		if(s+c>0)
			k++;
		s=0;
	}
	printf("%d",k);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
	.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	$1728, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -1712(%rbp)
	movl	$0, -1708(%rbp)
	leaq	-1716(%rbp), %rcx
	leaq	-1720(%rbp), %rdx
	leaq	-1724(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1704(%rbp)
	jmp	.L2
.L3:
	leaq	-1696(%rbp), %rdx
	movl	-1704(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -1704(%rbp)
.L2:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L3
	movl	$0, -1704(%rbp)
	jmp	.L4
.L7:
	movl	$0, -1700(%rbp)
	jmp	.L5
.L6:
	leaq	-1616(%rbp), %rcx
	movl	-1700(%rbp), %eax
	movslq	%eax, %rsi
	movl	-1704(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	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, -1700(%rbp)
.L5:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1700(%rbp)
	jl	.L6
	addl	$1, -1704(%rbp)
.L4:
	movl	-1724(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L7
	movl	$0, -1704(%rbp)
	jmp	.L8
.L12:
	movl	$0, -1700(%rbp)
	jmp	.L9
.L10:
	movl	-1700(%rbp), %eax
	movslq	%eax, %rcx
	movl	-1704(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-1616(%rbp,%rax,4), %edx
	movl	-1700(%rbp), %eax
	cltq
	movl	-1696(%rbp,%rax,4), %eax
	imull	%edx, %eax
	addl	%eax, -1712(%rbp)
	addl	$1, -1700(%rbp)
.L9:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1700(%rbp)
	jl	.L10
	movl	-1716(%rbp), %edx
	movl	-1712(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jle	.L11
	addl	$1, -1708(%rbp)
.L11:
	movl	$0, -1712(%rbp)
	addl	$1, -1704(%rbp)
.L8:
	movl	-1724(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L12
	movl	-1708(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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%d%d"
.LC1:
	.string	"%d"
	.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
	leaq	.LC0(%rip), %rdi
	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	$1720, %rsp
	.cfi_def_cfa_offset 1776
	movq	%fs:40, %rax
	movq	%rax, 1704(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rcx
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	4(%rsp), %edi
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	leaq	96(%rsp), %r12
	testl	%edi, %edi
	jle	.L5
	testl	%eax, %eax
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	(%r12,%r14,4), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L6
	movl	4(%rsp), %edi
	addl	$1, %r13d
	cmpl	%r13d, %edi
	jle	.L41
	addq	$20, %r14
	testl	%eax, %eax
	jg	.L11
.L9:
	movdqa	16(%rsp), %xmm2
	movdqa	32(%rsp), %xmm4
	movl	%eax, %r8d
	movl	%eax, %r10d
	movdqa	48(%rsp), %xmm6
	movl	12(%rsp), %r11d
	leal	-1(%rax), %ebx
	xorl	%esi, %esi
	movdqa	%xmm2, %xmm3
	movdqa	%xmm4, %xmm5
	shrl	$2, %r8d
	andl	$-4, %r10d
	movdqa	64(%rsp), %xmm7
	movdqa	%xmm6, %xmm8
	psrlq	$32, %xmm3
	xorl	%r9d, %r9d
	movdqa	80(%rsp), %xmm9
	psrlq	$32, %xmm5
	psrlq	$32, %xmm8
	movdqa	%xmm7, %xmm10
	movdqa	%xmm9, %xmm11
	psrlq	$32, %xmm10
	psrlq	$32, %xmm11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edx
	testl	%eax, %eax
	jle	.L20
	cmpl	$2, %ebx
	jbe	.L23
	movdqa	(%r12), %xmm1
	movdqa	%xmm2, %xmm0
	pmuludq	(%r12), %xmm0
	pshufd	$8, %xmm0, %xmm0
	psrlq	$32, %xmm1
	pmuludq	%xmm3, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	cmpl	$1, %r8d
	jbe	.L15
	movdqa	16(%r12), %xmm1
	movdqa	%xmm4, %xmm12
	pmuludq	16(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm5, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
	cmpl	$2, %r8d
	je	.L15
	movdqa	32(%r12), %xmm1
	movdqa	%xmm6, %xmm12
	pmuludq	32(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm8, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
	cmpl	$3, %r8d
	je	.L15
	movdqa	48(%r12), %xmm1
	movdqa	%xmm7, %xmm12
	pmuludq	48(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm10, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
	cmpl	$4, %r8d
	je	.L15
	movdqa	64(%r12), %xmm1
	movdqa	%xmm9, %xmm12
	pmuludq	64(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm11, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
.L15:
	movdqa	%xmm0, %xmm1
	movl	%r10d, %ecx
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%eax, %r10d
	je	.L16
.L14:
	movslq	%esi, %rbp
	movslq	%ecx, %r14
	leaq	0(%rbp,%rbp,4), %rbp
	salq	$2, %rbp
	leaq	0(%rbp,%r14), %r13
	movl	96(%rsp,%r13,4), %r13d
	imull	16(%rsp,%r14,4), %r13d
	addl	%r13d, %edx
	leal	1(%rcx), %r13d
	cmpl	%eax, %r13d
	jge	.L16
	movslq	%r13d, %r14
	addl	$2, %ecx
	leaq	0(%rbp,%r14), %r13
	movl	96(%rsp,%r13,4), %r13d
	imull	16(%rsp,%r14,4), %r13d
	addl	%r13d, %edx
	cmpl	%ecx, %eax
	jle	.L16
	movslq	%ecx, %rcx
	addq	%rcx, %rbp
	movl	16(%rsp,%rcx,4), %ecx
	imull	96(%rsp,%rbp,4), %ecx
	addl	%ecx, %edx
.L16:
	addl	%r11d, %edx
.L20:
	testl	%edx, %edx
	setg	%dl
	addl	$1, %esi
	addq	$80, %r12
	movzbl	%dl, %edx
	addl	%edx, %r9d
	cmpl	%edi, %esi
	jne	.L13
.L18:
	xorl	%eax, %eax
	movl	%r9d, %edx
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	1704(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L42
	addq	$1720, %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
.L23:
	.cfi_restore_state
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	.L14
.L41:
	testl	%edi, %edi
	jg	.L9
.L5:
	xorl	%r9d, %r9d
	jmp	.L18
.L42:
	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%d%d"
.LC1:
	.string	"%d"
	.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
	leaq	.LC0(%rip), %rdi
	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	$1720, %rsp
	.cfi_def_cfa_offset 1776
	movq	%fs:40, %rax
	movq	%rax, 1704(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rcx
	leaq	8(%rsp), %rdx
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	4(%rsp), %edi
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	leaq	96(%rsp), %r12
	testl	%edi, %edi
	jle	.L5
	testl	%eax, %eax
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	(%r12,%r14,4), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%rbp, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	addq	$4, %rbp
	cmpl	%ebx, %eax
	jg	.L6
	movl	4(%rsp), %edi
	addl	$1, %r13d
	cmpl	%r13d, %edi
	jle	.L41
	addq	$20, %r14
	testl	%eax, %eax
	jg	.L11
.L9:
	movdqa	16(%rsp), %xmm2
	movdqa	32(%rsp), %xmm4
	movl	%eax, %r8d
	movl	%eax, %r10d
	movdqa	48(%rsp), %xmm6
	movl	12(%rsp), %r11d
	leal	-1(%rax), %ebx
	xorl	%esi, %esi
	movdqa	%xmm2, %xmm3
	movdqa	%xmm4, %xmm5
	shrl	$2, %r8d
	andl	$-4, %r10d
	movdqa	64(%rsp), %xmm7
	movdqa	%xmm6, %xmm8
	psrlq	$32, %xmm3
	xorl	%r9d, %r9d
	movdqa	80(%rsp), %xmm9
	psrlq	$32, %xmm5
	psrlq	$32, %xmm8
	movdqa	%xmm7, %xmm10
	movdqa	%xmm9, %xmm11
	psrlq	$32, %xmm10
	psrlq	$32, %xmm11
	.p2align 4,,10
	.p2align 3
.L13:
	movl	%r11d, %edx
	testl	%eax, %eax
	jle	.L20
	cmpl	$2, %ebx
	jbe	.L23
	movdqa	(%r12), %xmm1
	movdqa	%xmm2, %xmm0
	pmuludq	(%r12), %xmm0
	pshufd	$8, %xmm0, %xmm0
	psrlq	$32, %xmm1
	pmuludq	%xmm3, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm0
	cmpl	$1, %r8d
	jbe	.L15
	movdqa	16(%r12), %xmm1
	movdqa	%xmm4, %xmm12
	pmuludq	16(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm5, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
	cmpl	$2, %r8d
	je	.L15
	movdqa	32(%r12), %xmm1
	movdqa	%xmm6, %xmm12
	pmuludq	32(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm8, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
	cmpl	$3, %r8d
	je	.L15
	movdqa	48(%r12), %xmm1
	movdqa	%xmm7, %xmm12
	pmuludq	48(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm10, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
	cmpl	$4, %r8d
	je	.L15
	movdqa	64(%r12), %xmm1
	movdqa	%xmm9, %xmm12
	pmuludq	64(%r12), %xmm12
	pshufd	$8, %xmm12, %xmm12
	psrlq	$32, %xmm1
	pmuludq	%xmm11, %xmm1
	pshufd	$8, %xmm1, %xmm1
	punpckldq	%xmm1, %xmm12
	paddd	%xmm12, %xmm0
.L15:
	movdqa	%xmm0, %xmm1
	movl	%r10d, %ecx
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpl	%eax, %r10d
	je	.L16
.L14:
	movslq	%esi, %rbp
	movslq	%ecx, %r14
	leaq	0(%rbp,%rbp,4), %rbp
	salq	$2, %rbp
	leaq	0(%rbp,%r14), %r13
	movl	96(%rsp,%r13,4), %r13d
	imull	16(%rsp,%r14,4), %r13d
	addl	%r13d, %edx
	leal	1(%rcx), %r13d
	cmpl	%eax, %r13d
	jge	.L16
	movslq	%r13d, %r14
	addl	$2, %ecx
	leaq	0(%rbp,%r14), %r13
	movl	96(%rsp,%r13,4), %r13d
	imull	16(%rsp,%r14,4), %r13d
	addl	%r13d, %edx
	cmpl	%ecx, %eax
	jle	.L16
	movslq	%ecx, %rcx
	addq	%rcx, %rbp
	movl	16(%rsp,%rcx,4), %ecx
	imull	96(%rsp,%rbp,4), %ecx
	addl	%ecx, %edx
.L16:
	addl	%r11d, %edx
.L20:
	testl	%edx, %edx
	setg	%dl
	addl	$1, %esi
	addq	$80, %r12
	movzbl	%dl, %edx
	addl	%edx, %r9d
	cmpl	%edi, %esi
	jne	.L13
.L18:
	xorl	%eax, %eax
	movl	%r9d, %edx
	movq	%r15, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	1704(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L42
	addq	$1720, %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
.L23:
	.cfi_restore_state
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	.L14
.L41:
	testl	%edi, %edi
	jg	.L9
.L5:
	xorl	%r9d, %r9d
	jmp	.L18
.L42:
	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>
int main()
{
	int n,m,c,b[20],a[20][20],s=0,k=0,i,j;

	scanf("%d%d%d",&n,&m,&c);
	for(i=0;i<m;i++)
		scanf("%d",&b[i]);
	for(i=0;i<n;i++)
		for(j=0;j<m;j++)
			scanf("%d",&a[i][j]);

	for(i=0;i<n;i++){
		for(j=0;j<m;j++)
			s+=a[i][j]*b[j];
		if(s+c>0)
			k++;
		s=0;
	}
	printf("%d",k);
	return 0;
}
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 unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main()
{
	int n,m,c,b[20],a[20][20],s=0,k=0,i,j;

	scanf("%d%d%d",&n,&m,&c);
	for(i=0;i<m;i++)
		scanf("%d",&b[i]);
	for(i=0;i<n;i++)
		for(j=0;j<m;j++)
			scanf("%d",&a[i][j]);

	for(i=0;i<n;i++){
		for(j=0;j<m;j++)
			s+=a[i][j]*b[j];
		if(s+c>0)
			k++;
		s=0;
	}
	printf("%d",k);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
	.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	$1728, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -1712(%rbp)
	movl	$0, -1708(%rbp)
	leaq	-1716(%rbp), %rcx
	leaq	-1720(%rbp), %rdx
	leaq	-1724(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1704(%rbp)
	jmp	.L2
.L3:
	leaq	-1696(%rbp), %rdx
	movl	-1704(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -1704(%rbp)
.L2:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L3
	movl	$0, -1704(%rbp)
	jmp	.L4
.L7:
	movl	$0, -1700(%rbp)
	jmp	.L5
.L6:
	leaq	-1616(%rbp), %rcx
	movl	-1700(%rbp), %eax
	movslq	%eax, %rsi
	movl	-1704(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	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, -1700(%rbp)
.L5:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1700(%rbp)
	jl	.L6
	addl	$1, -1704(%rbp)
.L4:
	movl	-1724(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L7
	movl	$0, -1704(%rbp)
	jmp	.L8
.L12:
	movl	$0, -1700(%rbp)
	jmp	.L9
.L10:
	movl	-1700(%rbp), %eax
	movslq	%eax, %rcx
	movl	-1704(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-1616(%rbp,%rax,4), %edx
	movl	-1700(%rbp), %eax
	cltq
	movl	-1696(%rbp,%rax,4), %eax
	imull	%edx, %eax
	addl	%eax, -1712(%rbp)
	addl	$1, -1700(%rbp)
.L9:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1700(%rbp)
	jl	.L10
	movl	-1716(%rbp), %edx
	movl	-1712(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jle	.L11
	addl	$1, -1708(%rbp)
.L11:
	movl	$0, -1712(%rbp)
	addl	$1, -1704(%rbp)
.L8:
	movl	-1724(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L12
	movl	-1708(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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%d%d"
.LC1:
	.string	"%d"
	.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	$1728, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -1712(%rbp)
	movl	$0, -1708(%rbp)
	leaq	-1716(%rbp), %rcx
	leaq	-1720(%rbp), %rdx
	leaq	-1724(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -1704(%rbp)
	jmp	.L2
.L3:
	leaq	-1696(%rbp), %rdx
	movl	-1704(%rbp), %eax
	cltq
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -1704(%rbp)
.L2:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L3
	movl	$0, -1704(%rbp)
	jmp	.L4
.L7:
	movl	$0, -1700(%rbp)
	jmp	.L5
.L6:
	leaq	-1616(%rbp), %rcx
	movl	-1700(%rbp), %eax
	movslq	%eax, %rsi
	movl	-1704(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rsi, %rax
	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, -1700(%rbp)
.L5:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1700(%rbp)
	jl	.L6
	addl	$1, -1704(%rbp)
.L4:
	movl	-1724(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L7
	movl	$0, -1704(%rbp)
	jmp	.L8
.L12:
	movl	$0, -1700(%rbp)
	jmp	.L9
.L10:
	movl	-1700(%rbp), %eax
	movslq	%eax, %rcx
	movl	-1704(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-1616(%rbp,%rax,4), %edx
	movl	-1700(%rbp), %eax
	cltq
	movl	-1696(%rbp,%rax,4), %eax
	imull	%edx, %eax
	addl	%eax, -1712(%rbp)
	addl	$1, -1700(%rbp)
.L9:
	movl	-1720(%rbp), %eax
	cmpl	%eax, -1700(%rbp)
	jl	.L10
	movl	-1716(%rbp), %edx
	movl	-1712(%rbp), %eax
	addl	%edx, %eax
	testl	%eax, %eax
	jle	.L11
	addl	$1, -1708(%rbp)
.L11:
	movl	$0, -1712(%rbp)
	addl	$1, -1704(%rbp)
.L8:
	movl	-1724(%rbp), %eax
	cmpl	%eax, -1704(%rbp)
	jl	.L12
	movl	-1708(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
