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>
int main(){
	int n,x,m,i,j;
	int score[101] = {0},tar[101],yosou[101][101];
	scanf("%d%d",&n,&m);
	for(i = 1;i <= m;i++){
		scanf("%d",&tar[i]);
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			scanf("%d",&yosou[i][j]);
		}
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			if( yosou[i][j] == tar[i]){
				score[j]++;
			}else {
				score[tar[i]]++;
			}
		}
	}
	for(i = 1;i <= n;i++){
		printf("%d\n",score[i]);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%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	$728, %rsp
	.cfi_def_cfa_offset 41744
	movl	$50, %ecx
	movq	%fs:40, %rax
	movq	%rax, 41672(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdi
	leaq	28(%rsp), %rdx
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rsi
	rep stosq
	movl	$0, (%rdi)
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	movl	24(%rsp), %ecx
	testl	%eax, %eax
	jle	.L2
	leaq	452(%rsp), %rbp
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	movq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	addq	$4, %r14
	cmpl	%r12d, %edx
	jge	.L3
	movl	24(%rsp), %eax
	movl	%eax, %ecx
	testl	%edx, %edx
	jle	.L2
	leaq	1272(%rsp), %r12
	movl	$1, %r14d
	movq	%r12, (%rsp)
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L21:
	movq	(%rsp), %r15
	movl	$1, %r13d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r15
	cmpl	%r13d, %eax
	jge	.L5
	movl	28(%rsp), %edx
	addl	$1, %r14d
	cmpl	%r14d, %edx
	jl	.L34
	addq	$404, (%rsp)
	testl	%eax, %eax
	jg	.L21
.L33:
	cmpl	%r14d, %edx
	jle	.L9
.L18:
	movq	41672(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$41688, %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
.L34:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L11
.L9:
	testl	%eax, %eax
	jle	.L18
	subl	$1, %edx
	subl	$1, %eax
	leaq	36(%rsp), %r8
	leaq	456(%rsp,%rdx,4), %r9
	leaq	40(%rsp,%rax,4), %rdi
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	0(%rbp), %rcx
	movq	%r8, %rax
	movq	%r12, %rdx
	movq	%rcx, %rsi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$4, %rax
	addl	$1, 32(%rsp,%rcx,4)
	addq	$4, %rdx
	cmpq	%rdi, %rax
	je	.L36
.L15:
	cmpl	%esi, (%rdx)
	jne	.L13
	addl	$1, (%rax)
	addq	$4, %rax
	addq	$4, %rdx
	cmpq	%rdi, %rax
	jne	.L15
.L36:
	addq	$4, %rbp
	addq	$404, %r12
	cmpq	%r9, %rbp
	jne	.L12
.L16:
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L17:
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	(%rax,%rbx,4), %edx
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 24(%rsp)
	jge	.L17
	jmp	.L18
.L2:
	movl	%ecx, %eax
.L11:
	testl	%eax, %eax
	jg	.L16
	jmp	.L18
.L35:
	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:
```

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	"%d%d"
.LC1:
	.string	"%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	$728, %rsp
	.cfi_def_cfa_offset 41744
	movl	$50, %ecx
	movq	%fs:40, %rax
	movq	%rax, 41672(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdi
	leaq	28(%rsp), %rdx
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rsi
	rep stosq
	movl	$0, (%rdi)
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	movl	24(%rsp), %ecx
	testl	%eax, %eax
	jle	.L2
	leaq	452(%rsp), %rbp
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	movq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	addq	$4, %r14
	cmpl	%r12d, %edx
	jge	.L3
	movl	24(%rsp), %eax
	movl	%eax, %ecx
	testl	%edx, %edx
	jle	.L2
	leaq	1272(%rsp), %r12
	movl	$1, %r14d
	movq	%r12, (%rsp)
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L21:
	movq	(%rsp), %r15
	movl	$1, %r13d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r15
	cmpl	%r13d, %eax
	jge	.L5
	movl	28(%rsp), %edx
	addl	$1, %r14d
	cmpl	%r14d, %edx
	jl	.L34
	addq	$404, (%rsp)
	testl	%eax, %eax
	jg	.L21
.L33:
	cmpl	%r14d, %edx
	jle	.L9
.L18:
	movq	41672(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$41688, %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
.L34:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L11
.L9:
	testl	%eax, %eax
	jle	.L18
	subl	$1, %edx
	subl	$1, %eax
	leaq	36(%rsp), %r8
	leaq	456(%rsp,%rdx,4), %r9
	leaq	40(%rsp,%rax,4), %rdi
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	0(%rbp), %rcx
	movq	%r8, %rax
	movq	%r12, %rdx
	movq	%rcx, %rsi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$4, %rax
	addl	$1, 32(%rsp,%rcx,4)
	addq	$4, %rdx
	cmpq	%rdi, %rax
	je	.L36
.L15:
	cmpl	%esi, (%rdx)
	jne	.L13
	addl	$1, (%rax)
	addq	$4, %rax
	addq	$4, %rdx
	cmpq	%rdi, %rax
	jne	.L15
.L36:
	addq	$4, %rbp
	addq	$404, %r12
	cmpq	%r9, %rbp
	jne	.L12
.L16:
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L17:
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	(%rax,%rbx,4), %edx
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 24(%rsp)
	jge	.L17
	jmp	.L18
.L2:
	movl	%ecx, %eax
.L11:
	testl	%eax, %eax
	jg	.L16
	jmp	.L18
.L35:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%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	$728, %rsp
	.cfi_def_cfa_offset 41744
	movl	$50, %ecx
	movq	%fs:40, %rax
	movq	%rax, 41672(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdi
	leaq	28(%rsp), %rdx
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rsi
	rep stosq
	movl	$0, (%rdi)
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	movl	24(%rsp), %ecx
	testl	%eax, %eax
	jle	.L2
	leaq	452(%rsp), %rbp
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	movq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	addq	$4, %r14
	cmpl	%r12d, %edx
	jge	.L3
	movl	24(%rsp), %eax
	movl	%eax, %ecx
	testl	%edx, %edx
	jle	.L2
	leaq	1272(%rsp), %r12
	movl	$1, %r14d
	movq	%r12, (%rsp)
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L21:
	movq	(%rsp), %r15
	movl	$1, %r13d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r15
	cmpl	%r13d, %eax
	jge	.L5
	movl	28(%rsp), %edx
	addl	$1, %r14d
	cmpl	%r14d, %edx
	jl	.L34
	addq	$404, (%rsp)
	testl	%eax, %eax
	jg	.L21
.L33:
	cmpl	%r14d, %edx
	jle	.L9
.L18:
	movq	41672(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$41688, %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
.L34:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L11
.L9:
	testl	%eax, %eax
	jle	.L18
	subl	$1, %edx
	subl	$1, %eax
	leaq	36(%rsp), %r8
	leaq	456(%rsp,%rdx,4), %r9
	leaq	40(%rsp,%rax,4), %rdi
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	0(%rbp), %rcx
	movq	%r8, %rax
	movq	%r12, %rdx
	movq	%rcx, %rsi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$4, %rax
	addl	$1, 32(%rsp,%rcx,4)
	addq	$4, %rdx
	cmpq	%rdi, %rax
	je	.L36
.L15:
	cmpl	%esi, (%rdx)
	jne	.L13
	addl	$1, (%rax)
	addq	$4, %rax
	addq	$4, %rdx
	cmpq	%rdi, %rax
	jne	.L15
.L36:
	addq	$4, %rbp
	addq	$404, %r12
	cmpq	%r9, %rbp
	jne	.L12
.L16:
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L17:
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	(%rax,%rbx,4), %edx
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 24(%rsp)
	jge	.L17
	jmp	.L18
.L2:
	movl	%ecx, %eax
.L11:
	testl	%eax, %eax
	jg	.L16
	jmp	.L18
.L35:
	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:
```
```c
#include <stdio.h>
int main(){
	int n,x,m,i,j;
	int score[101] = {0},tar[101],yosou[101][101];
	scanf("%d%d",&n,&m);
	for(i = 1;i <= m;i++){
		scanf("%d",&tar[i]);
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			scanf("%d",&yosou[i][j]);
		}
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			if( yosou[i][j] == tar[i]){
				score[j]++;
			}else {
				score[tar[i]]++;
			}
		}
	}
	for(i = 1;i <= n;i++){
		printf("%d\n",score[i]);
	}
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
int main(){
	int n,x,m,i,j;
	int score[101] = {0},tar[101],yosou[101][101];
	scanf("%d%d",&n,&m);
	for(i = 1;i <= m;i++){
		scanf("%d",&tar[i]);
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			scanf("%d",&yosou[i][j]);
		}
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			if( yosou[i][j] == tar[i]){
				score[j]++;
			}else {
				score[tar[i]]++;
			}
		}
	}
	for(i = 1;i <= n;i++){
		printf("%d\n",score[i]);
	}
	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
4
1 2 3 2
1 1 2
3 2 2
1 1 3
2 2 2

3
4
5

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>
int main(){
	int n,x,m,i,j;
	int score[101] = {0},tar[101],yosou[101][101];
	scanf("%d%d",&n,&m);
	for(i = 1;i <= m;i++){
		scanf("%d",&tar[i]);
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			scanf("%d",&yosou[i][j]);
		}
	}
	for(i = 1;i <= m;i++){
		for(j = 1;j <= n;j++){
			if( yosou[i][j] == tar[i]){
				score[j]++;
			}else {
				score[tar[i]]++;
			}
		}
	}
	for(i = 1;i <= n;i++){
		printf("%d\n",score[i]);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%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	$728, %rsp
	.cfi_def_cfa_offset 41744
	movl	$50, %ecx
	movq	%fs:40, %rax
	movq	%rax, 41672(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdi
	leaq	28(%rsp), %rdx
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rsi
	rep stosq
	movl	$0, (%rdi)
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	movl	24(%rsp), %ecx
	testl	%eax, %eax
	jle	.L2
	leaq	452(%rsp), %rbp
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	movq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	addq	$4, %r14
	cmpl	%r12d, %edx
	jge	.L3
	movl	24(%rsp), %eax
	movl	%eax, %ecx
	testl	%edx, %edx
	jle	.L2
	leaq	1272(%rsp), %r12
	movl	$1, %r14d
	movq	%r12, (%rsp)
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L21:
	movq	(%rsp), %r15
	movl	$1, %r13d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r15
	cmpl	%r13d, %eax
	jge	.L5
	movl	28(%rsp), %edx
	addl	$1, %r14d
	cmpl	%r14d, %edx
	jl	.L34
	addq	$404, (%rsp)
	testl	%eax, %eax
	jg	.L21
.L33:
	cmpl	%r14d, %edx
	jle	.L9
.L18:
	movq	41672(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$41688, %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
.L34:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L11
.L9:
	testl	%eax, %eax
	jle	.L18
	subl	$1, %edx
	subl	$1, %eax
	leaq	36(%rsp), %r8
	leaq	456(%rsp,%rdx,4), %r9
	leaq	40(%rsp,%rax,4), %rdi
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	0(%rbp), %rcx
	movq	%r8, %rax
	movq	%r12, %rdx
	movq	%rcx, %rsi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$4, %rax
	addl	$1, 32(%rsp,%rcx,4)
	addq	$4, %rdx
	cmpq	%rdi, %rax
	je	.L36
.L15:
	cmpl	%esi, (%rdx)
	jne	.L13
	addl	$1, (%rax)
	addq	$4, %rax
	addq	$4, %rdx
	cmpq	%rdi, %rax
	jne	.L15
.L36:
	addq	$4, %rbp
	addq	$404, %r12
	cmpq	%r9, %rbp
	jne	.L12
.L16:
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L17:
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	(%rax,%rbx,4), %edx
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 24(%rsp)
	jge	.L17
	jmp	.L18
.L2:
	movl	%ecx, %eax
.L11:
	testl	%eax, %eax
	jg	.L16
	jmp	.L18
.L35:
	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:
```

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	"%d%d"
.LC1:
	.string	"%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	$728, %rsp
	.cfi_def_cfa_offset 41744
	movl	$50, %ecx
	movq	%fs:40, %rax
	movq	%rax, 41672(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdi
	leaq	28(%rsp), %rdx
	movq	%rdi, 8(%rsp)
	leaq	24(%rsp), %rsi
	rep stosq
	movl	$0, (%rdi)
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	movl	24(%rsp), %ecx
	testl	%eax, %eax
	jle	.L2
	leaq	452(%rsp), %rbp
	movl	$1, %r12d
	leaq	.LC1(%rip), %rbx
	movq	%rbp, %r14
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r14, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %edx
	addq	$4, %r14
	cmpl	%r12d, %edx
	jge	.L3
	movl	24(%rsp), %eax
	movl	%eax, %ecx
	testl	%edx, %edx
	jle	.L2
	leaq	1272(%rsp), %r12
	movl	$1, %r14d
	movq	%r12, (%rsp)
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L21:
	movq	(%rsp), %r15
	movl	$1, %r13d
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r13d
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	addq	$4, %r15
	cmpl	%r13d, %eax
	jge	.L5
	movl	28(%rsp), %edx
	addl	$1, %r14d
	cmpl	%r14d, %edx
	jl	.L34
	addq	$404, (%rsp)
	testl	%eax, %eax
	jg	.L21
.L33:
	cmpl	%r14d, %edx
	jle	.L9
.L18:
	movq	41672(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$41688, %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
.L34:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L11
.L9:
	testl	%eax, %eax
	jle	.L18
	subl	$1, %edx
	subl	$1, %eax
	leaq	36(%rsp), %r8
	leaq	456(%rsp,%rdx,4), %r9
	leaq	40(%rsp,%rax,4), %rdi
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	0(%rbp), %rcx
	movq	%r8, %rax
	movq	%r12, %rdx
	movq	%rcx, %rsi
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L13:
	addq	$4, %rax
	addl	$1, 32(%rsp,%rcx,4)
	addq	$4, %rdx
	cmpq	%rdi, %rax
	je	.L36
.L15:
	cmpl	%esi, (%rdx)
	jne	.L13
	addl	$1, (%rax)
	addq	$4, %rax
	addq	$4, %rdx
	cmpq	%rdi, %rax
	jne	.L15
.L36:
	addq	$4, %rbp
	addq	$404, %r12
	cmpq	%r9, %rbp
	jne	.L12
.L16:
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L17:
	movq	8(%rsp), %rax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	(%rax,%rbx,4), %edx
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 24(%rsp)
	jge	.L17
	jmp	.L18
.L2:
	movl	%ecx, %eax
.L11:
	testl	%eax, %eax
	jg	.L16
	jmp	.L18
.L35:
	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:
```