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,i,j;
  char snuke[26][27][6];
  scanf("%d%d",&h,&w);
  for(i=0;i<h;i++){
    for(j=0;j<w;j++){
      scanf("%s",snuke[i][j]);
      if(strcmp(snuke[i][j],"snuke")==0){
        printf("%c%d",j+65,i+1);
        exit(0);
      }
    }
  }
  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	"snuke"
.LC3:
	.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	$168, %rsp
	.cfi_def_cfa_offset 4320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	movl	28(%rsp), %eax
	leaq	32(%rsp), %rcx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rcx, 8(%rsp)
	leaq	.LC1(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L2
.L7:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	movl	28(%rsp), %eax
	addl	$1, %r15d
	addq	$6, %rbx
	cmpl	%r15d, %eax
	jle	.L15
.L5:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movl	$1, %edi
	leal	1(%r13), %ecx
	leal	65(%r15), %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	addl	$1, %r13d
	cmpl	24(%rsp), %r13d
	jge	.L2
	addq	$162, %r14
	testl	%eax, %eax
	jg	.L7
.L2:
	movq	4248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$4264, %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
.L16:
	.cfi_restore_state
	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	"snuke"
.LC3:
	.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	$168, %rsp
	.cfi_def_cfa_offset 4320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	movl	28(%rsp), %eax
	leaq	32(%rsp), %rcx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rcx, 8(%rsp)
	leaq	.LC1(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L2
.L7:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	movl	28(%rsp), %eax
	addl	$1, %r15d
	addq	$6, %rbx
	cmpl	%r15d, %eax
	jle	.L15
.L5:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movl	$1, %edi
	leal	1(%r13), %ecx
	leal	65(%r15), %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	addl	$1, %r13d
	cmpl	24(%rsp), %r13d
	jge	.L2
	addq	$162, %r14
	testl	%eax, %eax
	jg	.L7
.L2:
	movq	4248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$4264, %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
.L16:
	.cfi_restore_state
	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	"snuke"
.LC3:
	.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	$168, %rsp
	.cfi_def_cfa_offset 4320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	movl	28(%rsp), %eax
	leaq	32(%rsp), %rcx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rcx, 8(%rsp)
	leaq	.LC1(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L2
.L7:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	movl	28(%rsp), %eax
	addl	$1, %r15d
	addq	$6, %rbx
	cmpl	%r15d, %eax
	jle	.L15
.L5:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movl	$1, %edi
	leal	1(%r13), %ecx
	leal	65(%r15), %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	addl	$1, %r13d
	cmpl	24(%rsp), %r13d
	jge	.L2
	addq	$162, %r14
	testl	%eax, %eax
	jg	.L7
.L2:
	movq	4248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$4264, %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
.L16:
	.cfi_restore_state
	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,i,j;
  char snuke[26][27][6];
  scanf("%d%d",&h,&w);
  for(i=0;i<h;i++){
    for(j=0;j<w;j++){
      scanf("%s",snuke[i][j]);
      if(strcmp(snuke[i][j],"snuke")==0){
        printf("%c%d",j+65,i+1);
        exit(0);
      }
    }
  }
  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,i,j;
  char snuke[26][27][6];
  scanf("%d%d",&h,&w);
  for(i=0;i<h;i++){
    for(j=0;j<w;j++){
      scanf("%s",snuke[i][j]);
      if(strcmp(snuke[i][j],"snuke")==0){
        printf("%c%d",j+65,i+1);
        exit(0);
      }
    }
  }
  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 snake snake
snake snake snake snake snake snake snake snake snake snake
snake snake snake snake snake snake snake snake snake snake

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,i,j;
  char snuke[26][27][6];
  scanf("%d%d",&h,&w);
  for(i=0;i<h;i++){
    for(j=0;j<w;j++){
      scanf("%s",snuke[i][j]);
      if(strcmp(snuke[i][j],"snuke")==0){
        printf("%c%d",j+65,i+1);
        exit(0);
      }
    }
  }
  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	"snuke"
.LC3:
	.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	$168, %rsp
	.cfi_def_cfa_offset 4320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	movl	28(%rsp), %eax
	leaq	32(%rsp), %rcx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rcx, 8(%rsp)
	leaq	.LC1(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L2
.L7:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	movl	28(%rsp), %eax
	addl	$1, %r15d
	addq	$6, %rbx
	cmpl	%r15d, %eax
	jle	.L15
.L5:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movl	$1, %edi
	leal	1(%r13), %ecx
	leal	65(%r15), %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	addl	$1, %r13d
	cmpl	24(%rsp), %r13d
	jge	.L2
	addq	$162, %r14
	testl	%eax, %eax
	jg	.L7
.L2:
	movq	4248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$4264, %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
.L16:
	.cfi_restore_state
	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	"snuke"
.LC3:
	.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	$168, %rsp
	.cfi_def_cfa_offset 4320
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 4248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %rdx
	leaq	24(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	movl	28(%rsp), %eax
	leaq	32(%rsp), %rcx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	movq	%rcx, 8(%rsp)
	leaq	.LC1(%rip), %r12
	leaq	.LC2(%rip), %rbp
	testl	%eax, %eax
	jle	.L2
.L7:
	movq	8(%rsp), %rax
	xorl	%r15d, %r15d
	leaq	(%rax,%r14), %rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	movl	28(%rsp), %eax
	addl	$1, %r15d
	addq	$6, %rbx
	cmpl	%r15d, %eax
	jle	.L15
.L5:
	movq	%rbx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movl	$1, %edi
	leal	1(%r13), %ecx
	leal	65(%r15), %edx
	leaq	.LC3(%rip), %rsi
	call	__printf_chk@PLT
	xorl	%edi, %edi
	call	exit@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	addl	$1, %r13d
	cmpl	24(%rsp), %r13d
	jge	.L2
	addq	$162, %r14
	testl	%eax, %eax
	jg	.L7
.L2:
	movq	4248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$4264, %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
.L16:
	.cfi_restore_state
	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:
```