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>
char c[110];
int f(int i){
  int n=i,j;
  char s[110]={};
  for(;c[i];i++){
    if(c[i]=='[')i=f(i+1);
    else if(c[i]==']'){
      for(j=0;n<i-j;j++)s[j]=c[i-j-1];//printf(":%s %s\n\n",s,c+i+1);
      strcat(s,c+i+1);//printf("a%s\n",s);
      c[n-1]=0;
      strcat(c,s);//printf("b%s %c %c\n",c,c[i-2],c[i-1]);
      return i-2;
    }
  }
  return i-1;
}
int main(){
  int i,p=0,r;
  char s[100];
  while(scanf("%s",s),s[0]-'.'){
    for(i=r=0;s[i];i++){
      if('A'<=s[i]&&s[i]<='Z')c[r++]=(p+s[i]-'A'+80*26)%26+'A';
      if(s[i]=='['||s[i]==']')c[r++]=s[i];
      if(s[i]=='?')c[r++]='A';
      if     (s[i]=='+')p++;
      else if(s[i]=='-')p--;
      else              p=0;
    }
    c[r]=0;
    f(0);
    printf("%s\n",c);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 110
c:
	.zero	110
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movl	%edi, -148(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-148(%rbp), %eax
	movl	%eax, -132(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movl	$0, -24(%rbp)
	movw	$0, -20(%rbp)
	jmp	.L2
.L8:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$91, %al
	jne	.L3
	movl	-148(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %edi
	call	f
	movl	%eax, -148(%rbp)
	jmp	.L4
.L3:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$93, %al
	jne	.L4
	movl	$0, -136(%rbp)
	jmp	.L5
.L6:
	movl	-148(%rbp), %eax
	subl	-136(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-136(%rbp), %eax
	cltq
	movb	%dl, -128(%rbp,%rax)
	addl	$1, -136(%rbp)
.L5:
	movl	-148(%rbp), %eax
	subl	-136(%rbp), %eax
	cmpl	%eax, -132(%rbp)
	jl	.L6
	movl	-148(%rbp), %eax
	cltq
	leaq	1(%rax), %rdx
	leaq	c(%rip), %rax
	addq	%rax, %rdx
	leaq	-128(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcat@PLT
	movl	-132(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	c(%rip), %rdx
	movb	$0, (%rax,%rdx)
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	strcat@PLT
	movl	-148(%rbp), %eax
	subl	$2, %eax
	jmp	.L9
.L4:
	addl	$1, -148(%rbp)
.L2:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L8
	movl	-148(%rbp), %eax
	subl	$1, %eax
.L9:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -120(%rbp)
	jmp	.L12
.L22:
	movl	$0, -116(%rbp)
	movl	-116(%rbp), %eax
	movl	%eax, -124(%rbp)
	jmp	.L13
.L21:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L14
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L14
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %edx
	movl	-120(%rbp), %eax
	addl	%edx, %eax
	addl	$2015, %eax
	movslq	%eax, %rdx
	imulq	$1321528399, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$26, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	leal	65(%rax), %ecx
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	cltq
	leaq	c(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L14:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$91, %al
	je	.L15
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$93, %al
	jne	.L16
.L15:
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	movl	-124(%rbp), %edx
	movslq	%edx, %rdx
	movzbl	-112(%rbp,%rdx), %edx
	cltq
	leaq	c(%rip), %rcx
	movb	%dl, (%rax,%rcx)
.L16:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$63, %al
	jne	.L17
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	cltq
	leaq	c(%rip), %rdx
	movb	$65, (%rax,%rdx)
.L17:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$43, %al
	jne	.L18
	addl	$1, -120(%rbp)
	jmp	.L19
.L18:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$45, %al
	jne	.L20
	subl	$1, -120(%rbp)
	jmp	.L19
.L20:
	movl	$0, -120(%rbp)
.L19:
	addl	$1, -124(%rbp)
.L13:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L21
	movl	-116(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movb	$0, (%rax,%rdx)
	movl	$0, %edi
	call	f
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-112(%rbp), %eax
	cmpb	$46, %al
	jne	.L22
	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
.LFE1:
	.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	f
	.type	f, @function
f:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	%xmm0, %xmm0
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movl	%edi, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	c(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	addq	$-128, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 104(%rsp)
	movw	%ax, 108(%rsp)
	movslq	%edi, %rax
	movzbl	(%r12,%rax), %edx
	movaps	%xmm0, (%rsp)
	movq	$0, 96(%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 80(%rsp)
	testb	%dl, %dl
	je	.L2
	movl	%edi, %ebx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$93, %dl
	je	.L17
	movl	%ebx, %eax
	leal	1(%rax), %ebx
	movslq	%ebx, %rbp
	movzbl	(%r12,%rbp), %edx
	testb	%dl, %dl
	je	.L1
.L9:
	cmpb	$91, %dl
	jne	.L3
	leal	1(%rbx), %edi
	call	f
	leal	1(%rax), %ebx
	movslq	%ebx, %rbp
	movzbl	(%r12,%rbp), %edx
	testb	%dl, %dl
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L1:
	movq	120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L18
	subq	$-128, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpl	%ebx, %r13d
	jge	.L19
	movl	%ebx, %ecx
	movslq	%ebx, %rbp
	movq	%rsp, %r14
	subl	%r13d, %ecx
	leaq	(%r12,%rbp), %rdx
	movq	%r14, %rax
	subl	$1, %ecx
	leaq	1(%rsp,%rcx), %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	-1(%rdx), %ecx
	addq	$1, %rax
	subq	$1, %rdx
	movb	%cl, -1(%rax)
	cmpq	%rsi, %rax
	jne	.L7
.L8:
	movq	%r14, %rdi
	subl	$1, %r13d
	call	strlen@PLT
	leaq	1(%r12,%rbp), %rsi
	movl	$110, %edx
	movslq	%r13d, %r13
	leaq	(%r14,%rax), %rdi
	call	__strcpy_chk@PLT
	movl	$110, %edx
	movq	%r14, %rsi
	movq	%r12, %rdi
	movb	$0, (%r12,%r13)
	call	__strcat_chk@PLT
	leal	-2(%rbx), %eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	leal	-1(%rdi), %eax
	jmp	.L1
.L19:
	movq	%rsp, %r14
	movslq	%ebx, %rbp
	jmp	.L8
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	f, .-f
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%r13d, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	c(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC0(%rip), %rbx
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L21:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movsbl	(%rsp), %eax
	cmpb	$46, %al
	je	.L28
	leaq	1(%rsp), %rsi
	xorl	%edx, %edx
	testb	%al, %al
	jne	.L27
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L36:
	leal	2015(%r13,%rax), %ecx
	movslq	%edx, %rdi
	xorl	%r13d, %r13d
	addl	$1, %edx
	movslq	%ecx, %rax
	movl	%ecx, %r8d
	imulq	$1321528399, %rax, %rax
	sarl	$31, %r8d
	sarq	$35, %rax
	subl	%r8d, %eax
	imull	$26, %eax, %eax
	subl	%eax, %ecx
	addl	$65, %ecx
	movb	%cl, (%r12,%rdi)
.L23:
	movsbl	(%rsi), %eax
	addq	$1, %rsi
	testb	%al, %al
	je	.L30
.L27:
	leal	-65(%rax), %ecx
	cmpb	$25, %cl
	jbe	.L36
	leal	-91(%rax), %ecx
	andl	$253, %ecx
	jne	.L24
	movslq	%edx, %rcx
	addl	$1, %edx
	movb	%al, (%r12,%rcx)
.L24:
	cmpb	$63, %al
	jne	.L25
	movslq	%edx, %rax
	addq	$1, %rsi
	addl	$1, %edx
	xorl	%r13d, %r13d
	movb	$65, (%r12,%rax)
	movsbl	-1(%rsi), %eax
	testb	%al, %al
	jne	.L27
.L30:
	movslq	%edx, %rdx
	xorl	%edi, %edi
	movb	$0, (%r12,%rdx)
	call	f
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L25:
	cmpb	$43, %al
	jne	.L26
	addl	$1, %r13d
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L26:
	cmpb	$45, %al
	jne	.L32
	subl	$1, %r13d
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L28:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L37
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	xorl	%r13d, %r13d
	jmp	.L23
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 110
c:
	.zero	110
	.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	f
	.type	f, @function
f:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	%xmm0, %xmm0
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	movl	%edi, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	c(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	addq	$-128, %rsp
	.cfi_def_cfa_offset 176
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	xorl	%eax, %eax
	movl	$0, 104(%rsp)
	movw	%ax, 108(%rsp)
	movslq	%edi, %rax
	movzbl	(%r12,%rax), %edx
	movaps	%xmm0, (%rsp)
	movq	$0, 96(%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 80(%rsp)
	testb	%dl, %dl
	je	.L2
	movl	%edi, %ebx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	cmpb	$93, %dl
	je	.L17
	movl	%ebx, %eax
	leal	1(%rax), %ebx
	movslq	%ebx, %rbp
	movzbl	(%r12,%rbp), %edx
	testb	%dl, %dl
	je	.L1
.L9:
	cmpb	$91, %dl
	jne	.L3
	leal	1(%rbx), %edi
	call	f
	leal	1(%rax), %ebx
	movslq	%ebx, %rbp
	movzbl	(%r12,%rbp), %edx
	testb	%dl, %dl
	jne	.L9
	.p2align 4,,10
	.p2align 3
.L1:
	movq	120(%rsp), %rdx
	subq	%fs:40, %rdx
	jne	.L18
	subq	$-128, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	cmpl	%ebx, %r13d
	jge	.L19
	movl	%ebx, %ecx
	movslq	%ebx, %rbp
	movq	%rsp, %r14
	subl	%r13d, %ecx
	leaq	(%r12,%rbp), %rdx
	movq	%r14, %rax
	subl	$1, %ecx
	leaq	1(%rsp,%rcx), %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	-1(%rdx), %ecx
	addq	$1, %rax
	subq	$1, %rdx
	movb	%cl, -1(%rax)
	cmpq	%rsi, %rax
	jne	.L7
.L8:
	movq	%r14, %rdi
	subl	$1, %r13d
	call	strlen@PLT
	leaq	1(%r12,%rbp), %rsi
	movl	$110, %edx
	movslq	%r13d, %r13
	leaq	(%r14,%rax), %rdi
	call	__strcpy_chk@PLT
	movl	$110, %edx
	movq	%r14, %rsi
	movq	%r12, %rdi
	movb	$0, (%r12,%r13)
	call	__strcat_chk@PLT
	leal	-2(%rbx), %eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	leal	-1(%rdi), %eax
	jmp	.L1
.L19:
	movq	%rsp, %r14
	movslq	%ebx, %rbp
	jmp	.L8
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	f, .-f
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xorl	%r13d, %r13d
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	leaq	c(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	leaq	.LC0(%rip), %rbx
	subq	$120, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	.p2align 4,,10
	.p2align 3
.L21:
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movsbl	(%rsp), %eax
	cmpb	$46, %al
	je	.L28
	leaq	1(%rsp), %rsi
	xorl	%edx, %edx
	testb	%al, %al
	jne	.L27
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L36:
	leal	2015(%r13,%rax), %ecx
	movslq	%edx, %rdi
	xorl	%r13d, %r13d
	addl	$1, %edx
	movslq	%ecx, %rax
	movl	%ecx, %r8d
	imulq	$1321528399, %rax, %rax
	sarl	$31, %r8d
	sarq	$35, %rax
	subl	%r8d, %eax
	imull	$26, %eax, %eax
	subl	%eax, %ecx
	addl	$65, %ecx
	movb	%cl, (%r12,%rdi)
.L23:
	movsbl	(%rsi), %eax
	addq	$1, %rsi
	testb	%al, %al
	je	.L30
.L27:
	leal	-65(%rax), %ecx
	cmpb	$25, %cl
	jbe	.L36
	leal	-91(%rax), %ecx
	andl	$253, %ecx
	jne	.L24
	movslq	%edx, %rcx
	addl	$1, %edx
	movb	%al, (%r12,%rcx)
.L24:
	cmpb	$63, %al
	jne	.L25
	movslq	%edx, %rax
	addq	$1, %rsi
	addl	$1, %edx
	xorl	%r13d, %r13d
	movb	$65, (%r12,%rax)
	movsbl	-1(%rsi), %eax
	testb	%al, %al
	jne	.L27
.L30:
	movslq	%edx, %rdx
	xorl	%edi, %edi
	movb	$0, (%r12,%rdx)
	call	f
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L25:
	cmpb	$43, %al
	jne	.L26
	addl	$1, %r13d
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L26:
	cmpb	$45, %al
	jne	.L32
	subl	$1, %r13d
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L28:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L37
	addq	$120, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	xorl	%r13d, %r13d
	jmp	.L23
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 110
c:
	.zero	110
	.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>
char c[110];
int f(int i){
  int n=i,j;
  char s[110]={};
  for(;c[i];i++){
    if(c[i]=='[')i=f(i+1);
    else if(c[i]==']'){
      for(j=0;n<i-j;j++)s[j]=c[i-j-1];//printf(":%s %s\n\n",s,c+i+1);
      strcat(s,c+i+1);//printf("a%s\n",s);
      c[n-1]=0;
      strcat(c,s);//printf("b%s %c %c\n",c,c[i-2],c[i-1]);
      return i-2;
    }
  }
  return i-1;
}
int main(){
  int i,p=0,r;
  char s[100];
  while(scanf("%s",s),s[0]-'.'){
    for(i=r=0;s[i];i++){
      if('A'<=s[i]&&s[i]<='Z')c[r++]=(p+s[i]-'A'+80*26)%26+'A';
      if(s[i]=='['||s[i]==']')c[r++]=s[i];
      if(s[i]=='?')c[r++]='A';
      if     (s[i]=='+')p++;
      else if(s[i]=='-')p--;
      else              p=0;
    }
    c[r]=0;
    f(0);
    printf("%s\n",c);
  }
  return 0;
}
A+A++A
Z-Z--Z+-Z
[ESRVEER]
J---?---J
++++++++A+++Z-----------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-ZZ--+-Z
[ESRVEER]
J---?---J
++++++++A+++Z-----------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-Z--Z+-Z
[ESRVEER]
J---?---J
+++-++++A+++Z-+---------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-Z--Z+-Z
[ESQVEER]
J---?---J
+++-++++A+++Z-+---------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-Z--Z+-Z
[ESREVER]
J---J---?
++++++++A+++Z-----------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-+Z--Z-Z
[ESREVER]
J---J---?
++++++++A+++Z-----------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++B
Z-Z--Z+-Z
[ESREVER]
J---?---J
++++++++A+++Z-----------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A++A+A
Z-Z--Z+-Z
[ESRVEER]
J---?---J
++++++++A+++Z-----------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-Z--Z+-Z
[ESRVEFR]
J---?---J
+++-++++A+++Z-+---------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.
 A+A++A
Z-Z--Z+-Z
[ESQWEER]
J---?---J
+++-++++A+++Z-+---------A+++Z
[[++-+--?[--++-?++-+++L]][-+-----+-O]]++++---+L
.

ABC
ZYXZ
REEVRSE
JAG
ICPC
JAPAN
 ABC
ZYZX
REEVRSE
JAG
ICPC
JAPAN
 ABC
ZYXZ
REEVRSE
JAG
GCRC
JAPAN
 ABC
ZYXZ
REEVQSE
JAG
GCRC
JAPAN
 ABC
ZYXZ
REVERSE
JGA
ICPC
JAPAN
 ABC
ZZXY
REVERSE
JGA
ICPC
JAPAN
 ABD
ZYXZ
REVERSE
JAG
ICPC
JAPAN
 ACB
ZYXZ
REEVRSE
JAG
ICPC
JAPAN
 ABC
ZYXZ
RFEVRSE
JAG
GCRC
JAPAN
 ABC
ZYXZ
REEWQSE
JAG
GCRC
JAPAN

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>
char c[110];
int f(int i){
  int n=i,j;
  char s[110]={};
  for(;c[i];i++){
    if(c[i]=='[')i=f(i+1);
    else if(c[i]==']'){
      for(j=0;n<i-j;j++)s[j]=c[i-j-1];//printf(":%s %s\n\n",s,c+i+1);
      strcat(s,c+i+1);//printf("a%s\n",s);
      c[n-1]=0;
      strcat(c,s);//printf("b%s %c %c\n",c,c[i-2],c[i-1]);
      return i-2;
    }
  }
  return i-1;
}
int main(){
  int i,p=0,r;
  char s[100];
  while(scanf("%s",s),s[0]-'.'){
    for(i=r=0;s[i];i++){
      if('A'<=s[i]&&s[i]<='Z')c[r++]=(p+s[i]-'A'+80*26)%26+'A';
      if(s[i]=='['||s[i]==']')c[r++]=s[i];
      if(s[i]=='?')c[r++]='A';
      if     (s[i]=='+')p++;
      else if(s[i]=='-')p--;
      else              p=0;
    }
    c[r]=0;
    f(0);
    printf("%s\n",c);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 110
c:
	.zero	110
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movl	%edi, -148(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-148(%rbp), %eax
	movl	%eax, -132(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movl	$0, -24(%rbp)
	movw	$0, -20(%rbp)
	jmp	.L2
.L8:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$91, %al
	jne	.L3
	movl	-148(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %edi
	call	f
	movl	%eax, -148(%rbp)
	jmp	.L4
.L3:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$93, %al
	jne	.L4
	movl	$0, -136(%rbp)
	jmp	.L5
.L6:
	movl	-148(%rbp), %eax
	subl	-136(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-136(%rbp), %eax
	cltq
	movb	%dl, -128(%rbp,%rax)
	addl	$1, -136(%rbp)
.L5:
	movl	-148(%rbp), %eax
	subl	-136(%rbp), %eax
	cmpl	%eax, -132(%rbp)
	jl	.L6
	movl	-148(%rbp), %eax
	cltq
	leaq	1(%rax), %rdx
	leaq	c(%rip), %rax
	addq	%rax, %rdx
	leaq	-128(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcat@PLT
	movl	-132(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	c(%rip), %rdx
	movb	$0, (%rax,%rdx)
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	strcat@PLT
	movl	-148(%rbp), %eax
	subl	$2, %eax
	jmp	.L9
.L4:
	addl	$1, -148(%rbp)
.L2:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L8
	movl	-148(%rbp), %eax
	subl	$1, %eax
.L9:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -120(%rbp)
	jmp	.L12
.L22:
	movl	$0, -116(%rbp)
	movl	-116(%rbp), %eax
	movl	%eax, -124(%rbp)
	jmp	.L13
.L21:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L14
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L14
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %edx
	movl	-120(%rbp), %eax
	addl	%edx, %eax
	addl	$2015, %eax
	movslq	%eax, %rdx
	imulq	$1321528399, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$26, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	leal	65(%rax), %ecx
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	cltq
	leaq	c(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L14:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$91, %al
	je	.L15
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$93, %al
	jne	.L16
.L15:
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	movl	-124(%rbp), %edx
	movslq	%edx, %rdx
	movzbl	-112(%rbp,%rdx), %edx
	cltq
	leaq	c(%rip), %rcx
	movb	%dl, (%rax,%rcx)
.L16:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$63, %al
	jne	.L17
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	cltq
	leaq	c(%rip), %rdx
	movb	$65, (%rax,%rdx)
.L17:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$43, %al
	jne	.L18
	addl	$1, -120(%rbp)
	jmp	.L19
.L18:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$45, %al
	jne	.L20
	subl	$1, -120(%rbp)
	jmp	.L19
.L20:
	movl	$0, -120(%rbp)
.L19:
	addl	$1, -124(%rbp)
.L13:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L21
	movl	-116(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movb	$0, (%rax,%rdx)
	movl	$0, %edi
	call	f
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-112(%rbp), %eax
	cmpb	$46, %al
	jne	.L22
	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
.LFE1:
	.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	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 110
c:
	.zero	110
	.text
	.globl	f
	.type	f, @function
f:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$160, %rsp
	movl	%edi, -148(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	-148(%rbp), %eax
	movl	%eax, -132(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movl	$0, -24(%rbp)
	movw	$0, -20(%rbp)
	jmp	.L2
.L8:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$91, %al
	jne	.L3
	movl	-148(%rbp), %eax
	addl	$1, %eax
	movl	%eax, %edi
	call	f
	movl	%eax, -148(%rbp)
	jmp	.L4
.L3:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	cmpb	$93, %al
	jne	.L4
	movl	$0, -136(%rbp)
	jmp	.L5
.L6:
	movl	-148(%rbp), %eax
	subl	-136(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %edx
	movl	-136(%rbp), %eax
	cltq
	movb	%dl, -128(%rbp,%rax)
	addl	$1, -136(%rbp)
.L5:
	movl	-148(%rbp), %eax
	subl	-136(%rbp), %eax
	cmpl	%eax, -132(%rbp)
	jl	.L6
	movl	-148(%rbp), %eax
	cltq
	leaq	1(%rax), %rdx
	leaq	c(%rip), %rax
	addq	%rax, %rdx
	leaq	-128(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcat@PLT
	movl	-132(%rbp), %eax
	subl	$1, %eax
	cltq
	leaq	c(%rip), %rdx
	movb	$0, (%rax,%rdx)
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	strcat@PLT
	movl	-148(%rbp), %eax
	subl	$2, %eax
	jmp	.L9
.L4:
	addl	$1, -148(%rbp)
.L2:
	movl	-148(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movzbl	(%rax,%rdx), %eax
	testb	%al, %al
	jne	.L8
	movl	-148(%rbp), %eax
	subl	$1, %eax
.L9:
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -120(%rbp)
	jmp	.L12
.L22:
	movl	$0, -116(%rbp)
	movl	-116(%rbp), %eax
	movl	%eax, -124(%rbp)
	jmp	.L13
.L21:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$64, %al
	jle	.L14
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$90, %al
	jg	.L14
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %edx
	movl	-120(%rbp), %eax
	addl	%edx, %eax
	addl	$2015, %eax
	movslq	%eax, %rdx
	imulq	$1321528399, %rdx, %rdx
	shrq	$32, %rdx
	sarl	$3, %edx
	movl	%eax, %ecx
	sarl	$31, %ecx
	subl	%ecx, %edx
	imull	$26, %edx, %ecx
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	%edx, %eax
	leal	65(%rax), %ecx
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	cltq
	leaq	c(%rip), %rdx
	movb	%cl, (%rax,%rdx)
.L14:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$91, %al
	je	.L15
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$93, %al
	jne	.L16
.L15:
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	movl	-124(%rbp), %edx
	movslq	%edx, %rdx
	movzbl	-112(%rbp,%rdx), %edx
	cltq
	leaq	c(%rip), %rcx
	movb	%dl, (%rax,%rcx)
.L16:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$63, %al
	jne	.L17
	movl	-116(%rbp), %eax
	leal	1(%rax), %edx
	movl	%edx, -116(%rbp)
	cltq
	leaq	c(%rip), %rdx
	movb	$65, (%rax,%rdx)
.L17:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$43, %al
	jne	.L18
	addl	$1, -120(%rbp)
	jmp	.L19
.L18:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$45, %al
	jne	.L20
	subl	$1, -120(%rbp)
	jmp	.L19
.L20:
	movl	$0, -120(%rbp)
.L19:
	addl	$1, -124(%rbp)
.L13:
	movl	-124(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	testb	%al, %al
	jne	.L21
	movl	-116(%rbp), %eax
	cltq
	leaq	c(%rip), %rdx
	movb	$0, (%rax,%rdx)
	movl	$0, %edi
	call	f
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L12:
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-112(%rbp), %eax
	cmpb	$46, %al
	jne	.L22
	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
.LFE1:
	.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:
