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>
#include<stdbool.h>

bool check(int checks,int *D,int K);

int main(void){
  int N,K,D[10];
  int i,j,now;
  bool flg=true;

  scanf("%d%d",&N,&K);
  for(i=0;i<K;i++) scanf("%d",D+i);

  for(i=N;flg;i++){
    flg=false;
    for(now=1;now<=i;now*=10){
      if(check((i%(10*now))/now,D,K)){
	flg=true;
	break;
      }
    }
  }
  printf("%d\n",i-1);    
  return 0;
}

bool check(int checks,int *D,int K){
  int i;
  for(i=0;i<K;i++) if(checks==D[i]) return true;
  return false;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -65(%rbp)
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -56(%rbp)
	jmp	.L2
.L3:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -56(%rbp)
.L2:
	movl	-60(%rbp), %eax
	cmpl	%eax, -56(%rbp)
	jl	.L3
	movl	-64(%rbp), %eax
	movl	%eax, -56(%rbp)
	jmp	.L4
.L9:
	movb	$0, -65(%rbp)
	movl	$1, -52(%rbp)
	jmp	.L5
.L8:
	movl	-60(%rbp), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %esi
	movl	-56(%rbp), %eax
	cltd
	idivl	%esi
	movl	%edx, %eax
	cltd
	idivl	-52(%rbp)
	movl	%eax, %edi
	leaq	-48(%rbp), %rax
	movl	%ecx, %edx
	movq	%rax, %rsi
	call	check
	testb	%al, %al
	je	.L6
	movb	$1, -65(%rbp)
	jmp	.L7
.L6:
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -52(%rbp)
.L5:
	movl	-52(%rbp), %eax
	cmpl	-56(%rbp), %eax
	jle	.L8
.L7:
	addl	$1, -56(%rbp)
.L4:
	cmpb	$0, -65(%rbp)
	jne	.L9
	movl	-56(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	check
	.type	check, @function
check:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -24(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L13
.L16:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L14
	movl	$1, %eax
	jmp	.L15
.L14:
	addl	$1, -4(%rbp)
.L13:
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L16
	movl	$0, %eax
.L15:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check, .-check
	.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"
.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	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$64, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r10d
	testl	%r10d, %r10d
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r10d
	addq	$4, %rbp
	cmpl	%ebx, %r10d
	jg	.L3
.L2:
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L4
	leal	-1(%r10), %eax
	leaq	16(%rsp), %r11
	movl	$1, %ecx
	leaq	20(%rsp,%rax,4), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r8d, %eax
	leal	(%rcx,%rcx,4), %edi
	addl	%edi, %edi
	cltd
	idivl	%edi
	movl	%edi, %r9d
	movl	%edx, %eax
	cltd
	idivl	%ecx
	testl	%r10d, %r10d
	jle	.L5
	movq	%r11, %rcx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$4, %rcx
	cmpq	%rsi, %rcx
	je	.L5
.L7:
	cmpl	(%rcx), %eax
	jne	.L16
	addl	$1, %r8d
	movl	$1, %r9d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r9d, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	cmpl	%r8d, %edi
	jle	.L9
.L4:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$64, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	check
	.type	check, @function
check:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	leaq	4(%rsi,%rax,4), %rax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L24:
	addq	$4, %rsi
	cmpq	%rax, %rsi
	je	.L21
.L20:
	cmpl	%edi, (%rsi)
	jne	.L24
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	check, .-check
	.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"
.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	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	subq	$64, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r10d
	testl	%r10d, %r10d
	jle	.L2
	leaq	16(%rsp), %rbp
	xorl	%ebx, %ebx
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r10d
	addq	$4, %rbp
	cmpl	%ebx, %r10d
	jg	.L3
.L2:
	movl	8(%rsp), %r8d
	testl	%r8d, %r8d
	jle	.L4
	leal	-1(%r10), %eax
	leaq	16(%rsp), %r11
	movl	$1, %ecx
	leaq	20(%rsp,%rax,4), %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movl	%r8d, %eax
	leal	(%rcx,%rcx,4), %edi
	addl	%edi, %edi
	cltd
	idivl	%edi
	movl	%edi, %r9d
	movl	%edx, %eax
	cltd
	idivl	%ecx
	testl	%r10d, %r10d
	jle	.L5
	movq	%r11, %rcx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	addq	$4, %rcx
	cmpq	%rsi, %rcx
	je	.L5
.L7:
	cmpl	(%rcx), %eax
	jne	.L16
	addl	$1, %r8d
	movl	$1, %r9d
	.p2align 4,,10
	.p2align 3
.L9:
	movl	%r9d, %ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	cmpl	%r8d, %edi
	jle	.L9
.L4:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$64, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.text
	.p2align 4
	.globl	check
	.type	check, @function
check:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jle	.L21
	leal	-1(%rdx), %eax
	leaq	4(%rsi,%rax,4), %rax
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L24:
	addq	$4, %rsi
	cmpq	%rax, %rsi
	je	.L21
.L20:
	cmpl	%edi, (%rsi)
	jne	.L24
	movl	$1, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	xorl	%eax, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	check, .-check
	.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>
#include<stdbool.h>

bool check(int checks,int *D,int K);

int main(void){
  int N,K,D[10];
  int i,j,now;
  bool flg=true;

  scanf("%d%d",&N,&K);
  for(i=0;i<K;i++) scanf("%d",D+i);

  for(i=N;flg;i++){
    flg=false;
    for(now=1;now<=i;now*=10){
      if(check((i%(10*now))/now,D,K)){
	flg=true;
	break;
      }
    }
  }
  printf("%d\n",i-1);    
  return 0;
}

bool check(int checks,int *D,int K){
  int i;
  for(i=0;i<K;i++) if(checks==D[i]) return true;
  return false;
}

67 1
0
 34 1
0
 3 1
0
 6 1
0
 10 1
0
 5 1
0
 39 1
0
 10 1
1
 4 1
1
 56 1
0

67
 34
 3
 6
 11
 5
 39
 20
 4
 56

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>
#include<stdbool.h>

bool check(int checks,int *D,int K);

int main(void){
  int N,K,D[10];
  int i,j,now;
  bool flg=true;

  scanf("%d%d",&N,&K);
  for(i=0;i<K;i++) scanf("%d",D+i);

  for(i=N;flg;i++){
    flg=false;
    for(now=1;now<=i;now*=10){
      if(check((i%(10*now))/now,D,K)){
	flg=true;
	break;
      }
    }
  }
  printf("%d\n",i-1);    
  return 0;
}

bool check(int checks,int *D,int K){
  int i;
  for(i=0;i<K;i++) if(checks==D[i]) return true;
  return false;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -65(%rbp)
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -56(%rbp)
	jmp	.L2
.L3:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -56(%rbp)
.L2:
	movl	-60(%rbp), %eax
	cmpl	%eax, -56(%rbp)
	jl	.L3
	movl	-64(%rbp), %eax
	movl	%eax, -56(%rbp)
	jmp	.L4
.L9:
	movb	$0, -65(%rbp)
	movl	$1, -52(%rbp)
	jmp	.L5
.L8:
	movl	-60(%rbp), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %esi
	movl	-56(%rbp), %eax
	cltd
	idivl	%esi
	movl	%edx, %eax
	cltd
	idivl	-52(%rbp)
	movl	%eax, %edi
	leaq	-48(%rbp), %rax
	movl	%ecx, %edx
	movq	%rax, %rsi
	call	check
	testb	%al, %al
	je	.L6
	movb	$1, -65(%rbp)
	jmp	.L7
.L6:
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -52(%rbp)
.L5:
	movl	-52(%rbp), %eax
	cmpl	-56(%rbp), %eax
	jle	.L8
.L7:
	addl	$1, -56(%rbp)
.L4:
	cmpb	$0, -65(%rbp)
	jne	.L9
	movl	-56(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	check
	.type	check, @function
check:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -24(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L13
.L16:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L14
	movl	$1, %eax
	jmp	.L15
.L14:
	addl	$1, -4(%rbp)
.L13:
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L16
	movl	$0, %eax
.L15:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check, .-check
	.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"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d\n"
	.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	$80, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movb	$1, -65(%rbp)
	leaq	-60(%rbp), %rdx
	leaq	-64(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -56(%rbp)
	jmp	.L2
.L3:
	movl	-56(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	-48(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -56(%rbp)
.L2:
	movl	-60(%rbp), %eax
	cmpl	%eax, -56(%rbp)
	jl	.L3
	movl	-64(%rbp), %eax
	movl	%eax, -56(%rbp)
	jmp	.L4
.L9:
	movb	$0, -65(%rbp)
	movl	$1, -52(%rbp)
	jmp	.L5
.L8:
	movl	-60(%rbp), %ecx
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, %esi
	movl	-56(%rbp), %eax
	cltd
	idivl	%esi
	movl	%edx, %eax
	cltd
	idivl	-52(%rbp)
	movl	%eax, %edi
	leaq	-48(%rbp), %rax
	movl	%ecx, %edx
	movq	%rax, %rsi
	call	check
	testb	%al, %al
	je	.L6
	movb	$1, -65(%rbp)
	jmp	.L7
.L6:
	movl	-52(%rbp), %edx
	movl	%edx, %eax
	sall	$2, %eax
	addl	%edx, %eax
	addl	%eax, %eax
	movl	%eax, -52(%rbp)
.L5:
	movl	-52(%rbp), %eax
	cmpl	-56(%rbp), %eax
	jle	.L8
.L7:
	addl	$1, -56(%rbp)
.L4:
	cmpb	$0, -65(%rbp)
	jne	.L9
	movl	-56(%rbp), %eax
	subl	$1, %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	check
	.type	check, @function
check:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movl	%edi, -20(%rbp)
	movq	%rsi, -32(%rbp)
	movl	%edx, -24(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L13
.L16:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	movq	-32(%rbp), %rax
	addq	%rdx, %rax
	movl	(%rax), %eax
	cmpl	%eax, -20(%rbp)
	jne	.L14
	movl	$1, %eax
	jmp	.L15
.L14:
	addl	$1, -4(%rbp)
.L13:
	movl	-4(%rbp), %eax
	cmpl	-24(%rbp), %eax
	jl	.L16
	movl	$0, %eax
.L15:
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	check, .-check
	.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:
