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 <string.h>

int main(){
	int H, W, i, j;
	scanf("%d%d", &H, &W);
	char S[H][W][6];
	for(i = 0; i < H; i++){
		for(j = 0; j < W; j++){
			scanf("%s", S[i][j]);
		}
	}
	for(i = 0; i < H; i++){
		for(j = 0; j < W; j++){
			if(strcmp(S[i][j], "snuke") == 0){
				printf("%c%d\n", (char)(j + (int)'A'), i + 1);
				return 0;
			}
		}
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"snuke"
.LC3:
	.string	"%c%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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %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, %rax
	movq	%rax, -152(%rbp)
	leaq	-92(%rbp), %rdx
	leaq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-92(%rbp), %ecx
	movl	-96(%rbp), %esi
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -80(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	-128(%rbp), %r9
	movq	-120(%rbp), %r10
	imulq	$48, %r10, %rdx
	imulq	$0, %r9, %rax
	leaq	(%rdx,%rax), %rdi
	movl	$48, %eax
	mulq	%r9
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rbx
	movslq	%esi, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movslq	%esi, %rax
	movq	%rax, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	-144(%rbp), %r9
	movq	-136(%rbp), %r10
	movq	%r10, %rdx
	imulq	-112(%rbp), %rdx
	movq	-104(%rbp), %rax
	imulq	%r9, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r9, %rax
	mulq	-112(%rbp)
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	imulq	$48, %rdx, %r8
	imulq	$0, %rax, %rdi
	addq	%r8, %rdi
	movl	$48, %r8d
	mulq	%r8
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%esi, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movq	%r15, %rdx
	imulq	%r12, %rdx
	movq	%r13, %rax
	imulq	%r14, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r14, %rax
	mulq	%r12
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	imulq	$48, %rdx, %r8
	imulq	$0, %rax, %rdi
	addq	%r8, %rdi
	movl	$48, %r8d
	mulq	%r8
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$0, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -88(%rbp)
	jmp	.L5
.L8:
	movl	$0, -84(%rbp)
	jmp	.L6
.L7:
	movl	-84(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movl	-88(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rbx, %rdx
	addq	%rax, %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -84(%rbp)
.L6:
	movl	-92(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L7
	addl	$1, -88(%rbp)
.L5:
	movl	-96(%rbp), %eax
	cmpl	%eax, -88(%rbp)
	jl	.L8
	movl	$0, -88(%rbp)
	jmp	.L9
.L14:
	movl	$0, -84(%rbp)
	jmp	.L10
.L13:
	movl	-84(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movl	-88(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rbx, %rdx
	addq	%rax, %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC2(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movl	-88(%rbp), %eax
	leal	1(%rax), %edx
	movl	-84(%rbp), %eax
	addl	$65, %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-152(%rbp), %rsp
	jmp	.L12
.L11:
	addl	$1, -84(%rbp)
.L10:
	movl	-92(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L13
	addl	$1, -88(%rbp)
.L9:
	movl	-96(%rbp), %eax
	cmpl	%eax, -88(%rbp)
	jl	.L14
	movq	-152(%rbp), %rsp
	movl	$0, %eax
.L12:
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%s"
.LC2:
	.string	"snuke"
.LC3:
	.string	"%c%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %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, -104(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movl	-64(%rbp), %r14d
	movq	%rsp, %rsi
	leaq	(%rdx,%rdx,2), %rax
	movq	%rdx, %r15
	addq	%rax, %rax
	movq	%rax, -88(%rbp)
	movslq	%r14d, %rax
	imulq	%rdx, %rax
	leaq	(%rax,%rax,2), %rax
	leaq	15(%rax,%rax), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, -80(%rbp)
	xorl	%r13d, %r13d
	leaq	.LC1(%rip), %rbx
	movl	$0, -68(%rbp)
	testl	%r14d, %r14d
	jle	.L6
	testl	%r15d, %r15d
	jle	.L35
	.p2align 4,,10
	.p2align 3
.L11:
	movq	-80(%rbp), %rax
	xorl	%r14d, %r14d
	leaq	(%rax,%r13), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %r15d
	addq	$6, %r12
	cmpl	%r14d, %r15d
	jg	.L7
	addl	$1, -68(%rbp)
	movl	-64(%rbp), %r14d
	movl	-68(%rbp), %eax
	cmpl	%r14d, %eax
	jge	.L9
	addq	-88(%rbp), %r13
	testl	%r15d, %r15d
	jg	.L11
.L35:
	movl	-68(%rbp), %r12d
	addl	$1, %r12d
	cmpl	%r14d, %r12d
	jge	.L9
.L10:
	movq	$0, -96(%rbp)
	leaq	.LC2(%rip), %rbx
	movl	$0, -68(%rbp)
.L16:
	movq	-80(%rbp), %r12
	xorl	%r13d, %r13d
	addq	-96(%rbp), %r12
	testl	%r15d, %r15d
	jg	.L15
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L13:
	addl	$1, %r13d
	addq	$6, %r12
	cmpl	%r13d, %r15d
	je	.L18
.L15:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L13
	movl	-68(%rbp), %ecx
	leal	65(%r13), %edx
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movsbl	%dl, %edx
	addl	$1, %ecx
	call	__printf_chk@PLT
	movq	-104(%rbp), %rsp
.L14:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L36
	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
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	addl	$1, -68(%rbp)
	movl	-68(%rbp), %eax
	movq	-88(%rbp), %rdx
	addq	%rdx, -96(%rbp)
	cmpl	%eax, %r14d
	jne	.L16
.L6:
	movq	-104(%rbp), %rsp
	jmp	.L14
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L9:
	testl	%r14d, %r14d
	jg	.L10
	jmp	.L6
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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"
.LC1:
	.string	"%s"
.LC2:
	.string	"snuke"
.LC3:
	.string	"%c%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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), %rdx
	leaq	-64(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %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, -104(%rbp)
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rdx
	movl	-64(%rbp), %r14d
	movq	%rsp, %rsi
	leaq	(%rdx,%rdx,2), %rax
	movq	%rdx, %r15
	addq	%rax, %rax
	movq	%rax, -88(%rbp)
	movslq	%r14d, %rax
	imulq	%rdx, %rax
	leaq	(%rax,%rax,2), %rax
	leaq	15(%rax,%rax), %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rsi
	andq	$-16, %rdx
	cmpq	%rsi, %rsp
	je	.L3
.L33:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L33
.L3:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L34
.L4:
	movq	%rsp, -80(%rbp)
	xorl	%r13d, %r13d
	leaq	.LC1(%rip), %rbx
	movl	$0, -68(%rbp)
	testl	%r14d, %r14d
	jle	.L6
	testl	%r15d, %r15d
	jle	.L35
	.p2align 4,,10
	.p2align 3
.L11:
	movq	-80(%rbp), %rax
	xorl	%r14d, %r14d
	leaq	(%rax,%r13), %r12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %r15d
	addq	$6, %r12
	cmpl	%r14d, %r15d
	jg	.L7
	addl	$1, -68(%rbp)
	movl	-64(%rbp), %r14d
	movl	-68(%rbp), %eax
	cmpl	%r14d, %eax
	jge	.L9
	addq	-88(%rbp), %r13
	testl	%r15d, %r15d
	jg	.L11
.L35:
	movl	-68(%rbp), %r12d
	addl	$1, %r12d
	cmpl	%r14d, %r12d
	jge	.L9
.L10:
	movq	$0, -96(%rbp)
	leaq	.LC2(%rip), %rbx
	movl	$0, -68(%rbp)
.L16:
	movq	-80(%rbp), %r12
	xorl	%r13d, %r13d
	addq	-96(%rbp), %r12
	testl	%r15d, %r15d
	jg	.L15
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L13:
	addl	$1, %r13d
	addq	$6, %r12
	cmpl	%r13d, %r15d
	je	.L18
.L15:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L13
	movl	-68(%rbp), %ecx
	leal	65(%r13), %edx
	movl	$1, %edi
	leaq	.LC3(%rip), %rsi
	movsbl	%dl, %edx
	addl	$1, %ecx
	call	__printf_chk@PLT
	movq	-104(%rbp), %rsp
.L14:
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L36
	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
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	addl	$1, -68(%rbp)
	movl	-68(%rbp), %eax
	movq	-88(%rbp), %rdx
	addq	%rdx, -96(%rbp)
	cmpl	%eax, %r14d
	jne	.L16
.L6:
	movq	-104(%rbp), %rsp
	jmp	.L14
.L34:
	orq	$0, -8(%rsp,%rdx)
	jmp	.L4
.L9:
	testl	%r14d, %r14d
	jg	.L10
	jmp	.L6
.L36:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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 <string.h>

int main(){
	int H, W, i, j;
	scanf("%d%d", &H, &W);
	char S[H][W][6];
	for(i = 0; i < H; i++){
		for(j = 0; j < W; j++){
			scanf("%s", S[i][j]);
		}
	}
	for(i = 0; i < H; i++){
		for(j = 0; j < W; j++){
			if(strcmp(S[i][j], "snuke") == 0){
				printf("%c%d\n", (char)(j + (int)'A'), i + 1);
				return 0;
			}
		}
	}
}
15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snakf snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snakf snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake ekans snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake sneka snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snakf snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake ekans snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake ekans snake snake snake sneka snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake ekans snake snake snake sneka snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake ekans snake snake snale sneka snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
 15 10
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake ekans snake snake snale sneka snake snake snake
snake snake snake snaek snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snuke snake snake
snakd snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake ekans snake
snake snake snake snake snaje snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake

H6
 H6
 H6
 H6
 H6
 H6
 H6
 H6
 H6
 H6

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 <string.h>

int main(){
	int H, W, i, j;
	scanf("%d%d", &H, &W);
	char S[H][W][6];
	for(i = 0; i < H; i++){
		for(j = 0; j < W; j++){
			scanf("%s", S[i][j]);
		}
	}
	for(i = 0; i < H; i++){
		for(j = 0; j < W; j++){
			if(strcmp(S[i][j], "snuke") == 0){
				printf("%c%d\n", (char)(j + (int)'A'), i + 1);
				return 0;
			}
		}
	}
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"snuke"
.LC3:
	.string	"%c%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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %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, %rax
	movq	%rax, -152(%rbp)
	leaq	-92(%rbp), %rdx
	leaq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-92(%rbp), %ecx
	movl	-96(%rbp), %esi
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -80(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	-128(%rbp), %r9
	movq	-120(%rbp), %r10
	imulq	$48, %r10, %rdx
	imulq	$0, %r9, %rax
	leaq	(%rdx,%rax), %rdi
	movl	$48, %eax
	mulq	%r9
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rbx
	movslq	%esi, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movslq	%esi, %rax
	movq	%rax, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	-144(%rbp), %r9
	movq	-136(%rbp), %r10
	movq	%r10, %rdx
	imulq	-112(%rbp), %rdx
	movq	-104(%rbp), %rax
	imulq	%r9, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r9, %rax
	mulq	-112(%rbp)
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	imulq	$48, %rdx, %r8
	imulq	$0, %rax, %rdi
	addq	%r8, %rdi
	movl	$48, %r8d
	mulq	%r8
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%esi, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movq	%r15, %rdx
	imulq	%r12, %rdx
	movq	%r13, %rax
	imulq	%r14, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r14, %rax
	mulq	%r12
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	imulq	$48, %rdx, %r8
	imulq	$0, %rax, %rdi
	addq	%r8, %rdi
	movl	$48, %r8d
	mulq	%r8
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$0, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -88(%rbp)
	jmp	.L5
.L8:
	movl	$0, -84(%rbp)
	jmp	.L6
.L7:
	movl	-84(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movl	-88(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rbx, %rdx
	addq	%rax, %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -84(%rbp)
.L6:
	movl	-92(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L7
	addl	$1, -88(%rbp)
.L5:
	movl	-96(%rbp), %eax
	cmpl	%eax, -88(%rbp)
	jl	.L8
	movl	$0, -88(%rbp)
	jmp	.L9
.L14:
	movl	$0, -84(%rbp)
	jmp	.L10
.L13:
	movl	-84(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movl	-88(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rbx, %rdx
	addq	%rax, %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC2(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movl	-88(%rbp), %eax
	leal	1(%rax), %edx
	movl	-84(%rbp), %eax
	addl	$65, %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-152(%rbp), %rsp
	jmp	.L12
.L11:
	addl	$1, -84(%rbp)
.L10:
	movl	-92(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L13
	addl	$1, -88(%rbp)
.L9:
	movl	-96(%rbp), %eax
	cmpl	%eax, -88(%rbp)
	jl	.L14
	movq	-152(%rbp), %rsp
	movl	$0, %eax
.L12:
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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"
.LC1:
	.string	"%s"
.LC2:
	.string	"snuke"
.LC3:
	.string	"%c%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
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %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, %rax
	movq	%rax, -152(%rbp)
	leaq	-92(%rbp), %rdx
	leaq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-92(%rbp), %ecx
	movl	-96(%rbp), %esi
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -80(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	-128(%rbp), %r9
	movq	-120(%rbp), %r10
	imulq	$48, %r10, %rdx
	imulq	$0, %r9, %rax
	leaq	(%rdx,%rax), %rdi
	movl	$48, %eax
	mulq	%r9
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rbx
	movslq	%esi, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movslq	%esi, %rax
	movq	%rax, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	-144(%rbp), %r9
	movq	-136(%rbp), %r10
	movq	%r10, %rdx
	imulq	-112(%rbp), %rdx
	movq	-104(%rbp), %rax
	imulq	%r9, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r9, %rax
	mulq	-112(%rbp)
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	imulq	$48, %rdx, %r8
	imulq	$0, %rax, %rdi
	addq	%r8, %rdi
	movl	$48, %r8d
	mulq	%r8
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	movslq	%esi, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	movq	%r15, %rdx
	imulq	%r12, %rdx
	movq	%r13, %rax
	imulq	%r14, %rax
	leaq	(%rdx,%rax), %rdi
	movq	%r14, %rax
	mulq	%r12
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	imulq	$48, %rdx, %r8
	imulq	$0, %rax, %rdi
	addq	%r8, %rdi
	movl	$48, %r8d
	mulq	%r8
	addq	%rdx, %rdi
	movq	%rdi, %rdx
	movslq	%ecx, %rdx
	movslq	%esi, %rax
	imulq	%rax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$0, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -88(%rbp)
	jmp	.L5
.L8:
	movl	$0, -84(%rbp)
	jmp	.L6
.L7:
	movl	-84(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movl	-88(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rbx, %rdx
	addq	%rax, %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -84(%rbp)
.L6:
	movl	-92(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L7
	addl	$1, -88(%rbp)
.L5:
	movl	-96(%rbp), %eax
	cmpl	%eax, -88(%rbp)
	jl	.L8
	movl	$0, -88(%rbp)
	jmp	.L9
.L14:
	movl	$0, -84(%rbp)
	jmp	.L10
.L13:
	movl	-84(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	movl	-88(%rbp), %edx
	movslq	%edx, %rdx
	imulq	%rbx, %rdx
	addq	%rax, %rdx
	movq	-64(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC2(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movl	-88(%rbp), %eax
	leal	1(%rax), %edx
	movl	-84(%rbp), %eax
	addl	$65, %eax
	movsbl	%al, %eax
	movl	%eax, %esi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-152(%rbp), %rsp
	jmp	.L12
.L11:
	addl	$1, -84(%rbp)
.L10:
	movl	-92(%rbp), %eax
	cmpl	%eax, -84(%rbp)
	jl	.L13
	addl	$1, -88(%rbp)
.L9:
	movl	-96(%rbp), %eax
	cmpl	%eax, -88(%rbp)
	jl	.L14
	movq	-152(%rbp), %rsp
	movl	$0, %eax
.L12:
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
