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(void){
    int GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[i]);
    }


    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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(void){
    int GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[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(void){
    int GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[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:

5
100 99 98
100 97 68
63 89 63
99 99 99
89 97 98
 5
100 99 98
100 97 68
63 89 63
68 99 99
89 97 98
 5
100 99 98
100 97 92
63 53 63
99 99 99
89 97 98
 5
100 99 98
100 97 68
63 89 63
68 99 79
89 97 98
 5
100 99 98
100 97 92
63 32 63
99 99 99
89 97 98
 5
100 99 98
100 97 68
63 89 25
68 99 79
89 97 98
 5
100 99 98
000 97 92
63 32 63
99 99 99
89 97 98
 5
100 1 98
100 97 68
63 89 25
68 99 79
89 97 98
 5
100 1 98
100 97 68
44 89 25
68 99 79
89 97 98
 5
100 1 98
100 97 68
16 89 25
68 99 79
89 97 98

0
68
215
198
89
 0
68
215
167
89
 0
92
179
198
89
 0
68
215
147
89
 0
92
158
198
89
 0
68
177
147
89
 100
92
158
198
89
 1
68
177
246
89
 1
68
158
246
89
 1
68
130
246
89

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(void){
    int GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[i]);
    }


    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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:
```