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 <stdbool.h>
#include <limits.h>
int main()
{
  int n;
  scanf("%d",&n);
  unsigned long a[n];
  int i = 0;
  unsigned long ans = 1;
  bool minus = false;
  bool zero = false;
  unsigned long max = 0;
  while (i < n)
  {
    scanf("%lu",&a[i]);
    if (a[i] == 0 || ans == 0)
    {
      printf("0");
      return (0);
    }
    if (a[i] <= 1000000000000000000/ans)
    {
      //printf("%lu",ans);
      ans *= a[i];
    }
	else
    {
      minus = true;
    }
    i++;
  }
  if (minus)
  {
    printf("-1");
  }
  else
  	printf("%lu",ans);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -80(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L25:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L25
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L26
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L13
	movb	$0, -65(%rbp)
	movl	$1, %r12d
	xorl	%r15d, %r15d
	leaq	.LC1(%rip), %r14
	movabsq	$1000000000000000000, %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	imulq	%rcx, %r12
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jle	.L27
.L10:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rcx
	testq	%r12, %r12
	je	.L15
	testq	%rcx, %rcx
	je	.L15
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r12
	cmpq	%rax, %rcx
	jbe	.L28
	movb	$1, -65(%rbp)
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jg	.L10
.L27:
	cmpb	$0, -65(%rbp)
	je	.L5
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	-80(%rbp), %rsp
	jmp	.L8
.L15:
	movl	$48, %edi
	call	putchar@PLT
	movq	-80(%rbp), %rsp
.L8:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L29
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L26:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L13:
	movl	$1, %r12d
	leaq	.LC1(%rip), %r14
.L5:
	movq	%r12, %rdx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L29:
	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	"%lu"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -80(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L25:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L25
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L26
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L13
	movb	$0, -65(%rbp)
	movl	$1, %r12d
	xorl	%r15d, %r15d
	leaq	.LC1(%rip), %r14
	movabsq	$1000000000000000000, %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	imulq	%rcx, %r12
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jle	.L27
.L10:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rcx
	testq	%r12, %r12
	je	.L15
	testq	%rcx, %rcx
	je	.L15
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r12
	cmpq	%rax, %rcx
	jbe	.L28
	movb	$1, -65(%rbp)
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jg	.L10
.L27:
	cmpb	$0, -65(%rbp)
	je	.L5
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	-80(%rbp), %rsp
	jmp	.L8
.L15:
	movl	$48, %edi
	call	putchar@PLT
	movq	-80(%rbp), %rsp
.L8:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L29
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L26:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L13:
	movl	$1, %r12d
	leaq	.LC1(%rip), %r14
.L5:
	movq	%r12, %rdx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L29:
	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	"%lu"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -80(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L25:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L25
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L26
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L13
	movb	$0, -65(%rbp)
	movl	$1, %r12d
	xorl	%r15d, %r15d
	leaq	.LC1(%rip), %r14
	movabsq	$1000000000000000000, %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	imulq	%rcx, %r12
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jle	.L27
.L10:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rcx
	testq	%r12, %r12
	je	.L15
	testq	%rcx, %rcx
	je	.L15
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r12
	cmpq	%rax, %rcx
	jbe	.L28
	movb	$1, -65(%rbp)
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jg	.L10
.L27:
	cmpb	$0, -65(%rbp)
	je	.L5
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	-80(%rbp), %rsp
	jmp	.L8
.L15:
	movl	$48, %edi
	call	putchar@PLT
	movq	-80(%rbp), %rsp
.L8:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L29
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L26:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L13:
	movl	$1, %r12d
	leaq	.LC1(%rip), %r14
.L5:
	movq	%r12, %rdx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L29:
	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>
#include <stdbool.h>
#include <limits.h>
int main()
{
  int n;
  scanf("%d",&n);
  unsigned long a[n];
  int i = 0;
  unsigned long ans = 1;
  bool minus = false;
  bool zero = false;
  unsigned long max = 0;
  while (i < n)
  {
    scanf("%lu",&a[i]);
    if (a[i] == 0 || ans == 0)
    {
      printf("0");
      return (0);
    }
    if (a[i] <= 1000000000000000000/ans)
    {
      //printf("%lu",ans);
      ans *= a[i];
    }
	else
    {
      minus = true;
    }
    i++;
  }
  if (minus)
  {
    printf("-1");
  }
  else
  	printf("%lu",ans);
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdbool.h>
#include <limits.h>
int main()
{
  int n;
  scanf("%d",&n);
  unsigned long a[n];
  int i = 0;
  unsigned long ans = 1;
  bool minus = false;
  bool zero = false;
  unsigned long max = 0;
  while (i < n)
  {
    scanf("%lu",&a[i]);
    if (a[i] == 0 || ans == 0)
    {
      printf("0");
      return (0);
    }
    if (a[i] <= 1000000000000000000/ans)
    {
      //printf("%lu",ans);
      ans *= a[i];
    }
	else
    {
      minus = true;
    }
    i++;
  }
  if (minus)
  {
    printf("-1");
  }
  else
  	printf("%lu",ans);
}```

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
101 9901 1693005451348
 31
4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 0 2 7 9 5 0
 3
101 8497 834116832270
 3
101 5000 834116832270
 3
101 5000 29935402316
 3
111 5000 29935402316
 3
111 5000 36731156058
 3
011 5000 36731156058
 2
0000100010 1001010010
 3
101 5000 36731156058

-1 0 715836563103617190 421229000296350000 15117378169580000 16614148285380000 20385791612190000 2020213583190000 100111011100100 18549233809290000
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 <stdbool.h>
#include <limits.h>
int main()
{
  int n;
  scanf("%d",&n);
  unsigned long a[n];
  int i = 0;
  unsigned long ans = 1;
  bool minus = false;
  bool zero = false;
  unsigned long max = 0;
  while (i < n)
  {
    scanf("%lu",&a[i]);
    if (a[i] == 0 || ans == 0)
    {
      printf("0");
      return (0);
    }
    if (a[i] <= 1000000000000000000/ans)
    {
      //printf("%lu",ans);
      ans *= a[i];
    }
	else
    {
      minus = true;
    }
    i++;
  }
  if (minus)
  {
    printf("-1");
  }
  else
  	printf("%lu",ans);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%lu"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -80(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L25:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L25
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L26
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L13
	movb	$0, -65(%rbp)
	movl	$1, %r12d
	xorl	%r15d, %r15d
	leaq	.LC1(%rip), %r14
	movabsq	$1000000000000000000, %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	imulq	%rcx, %r12
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jle	.L27
.L10:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rcx
	testq	%r12, %r12
	je	.L15
	testq	%rcx, %rcx
	je	.L15
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r12
	cmpq	%rax, %rcx
	jbe	.L28
	movb	$1, -65(%rbp)
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jg	.L10
.L27:
	cmpb	$0, -65(%rbp)
	je	.L5
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	-80(%rbp), %rsp
	jmp	.L8
.L15:
	movl	$48, %edi
	call	putchar@PLT
	movq	-80(%rbp), %rsp
.L8:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L29
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L26:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L13:
	movl	$1, %r12d
	leaq	.LC1(%rip), %r14
.L5:
	movq	%r12, %rdx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L29:
	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	"%lu"
.LC2:
	.string	"-1"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, -80(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	movq	%rax, %rcx
	leaq	15(,%rax,8), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L25:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L25
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L26
.L4:
	movq	%rsp, %rbx
	testl	%ecx, %ecx
	jle	.L13
	movb	$0, -65(%rbp)
	movl	$1, %r12d
	xorl	%r15d, %r15d
	leaq	.LC1(%rip), %r14
	movabsq	$1000000000000000000, %r13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L28:
	imulq	%rcx, %r12
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jle	.L27
.L10:
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	(%rbx), %rcx
	testq	%r12, %r12
	je	.L15
	testq	%rcx, %rcx
	je	.L15
	movq	%r13, %rax
	xorl	%edx, %edx
	divq	%r12
	cmpq	%rax, %rcx
	jbe	.L28
	movb	$1, -65(%rbp)
	addl	$1, %r15d
	addq	$8, %rbx
	cmpl	%r15d, -60(%rbp)
	jg	.L10
.L27:
	cmpb	$0, -65(%rbp)
	je	.L5
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L11:
	movq	-80(%rbp), %rsp
	jmp	.L8
.L15:
	movl	$48, %edi
	call	putchar@PLT
	movq	-80(%rbp), %rsp
.L8:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L29
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L26:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L13:
	movl	$1, %r12d
	leaq	.LC1(%rip), %r14
.L5:
	movq	%r12, %rdx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L11
.L29:
	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:
```