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 <stdlib.h>
#include <string.h>
struct node
{
   long long  int bl,wh;
}c[101];
int main()
{
  long long  int a,b,d,i,j,s=0;
   scanf("%lld %lld",&a,&b);
   memset(c,0,sizeof(c));
   for(i=1;i<=b;i++)
   {
       if(i%2==0) {c[i].bl=0;c[i].wh=1;}
       else {c[i].wh=0;c[i].bl=1;}
   }
  c[b].bl++;
   for(i=b+1;i<=a;i++)
   {
       c[i].bl=c[i-1].wh+c[i-b].wh;
       c[i].wh=c[i-1].bl;
   }
   for(i=1;i<=a;i++)
   {
       s=s+c[i].bl;
   }

   printf("%lld\n",s);
    return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 1616
c:
	.zero	1616
	.section	.rodata
.LC0:
	.string	"%lld %lld"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -16(%rbp)
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1616, %edx
	movl	$0, %esi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movq	$1, -24(%rbp)
	jmp	.L2
.L5:
	movq	-24(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	jne	.L3
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	$0, (%rdx,%rax)
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	$1, (%rdx,%rax)
	jmp	.L4
.L3:
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	$0, (%rdx,%rax)
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	$1, (%rdx,%rax)
.L4:
	addq	$1, -24(%rbp)
.L2:
	movq	-32(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L5
	movq	-32(%rbp), %rax
	movq	%rax, %rcx
	salq	$4, %rcx
	leaq	c(%rip), %rdx
	movq	(%rcx,%rdx), %rdx
	leaq	1(%rdx), %rcx
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-32(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -24(%rbp)
	jmp	.L6
.L7:
	movq	-24(%rbp), %rax
	subq	$1, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	(%rdx,%rax), %rcx
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rax
	subq	%rdx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	(%rdx,%rax), %rax
	addq	%rax, %rcx
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-24(%rbp), %rax
	subq	$1, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	leaq	8+c(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	addq	$1, -24(%rbp)
.L6:
	movq	-40(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L7
	movq	$1, -24(%rbp)
	jmp	.L8
.L9:
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	(%rdx,%rax), %rax
	addq	%rax, -16(%rbp)
	addq	$1, -24(%rbp)
.L8:
	movq	-40(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L9
	movq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%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
.LFE6:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld %lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %r9
	leaq	c(%rip), %r8
	xorl	%eax, %eax
	movl	$202, %ecx
	movq	%r8, %rdi
	rep stosq
	leaq	1(%r9), %rdx
	testq	%r9, %r9
	jle	.L2
	leaq	16+c(%rip), %rsi
	leaq	1(%r9), %rdx
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rcx, %rax
	addq	$1, %rcx
	addq	$16, %rsi
	andl	$1, %eax
	movq	%rax, %rdi
	movq	%rax, %xmm0
	xorq	$1, %rdi
	movq	%rdi, %xmm2
	punpcklqdq	%xmm2, %xmm0
	movaps	%xmm0, -16(%rsi)
	cmpq	%rdx, %rcx
	jne	.L3
.L2:
	movq	%r9, %rsi
	movq	8(%rsp), %rdi
	salq	$4, %rsi
	leaq	(%r8,%rsi), %rcx
	movq	(%rcx), %rax
	addq	$1, %rax
	movq	%rax, (%rcx)
	cmpq	%rdi, %rdx
	jg	.L4
	leaq	2(%r9), %rcx
	leaq	8(%r8,%rsi), %r10
	cmpq	%rdi, %rcx
	jge	.L5
	movq	(%r10), %r11
	leaq	-3(%rdi), %r10
	leaq	16(%r8,%rsi), %rcx
	subq	%r9, %r10
	andq	$-2, %r10
	leaq	3(%r9,%r10), %r10
	movq	%rsi, %r9
	negq	%r9
.L6:
	addq	8(%rcx,%r9), %r11
	addq	$2, %rdx
	movq	%rax, 8(%rcx)
	addq	$32, %rcx
	movq	%r11, -32(%rcx)
	addq	-8(%rcx,%r9), %rax
	movq	%rax, -16(%rcx)
	movq	%r11, -8(%rcx)
	cmpq	%r10, %rdx
	jne	.L6
.L5:
	movq	%rdx, %rax
	negq	%rsi
	salq	$4, %rax
	addq	%r8, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movq	-8(%rax), %rcx
	addq	8(%rsi,%rax), %rcx
	addq	$1, %rdx
	addq	$16, %rax
	movq	%rcx, -16(%rax)
	movq	-32(%rax), %rcx
	movq	%rcx, -8(%rax)
	cmpq	%rdx, %rdi
	jge	.L7
.L4:
	testq	%rdi, %rdi
	jle	.L13
	movq	%rdi, %rcx
	cmpq	$1, %rdi
	je	.L14
	movq	%rdi, %rax
	leaq	16+c(%rip), %rdx
	pxor	%xmm0, %xmm0
	shrq	%rax
	salq	$5, %rax
	addq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L10:
	movdqa	(%rdx), %xmm1
	punpcklqdq	16(%rdx), %xmm1
	addq	$32, %rdx
	paddq	%xmm1, %xmm0
	cmpq	%rdx, %rax
	jne	.L10
	movdqa	%xmm0, %xmm1
	movq	%rdi, %rax
	psrldq	$8, %xmm1
	andq	$-2, %rax
	paddq	%xmm1, %xmm0
	leaq	1(%rax), %rdi
	movq	%xmm0, %rdx
	cmpq	%rax, %rcx
	je	.L8
.L9:
	movq	%rdi, %rax
	salq	$4, %rax
	addq	(%r8,%rax), %rdx
.L8:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L8
.L14:
	xorl	%edx, %edx
	jmp	.L9
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 1616
c:
	.zero	1616
	.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	"%lld %lld"
.LC1:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdx
	leaq	8(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movq	16(%rsp), %r9
	leaq	c(%rip), %r8
	xorl	%eax, %eax
	movl	$202, %ecx
	movq	%r8, %rdi
	rep stosq
	leaq	1(%r9), %rdx
	testq	%r9, %r9
	jle	.L2
	leaq	16+c(%rip), %rsi
	leaq	1(%r9), %rdx
	movl	$1, %ecx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rcx, %rax
	addq	$1, %rcx
	addq	$16, %rsi
	andl	$1, %eax
	movq	%rax, %rdi
	movq	%rax, %xmm0
	xorq	$1, %rdi
	movq	%rdi, %xmm2
	punpcklqdq	%xmm2, %xmm0
	movaps	%xmm0, -16(%rsi)
	cmpq	%rdx, %rcx
	jne	.L3
.L2:
	movq	%r9, %rsi
	movq	8(%rsp), %rdi
	salq	$4, %rsi
	leaq	(%r8,%rsi), %rcx
	movq	(%rcx), %rax
	addq	$1, %rax
	movq	%rax, (%rcx)
	cmpq	%rdi, %rdx
	jg	.L4
	leaq	2(%r9), %rcx
	leaq	8(%r8,%rsi), %r10
	cmpq	%rdi, %rcx
	jge	.L5
	movq	(%r10), %r11
	leaq	-3(%rdi), %r10
	leaq	16(%r8,%rsi), %rcx
	subq	%r9, %r10
	andq	$-2, %r10
	leaq	3(%r9,%r10), %r10
	movq	%rsi, %r9
	negq	%r9
.L6:
	addq	8(%rcx,%r9), %r11
	addq	$2, %rdx
	movq	%rax, 8(%rcx)
	addq	$32, %rcx
	movq	%r11, -32(%rcx)
	addq	-8(%rcx,%r9), %rax
	movq	%rax, -16(%rcx)
	movq	%r11, -8(%rcx)
	cmpq	%r10, %rdx
	jne	.L6
.L5:
	movq	%rdx, %rax
	negq	%rsi
	salq	$4, %rax
	addq	%r8, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movq	-8(%rax), %rcx
	addq	8(%rsi,%rax), %rcx
	addq	$1, %rdx
	addq	$16, %rax
	movq	%rcx, -16(%rax)
	movq	-32(%rax), %rcx
	movq	%rcx, -8(%rax)
	cmpq	%rdx, %rdi
	jge	.L7
.L4:
	testq	%rdi, %rdi
	jle	.L13
	movq	%rdi, %rcx
	cmpq	$1, %rdi
	je	.L14
	movq	%rdi, %rax
	leaq	16+c(%rip), %rdx
	pxor	%xmm0, %xmm0
	shrq	%rax
	salq	$5, %rax
	addq	%rdx, %rax
	.p2align 4,,10
	.p2align 3
.L10:
	movdqa	(%rdx), %xmm1
	punpcklqdq	16(%rdx), %xmm1
	addq	$32, %rdx
	paddq	%xmm1, %xmm0
	cmpq	%rdx, %rax
	jne	.L10
	movdqa	%xmm0, %xmm1
	movq	%rdi, %rax
	psrldq	$8, %xmm1
	andq	$-2, %rax
	paddq	%xmm1, %xmm0
	leaq	1(%rax), %rdi
	movq	%xmm0, %rdx
	cmpq	%rax, %rcx
	je	.L8
.L9:
	movq	%rdi, %rax
	salq	$4, %rax
	addq	(%r8,%rax), %rdx
.L8:
	xorl	%eax, %eax
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	xorl	%edx, %edx
	jmp	.L8
.L14:
	xorl	%edx, %edx
	jmp	.L9
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 1616
c:
	.zero	1616
	.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 <stdlib.h>
#include <string.h>
struct node
{
   long long  int bl,wh;
}c[101];
int main()
{
  long long  int a,b,d,i,j,s=0;
   scanf("%lld %lld",&a,&b);
   memset(c,0,sizeof(c));
   for(i=1;i<=b;i++)
   {
       if(i%2==0) {c[i].bl=0;c[i].wh=1;}
       else {c[i].wh=0;c[i].bl=1;}
   }
  c[b].bl++;
   for(i=b+1;i<=a;i++)
   {
       c[i].bl=c[i-1].wh+c[i-b].wh;
       c[i].wh=c[i-1].bl;
   }
   for(i=1;i<=a;i++)
   {
       s=s+c[i].bl;
   }

   printf("%lld\n",s);
    return 0;
}


5 4
 2 4
 4 4
 7 4
 7 3
 11 3
 7 2
 17 3
 31 3
 25 3

4
 1
 3
 7
 11
 32
 14
 142
 4179
 985

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 <stdlib.h>
#include <string.h>
struct node
{
   long long  int bl,wh;
}c[101];
int main()
{
  long long  int a,b,d,i,j,s=0;
   scanf("%lld %lld",&a,&b);
   memset(c,0,sizeof(c));
   for(i=1;i<=b;i++)
   {
       if(i%2==0) {c[i].bl=0;c[i].wh=1;}
       else {c[i].wh=0;c[i].bl=1;}
   }
  c[b].bl++;
   for(i=b+1;i<=a;i++)
   {
       c[i].bl=c[i-1].wh+c[i-b].wh;
       c[i].wh=c[i-1].bl;
   }
   for(i=1;i<=a;i++)
   {
       s=s+c[i].bl;
   }

   printf("%lld\n",s);
    return 0;
}

```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 1616
c:
	.zero	1616
	.section	.rodata
.LC0:
	.string	"%lld %lld"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -16(%rbp)
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1616, %edx
	movl	$0, %esi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movq	$1, -24(%rbp)
	jmp	.L2
.L5:
	movq	-24(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	jne	.L3
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	$0, (%rdx,%rax)
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	$1, (%rdx,%rax)
	jmp	.L4
.L3:
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	$0, (%rdx,%rax)
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	$1, (%rdx,%rax)
.L4:
	addq	$1, -24(%rbp)
.L2:
	movq	-32(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L5
	movq	-32(%rbp), %rax
	movq	%rax, %rcx
	salq	$4, %rcx
	leaq	c(%rip), %rdx
	movq	(%rcx,%rdx), %rdx
	leaq	1(%rdx), %rcx
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-32(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -24(%rbp)
	jmp	.L6
.L7:
	movq	-24(%rbp), %rax
	subq	$1, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	(%rdx,%rax), %rcx
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rax
	subq	%rdx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	(%rdx,%rax), %rax
	addq	%rax, %rcx
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-24(%rbp), %rax
	subq	$1, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	leaq	8+c(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	addq	$1, -24(%rbp)
.L6:
	movq	-40(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L7
	movq	$1, -24(%rbp)
	jmp	.L8
.L9:
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	(%rdx,%rax), %rax
	addq	%rax, -16(%rbp)
	addq	$1, -24(%rbp)
.L8:
	movq	-40(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L9
	movq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%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
.LFE6:
	.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.
train
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 1616
c:
	.zero	1616
	.section	.rodata
.LC0:
	.string	"%lld %lld"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$48, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movq	$0, -16(%rbp)
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1616, %edx
	movl	$0, %esi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movq	$1, -24(%rbp)
	jmp	.L2
.L5:
	movq	-24(%rbp), %rax
	andl	$1, %eax
	testq	%rax, %rax
	jne	.L3
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	$0, (%rdx,%rax)
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	$1, (%rdx,%rax)
	jmp	.L4
.L3:
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	$0, (%rdx,%rax)
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	$1, (%rdx,%rax)
.L4:
	addq	$1, -24(%rbp)
.L2:
	movq	-32(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L5
	movq	-32(%rbp), %rax
	movq	%rax, %rcx
	salq	$4, %rcx
	leaq	c(%rip), %rdx
	movq	(%rcx,%rdx), %rdx
	leaq	1(%rdx), %rcx
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-32(%rbp), %rax
	addq	$1, %rax
	movq	%rax, -24(%rbp)
	jmp	.L6
.L7:
	movq	-24(%rbp), %rax
	subq	$1, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	(%rdx,%rax), %rcx
	movq	-32(%rbp), %rdx
	movq	-24(%rbp), %rax
	subq	%rdx, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	8+c(%rip), %rax
	movq	(%rdx,%rax), %rax
	addq	%rax, %rcx
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	%rcx, (%rdx,%rax)
	movq	-24(%rbp), %rax
	subq	$1, %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	(%rdx,%rax), %rax
	movq	-24(%rbp), %rdx
	movq	%rdx, %rcx
	salq	$4, %rcx
	leaq	8+c(%rip), %rdx
	movq	%rax, (%rcx,%rdx)
	addq	$1, -24(%rbp)
.L6:
	movq	-40(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L7
	movq	$1, -24(%rbp)
	jmp	.L8
.L9:
	movq	-24(%rbp), %rax
	salq	$4, %rax
	movq	%rax, %rdx
	leaq	c(%rip), %rax
	movq	(%rdx,%rax), %rax
	addq	%rax, -16(%rbp)
	addq	$1, -24(%rbp)
.L8:
	movq	-40(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jle	.L9
	movq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%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
.LFE6:
	.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:
