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>

int main() {
	char S[100002];
	scanf("%s", S);
	long long len = strlen(S);
	for (long long i = len - 1; i > 0;)
	{
		if (i >= 4 && !strcmp(S + i - 4, "dream")) 
		{
			i -= 5; 
			S[i + 1] = 0;
		}
		else if (i >= 6 && !strcmp(S + i - 6, "dreamer")) 
		{ 
			i -= 7; 
			S[i + 1] = 0;
		}
		else if (i >= 4 && !strcmp(S + i - 4, "erase")) 
		{ 
			i -= 5; 
			S[i + 1] = 0;
		}
		else if (i >= 5 && !strcmp(S + i - 5, "eraser")) 
		{
			i -= 6; 
			S[i + 1] = 0;
		}
		//printf("%d\n", i);
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"dream"
.LC2:
	.string	"dreamer"
.LC3:
	.string	"erase"
.LC4:
	.string	"eraser"
.LC5:
	.string	"NO"
.LC6:
	.string	"YES"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1728, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, -100024(%rbp)
	movq	-100024(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -100032(%rbp)
	jmp	.L2
.L8:
	cmpq	$3, -100032(%rbp)
	jle	.L3
	movq	-100032(%rbp), %rax
	leaq	-4(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L3
	subq	$5, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L3:
	cmpq	$5, -100032(%rbp)
	jle	.L4
	movq	-100032(%rbp), %rax
	leaq	-6(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC2(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	subq	$7, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L4:
	cmpq	$3, -100032(%rbp)
	jle	.L5
	movq	-100032(%rbp), %rax
	leaq	-4(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC3(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L5
	subq	$5, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L5:
	cmpq	$4, -100032(%rbp)
	jle	.L6
	movq	-100032(%rbp), %rax
	leaq	-5(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC4(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L6
	subq	$6, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L6:
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L2:
	cmpq	$0, -100032(%rbp)
	jg	.L8
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %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	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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98360
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	leaq	.LC2(%rip), %r12
	leaq	.LC5(%rip), %r13
	leaq	.LC3(%rip), %r14
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	-1(%rax), %rbx
	testq	%rbx, %rbx
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L20
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L3:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L18
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rsp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	testq	%rbx, %rbx
	jg	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	movb	$0, -4(%rsp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L18
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rsp,%rbx)
	subq	$6, %rbx
	jmp	.L6
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.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
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98360
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100080
	leaq	.LC0(%rip), %rdi
	leaq	.LC2(%rip), %r12
	leaq	.LC5(%rip), %r13
	leaq	.LC3(%rip), %r14
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	-1(%rax), %rbx
	testq	%rbx, %rbx
	jle	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L20
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L3:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L21
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L18
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rsp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	testq	%rbx, %rbx
	jg	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	movb	$0, -4(%rsp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L18
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rsp,%rbx)
	subq	$6, %rbx
	jmp	.L6
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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>
#include<string.h>

int main() {
	char S[100002];
	scanf("%s", S);
	long long len = strlen(S);
	for (long long i = len - 1; i > 0;)
	{
		if (i >= 4 && !strcmp(S + i - 4, "dream")) 
		{
			i -= 5; 
			S[i + 1] = 0;
		}
		else if (i >= 6 && !strcmp(S + i - 6, "dreamer")) 
		{ 
			i -= 7; 
			S[i + 1] = 0;
		}
		else if (i >= 4 && !strcmp(S + i - 4, "erase")) 
		{ 
			i -= 5; 
			S[i + 1] = 0;
		}
		else if (i >= 5 && !strcmp(S + i - 5, "eraser")) 
		{
			i -= 6; 
			S[i + 1] = 0;
		}
		//printf("%d\n", i);
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
	return 0;
}
erasedream

YES

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>

int main() {
	char S[100002];
	scanf("%s", S);
	long long len = strlen(S);
	for (long long i = len - 1; i > 0;)
	{
		if (i >= 4 && !strcmp(S + i - 4, "dream")) 
		{
			i -= 5; 
			S[i + 1] = 0;
		}
		else if (i >= 6 && !strcmp(S + i - 6, "dreamer")) 
		{ 
			i -= 7; 
			S[i + 1] = 0;
		}
		else if (i >= 4 && !strcmp(S + i - 4, "erase")) 
		{ 
			i -= 5; 
			S[i + 1] = 0;
		}
		else if (i >= 5 && !strcmp(S + i - 5, "eraser")) 
		{
			i -= 6; 
			S[i + 1] = 0;
		}
		//printf("%d\n", i);
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"dream"
.LC2:
	.string	"dreamer"
.LC3:
	.string	"erase"
.LC4:
	.string	"eraser"
.LC5:
	.string	"NO"
.LC6:
	.string	"YES"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1728, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, -100024(%rbp)
	movq	-100024(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -100032(%rbp)
	jmp	.L2
.L8:
	cmpq	$3, -100032(%rbp)
	jle	.L3
	movq	-100032(%rbp), %rax
	leaq	-4(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L3
	subq	$5, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L3:
	cmpq	$5, -100032(%rbp)
	jle	.L4
	movq	-100032(%rbp), %rax
	leaq	-6(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC2(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	subq	$7, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L4:
	cmpq	$3, -100032(%rbp)
	jle	.L5
	movq	-100032(%rbp), %rax
	leaq	-4(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC3(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L5
	subq	$5, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L5:
	cmpq	$4, -100032(%rbp)
	jle	.L6
	movq	-100032(%rbp), %rax
	leaq	-5(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC4(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L6
	subq	$6, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L6:
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L2:
	cmpq	$0, -100032(%rbp)
	jg	.L8
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %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	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
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"dream"
.LC2:
	.string	"dreamer"
.LC3:
	.string	"erase"
.LC4:
	.string	"eraser"
.LC5:
	.string	"NO"
.LC6:
	.string	"YES"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	leaq	-98304(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1728, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-100016(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-100016(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movq	%rax, -100024(%rbp)
	movq	-100024(%rbp), %rax
	subq	$1, %rax
	movq	%rax, -100032(%rbp)
	jmp	.L2
.L8:
	cmpq	$3, -100032(%rbp)
	jle	.L3
	movq	-100032(%rbp), %rax
	leaq	-4(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC1(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L3
	subq	$5, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L3:
	cmpq	$5, -100032(%rbp)
	jle	.L4
	movq	-100032(%rbp), %rax
	leaq	-6(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC2(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	subq	$7, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L4:
	cmpq	$3, -100032(%rbp)
	jle	.L5
	movq	-100032(%rbp), %rax
	leaq	-4(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC3(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L5
	subq	$5, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L5:
	cmpq	$4, -100032(%rbp)
	jle	.L6
	movq	-100032(%rbp), %rax
	leaq	-5(%rax), %rdx
	leaq	-100016(%rbp), %rax
	addq	%rdx, %rax
	leaq	.LC4(%rip), %rdx
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L6
	subq	$6, -100032(%rbp)
	movq	-100032(%rbp), %rax
	addq	$1, %rax
	movb	$0, -100016(%rbp,%rax)
	jmp	.L2
.L6:
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %eax
	jmp	.L9
.L2:
	cmpq	$0, -100032(%rbp)
	jg	.L8
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	movl	$0, %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	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:
