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

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
int h,w;
char ss[10]="snuke";
char s[30][30][10];
scanf("%d %d",&h,&w);
for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        scanf("%s",s[count][count2]);
    }
}

for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        if(strcmp(s[count][count2],ss)==0){printf("%c%d",count2+'A',count+1);return 0;}
    }
}
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%c%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$872, %rsp
	.cfi_def_cfa_offset 9120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 9048(%rsp)
	movabsq	$435594554995, %rax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	movq	%rax, 9038(%rsp)
	xorl	%eax, %eax
	movw	%ax, 9046(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L11
	movl	28(%rsp), %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r13
	testl	%r12d, %r12d
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L8:
	leaq	32(%rsp,%r15), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r12d
	addq	$10, %rbp
	cmpl	%ebx, %r12d
	jg	.L4
	movl	24(%rsp), %ebx
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
	addq	$300, %r15
	testl	%r12d, %r12d
	jg	.L8
.L24:
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
.L7:
	leaq	32(%rsp), %rax
	movl	$0, 4(%rsp)
	xorl	%r14d, %r14d
	leaq	9038(%rsp), %rbp
	movq	%rax, 8(%rsp)
.L13:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %r13
	testl	%r12d, %r12d
	jg	.L12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$1, %r15d
	addq	$10, %r13
	cmpl	%r15d, %r12d
	je	.L15
.L12:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L10
	movl	4(%rsp), %ecx
	leal	65(%r15), %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	addl	$1, %ecx
	call	__printf_chk@PLT
.L11:
	movq	9048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$9064, %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
.L15:
	.cfi_restore_state
	addl	$1, 4(%rsp)
	movl	4(%rsp), %eax
	addq	$300, %r14
	cmpl	%eax, %ebx
	jne	.L13
	jmp	.L11
.L6:
	testl	%ebx, %ebx
	jg	.L7
	jmp	.L11
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%c%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$872, %rsp
	.cfi_def_cfa_offset 9120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 9048(%rsp)
	movabsq	$435594554995, %rax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	movq	%rax, 9038(%rsp)
	xorl	%eax, %eax
	movw	%ax, 9046(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L11
	movl	28(%rsp), %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r13
	testl	%r12d, %r12d
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L8:
	leaq	32(%rsp,%r15), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r12d
	addq	$10, %rbp
	cmpl	%ebx, %r12d
	jg	.L4
	movl	24(%rsp), %ebx
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
	addq	$300, %r15
	testl	%r12d, %r12d
	jg	.L8
.L24:
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
.L7:
	leaq	32(%rsp), %rax
	movl	$0, 4(%rsp)
	xorl	%r14d, %r14d
	leaq	9038(%rsp), %rbp
	movq	%rax, 8(%rsp)
.L13:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %r13
	testl	%r12d, %r12d
	jg	.L12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$1, %r15d
	addq	$10, %r13
	cmpl	%r15d, %r12d
	je	.L15
.L12:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L10
	movl	4(%rsp), %ecx
	leal	65(%r15), %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	addl	$1, %ecx
	call	__printf_chk@PLT
.L11:
	movq	9048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$9064, %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
.L15:
	.cfi_restore_state
	addl	$1, 4(%rsp)
	movl	4(%rsp), %eax
	addq	$300, %r14
	cmpl	%eax, %ebx
	jne	.L13
	jmp	.L11
.L6:
	testl	%ebx, %ebx
	jg	.L7
	jmp	.L11
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%c%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$872, %rsp
	.cfi_def_cfa_offset 9120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 9048(%rsp)
	movabsq	$435594554995, %rax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	movq	%rax, 9038(%rsp)
	xorl	%eax, %eax
	movw	%ax, 9046(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L11
	movl	28(%rsp), %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r13
	testl	%r12d, %r12d
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L8:
	leaq	32(%rsp,%r15), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r12d
	addq	$10, %rbp
	cmpl	%ebx, %r12d
	jg	.L4
	movl	24(%rsp), %ebx
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
	addq	$300, %r15
	testl	%r12d, %r12d
	jg	.L8
.L24:
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
.L7:
	leaq	32(%rsp), %rax
	movl	$0, 4(%rsp)
	xorl	%r14d, %r14d
	leaq	9038(%rsp), %rbp
	movq	%rax, 8(%rsp)
.L13:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %r13
	testl	%r12d, %r12d
	jg	.L12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$1, %r15d
	addq	$10, %r13
	cmpl	%r15d, %r12d
	je	.L15
.L12:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L10
	movl	4(%rsp), %ecx
	leal	65(%r15), %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	addl	$1, %ecx
	call	__printf_chk@PLT
.L11:
	movq	9048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$9064, %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
.L15:
	.cfi_restore_state
	addl	$1, 4(%rsp)
	movl	4(%rsp), %eax
	addq	$300, %r14
	cmpl	%eax, %ebx
	jne	.L13
	jmp	.L11
.L6:
	testl	%ebx, %ebx
	jg	.L7
	jmp	.L11
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
int h,w;
char ss[10]="snuke";
char s[30][30][10];
scanf("%d %d",&h,&w);
for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        scanf("%s",s[count][count2]);
    }
}

for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        if(strcmp(s[count][count2],ss)==0){printf("%c%d",count2+'A',count+1);return 0;}
    }
}
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void){
int h,w;
char ss[10]="snuke";
char s[30][30][10];
scanf("%d %d",&h,&w);
for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        scanf("%s",s[count][count2]);
    }
}

for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        if(strcmp(s[count][count2],ss)==0){printf("%c%d",count2+'A',count+1);return 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:

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 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>
int main(void){
int h,w;
char ss[10]="snuke";
char s[30][30][10];
scanf("%d %d",&h,&w);
for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        scanf("%s",s[count][count2]);
    }
}

for(int count=0;count<h;count++){
    for(int count2=0;count2<w;count2++){
        if(strcmp(s[count][count2],ss)==0){printf("%c%d",count2+'A',count+1);return 0;}
    }
}
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%c%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$872, %rsp
	.cfi_def_cfa_offset 9120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 9048(%rsp)
	movabsq	$435594554995, %rax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	movq	%rax, 9038(%rsp)
	xorl	%eax, %eax
	movw	%ax, 9046(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L11
	movl	28(%rsp), %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r13
	testl	%r12d, %r12d
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L8:
	leaq	32(%rsp,%r15), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r12d
	addq	$10, %rbp
	cmpl	%ebx, %r12d
	jg	.L4
	movl	24(%rsp), %ebx
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
	addq	$300, %r15
	testl	%r12d, %r12d
	jg	.L8
.L24:
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
.L7:
	leaq	32(%rsp), %rax
	movl	$0, 4(%rsp)
	xorl	%r14d, %r14d
	leaq	9038(%rsp), %rbp
	movq	%rax, 8(%rsp)
.L13:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %r13
	testl	%r12d, %r12d
	jg	.L12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$1, %r15d
	addq	$10, %r13
	cmpl	%r15d, %r12d
	je	.L15
.L12:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L10
	movl	4(%rsp), %ecx
	leal	65(%r15), %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	addl	$1, %ecx
	call	__printf_chk@PLT
.L11:
	movq	9048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$9064, %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
.L15:
	.cfi_restore_state
	addl	$1, 4(%rsp)
	movl	4(%rsp), %eax
	addq	$300, %r14
	cmpl	%eax, %ebx
	jne	.L13
	jmp	.L11
.L6:
	testl	%ebx, %ebx
	jg	.L7
	jmp	.L11
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%c%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB51:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$4096, %rsp
	.cfi_def_cfa_offset 8248
	orq	$0, (%rsp)
	subq	$872, %rsp
	.cfi_def_cfa_offset 9120
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 9048(%rsp)
	movabsq	$435594554995, %rax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	movq	%rax, 9038(%rsp)
	xorl	%eax, %eax
	movw	%ax, 9046(%rsp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	jle	.L11
	movl	28(%rsp), %r12d
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	leaq	.LC1(%rip), %r13
	testl	%r12d, %r12d
	jle	.L24
	.p2align 4,,10
	.p2align 3
.L8:
	leaq	32(%rsp,%r15), %rbp
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %r12d
	addq	$10, %rbp
	cmpl	%ebx, %r12d
	jg	.L4
	movl	24(%rsp), %ebx
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
	addq	$300, %r15
	testl	%r12d, %r12d
	jg	.L8
.L24:
	addl	$1, %r14d
	cmpl	%ebx, %r14d
	jge	.L6
.L7:
	leaq	32(%rsp), %rax
	movl	$0, 4(%rsp)
	xorl	%r14d, %r14d
	leaq	9038(%rsp), %rbp
	movq	%rax, 8(%rsp)
.L13:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %r13
	testl	%r12d, %r12d
	jg	.L12
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L10:
	addl	$1, %r15d
	addq	$10, %r13
	cmpl	%r15d, %r12d
	je	.L15
.L12:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L10
	movl	4(%rsp), %ecx
	leal	65(%r15), %edx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	addl	$1, %ecx
	call	__printf_chk@PLT
.L11:
	movq	9048(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$9064, %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
.L15:
	.cfi_restore_state
	addl	$1, 4(%rsp)
	movl	4(%rsp), %eax
	addq	$300, %r14
	cmpl	%eax, %ebx
	jne	.L13
	jmp	.L11
.L6:
	testl	%ebx, %ebx
	jg	.L7
	jmp	.L11
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE51:
	.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:
```