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>

void initStr(char s[][101]){
  int i, j;
  for(i=0; i<101; i++){
    for(j=0; j<101; j++){
      s[i][j] = '0';
    }
  }
}
int answerDestination(char s[][101]){
  int nowPositionX=0, nowPositionY=0;
  while(s[nowPositionY][nowPositionX]!='.'){
    if(s[nowPositionY][nowPositionX]=='1'){
      break;
    }else if(s[nowPositionY][nowPositionX]=='>'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionX += 1;
    }else if(s[nowPositionY][nowPositionX]=='<'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionX -= 1;
    }else if(s[nowPositionY][nowPositionX]=='^'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionY -= 1;
    }else if(s[nowPositionY][nowPositionX]=='v'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionY += 1;
    }
  }
  if(s[nowPositionY][nowPositionX]=='.'){
    printf("%d %d\n", nowPositionX, nowPositionY);
  }else if(s[nowPositionY][nowPositionX]=='1'){
    printf("%s\n", "LOOP");
  }
}
int main(){
  int H, W, i, j;
  char s[101][101];
  while(scanf("%d%d", &H, &W)!=EOF && (H!=0 && W!=0)){
    initStr(s);
    for(i=0; i<H; i++){
        scanf("%s", s[i]);
    }
    answerDestination(s);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	initStr
	.type	initStr, @function
initStr:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L2
.L5:
	movl	$0, -4(%rbp)
	jmp	.L3
.L4:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	movb	$48, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L3:
	cmpl	$100, -4(%rbp)
	jle	.L4
	addl	$1, -8(%rbp)
.L2:
	cmpl	$100, -8(%rbp)
	jle	.L5
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	initStr, .-initStr
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"LOOP"
	.text
	.globl	answerDestination
	.type	answerDestination, @function
answerDestination:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	$0, -8(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L7
.L13:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$49, %al
	je	.L16
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$62, %al
	jne	.L10
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	addl	$1, -8(%rbp)
	jmp	.L7
.L10:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$60, %al
	jne	.L11
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	subl	$1, -8(%rbp)
	jmp	.L7
.L11:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$94, %al
	jne	.L12
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	subl	$1, -4(%rbp)
	jmp	.L7
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$118, %al
	jne	.L7
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L7:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$46, %al
	jne	.L13
	jmp	.L9
.L16:
	nop
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$46, %al
	jne	.L14
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L14:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$49, %al
	jne	.L15
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	answerDestination, .-answerDestination
	.section	.rodata
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L18
.L22:
	leaq	-10224(%rbp), %rax
	movq	%rax, %rdi
	call	initStr
	movl	$0, -10228(%rbp)
	jmp	.L19
.L20:
	leaq	-10224(%rbp), %rcx
	movl	-10228(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -10228(%rbp)
.L19:
	movl	-10236(%rbp), %eax
	cmpl	%eax, -10228(%rbp)
	jl	.L20
	leaq	-10224(%rbp), %rax
	movq	%rax, %rdi
	call	answerDestination
.L18:
	leaq	-10232(%rbp), %rdx
	leaq	-10236(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L21
	movl	-10236(%rbp), %eax
	testl	%eax, %eax
	je	.L21
	movl	-10232(%rbp), %eax
	testl	%eax, %eax
	jne	.L22
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
	.p2align 4
	.globl	initStr
	.type	initStr, @function
initStr:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$10201, %edx
	movl	$48, %esi
	jmp	memset@PLT
	.cfi_endproc
.LFE23:
	.size	initStr, .-initStr
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"LOOP"
	.text
	.p2align 4
	.globl	answerDestination
	.type	answerDestination, @function
answerDestination:
.LFB24:
	.cfi_startproc
	endbr64
	xorl	%r9d, %r9d
	xorl	%edx, %edx
	xorl	%esi, %esi
.L4:
	leaq	(%rsi,%rsi,4), %rax
	movslq	%edx, %r8
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,4), %rcx
	addq	%rdi, %rcx
	movzbl	(%rcx,%r8), %eax
	cmpb	$46, %al
	je	.L6
.L14:
	cmpb	$62, %al
	je	.L7
	jg	.L8
	cmpb	$49, %al
	je	.L9
	cmpb	$60, %al
	jne	.L14
	subl	$1, %edx
.L5:
	movb	$49, (%rcx,%r8)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	cmpb	$94, %al
	je	.L12
	cmpb	$118, %al
	jne	.L14
	addl	$1, %r9d
	movslq	%r9d, %rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	subl	$1, %r9d
	movslq	%r9d, %rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC1(%rip), %rdi
	jmp	puts@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r9d, %ecx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.cfi_endproc
.LFE24:
	.size	answerDestination, .-answerDestination
	.section	.rodata.str1.1
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.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	$2072, %rsp
	.cfi_def_cfa_offset 10320
	leaq	.LC3(%rip), %r13
	leaq	.LC2(%rip), %r12
	movq	%fs:40, %rax
	movq	%rax, 10248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %r15
	leaq	24(%rsp), %r14
.L16:
	xorl	%eax, %eax
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L19
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	je	.L19
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L19
	leaq	32(%rsp), %rbp
	movl	$10201, %edx
	movl	$48, %esi
	movq	%rbp, %rdi
	call	memset@PLT
	testl	%ebx, %ebx
	jle	.L17
	movq	%rbp, %rdx
	xorl	%ebx, %ebx
.L18:
	movq	%rdx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	movq	%rdx, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	addl	$1, %ebx
	addq	$101, %rdx
	cmpl	%ebx, 24(%rsp)
	jg	.L18
.L17:
	movq	%rbp, %rdi
	call	answerDestination
	jmp	.L16
.L19:
	movq	10248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$10264, %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
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.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
	.p2align 4
	.globl	initStr
	.type	initStr, @function
initStr:
.LFB23:
	.cfi_startproc
	endbr64
	movl	$10201, %edx
	movl	$48, %esi
	jmp	memset@PLT
	.cfi_endproc
.LFE23:
	.size	initStr, .-initStr
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"LOOP"
	.text
	.p2align 4
	.globl	answerDestination
	.type	answerDestination, @function
answerDestination:
.LFB24:
	.cfi_startproc
	endbr64
	xorl	%r9d, %r9d
	xorl	%edx, %edx
	xorl	%esi, %esi
.L4:
	leaq	(%rsi,%rsi,4), %rax
	movslq	%edx, %r8
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,4), %rcx
	addq	%rdi, %rcx
	movzbl	(%rcx,%r8), %eax
	cmpb	$46, %al
	je	.L6
.L14:
	cmpb	$62, %al
	je	.L7
	jg	.L8
	cmpb	$49, %al
	je	.L9
	cmpb	$60, %al
	jne	.L14
	subl	$1, %edx
.L5:
	movb	$49, (%rcx,%r8)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L8:
	cmpb	$94, %al
	je	.L12
	cmpb	$118, %al
	jne	.L14
	addl	$1, %r9d
	movslq	%r9d, %rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %edx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L12:
	subl	$1, %r9d
	movslq	%r9d, %rsi
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC1(%rip), %rdi
	jmp	puts@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	movl	%r9d, %ecx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.cfi_endproc
.LFE24:
	.size	answerDestination, .-answerDestination
	.section	.rodata.str1.1
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB25:
	.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	$2072, %rsp
	.cfi_def_cfa_offset 10320
	leaq	.LC3(%rip), %r13
	leaq	.LC2(%rip), %r12
	movq	%fs:40, %rax
	movq	%rax, 10248(%rsp)
	xorl	%eax, %eax
	leaq	28(%rsp), %r15
	leaq	24(%rsp), %r14
.L16:
	xorl	%eax, %eax
	movq	%r15, %rdx
	movq	%r14, %rsi
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L19
	movl	24(%rsp), %ebx
	testl	%ebx, %ebx
	je	.L19
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L19
	leaq	32(%rsp), %rbp
	movl	$10201, %edx
	movl	$48, %esi
	movq	%rbp, %rdi
	call	memset@PLT
	testl	%ebx, %ebx
	jle	.L17
	movq	%rbp, %rdx
	xorl	%ebx, %ebx
.L18:
	movq	%rdx, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	movq	%rdx, 8(%rsp)
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rdx
	addl	$1, %ebx
	addq	$101, %rdx
	cmpl	%ebx, 24(%rsp)
	jg	.L18
.L17:
	movq	%rbp, %rdi
	call	answerDestination
	jmp	.L16
.L19:
	movq	10248(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$10264, %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
.L30:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE25:
	.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>

void initStr(char s[][101]){
  int i, j;
  for(i=0; i<101; i++){
    for(j=0; j<101; j++){
      s[i][j] = '0';
    }
  }
}
int answerDestination(char s[][101]){
  int nowPositionX=0, nowPositionY=0;
  while(s[nowPositionY][nowPositionX]!='.'){
    if(s[nowPositionY][nowPositionX]=='1'){
      break;
    }else if(s[nowPositionY][nowPositionX]=='>'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionX += 1;
    }else if(s[nowPositionY][nowPositionX]=='<'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionX -= 1;
    }else if(s[nowPositionY][nowPositionX]=='^'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionY -= 1;
    }else if(s[nowPositionY][nowPositionX]=='v'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionY += 1;
    }
  }
  if(s[nowPositionY][nowPositionX]=='.'){
    printf("%d %d\n", nowPositionX, nowPositionY);
  }else if(s[nowPositionY][nowPositionX]=='1'){
    printf("%s\n", "LOOP");
  }
}
int main(){
  int H, W, i, j;
  char s[101][101];
  while(scanf("%d%d", &H, &W)!=EOF && (H!=0 && W!=0)){
    initStr(s);
    for(i=0; i<H; i++){
        scanf("%s", s[i]);
    }
    answerDestination(s);
  }
  return 0;
}
10 10
>>>.v.>>>v
...v..^..v
>>>>>>^..v
.........v
.v

3 0

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>

void initStr(char s[][101]){
  int i, j;
  for(i=0; i<101; i++){
    for(j=0; j<101; j++){
      s[i][j] = '0';
    }
  }
}
int answerDestination(char s[][101]){
  int nowPositionX=0, nowPositionY=0;
  while(s[nowPositionY][nowPositionX]!='.'){
    if(s[nowPositionY][nowPositionX]=='1'){
      break;
    }else if(s[nowPositionY][nowPositionX]=='>'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionX += 1;
    }else if(s[nowPositionY][nowPositionX]=='<'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionX -= 1;
    }else if(s[nowPositionY][nowPositionX]=='^'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionY -= 1;
    }else if(s[nowPositionY][nowPositionX]=='v'){
      s[nowPositionY][nowPositionX] = '1';
      nowPositionY += 1;
    }
  }
  if(s[nowPositionY][nowPositionX]=='.'){
    printf("%d %d\n", nowPositionX, nowPositionY);
  }else if(s[nowPositionY][nowPositionX]=='1'){
    printf("%s\n", "LOOP");
  }
}
int main(){
  int H, W, i, j;
  char s[101][101];
  while(scanf("%d%d", &H, &W)!=EOF && (H!=0 && W!=0)){
    initStr(s);
    for(i=0; i<H; i++){
        scanf("%s", s[i]);
    }
    answerDestination(s);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	initStr
	.type	initStr, @function
initStr:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L2
.L5:
	movl	$0, -4(%rbp)
	jmp	.L3
.L4:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	movb	$48, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L3:
	cmpl	$100, -4(%rbp)
	jle	.L4
	addl	$1, -8(%rbp)
.L2:
	cmpl	$100, -8(%rbp)
	jle	.L5
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	initStr, .-initStr
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"LOOP"
	.text
	.globl	answerDestination
	.type	answerDestination, @function
answerDestination:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	$0, -8(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L7
.L13:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$49, %al
	je	.L16
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$62, %al
	jne	.L10
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	addl	$1, -8(%rbp)
	jmp	.L7
.L10:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$60, %al
	jne	.L11
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	subl	$1, -8(%rbp)
	jmp	.L7
.L11:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$94, %al
	jne	.L12
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	subl	$1, -4(%rbp)
	jmp	.L7
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$118, %al
	jne	.L7
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L7:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$46, %al
	jne	.L13
	jmp	.L9
.L16:
	nop
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$46, %al
	jne	.L14
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L14:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$49, %al
	jne	.L15
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	answerDestination, .-answerDestination
	.section	.rodata
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L18
.L22:
	leaq	-10224(%rbp), %rax
	movq	%rax, %rdi
	call	initStr
	movl	$0, -10228(%rbp)
	jmp	.L19
.L20:
	leaq	-10224(%rbp), %rcx
	movl	-10228(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -10228(%rbp)
.L19:
	movl	-10236(%rbp), %eax
	cmpl	%eax, -10228(%rbp)
	jl	.L20
	leaq	-10224(%rbp), %rax
	movq	%rax, %rdi
	call	answerDestination
.L18:
	leaq	-10232(%rbp), %rdx
	leaq	-10236(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L21
	movl	-10236(%rbp), %eax
	testl	%eax, %eax
	je	.L21
	movl	-10232(%rbp), %eax
	testl	%eax, %eax
	jne	.L22
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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
	.globl	initStr
	.type	initStr, @function
initStr:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	movq	%rdi, -24(%rbp)
	movl	$0, -8(%rbp)
	jmp	.L2
.L5:
	movl	$0, -4(%rbp)
	jmp	.L3
.L4:
	movl	-8(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-4(%rbp), %eax
	cltq
	movb	$48, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L3:
	cmpl	$100, -4(%rbp)
	jle	.L4
	addl	$1, -8(%rbp)
.L2:
	cmpl	$100, -8(%rbp)
	jle	.L5
	nop
	nop
	popq	%rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	initStr, .-initStr
	.section	.rodata
.LC0:
	.string	"%d %d\n"
.LC1:
	.string	"LOOP"
	.text
	.globl	answerDestination
	.type	answerDestination, @function
answerDestination:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$32, %rsp
	movq	%rdi, -24(%rbp)
	movl	$0, -8(%rbp)
	movl	$0, -4(%rbp)
	jmp	.L7
.L13:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$49, %al
	je	.L16
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$62, %al
	jne	.L10
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	addl	$1, -8(%rbp)
	jmp	.L7
.L10:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$60, %al
	jne	.L11
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	subl	$1, -8(%rbp)
	jmp	.L7
.L11:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$94, %al
	jne	.L12
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	subl	$1, -4(%rbp)
	jmp	.L7
.L12:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$118, %al
	jne	.L7
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movb	$49, (%rdx,%rax)
	addl	$1, -4(%rbp)
.L7:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$46, %al
	jne	.L13
	jmp	.L9
.L16:
	nop
.L9:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$46, %al
	jne	.L14
	movl	-4(%rbp), %edx
	movl	-8(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L15
.L14:
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rcx
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rax, %rdx
	movq	-24(%rbp), %rax
	addq	%rax, %rdx
	movl	-8(%rbp), %eax
	cltq
	movzbl	(%rdx,%rax), %eax
	cmpb	$49, %al
	jne	.L15
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L15:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	answerDestination, .-answerDestination
	.section	.rodata
.LC2:
	.string	"%s"
.LC3:
	.string	"%d%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$2048, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L18
.L22:
	leaq	-10224(%rbp), %rax
	movq	%rax, %rdi
	call	initStr
	movl	$0, -10228(%rbp)
	jmp	.L19
.L20:
	leaq	-10224(%rbp), %rcx
	movl	-10228(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rsi
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -10228(%rbp)
.L19:
	movl	-10236(%rbp), %eax
	cmpl	%eax, -10228(%rbp)
	jl	.L20
	leaq	-10224(%rbp), %rax
	movq	%rax, %rdi
	call	answerDestination
.L18:
	leaq	-10232(%rbp), %rdx
	leaq	-10236(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L21
	movl	-10236(%rbp), %eax
	testl	%eax, %eax
	je	.L21
	movl	-10232(%rbp), %eax
	testl	%eax, %eax
	jne	.L22
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.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:
