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>
#define NUM 1000000007 //10^9+7
int main(void){
	int H,W,K;
	scanf("%d%d%d",&H,&W,&K);
	int A[101][8]={0},i,j,k,l;
	A[0][0] = 1;
	for(i=0;i<H;i++){
		for(j=0;j<W;j++){
			for(k=0;k<1<<(W-1);k++){//2^(W-1)通り調べる
				int ok = 1;
				for(l=0;l<W-2;l++){//W-2個調べる
					if(((k>>l)&1) && ((k>>(l+1))&1))ok=0;//(k>>l) = k/(2^l),&1で下1桁だけ見たい
				}
				//隣り合ったものがないパターンの時のを数える
				if(ok){
					if(j>=1 && ((k>>(j-1))&1)){
						A[i+1][j-1] += A[i][j];
						A[i+1][j-1] %= NUM;
					}else if(j<=W-2 && ((k>>j)&1)){
						A[i+1][j+1] += A[i][j];
						A[i+1][j+1] %= NUM;
					}
					else{
						A[i+1][j] += A[i][j];
						A[i+1][j] %= NUM;
					}
				}
			}
		}
	}
	printf("%d",A[H][K-1]);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
	.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	$3280, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-3272(%rbp), %rcx
	leaq	-3276(%rbp), %rdx
	leaq	-3280(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-3248(%rbp), %rdx
	movl	$0, %eax
	movl	$404, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -3248(%rbp)
	movl	$0, -3268(%rbp)
	jmp	.L2
.L13:
	movl	$0, -3264(%rbp)
	jmp	.L3
.L12:
	movl	$0, -3260(%rbp)
	jmp	.L4
.L11:
	movl	$1, -3252(%rbp)
	movl	$0, -3256(%rbp)
	jmp	.L5
.L7:
	movl	-3256(%rbp), %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L6
	movl	-3256(%rbp), %eax
	addl	$1, %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L6
	movl	$0, -3252(%rbp)
.L6:
	addl	$1, -3256(%rbp)
.L5:
	movl	-3276(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -3256(%rbp)
	jl	.L7
	cmpl	$0, -3252(%rbp)
	je	.L8
	cmpl	$0, -3264(%rbp)
	jle	.L9
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L9
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	addl	%esi, %edx
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	leal	-1(%rax), %esi
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	imull	$1000000007, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
	jmp	.L8
.L9:
	movl	-3276(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -3264(%rbp)
	jge	.L10
	movl	-3264(%rbp), %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L10
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	addl	%esi, %edx
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	leal	1(%rax), %esi
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	imull	$1000000007, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
	jmp	.L8
.L10:
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	addl	%esi, %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	imull	$1000000007, %eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movl	-3264(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
.L8:
	addl	$1, -3260(%rbp)
.L4:
	movl	-3276(%rbp), %eax
	subl	$1, %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -3260(%rbp)
	jl	.L11
	addl	$1, -3264(%rbp)
.L3:
	movl	-3276(%rbp), %eax
	cmpl	%eax, -3264(%rbp)
	jl	.L12
	addl	$1, -3268(%rbp)
.L2:
	movl	-3280(%rbp), %eax
	cmpl	%eax, -3268(%rbp)
	jl	.L13
	movl	-3280(%rbp), %eax
	movl	-3272(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %eax
	movl	%eax, %esi
	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	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"%d%d%d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$3336, %rsp
	.cfi_def_cfa_offset 3392
	movq	%fs:40, %rax
	movq	%rax, 3320(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rcx
	leaq	72(%rsp), %rdx
	leaq	68(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	80(%rsp), %rdi
	xorl	%eax, %eax
	movl	$404, %ecx
	movq	%rdi, 40(%rsp)
	movq	%rdi, %r11
	rep stosq
	movl	68(%rsp), %eax
	movl	$1, 80(%rsp)
	movl	%eax, 32(%rsp)
	testl	%eax, %eax
	jle	.L2
	movl	72(%rsp), %ebx
	movl	$1, %eax
	leal	-1(%rbx), %edx
	movl	%ebx, 12(%rsp)
	leal	-2(%rbx), %esi
	movl	%edx, %ecx
	movl	%edx, 36(%rsp)
	sall	%cl, %eax
	movl	%eax, %r14d
	testl	%ebx, %ebx
	jle	.L2
	testl	%eax, %eax
	jle	.L2
	cmpl	%edx, %ebx
	leaq	112(%rsp), %r15
	movq	$-32, %rax
	movl	$0, 28(%rsp)
	cmovle	%ebx, %edx
	subq	%r11, %rax
	movl	$1, %r8d
	xorl	%r9d, %r9d
	movq	%rax, 48(%rsp)
	movl	%edx, 24(%rsp)
.L4:
	movl	36(%rsp), %eax
	addl	$1, 28(%rsp)
	testl	%eax, %eax
	jg	.L24
	xorl	%r11d, %r11d
.L23:
	movslq	28(%rsp), %r13
	movslq	%r11d, %r11
	salq	$3, %r13
	.p2align 4,,10
	.p2align 3
.L20:
	leal	-1(%r11), %ecx
	movl	%r8d, %r12d
	movl	%r11d, %ebp
	xorl	%r10d, %r10d
	sall	%cl, %r12d
	movslq	%ecx, %rcx
	leaq	0(%r13,%rcx), %rbx
	.p2align 4,,10
	.p2align 3
.L19:
	testl	%esi, %esi
	jle	.L14
	movl	$1, %edi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%eax, %ecx
	movl	%r8d, %edx
	addl	$1, %eax
	sall	%cl, %edx
	movl	%r10d, %ecx
	btsl	%eax, %edx
	andl	%edx, %ecx
	cmpl	%edx, %ecx
	cmove	%r9d, %edi
	cmpl	%esi, %eax
	jne	.L16
	testl	%edi, %edi
	jne	.L14
.L17:
	addl	$1, %r10d
	cmpl	%r10d, %r14d
	jne	.L19
	addq	$1, %r11
	cmpl	%r11d, 12(%rsp)
	jg	.L20
	movl	28(%rsp), %ebx
	addq	$32, %r15
	cmpl	%ebx, 32(%rsp)
	jne	.L4
.L2:
	movl	76(%rsp), %eax
	movslq	32(%rsp), %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	subl	$1, %eax
	cltq
	leaq	(%rax,%rdx,8), %rax
	movl	80(%rsp,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	3320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L57
	addq	$3336, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	movl	-32(%r15,%r11,4), %eax
	testl	%ebp, %ebp
	je	.L18
	testl	%r12d, %r10d
	je	.L18
	addl	80(%rsp,%rbx,4), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, 80(%rsp,%rbx,4)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	(%r15,%r11,4), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, (%r15,%r11,4)
	jmp	.L17
.L24:
	movq	40(%rsp), %rax
	movq	%r15, 56(%rsp)
	movq	%r15, %rbx
	xorl	%r11d, %r11d
	subq	%r15, %rax
	movq	%rax, 16(%rsp)
	movq	48(%rsp), %rax
	leaq	(%rax,%r15), %r13
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r11d, %eax
	movl	%r8d, %r12d
	movl	%r8d, %r15d
	addl	$1, %r11d
	leal	-1(%rax), %ecx
	xorl	%r10d, %r10d
	sall	%cl, %r12d
	movl	%eax, %ecx
	movq	16(%rsp), %rax
	sall	%cl, %r15d
	leaq	(%rax,%rbx), %rbp
	.p2align 4,,10
	.p2align 3
.L22:
	movl	$1, %edi
	xorl	%eax, %eax
	testl	%esi, %esi
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%eax, %ecx
	movl	%r8d, %edx
	addl	$1, %eax
	sall	%cl, %edx
	btsl	%eax, %edx
	movl	%edx, %ecx
	andl	%r10d, %ecx
	cmpl	%ecx, %edx
	cmove	%r9d, %edi
	cmpl	%esi, %eax
	jne	.L6
	testl	%edi, %edi
	jne	.L11
.L7:
	addl	$1, %r10d
	cmpl	%r14d, %r10d
	jne	.L22
	addq	$4, %rbx
	cmpl	%r11d, 24(%rsp)
	jg	.L12
	movq	56(%rsp), %r15
	cmpl	%r11d, 12(%rsp)
	jg	.L23
	movl	28(%rsp), %ebx
	addq	$32, %r15
	cmpl	%ebx, 32(%rsp)
	jne	.L4
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	movl	0(%rbp,%r13), %eax
	cmpl	$1, %r11d
	jne	.L58
.L8:
	testl	%r10d, %r15d
	je	.L9
	addl	4(%rbx), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, 4(%rbx)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rbx), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, (%rbx)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L58:
	testl	%r10d, %r12d
	je	.L8
	addl	-4(%rbx), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbx)
	jmp	.L7
.L57:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB39:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$3336, %rsp
	.cfi_def_cfa_offset 3392
	movq	%fs:40, %rax
	movq	%rax, 3320(%rsp)
	xorl	%eax, %eax
	leaq	76(%rsp), %rcx
	leaq	72(%rsp), %rdx
	leaq	68(%rsp), %rsi
	call	__isoc99_scanf@PLT
	leaq	80(%rsp), %rdi
	xorl	%eax, %eax
	movl	$404, %ecx
	movq	%rdi, 40(%rsp)
	movq	%rdi, %r11
	rep stosq
	movl	68(%rsp), %eax
	movl	$1, 80(%rsp)
	movl	%eax, 32(%rsp)
	testl	%eax, %eax
	jle	.L2
	movl	72(%rsp), %ebx
	movl	$1, %eax
	leal	-1(%rbx), %edx
	movl	%ebx, 12(%rsp)
	leal	-2(%rbx), %esi
	movl	%edx, %ecx
	movl	%edx, 36(%rsp)
	sall	%cl, %eax
	movl	%eax, %r14d
	testl	%ebx, %ebx
	jle	.L2
	testl	%eax, %eax
	jle	.L2
	cmpl	%edx, %ebx
	leaq	112(%rsp), %r15
	movq	$-32, %rax
	movl	$0, 28(%rsp)
	cmovle	%ebx, %edx
	subq	%r11, %rax
	movl	$1, %r8d
	xorl	%r9d, %r9d
	movq	%rax, 48(%rsp)
	movl	%edx, 24(%rsp)
.L4:
	movl	36(%rsp), %eax
	addl	$1, 28(%rsp)
	testl	%eax, %eax
	jg	.L24
	xorl	%r11d, %r11d
.L23:
	movslq	28(%rsp), %r13
	movslq	%r11d, %r11
	salq	$3, %r13
	.p2align 4,,10
	.p2align 3
.L20:
	leal	-1(%r11), %ecx
	movl	%r8d, %r12d
	movl	%r11d, %ebp
	xorl	%r10d, %r10d
	sall	%cl, %r12d
	movslq	%ecx, %rcx
	leaq	0(%r13,%rcx), %rbx
	.p2align 4,,10
	.p2align 3
.L19:
	testl	%esi, %esi
	jle	.L14
	movl	$1, %edi
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L16:
	movl	%eax, %ecx
	movl	%r8d, %edx
	addl	$1, %eax
	sall	%cl, %edx
	movl	%r10d, %ecx
	btsl	%eax, %edx
	andl	%edx, %ecx
	cmpl	%edx, %ecx
	cmove	%r9d, %edi
	cmpl	%esi, %eax
	jne	.L16
	testl	%edi, %edi
	jne	.L14
.L17:
	addl	$1, %r10d
	cmpl	%r10d, %r14d
	jne	.L19
	addq	$1, %r11
	cmpl	%r11d, 12(%rsp)
	jg	.L20
	movl	28(%rsp), %ebx
	addq	$32, %r15
	cmpl	%ebx, 32(%rsp)
	jne	.L4
.L2:
	movl	76(%rsp), %eax
	movslq	32(%rsp), %rdx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	subl	$1, %eax
	cltq
	leaq	(%rax,%rdx,8), %rax
	movl	80(%rsp,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movq	3320(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L57
	addq	$3336, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	movl	-32(%r15,%r11,4), %eax
	testl	%ebp, %ebp
	je	.L18
	testl	%r12d, %r10d
	je	.L18
	addl	80(%rsp,%rbx,4), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, 80(%rsp,%rbx,4)
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L18:
	addl	(%r15,%r11,4), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, (%r15,%r11,4)
	jmp	.L17
.L24:
	movq	40(%rsp), %rax
	movq	%r15, 56(%rsp)
	movq	%r15, %rbx
	xorl	%r11d, %r11d
	subq	%r15, %rax
	movq	%rax, 16(%rsp)
	movq	48(%rsp), %rax
	leaq	(%rax,%r15), %r13
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r11d, %eax
	movl	%r8d, %r12d
	movl	%r8d, %r15d
	addl	$1, %r11d
	leal	-1(%rax), %ecx
	xorl	%r10d, %r10d
	sall	%cl, %r12d
	movl	%eax, %ecx
	movq	16(%rsp), %rax
	sall	%cl, %r15d
	leaq	(%rax,%rbx), %rbp
	.p2align 4,,10
	.p2align 3
.L22:
	movl	$1, %edi
	xorl	%eax, %eax
	testl	%esi, %esi
	jle	.L11
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%eax, %ecx
	movl	%r8d, %edx
	addl	$1, %eax
	sall	%cl, %edx
	btsl	%eax, %edx
	movl	%edx, %ecx
	andl	%r10d, %ecx
	cmpl	%ecx, %edx
	cmove	%r9d, %edi
	cmpl	%esi, %eax
	jne	.L6
	testl	%edi, %edi
	jne	.L11
.L7:
	addl	$1, %r10d
	cmpl	%r14d, %r10d
	jne	.L22
	addq	$4, %rbx
	cmpl	%r11d, 24(%rsp)
	jg	.L12
	movq	56(%rsp), %r15
	cmpl	%r11d, 12(%rsp)
	jg	.L23
	movl	28(%rsp), %ebx
	addq	$32, %r15
	cmpl	%ebx, 32(%rsp)
	jne	.L4
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L11:
	movl	0(%rbp,%r13), %eax
	cmpl	$1, %r11d
	jne	.L58
.L8:
	testl	%r10d, %r15d
	je	.L9
	addl	4(%rbx), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, 4(%rbx)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rbx), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, (%rbx)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L58:
	testl	%r10d, %r12d
	je	.L8
	addl	-4(%rbx), %eax
	movslq	%eax, %rdx
	movl	%eax, %ecx
	imulq	$1152921497, %rdx, %rdx
	sarl	$31, %ecx
	sarq	$60, %rdx
	subl	%ecx, %edx
	imull	$1000000007, %edx, %edx
	subl	%edx, %eax
	movl	%eax, -4(%rbx)
	jmp	.L7
.L57:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE39:
	.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:

#include <stdio.h>
#include <stdlib.h>
#define NUM 1000000007 //10^9+7
int main(void){
	int H,W,K;
	scanf("%d%d%d",&H,&W,&K);
	int A[101][8]={0},i,j,k,l;
	A[0][0] = 1;
	for(i=0;i<H;i++){
		for(j=0;j<W;j++){
			for(k=0;k<1<<(W-1);k++){//2^(W-1)通り調べる
				int ok = 1;
				for(l=0;l<W-2;l++){//W-2個調べる
					if(((k>>l)&1) && ((k>>(l+1))&1))ok=0;//(k>>l) = k/(2^l),&1で下1桁だけ見たい
				}
				//隣り合ったものがないパターンの時のを数える
				if(ok){
					if(j>=1 && ((k>>(j-1))&1)){
						A[i+1][j-1] += A[i][j];
						A[i+1][j-1] %= NUM;
					}else if(j<=W-2 && ((k>>j)&1)){
						A[i+1][j+1] += A[i][j];
						A[i+1][j+1] %= NUM;
					}
					else{
						A[i+1][j] += A[i][j];
						A[i+1][j] %= NUM;
					}
				}
			}
		}
	}
	printf("%d",A[H][K-1]);
	return 0;
}
4 3 1
 1 2 2
 1 5 1
 16 8 5
 4 6 1
 1 9 1
 16 8 3
 8 6 1
 1 9 2
 15 8 3

35 1 5 698231265 12371 34 59172019 276953291 21 978283490
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>
#define NUM 1000000007 //10^9+7
int main(void){
	int H,W,K;
	scanf("%d%d%d",&H,&W,&K);
	int A[101][8]={0},i,j,k,l;
	A[0][0] = 1;
	for(i=0;i<H;i++){
		for(j=0;j<W;j++){
			for(k=0;k<1<<(W-1);k++){//2^(W-1)通り調べる
				int ok = 1;
				for(l=0;l<W-2;l++){//W-2個調べる
					if(((k>>l)&1) && ((k>>(l+1))&1))ok=0;//(k>>l) = k/(2^l),&1で下1桁だけ見たい
				}
				//隣り合ったものがないパターンの時のを数える
				if(ok){
					if(j>=1 && ((k>>(j-1))&1)){
						A[i+1][j-1] += A[i][j];
						A[i+1][j-1] %= NUM;
					}else if(j<=W-2 && ((k>>j)&1)){
						A[i+1][j+1] += A[i][j];
						A[i+1][j+1] %= NUM;
					}
					else{
						A[i+1][j] += A[i][j];
						A[i+1][j] %= NUM;
					}
				}
			}
		}
	}
	printf("%d",A[H][K-1]);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
	.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	$3280, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-3272(%rbp), %rcx
	leaq	-3276(%rbp), %rdx
	leaq	-3280(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-3248(%rbp), %rdx
	movl	$0, %eax
	movl	$404, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -3248(%rbp)
	movl	$0, -3268(%rbp)
	jmp	.L2
.L13:
	movl	$0, -3264(%rbp)
	jmp	.L3
.L12:
	movl	$0, -3260(%rbp)
	jmp	.L4
.L11:
	movl	$1, -3252(%rbp)
	movl	$0, -3256(%rbp)
	jmp	.L5
.L7:
	movl	-3256(%rbp), %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L6
	movl	-3256(%rbp), %eax
	addl	$1, %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L6
	movl	$0, -3252(%rbp)
.L6:
	addl	$1, -3256(%rbp)
.L5:
	movl	-3276(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -3256(%rbp)
	jl	.L7
	cmpl	$0, -3252(%rbp)
	je	.L8
	cmpl	$0, -3264(%rbp)
	jle	.L9
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L9
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	addl	%esi, %edx
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	leal	-1(%rax), %esi
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	imull	$1000000007, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
	jmp	.L8
.L9:
	movl	-3276(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -3264(%rbp)
	jge	.L10
	movl	-3264(%rbp), %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L10
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	addl	%esi, %edx
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	leal	1(%rax), %esi
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	imull	$1000000007, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
	jmp	.L8
.L10:
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	addl	%esi, %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	imull	$1000000007, %eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movl	-3264(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
.L8:
	addl	$1, -3260(%rbp)
.L4:
	movl	-3276(%rbp), %eax
	subl	$1, %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -3260(%rbp)
	jl	.L11
	addl	$1, -3264(%rbp)
.L3:
	movl	-3276(%rbp), %eax
	cmpl	%eax, -3264(%rbp)
	jl	.L12
	addl	$1, -3268(%rbp)
.L2:
	movl	-3280(%rbp), %eax
	cmpl	%eax, -3268(%rbp)
	jl	.L13
	movl	-3280(%rbp), %eax
	movl	-3272(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %eax
	movl	%eax, %esi
	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	.L15
	call	__stack_chk_fail@PLT
.L15:
	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
	.section	.rodata
.LC0:
	.string	"%d%d%d"
.LC1:
	.string	"%d"
	.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	$3280, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-3272(%rbp), %rcx
	leaq	-3276(%rbp), %rdx
	leaq	-3280(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-3248(%rbp), %rdx
	movl	$0, %eax
	movl	$404, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$1, -3248(%rbp)
	movl	$0, -3268(%rbp)
	jmp	.L2
.L13:
	movl	$0, -3264(%rbp)
	jmp	.L3
.L12:
	movl	$0, -3260(%rbp)
	jmp	.L4
.L11:
	movl	$1, -3252(%rbp)
	movl	$0, -3256(%rbp)
	jmp	.L5
.L7:
	movl	-3256(%rbp), %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L6
	movl	-3256(%rbp), %eax
	addl	$1, %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L6
	movl	$0, -3252(%rbp)
.L6:
	addl	$1, -3256(%rbp)
.L5:
	movl	-3276(%rbp), %eax
	subl	$2, %eax
	cmpl	%eax, -3256(%rbp)
	jl	.L7
	cmpl	$0, -3252(%rbp)
	je	.L8
	cmpl	$0, -3264(%rbp)
	jle	.L9
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L9
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	addl	%esi, %edx
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	subl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	leal	-1(%rax), %esi
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	imull	$1000000007, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
	jmp	.L8
.L9:
	movl	-3276(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -3264(%rbp)
	jge	.L10
	movl	-3264(%rbp), %eax
	movl	-3260(%rbp), %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	movl	%edx, %eax
	andl	$1, %eax
	testl	%eax, %eax
	je	.L10
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	addl	%esi, %edx
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	addl	$1, %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movl	-3264(%rbp), %eax
	leal	1(%rax), %esi
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %edi
	sarl	$31, %edi
	subl	%edi, %eax
	imull	$1000000007, %eax, %edi
	movl	%edx, %eax
	subl	%edi, %eax
	movslq	%esi, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
	jmp	.L8
.L10:
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %esi
	movl	-3264(%rbp), %eax
	movslq	%eax, %rdx
	movl	-3268(%rbp), %eax
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	addl	%esi, %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rsi
	movslq	%ecx, %rax
	salq	$3, %rax
	addq	%rsi, %rax
	movl	%edx, -3248(%rbp,%rax,4)
	movl	-3268(%rbp), %eax
	leal	1(%rax), %edx
	movl	-3264(%rbp), %eax
	movslq	%eax, %rcx
	movslq	%edx, %rax
	salq	$3, %rax
	addq	%rcx, %rax
	movl	-3248(%rbp,%rax,4), %edx
	movl	-3268(%rbp), %eax
	leal	1(%rax), %ecx
	movslq	%edx, %rax
	imulq	$1152921497, %rax, %rax
	shrq	$32, %rax
	sarl	$28, %eax
	movl	%edx, %esi
	sarl	$31, %esi
	subl	%esi, %eax
	imull	$1000000007, %eax, %esi
	movl	%edx, %eax
	subl	%esi, %eax
	movl	-3264(%rbp), %edx
	movslq	%edx, %rsi
	movslq	%ecx, %rdx
	salq	$3, %rdx
	addq	%rsi, %rdx
	movl	%eax, -3248(%rbp,%rdx,4)
.L8:
	addl	$1, -3260(%rbp)
.L4:
	movl	-3276(%rbp), %eax
	subl	$1, %eax
	movl	$1, %edx
	movl	%eax, %ecx
	sall	%cl, %edx
	movl	%edx, %eax
	cmpl	%eax, -3260(%rbp)
	jl	.L11
	addl	$1, -3264(%rbp)
.L3:
	movl	-3276(%rbp), %eax
	cmpl	%eax, -3264(%rbp)
	jl	.L12
	addl	$1, -3268(%rbp)
.L2:
	movl	-3280(%rbp), %eax
	cmpl	%eax, -3268(%rbp)
	jl	.L13
	movl	-3280(%rbp), %eax
	movl	-3272(%rbp), %edx
	subl	$1, %edx
	movslq	%edx, %rdx
	cltq
	salq	$3, %rax
	addq	%rdx, %rax
	movl	-3248(%rbp,%rax,4), %eax
	movl	%eax, %esi
	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	.L15
	call	__stack_chk_fail@PLT
.L15:
	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:
