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 n,m;
  int a[100],b[100];
  int result[100];
  scanf("%d %d",&n,&m);
  for(int i=0;i<m;i++){
    scanf("%d %d",&a[i],&b[i]);
  }
  for(int i=0;i<n;i++){
    result[i]=0;
  }
  for(int i=0;i<m;i++){
    result[a[i]-1]++;
    result[b[i]-1]++;
  }
  for(int i=0;i<n;i++){
    printf("%d\n",result[i]);
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.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
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	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	$1240, %rsp
	.cfi_def_cfa_offset 1296
	movq	%fs:40, %rax
	movq	%rax, 1224(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r15
	xorl	%ebx, %ebx
	leaq	416(%rsp), %r13
	movq	%r15, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	addq	$1, %rbx
	addq	$4, %r12
	cmpl	%ebx, %ebp
	jg	.L3
	movl	8(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L4
	movslq	%ebx, %rdx
	leaq	816(%rsp), %r12
	xorl	%esi, %esi
	salq	$2, %rdx
	movq	%r12, %rdi
	call	memset@PLT
	testl	%ebp, %ebp
	jle	.L5
.L9:
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r15,%rdx,4), %eax
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	movl	0(%r13,%rdx,4), %eax
	addq	$1, %rdx
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	cmpl	%edx, %ebp
	jg	.L6
	leaq	816(%rsp), %r12
	testl	%ebx, %ebx
	jle	.L8
.L5:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jg	.L7
.L8:
	movq	1224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$1240, %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
.L2:
	.cfi_restore_state
	movslq	8(%rsp), %rax
	testl	%eax, %eax
	jle	.L8
	leaq	816(%rsp), %r12
	leaq	0(,%rax,4), %rdx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	jmp	.L5
.L4:
	testl	%ebp, %ebp
	jg	.L9
	jmp	.L8
.L19:
	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\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
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	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	$1240, %rsp
	.cfi_def_cfa_offset 1296
	movq	%fs:40, %rax
	movq	%rax, 1224(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r15
	xorl	%ebx, %ebx
	leaq	416(%rsp), %r13
	movq	%r15, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	addq	$1, %rbx
	addq	$4, %r12
	cmpl	%ebx, %ebp
	jg	.L3
	movl	8(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L4
	movslq	%ebx, %rdx
	leaq	816(%rsp), %r12
	xorl	%esi, %esi
	salq	$2, %rdx
	movq	%r12, %rdi
	call	memset@PLT
	testl	%ebp, %ebp
	jle	.L5
.L9:
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r15,%rdx,4), %eax
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	movl	0(%r13,%rdx,4), %eax
	addq	$1, %rdx
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	cmpl	%edx, %ebp
	jg	.L6
	leaq	816(%rsp), %r12
	testl	%ebx, %ebx
	jle	.L8
.L5:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jg	.L7
.L8:
	movq	1224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$1240, %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
.L2:
	.cfi_restore_state
	movslq	8(%rsp), %rax
	testl	%eax, %eax
	jle	.L8
	leaq	816(%rsp), %r12
	leaq	0(,%rax,4), %rdx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	jmp	.L5
.L4:
	testl	%ebp, %ebp
	jg	.L9
	jmp	.L8
.L19:
	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\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
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	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	$1240, %rsp
	.cfi_def_cfa_offset 1296
	movq	%fs:40, %rax
	movq	%rax, 1224(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r15
	xorl	%ebx, %ebx
	leaq	416(%rsp), %r13
	movq	%r15, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	addq	$1, %rbx
	addq	$4, %r12
	cmpl	%ebx, %ebp
	jg	.L3
	movl	8(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L4
	movslq	%ebx, %rdx
	leaq	816(%rsp), %r12
	xorl	%esi, %esi
	salq	$2, %rdx
	movq	%r12, %rdi
	call	memset@PLT
	testl	%ebp, %ebp
	jle	.L5
.L9:
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r15,%rdx,4), %eax
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	movl	0(%r13,%rdx,4), %eax
	addq	$1, %rdx
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	cmpl	%edx, %ebp
	jg	.L6
	leaq	816(%rsp), %r12
	testl	%ebx, %ebx
	jle	.L8
.L5:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jg	.L7
.L8:
	movq	1224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$1240, %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
.L2:
	.cfi_restore_state
	movslq	8(%rsp), %rax
	testl	%eax, %eax
	jle	.L8
	leaq	816(%rsp), %r12
	leaq	0(,%rax,4), %rdx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	jmp	.L5
.L4:
	testl	%ebp, %ebp
	jg	.L9
	jmp	.L8
.L19:
	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 n,m;
  int a[100],b[100];
  int result[100];
  scanf("%d %d",&n,&m);
  for(int i=0;i<m;i++){
    scanf("%d %d",&a[i],&b[i]);
  }
  for(int i=0;i<n;i++){
    result[i]=0;
  }
  for(int i=0;i<m;i++){
    result[a[i]-1]++;
    result[b[i]-1]++;
  }
  for(int i=0;i<n;i++){
    printf("%d\n",result[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 n,m;
  int a[100],b[100];
  int result[100];
  scanf("%d %d",&n,&m);
  for(int i=0;i<m;i++){
    scanf("%d %d",&a[i],&b[i]);
  }
  for(int i=0;i<n;i++){
    result[i]=0;
  }
  for(int i=0;i<m;i++){
    result[a[i]-1]++;
    result[b[i]-1]++;
  }
  for(int i=0;i<n;i++){
    printf("%d\n",result[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 5
1 2
2 1
1 2
2 1
1 2
 3 5
1 2
2 1
1 2
1 1
1 2
 8 7
1 2
3 4
1 5
2 8
3 7
5 2
4 1
6 8
 8 7
1 3
3 4
1 5
2 8
3 7
5 2
4 1
6 8
 2 5
1 2
2 1
1 2
2 2
1 2
 8 7
1 3
3 4
1 5
2 8
3 7
5 2
5 1
6 8
 4 3
1 2
4 3
1 4
 8 8
1 2
3 4
1 5
2 8
3 7
5 2
4 2
6 8
 3 5
1 2
2 1
1 3
2 1
1 2
 5 5
1 2
2 1
1 2
1 1
1 2

5
5
0
 6
4
0
 3
3
2
2
2
0
1
1
 3
2
3
2
2
0
1
1
 4
6
 3
2
3
1
3
0
1
1
 2
1
1
2
 2
4
2
2
2
1
1
2
 5
4
1
 6
4
0
0
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>
int main(void)
{
  int n,m;
  int a[100],b[100];
  int result[100];
  scanf("%d %d",&n,&m);
  for(int i=0;i<m;i++){
    scanf("%d %d",&a[i],&b[i]);
  }
  for(int i=0;i<n;i++){
    result[i]=0;
  }
  for(int i=0;i<m;i++){
    result[a[i]-1]++;
    result[b[i]-1]++;
  }
  for(int i=0;i<n;i++){
    printf("%d\n",result[i]);
  }
  return 0;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.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
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	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	$1240, %rsp
	.cfi_def_cfa_offset 1296
	movq	%fs:40, %rax
	movq	%rax, 1224(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r15
	xorl	%ebx, %ebx
	leaq	416(%rsp), %r13
	movq	%r15, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	addq	$1, %rbx
	addq	$4, %r12
	cmpl	%ebx, %ebp
	jg	.L3
	movl	8(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L4
	movslq	%ebx, %rdx
	leaq	816(%rsp), %r12
	xorl	%esi, %esi
	salq	$2, %rdx
	movq	%r12, %rdi
	call	memset@PLT
	testl	%ebp, %ebp
	jle	.L5
.L9:
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r15,%rdx,4), %eax
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	movl	0(%r13,%rdx,4), %eax
	addq	$1, %rdx
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	cmpl	%edx, %ebp
	jg	.L6
	leaq	816(%rsp), %r12
	testl	%ebx, %ebx
	jle	.L8
.L5:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jg	.L7
.L8:
	movq	1224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$1240, %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
.L2:
	.cfi_restore_state
	movslq	8(%rsp), %rax
	testl	%eax, %eax
	jle	.L8
	leaq	816(%rsp), %r12
	leaq	0(,%rax,4), %rdx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	jmp	.L5
.L4:
	testl	%ebp, %ebp
	jg	.L9
	jmp	.L8
.L19:
	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\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
	leaq	.LC0(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	movq	%r14, %rdi
	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	$1240, %rsp
	.cfi_def_cfa_offset 1296
	movq	%fs:40, %rax
	movq	%rax, 1224(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	leaq	16(%rsp), %r15
	xorl	%ebx, %ebx
	leaq	416(%rsp), %r13
	movq	%r15, %r12
	.p2align 4,,10
	.p2align 3
.L3:
	leaq	0(%r13,%rbx,4), %rdx
	movq	%r12, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebp
	addq	$1, %rbx
	addq	$4, %r12
	cmpl	%ebx, %ebp
	jg	.L3
	movl	8(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L4
	movslq	%ebx, %rdx
	leaq	816(%rsp), %r12
	xorl	%esi, %esi
	salq	$2, %rdx
	movq	%r12, %rdi
	call	memset@PLT
	testl	%ebp, %ebp
	jle	.L5
.L9:
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r15,%rdx,4), %eax
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	movl	0(%r13,%rdx,4), %eax
	addq	$1, %rdx
	subl	$1, %eax
	cltq
	addl	$1, 816(%rsp,%rax,4)
	cmpl	%edx, %ebp
	jg	.L6
	leaq	816(%rsp), %r12
	testl	%ebx, %ebx
	jle	.L8
.L5:
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jg	.L7
.L8:
	movq	1224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$1240, %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
.L2:
	.cfi_restore_state
	movslq	8(%rsp), %rax
	testl	%eax, %eax
	jle	.L8
	leaq	816(%rsp), %r12
	leaq	0(,%rax,4), %rdx
	xorl	%esi, %esi
	movq	%r12, %rdi
	call	memset@PLT
	jmp	.L5
.L4:
	testl	%ebp, %ebp
	jg	.L9
	jmp	.L8
.L19:
	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:
```