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>
#include<string.h>
#include<stdlib.h>
#include<math.h>

int main(){
  int n,q,k;
  int x;
  int cnt[100001];
  int max = -1;
  int i;

  scanf("%d %d %d", &n, &k, &q);

  for(i = 1;i <= 100000;i++) cnt[i] = 0;

  for(i = 0;i < q;i++){
    scanf("%d", &x);
    cnt[x]++;
  }

  if(k > q){
    for(i = 1;i <= n;i++) printf("Yes\n");
    return 0;
  }

  for(i = 1;i <= n;i++){
    if((q - k) >= cnt[i]) printf("No\n");

    else printf("Yes\n");
  }

  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdi
	movl	$400000, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	addl	$1, 16(%rsp,%rax,4)
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	(%rsp), %edx
	cmpl	%eax, 8(%rsp)
	jg	.L4
	movl	$1, %ebx
	leaq	16(%rsp), %rbp
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	testl	%edx, %edx
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jl	.L6
.L9:
	movl	4(%rsp), %eax
.L5:
	subl	8(%rsp), %eax
	cmpl	0(%rbp,%rbx,4), %eax
	jge	.L18
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L9
.L6:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L6
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L7
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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 %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdi
	movl	$400000, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	addl	$1, 16(%rsp,%rax,4)
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	(%rsp), %edx
	cmpl	%eax, 8(%rsp)
	jg	.L4
	movl	$1, %ebx
	leaq	16(%rsp), %rbp
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	testl	%edx, %edx
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jl	.L6
.L9:
	movl	4(%rsp), %eax
.L5:
	subl	8(%rsp), %eax
	cmpl	0(%rbp,%rbx,4), %eax
	jge	.L18
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L9
.L6:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L6
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L7
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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 %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdi
	movl	$400000, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	addl	$1, 16(%rsp,%rax,4)
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	(%rsp), %edx
	cmpl	%eax, 8(%rsp)
	jg	.L4
	movl	$1, %ebx
	leaq	16(%rsp), %rbp
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	testl	%edx, %edx
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jl	.L6
.L9:
	movl	4(%rsp), %eax
.L5:
	subl	8(%rsp), %eax
	cmpl	0(%rbp,%rbx,4), %eax
	jge	.L18
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L9
.L6:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L6
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L7
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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>
#include<string.h>
#include<stdlib.h>
#include<math.h>

int main(){
  int n,q,k;
  int x;
  int cnt[100001];
  int max = -1;
  int i;

  scanf("%d %d %d", &n, &k, &q);

  for(i = 1;i <= 100000;i++) cnt[i] = 0;

  for(i = 0;i < q;i++){
    scanf("%d", &x);
    cnt[x]++;
  }

  if(k > q){
    for(i = 1;i <= n;i++) printf("Yes\n");
    return 0;
  }

  for(i = 1;i <= n;i++){
    if((q - k) >= cnt[i]) printf("No\n");

    else printf("Yes\n");
  }

  return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>

int main(){
  int n,q,k;
  int x;
  int cnt[100001];
  int max = -1;
  int i;

  scanf("%d %d %d", &n, &k, &q);

  for(i = 1;i <= 100000;i++) cnt[i] = 0;

  for(i = 0;i < q;i++){
    scanf("%d", &x);
    cnt[x]++;
  }

  if(k > q){
    for(i = 1;i <= n;i++) printf("Yes\n");
    return 0;
  }

  for(i = 1;i <= n;i++){
    if((q - k) >= cnt[i]) printf("No\n");

    else printf("Yes\n");
  }

  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:

6 1 4
3
1
3
2
 10 8 15
3
1
4
1
5
9
2
6
5
3
5
8
9
7
9
 6 3 4
3
1
3
4
 19 8 15
3
1
4
1
5
0
2
6
5
3
5
8
9
7
9
 37 8 15
3
0
4
1
5
0
2
6
5
6
5
8
1
7
13
 6 5 4
3
0
3
2
 8 1 4
3
1
0
2
 10 1 1
3
1
0
2
 18 8 15
3
1
4
1
5
0
2
6
5
3
5
8
1
7
13
 27 8 15
3
1
4
1
5
0
2
6
5
6
5
8
1
7
13

No
No
No
No
No
No
 No
No
No
No
No
No
No
No
No
No
 No
No
Yes
No
No
No
 No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
 No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
 Yes
Yes
Yes
Yes
Yes
Yes
 No
No
No
No
No
No
No
No
 No
No
Yes
No
No
No
No
No
No
No
 No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
 No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No
No

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>
#include<string.h>
#include<stdlib.h>
#include<math.h>

int main(){
  int n,q,k;
  int x;
  int cnt[100001];
  int max = -1;
  int i;

  scanf("%d %d %d", &n, &k, &q);

  for(i = 1;i <= 100000;i++) cnt[i] = 0;

  for(i = 0;i < q;i++){
    scanf("%d", &x);
    cnt[x]++;
  }

  if(k > q){
    for(i = 1;i <= n;i++) printf("Yes\n");
    return 0;
  }

  for(i = 1;i <= n;i++){
    if((q - k) >= cnt[i]) printf("No\n");

    else printf("Yes\n");
  }

  return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdi
	movl	$400000, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	addl	$1, 16(%rsp,%rax,4)
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	(%rsp), %edx
	cmpl	%eax, 8(%rsp)
	jg	.L4
	movl	$1, %ebx
	leaq	16(%rsp), %rbp
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	testl	%edx, %edx
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jl	.L6
.L9:
	movl	4(%rsp), %eax
.L5:
	subl	8(%rsp), %eax
	cmpl	0(%rbp,%rbx,4), %eax
	jge	.L18
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L9
.L6:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L6
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L7
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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 %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"Yes"
.LC3:
	.string	"No"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	-397312(%rsp), %r11
	.cfi_def_cfa 11, 397352
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$2728, %rsp
	.cfi_def_cfa_offset 400080
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 400024(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rcx
	leaq	8(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	leaq	20(%rsp), %rdi
	movl	$400000, %edx
	xorl	%esi, %esi
	call	memset@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebx, %ebx
	leaq	12(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movslq	12(%rsp), %rax
	addl	$1, 16(%rsp,%rax,4)
	movl	4(%rsp), %eax
	cmpl	%ebx, %eax
	jg	.L3
.L2:
	movl	(%rsp), %edx
	cmpl	%eax, 8(%rsp)
	jg	.L4
	movl	$1, %ebx
	leaq	16(%rsp), %rbp
	leaq	.LC2(%rip), %r13
	leaq	.LC3(%rip), %r12
	testl	%edx, %edx
	jg	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L18:
	movq	%r12, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jl	.L6
.L9:
	movl	4(%rsp), %eax
.L5:
	subl	8(%rsp), %eax
	cmpl	0(%rbp,%rbx,4), %eax
	jge	.L18
	movq	%r13, %rdi
	addq	$1, %rbx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L9
.L6:
	movq	400024(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$400040, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L4:
	.cfi_restore_state
	testl	%edx, %edx
	jle	.L6
	movl	$1, %ebx
	leaq	.LC2(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%rbp, %rdi
	addl	$1, %ebx
	call	puts@PLT
	cmpl	%ebx, (%rsp)
	jge	.L7
	jmp	.L6
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```