Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
long long t[21][2],a,d;main(b){scanf("%d%d",&a,&b),t[b][a&1]=1;for(;(d%=21)||--a-1&&scanf("%d",&b);t[d++][a&1]=((b>d?0:t[d-b][!(a&1)])+((b<(21-d))?t[b+d][!(a&1)]:0)));scanf("%d",&b);a=!printf("%lld\n",t[b][0]);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	a(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movabsq	$-4392081922311798003, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	leaq	12(%rsp), %r12
	movl	%edi, 12(%rsp)
	leaq	.LC0(%rip), %rdi
	movq	%r12, %rdx
	call	scanf@PLT
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
	movq	d(%rip), %rcx
	movq	%rsi, %rax
	andl	$1, %eax
	leaq	(%rax,%rdi,2), %rax
	movq	$1, 0(%rbp,%rax,8)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L6
	movq	d(%rip), %rdx
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
.L5:
	xorl	%r8d, %r8d
	cmpq	%rdx, %rdi
	jg	.L3
	movq	%rsi, %rax
	movq	%rdx, %rcx
	notq	%rax
	subq	%rdi, %rcx
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	movq	0(%rbp,%rax,8), %r8
.L3:
	movl	$21, %eax
	subq	%rdx, %rax
	cmpq	%rax, %rdi
	jge	.L4
	movq	%rsi, %rax
	leaq	(%rdi,%rdx), %rcx
	notq	%rax
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	addq	0(%rbp,%rax,8), %r8
.L4:
	movq	%rsi, %rax
	leaq	1(%rdx), %rcx
	andl	$1, %eax
	leaq	(%rax,%rdx,2), %rax
	movq	%r8, 0(%rbp,%rax,8)
.L2:
	movq	%rcx, %rax
	imulq	%rbx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rdx,%rax,4), %rax
	subq	%rax, %rcx
	movq	%rcx, d(%rip)
	movq	%rcx, %rdx
	jne	.L5
	subq	$1, %rsi
	movq	%rsi, a(%rip)
	cmpq	$1, %rsi
	jne	.L16
.L6:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rdi
	salq	$4, %rax
	movq	0(%rbp,%rax), %rsi
	xorl	%eax, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movq	%rax, a(%rip)
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 336
t:
	.zero	336
	.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"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	a(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movabsq	$-4392081922311798003, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	leaq	12(%rsp), %r12
	movl	%edi, 12(%rsp)
	leaq	.LC0(%rip), %rdi
	movq	%r12, %rdx
	call	scanf@PLT
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
	movq	d(%rip), %rcx
	movq	%rsi, %rax
	andl	$1, %eax
	leaq	(%rax,%rdi,2), %rax
	movq	$1, 0(%rbp,%rax,8)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L6
	movq	d(%rip), %rdx
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
.L5:
	xorl	%r8d, %r8d
	cmpq	%rdx, %rdi
	jg	.L3
	movq	%rsi, %rax
	movq	%rdx, %rcx
	notq	%rax
	subq	%rdi, %rcx
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	movq	0(%rbp,%rax,8), %r8
.L3:
	movl	$21, %eax
	subq	%rdx, %rax
	cmpq	%rax, %rdi
	jge	.L4
	movq	%rsi, %rax
	leaq	(%rdi,%rdx), %rcx
	notq	%rax
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	addq	0(%rbp,%rax,8), %r8
.L4:
	movq	%rsi, %rax
	leaq	1(%rdx), %rcx
	andl	$1, %eax
	leaq	(%rax,%rdx,2), %rax
	movq	%r8, 0(%rbp,%rax,8)
.L2:
	movq	%rcx, %rax
	imulq	%rbx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rdx,%rax,4), %rax
	subq	%rax, %rcx
	movq	%rcx, d(%rip)
	movq	%rcx, %rdx
	jne	.L5
	subq	$1, %rsi
	movq	%rsi, a(%rip)
	cmpq	$1, %rsi
	jne	.L16
.L6:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rdi
	salq	$4, %rax
	movq	0(%rbp,%rax), %rsi
	xorl	%eax, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movq	%rax, a(%rip)
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 336
t:
	.zero	336
	.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"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	a(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movabsq	$-4392081922311798003, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	leaq	12(%rsp), %r12
	movl	%edi, 12(%rsp)
	leaq	.LC0(%rip), %rdi
	movq	%r12, %rdx
	call	scanf@PLT
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
	movq	d(%rip), %rcx
	movq	%rsi, %rax
	andl	$1, %eax
	leaq	(%rax,%rdi,2), %rax
	movq	$1, 0(%rbp,%rax,8)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L6
	movq	d(%rip), %rdx
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
.L5:
	xorl	%r8d, %r8d
	cmpq	%rdx, %rdi
	jg	.L3
	movq	%rsi, %rax
	movq	%rdx, %rcx
	notq	%rax
	subq	%rdi, %rcx
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	movq	0(%rbp,%rax,8), %r8
.L3:
	movl	$21, %eax
	subq	%rdx, %rax
	cmpq	%rax, %rdi
	jge	.L4
	movq	%rsi, %rax
	leaq	(%rdi,%rdx), %rcx
	notq	%rax
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	addq	0(%rbp,%rax,8), %r8
.L4:
	movq	%rsi, %rax
	leaq	1(%rdx), %rcx
	andl	$1, %eax
	leaq	(%rax,%rdx,2), %rax
	movq	%r8, 0(%rbp,%rax,8)
.L2:
	movq	%rcx, %rax
	imulq	%rbx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rdx,%rax,4), %rax
	subq	%rax, %rcx
	movq	%rcx, d(%rip)
	movq	%rcx, %rdx
	jne	.L5
	subq	$1, %rsi
	movq	%rsi, a(%rip)
	cmpq	$1, %rsi
	jne	.L16
.L6:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rdi
	salq	$4, %rax
	movq	0(%rbp,%rax), %rsi
	xorl	%eax, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movq	%rax, a(%rip)
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 336
t:
	.zero	336
	.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
long long t[21][2],a,d;main(b){scanf("%d%d",&a,&b),t[b][a&1]=1;for(;(d%=21)||--a-1&&scanf("%d",&b);t[d++][a&1]=((b>d?0:t[d-b][!(a&1)])+((b<(21-d))?t[b+d][!(a&1)]:0)));scanf("%d",&b);a=!printf("%lld\n",t[b][0]);}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
long long t[21][2],a,d;main(b){scanf("%d%d",&a,&b),t[b][a&1]=1;for(;(d%=21)||--a-1&&scanf("%d",&b);t[d++][a&1]=((b>d?0:t[d-b][!(a&1)])+((b<(21-d))?t[b+d][!(a&1)]:0)));scanf("%d",&b);a=!printf("%lld\n",t[b][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:

11
8 3 2 4 8 7 2 4 0 8 8

10

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
long long t[21][2],a,d;main(b){scanf("%d%d",&a,&b),t[b][a&1]=1;for(;(d%=21)||--a-1&&scanf("%d",&b);t[d++][a&1]=((b>d?0:t[d-b][!(a&1)])+((b<(21-d))?t[b+d][!(a&1)]:0)));scanf("%d",&b);a=!printf("%lld\n",t[b][0]);}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	a(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movabsq	$-4392081922311798003, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	leaq	12(%rsp), %r12
	movl	%edi, 12(%rsp)
	leaq	.LC0(%rip), %rdi
	movq	%r12, %rdx
	call	scanf@PLT
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
	movq	d(%rip), %rcx
	movq	%rsi, %rax
	andl	$1, %eax
	leaq	(%rax,%rdi,2), %rax
	movq	$1, 0(%rbp,%rax,8)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L6
	movq	d(%rip), %rdx
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
.L5:
	xorl	%r8d, %r8d
	cmpq	%rdx, %rdi
	jg	.L3
	movq	%rsi, %rax
	movq	%rdx, %rcx
	notq	%rax
	subq	%rdi, %rcx
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	movq	0(%rbp,%rax,8), %r8
.L3:
	movl	$21, %eax
	subq	%rdx, %rax
	cmpq	%rax, %rdi
	jge	.L4
	movq	%rsi, %rax
	leaq	(%rdi,%rdx), %rcx
	notq	%rax
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	addq	0(%rbp,%rax,8), %r8
.L4:
	movq	%rsi, %rax
	leaq	1(%rdx), %rcx
	andl	$1, %eax
	leaq	(%rax,%rdx,2), %rax
	movq	%r8, 0(%rbp,%rax,8)
.L2:
	movq	%rcx, %rax
	imulq	%rbx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rdx,%rax,4), %rax
	subq	%rax, %rcx
	movq	%rcx, d(%rip)
	movq	%rcx, %rdx
	jne	.L5
	subq	$1, %rsi
	movq	%rsi, a(%rip)
	cmpq	$1, %rsi
	jne	.L16
.L6:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rdi
	salq	$4, %rax
	movq	0(%rbp,%rax), %rsi
	xorl	%eax, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movq	%rax, a(%rip)
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 336
t:
	.zero	336
	.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"
.LC2:
	.string	"%lld\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	a(%rip), %rsi
	xorl	%eax, %eax
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	t(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movabsq	$-4392081922311798003, %rbx
	subq	$24, %rsp
	.cfi_def_cfa_offset 64
	leaq	12(%rsp), %r12
	movl	%edi, 12(%rsp)
	leaq	.LC0(%rip), %rdi
	movq	%r12, %rdx
	call	scanf@PLT
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
	movq	d(%rip), %rcx
	movq	%rsi, %rax
	andl	$1, %eax
	leaq	(%rax,%rdi,2), %rax
	movq	$1, 0(%rbp,%rax,8)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L16:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%r13, %rdi
	call	scanf@PLT
	testl	%eax, %eax
	je	.L6
	movq	d(%rip), %rdx
	movq	a(%rip), %rsi
	movslq	12(%rsp), %rdi
.L5:
	xorl	%r8d, %r8d
	cmpq	%rdx, %rdi
	jg	.L3
	movq	%rsi, %rax
	movq	%rdx, %rcx
	notq	%rax
	subq	%rdi, %rcx
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	movq	0(%rbp,%rax,8), %r8
.L3:
	movl	$21, %eax
	subq	%rdx, %rax
	cmpq	%rax, %rdi
	jge	.L4
	movq	%rsi, %rax
	leaq	(%rdi,%rdx), %rcx
	notq	%rax
	andl	$1, %eax
	leaq	(%rax,%rcx,2), %rax
	addq	0(%rbp,%rax,8), %r8
.L4:
	movq	%rsi, %rax
	leaq	1(%rdx), %rcx
	andl	$1, %eax
	leaq	(%rax,%rdx,2), %rax
	movq	%r8, 0(%rbp,%rax,8)
.L2:
	movq	%rcx, %rax
	imulq	%rbx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$4, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rdx,%rax,4), %rax
	subq	%rax, %rcx
	movq	%rcx, d(%rip)
	movq	%rcx, %rdx
	jne	.L5
	subq	$1, %rsi
	movq	%rsi, a(%rip)
	cmpq	$1, %rsi
	jne	.L16
.L6:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	scanf@PLT
	movslq	12(%rsp), %rax
	leaq	.LC2(%rip), %rdi
	salq	$4, %rax
	movq	0(%rbp,%rax), %rsi
	xorl	%eax, %eax
	call	printf@PLT
	testl	%eax, %eax
	sete	%al
	movzbl	%al, %eax
	movq	%rax, a(%rip)
	addq	$24, %rsp
	.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
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 8
a:
	.zero	8
	.globl	t
	.align 32
	.type	t, @object
	.size	t, 336
t:
	.zero	336
	.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:
```