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>

void opera(void);

int main(void)
{
	int n;
	int i;
	
	
	scanf("%d", &n);
	
	for (i = 0; i < n; i++){
		
		opera();
	}
	
	return (0);
}
void opera(void)
{
	char train[64];
	char str[1024];
	int  i , j = 0;
	int  place = 31;
	
	
	scanf("%s", str);
		
	for (i = 0; i < 64; i++){
		train[i] = ' ';
	}
	
	while (str[j] != '\0'){
		if (str[j] == '-' && str[j + 1] == '>'){
			place++;
			j++;
		}
		else if (str[j] == '<' && str[j + 1] == '-'){
			place--;
			j++;
		}
		else if (str[j] >= 'a' && str[j] <= 'z'){
			train[place] = str[j];
		}
		j++;
	
	}
	for (j = 0; j < 64; j++){
		if (train[j] != ' '){
			printf("%c", train[j]);
		}
	}
	puts("");
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	""
	.text
	.p2align 4
	.globl	opera
	.type	opera, @function
opera:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$1112, %rsp
	.cfi_def_cfa_offset 1136
	movq	%fs:40, %rax
	movq	%rax, 1096(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC2(%rip), %xmm0
	movzbl	64(%rsp), %eax
	xorl	%ecx, %ecx
	movl	$31, %edi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	testb	%al, %al
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$60, %al
	je	.L23
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L13
	movslq	%edi, %rcx
	movb	%al, (%rsp,%rcx)
	movl	%esi, %eax
	movl	%edx, %ecx
.L5:
	testb	%al, %al
	je	.L7
.L2:
	leal	1(%rcx), %edx
	movslq	%edx, %rsi
	movzbl	64(%rsp,%rsi), %esi
	cmpb	$45, %al
	jne	.L4
	cmpb	$62, %sil
	je	.L24
.L13:
	movl	%esi, %eax
	movl	%edx, %ecx
	testb	%al, %al
	jne	.L2
.L7:
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	cmpb	$32, %dil
	je	.L8
	call	putchar@PLT
.L8:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L3
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmpb	$45, %sil
	jne	.L13
	addl	$2, %ecx
	subl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %ecx
	addl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	opera, .-opera
	.section	.rodata.str1.1
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC3(%rip), %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L27
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L28:
	call	opera
	addl	$1, %ebx
	cmpl	%ebx, 4(%rsp)
	jg	.L28
.L27:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.quad	2314885530818453536
	.quad	2314885530818453536
	.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	"%s"
.LC1:
	.string	""
	.text
	.p2align 4
	.globl	opera
	.type	opera, @function
opera:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$1112, %rsp
	.cfi_def_cfa_offset 1136
	movq	%fs:40, %rax
	movq	%rax, 1096(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC2(%rip), %xmm0
	movzbl	64(%rsp), %eax
	xorl	%ecx, %ecx
	movl	$31, %edi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	testb	%al, %al
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$60, %al
	je	.L23
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L13
	movslq	%edi, %rcx
	movb	%al, (%rsp,%rcx)
	movl	%esi, %eax
	movl	%edx, %ecx
.L5:
	testb	%al, %al
	je	.L7
.L2:
	leal	1(%rcx), %edx
	movslq	%edx, %rsi
	movzbl	64(%rsp,%rsi), %esi
	cmpb	$45, %al
	jne	.L4
	cmpb	$62, %sil
	je	.L24
.L13:
	movl	%esi, %eax
	movl	%edx, %ecx
	testb	%al, %al
	jne	.L2
.L7:
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	cmpb	$32, %dil
	je	.L8
	call	putchar@PLT
.L8:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L3
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmpb	$45, %sil
	jne	.L13
	addl	$2, %ecx
	subl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %ecx
	addl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	opera, .-opera
	.section	.rodata.str1.1
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC3(%rip), %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L27
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L28:
	call	opera
	addl	$1, %ebx
	cmpl	%ebx, 4(%rsp)
	jg	.L28
.L27:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.quad	2314885530818453536
	.quad	2314885530818453536
	.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	"%s"
.LC1:
	.string	""
	.text
	.p2align 4
	.globl	opera
	.type	opera, @function
opera:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$1112, %rsp
	.cfi_def_cfa_offset 1136
	movq	%fs:40, %rax
	movq	%rax, 1096(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC2(%rip), %xmm0
	movzbl	64(%rsp), %eax
	xorl	%ecx, %ecx
	movl	$31, %edi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	testb	%al, %al
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$60, %al
	je	.L23
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L13
	movslq	%edi, %rcx
	movb	%al, (%rsp,%rcx)
	movl	%esi, %eax
	movl	%edx, %ecx
.L5:
	testb	%al, %al
	je	.L7
.L2:
	leal	1(%rcx), %edx
	movslq	%edx, %rsi
	movzbl	64(%rsp,%rsi), %esi
	cmpb	$45, %al
	jne	.L4
	cmpb	$62, %sil
	je	.L24
.L13:
	movl	%esi, %eax
	movl	%edx, %ecx
	testb	%al, %al
	jne	.L2
.L7:
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	cmpb	$32, %dil
	je	.L8
	call	putchar@PLT
.L8:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L3
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmpb	$45, %sil
	jne	.L13
	addl	$2, %ecx
	subl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %ecx
	addl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	opera, .-opera
	.section	.rodata.str1.1
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC3(%rip), %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L27
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L28:
	call	opera
	addl	$1, %ebx
	cmpl	%ebx, 4(%rsp)
	jg	.L28
.L27:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.quad	2314885530818453536
	.quad	2314885530818453536
	.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>

void opera(void);

int main(void)
{
	int n;
	int i;
	
	
	scanf("%d", &n);
	
	for (i = 0; i < n; i++){
		
		opera();
	}
	
	return (0);
}
void opera(void)
{
	char train[64];
	char str[1024];
	int  i , j = 0;
	int  place = 31;
	
	
	scanf("%s", str);
		
	for (i = 0; i < 64; i++){
		train[i] = ' ';
	}
	
	while (str[j] != '\0'){
		if (str[j] == '-' && str[j + 1] == '>'){
			place++;
			j++;
		}
		else if (str[j] == '<' && str[j + 1] == '-'){
			place--;
			j++;
		}
		else if (str[j] >= 'a' && str[j] <= 'z'){
			train[place] = str[j];
		}
		j++;
	
	}
	for (j = 0; j < 64; j++){
		if (train[j] != ' '){
			printf("%c", train[j]);
		}
	}
	puts("");
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>

void opera(void);

int main(void)
{
	int n;
	int i;
	
	
	scanf("%d", &n);
	
	for (i = 0; i < n; i++){
		
		opera();
	}
	
	return (0);
}
void opera(void)
{
	char train[64];
	char str[1024];
	int  i , j = 0;
	int  place = 31;
	
	
	scanf("%s", str);
		
	for (i = 0; i < 64; i++){
		train[i] = ' ';
	}
	
	while (str[j] != '\0'){
		if (str[j] == '-' && str[j + 1] == '>'){
			place++;
			j++;
		}
		else if (str[j] == '<' && str[j + 1] == '-'){
			place--;
			j++;
		}
		else if (str[j] >= 'a' && str[j] <= 'z'){
			train[place] = str[j];
		}
		j++;
	
	}
	for (j = 0; j < 64; j++){
		if (train[j] != ' '){
			printf("%c", train[j]);
		}
	}
	puts("");
}```

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:

4
a->f->c->b->d
b
 4
a->e->c->b->d
a
 4
a->f->c->b->d
a
 4
a->f->c->b->d
`
 4
a->e->c->b->d
c
 4
a->f->c->b->d
c
 4
`->f->c->b->d
c
 4
`->f->c->b->d
d
 4
a->e->c->b->d
d
 4
a->e->c->b->d
`

afcbd
b
b
b
 aecbd
a
a
a
 afcbd
a
a
a
 afcbd



 aecbd
c
c
c
 afcbd
c
c
c
 fcbd
c
c
c
 fcbd
d
d
d
 aecbd
d
d
d
 aecbd




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>

void opera(void);

int main(void)
{
	int n;
	int i;
	
	
	scanf("%d", &n);
	
	for (i = 0; i < n; i++){
		
		opera();
	}
	
	return (0);
}
void opera(void)
{
	char train[64];
	char str[1024];
	int  i , j = 0;
	int  place = 31;
	
	
	scanf("%s", str);
		
	for (i = 0; i < 64; i++){
		train[i] = ' ';
	}
	
	while (str[j] != '\0'){
		if (str[j] == '-' && str[j + 1] == '>'){
			place++;
			j++;
		}
		else if (str[j] == '<' && str[j + 1] == '-'){
			place--;
			j++;
		}
		else if (str[j] >= 'a' && str[j] <= 'z'){
			train[place] = str[j];
		}
		j++;
	
	}
	for (j = 0; j < 64; j++){
		if (train[j] != ' '){
			printf("%c", train[j]);
		}
	}
	puts("");
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	""
	.text
	.p2align 4
	.globl	opera
	.type	opera, @function
opera:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$1112, %rsp
	.cfi_def_cfa_offset 1136
	movq	%fs:40, %rax
	movq	%rax, 1096(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC2(%rip), %xmm0
	movzbl	64(%rsp), %eax
	xorl	%ecx, %ecx
	movl	$31, %edi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	testb	%al, %al
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$60, %al
	je	.L23
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L13
	movslq	%edi, %rcx
	movb	%al, (%rsp,%rcx)
	movl	%esi, %eax
	movl	%edx, %ecx
.L5:
	testb	%al, %al
	je	.L7
.L2:
	leal	1(%rcx), %edx
	movslq	%edx, %rsi
	movzbl	64(%rsp,%rsi), %esi
	cmpb	$45, %al
	jne	.L4
	cmpb	$62, %sil
	je	.L24
.L13:
	movl	%esi, %eax
	movl	%edx, %ecx
	testb	%al, %al
	jne	.L2
.L7:
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	cmpb	$32, %dil
	je	.L8
	call	putchar@PLT
.L8:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L3
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmpb	$45, %sil
	jne	.L13
	addl	$2, %ecx
	subl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %ecx
	addl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	opera, .-opera
	.section	.rodata.str1.1
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC3(%rip), %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L27
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L28:
	call	opera
	addl	$1, %ebx
	cmpl	%ebx, 4(%rsp)
	jg	.L28
.L27:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.quad	2314885530818453536
	.quad	2314885530818453536
	.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	"%s"
.LC1:
	.string	""
	.text
	.p2align 4
	.globl	opera
	.type	opera, @function
opera:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$1112, %rsp
	.cfi_def_cfa_offset 1136
	movq	%fs:40, %rax
	movq	%rax, 1096(%rsp)
	xorl	%eax, %eax
	leaq	64(%rsp), %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movdqa	.LC2(%rip), %xmm0
	movzbl	64(%rsp), %eax
	xorl	%ecx, %ecx
	movl	$31, %edi
	movaps	%xmm0, (%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 32(%rsp)
	movaps	%xmm0, 48(%rsp)
	testb	%al, %al
	jne	.L2
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L4:
	cmpb	$60, %al
	je	.L23
	leal	-97(%rax), %ecx
	cmpb	$25, %cl
	ja	.L13
	movslq	%edi, %rcx
	movb	%al, (%rsp,%rcx)
	movl	%esi, %eax
	movl	%edx, %ecx
.L5:
	testb	%al, %al
	je	.L7
.L2:
	leal	1(%rcx), %edx
	movslq	%edx, %rsi
	movzbl	64(%rsp,%rsi), %esi
	cmpb	$45, %al
	jne	.L4
	cmpb	$62, %sil
	je	.L24
.L13:
	movl	%esi, %eax
	movl	%edx, %ecx
	testb	%al, %al
	jne	.L2
.L7:
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	cmpb	$32, %dil
	je	.L8
	call	putchar@PLT
.L8:
	addq	$1, %rbx
	cmpq	%rbp, %rbx
	jne	.L3
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	movq	1096(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$1112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	cmpb	$45, %sil
	jne	.L13
	addl	$2, %ecx
	subl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	addl	$2, %ecx
	addl	$1, %edi
	movslq	%ecx, %rax
	movzbl	64(%rsp,%rax), %eax
	jmp	.L5
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	opera, .-opera
	.section	.rodata.str1.1
.LC3:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC3(%rip), %rdi
	subq	$16, %rsp
	.cfi_def_cfa_offset 32
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rsi
	call	__isoc99_scanf@PLT
	movl	4(%rsp), %eax
	testl	%eax, %eax
	jle	.L27
	xorl	%ebx, %ebx
	.p2align 4,,10
	.p2align 3
.L28:
	call	opera
	addl	$1, %ebx
	cmpl	%ebx, 4(%rsp)
	jg	.L28
.L27:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L32
	addq	$16, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
.L32:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.quad	2314885530818453536
	.quad	2314885530818453536
	.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:
```