Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static bool compare(const char *s, const char *t, size_t len)
{
    for (int i = len - 1; 0 <= i; i--) {
        if (*s != t[i]) return false;
        s--;
    }
    return true;
}

int main(int argc, char **argv)
{
    char s[100002] = {'\0'};
    scanf("%s", s + 1);
    int n = strlen(s + 1);
    for (char *i = s + n; *i; i--) {
        if (compare(i, "dream", 5)) {
            i -= 4;
        } else if (compare(i, "dreamer", 7)) {
            i -= 6;
        } else if (compare(i, "erase", 5)) {
            i -= 4;
        } else if (compare(i, "eraser", 6)) {
            i -= 5;
        } else {
            printf("NO\n");
            return EXIT_SUCCESS;
        }
    }
    printf("YES\n");
    return EXIT_SUCCESS;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100048
	pxor	%xmm0, %xmm0
	movl	$99986, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	1(%rsp), %rbp
	movaps	%xmm0, (%rsp)
	call	memset@PLT
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	addq	%rbx, %rax
	movzbl	(%rax), %edx
	testb	%dl, %dl
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	cmpb	$97, -1(%rax)
	jne	.L6
	cmpb	$101, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$100, -4(%rax)
	jne	.L6
.L21:
	leaq	-4(%rax), %rdx
.L4:
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	je	.L3
.L2:
	cmpb	$109, %dl
	je	.L23
	cmpb	$114, %dl
	jne	.L5
	cmpb	$101, -1(%rax)
	jne	.L6
	cmpb	$109, -2(%rax)
	jne	.L7
	cmpb	$97, -3(%rax)
	jne	.L7
	cmpb	$101, -4(%rax)
	jne	.L7
	cmpb	$114, -5(%rax)
	jne	.L7
	cmpb	$100, -6(%rax)
	jne	.L7
	leaq	-6(%rax), %rdx
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	jne	.L2
.L3:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	cmpb	$115, -2(%rax)
	jne	.L6
	cmpb	$97, -3(%rax)
	jne	.L6
	cmpb	$114, -4(%rax)
	jne	.L6
	cmpb	$101, -5(%rax)
	jne	.L6
	leaq	-5(%rax), %rdx
	jmp	.L4
.L5:
	cmpb	$101, %dl
	jne	.L6
	cmpb	$115, -1(%rax)
	jne	.L6
	cmpb	$97, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$101, -4(%rax)
	je	.L21
.L6:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100048
	pxor	%xmm0, %xmm0
	movl	$99986, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	1(%rsp), %rbp
	movaps	%xmm0, (%rsp)
	call	memset@PLT
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	addq	%rbx, %rax
	movzbl	(%rax), %edx
	testb	%dl, %dl
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	cmpb	$97, -1(%rax)
	jne	.L6
	cmpb	$101, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$100, -4(%rax)
	jne	.L6
.L21:
	leaq	-4(%rax), %rdx
.L4:
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	je	.L3
.L2:
	cmpb	$109, %dl
	je	.L23
	cmpb	$114, %dl
	jne	.L5
	cmpb	$101, -1(%rax)
	jne	.L6
	cmpb	$109, -2(%rax)
	jne	.L7
	cmpb	$97, -3(%rax)
	jne	.L7
	cmpb	$101, -4(%rax)
	jne	.L7
	cmpb	$114, -5(%rax)
	jne	.L7
	cmpb	$100, -6(%rax)
	jne	.L7
	leaq	-6(%rax), %rdx
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	jne	.L2
.L3:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	cmpb	$115, -2(%rax)
	jne	.L6
	cmpb	$97, -3(%rax)
	jne	.L6
	cmpb	$114, -4(%rax)
	jne	.L6
	cmpb	$101, -5(%rax)
	jne	.L6
	leaq	-5(%rax), %rdx
	jmp	.L4
.L5:
	cmpb	$101, %dl
	jne	.L6
	cmpb	$115, -1(%rax)
	jne	.L6
	cmpb	$97, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$101, -4(%rax)
	je	.L21
.L6:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100048
	pxor	%xmm0, %xmm0
	movl	$99986, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	1(%rsp), %rbp
	movaps	%xmm0, (%rsp)
	call	memset@PLT
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	addq	%rbx, %rax
	movzbl	(%rax), %edx
	testb	%dl, %dl
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	cmpb	$97, -1(%rax)
	jne	.L6
	cmpb	$101, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$100, -4(%rax)
	jne	.L6
.L21:
	leaq	-4(%rax), %rdx
.L4:
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	je	.L3
.L2:
	cmpb	$109, %dl
	je	.L23
	cmpb	$114, %dl
	jne	.L5
	cmpb	$101, -1(%rax)
	jne	.L6
	cmpb	$109, -2(%rax)
	jne	.L7
	cmpb	$97, -3(%rax)
	jne	.L7
	cmpb	$101, -4(%rax)
	jne	.L7
	cmpb	$114, -5(%rax)
	jne	.L7
	cmpb	$100, -6(%rax)
	jne	.L7
	leaq	-6(%rax), %rdx
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	jne	.L2
.L3:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	cmpb	$115, -2(%rax)
	jne	.L6
	cmpb	$97, -3(%rax)
	jne	.L6
	cmpb	$114, -4(%rax)
	jne	.L6
	cmpb	$101, -5(%rax)
	jne	.L6
	leaq	-5(%rax), %rdx
	jmp	.L4
.L5:
	cmpb	$101, %dl
	jne	.L6
	cmpb	$115, -1(%rax)
	jne	.L6
	cmpb	$97, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$101, -4(%rax)
	je	.L21
.L6:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static bool compare(const char *s, const char *t, size_t len)
{
    for (int i = len - 1; 0 <= i; i--) {
        if (*s != t[i]) return false;
        s--;
    }
    return true;
}

int main(int argc, char **argv)
{
    char s[100002] = {'\0'};
    scanf("%s", s + 1);
    int n = strlen(s + 1);
    for (char *i = s + n; *i; i--) {
        if (compare(i, "dream", 5)) {
            i -= 4;
        } else if (compare(i, "dreamer", 7)) {
            i -= 6;
        } else if (compare(i, "erase", 5)) {
            i -= 4;
        } else if (compare(i, "eraser", 6)) {
            i -= 5;
        } else {
            printf("NO\n");
            return EXIT_SUCCESS;
        }
    }
    printf("YES\n");
    return EXIT_SUCCESS;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static bool compare(const char *s, const char *t, size_t len)
{
    for (int i = len - 1; 0 <= i; i--) {
        if (*s != t[i]) return false;
        s--;
    }
    return true;
}

int main(int argc, char **argv)
{
    char s[100002] = {'\0'};
    scanf("%s", s + 1);
    int n = strlen(s + 1);
    for (char *i = s + n; *i; i--) {
        if (compare(i, "dream", 5)) {
            i -= 4;
        } else if (compare(i, "dreamer", 7)) {
            i -= 6;
        } else if (compare(i, "erase", 5)) {
            i -= 4;
        } else if (compare(i, "eraser", 6)) {
            i -= 5;
        } else {
            printf("NO\n");
            return EXIT_SUCCESS;
        }
    }
    printf("YES\n");
    return EXIT_SUCCESS;
}
```

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:

dre`merer
 maerdesare
 resaremaerd
 dre`meqer
 er`sedream
 ersaremaerd
 reqem`erd
 eq`sedream
 ersaremadrd
 reqem`erc

NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO
 NO

Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <ctype.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static bool compare(const char *s, const char *t, size_t len)
{
    for (int i = len - 1; 0 <= i; i--) {
        if (*s != t[i]) return false;
        s--;
    }
    return true;
}

int main(int argc, char **argv)
{
    char s[100002] = {'\0'};
    scanf("%s", s + 1);
    int n = strlen(s + 1);
    for (char *i = s + n; *i; i--) {
        if (compare(i, "dream", 5)) {
            i -= 4;
        } else if (compare(i, "dreamer", 7)) {
            i -= 6;
        } else if (compare(i, "erase", 5)) {
            i -= 4;
        } else if (compare(i, "eraser", 6)) {
            i -= 5;
        } else {
            printf("NO\n");
            return EXIT_SUCCESS;
        }
    }
    printf("YES\n");
    return EXIT_SUCCESS;
}
```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100048
	pxor	%xmm0, %xmm0
	movl	$99986, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	1(%rsp), %rbp
	movaps	%xmm0, (%rsp)
	call	memset@PLT
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	addq	%rbx, %rax
	movzbl	(%rax), %edx
	testb	%dl, %dl
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	cmpb	$97, -1(%rax)
	jne	.L6
	cmpb	$101, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$100, -4(%rax)
	jne	.L6
.L21:
	leaq	-4(%rax), %rdx
.L4:
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	je	.L3
.L2:
	cmpb	$109, %dl
	je	.L23
	cmpb	$114, %dl
	jne	.L5
	cmpb	$101, -1(%rax)
	jne	.L6
	cmpb	$109, -2(%rax)
	jne	.L7
	cmpb	$97, -3(%rax)
	jne	.L7
	cmpb	$101, -4(%rax)
	jne	.L7
	cmpb	$114, -5(%rax)
	jne	.L7
	cmpb	$100, -6(%rax)
	jne	.L7
	leaq	-6(%rax), %rdx
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	jne	.L2
.L3:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	cmpb	$115, -2(%rax)
	jne	.L6
	cmpb	$97, -3(%rax)
	jne	.L6
	cmpb	$114, -4(%rax)
	jne	.L6
	cmpb	$101, -5(%rax)
	jne	.L6
	leaq	-5(%rax), %rdx
	jmp	.L4
.L5:
	cmpb	$101, %dl
	jne	.L6
	cmpb	$115, -1(%rax)
	jne	.L6
	cmpb	$97, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$101, -4(%rax)
	je	.L21
.L6:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"NO"
.LC2:
	.string	"YES"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB54:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	leaq	-98304(%rsp), %r11
	.cfi_def_cfa 11, 98328
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1720, %rsp
	.cfi_def_cfa_offset 100048
	pxor	%xmm0, %xmm0
	movl	$99986, %edx
	xorl	%esi, %esi
	movq	%fs:40, %rax
	movq	%rax, 100008(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rdi
	leaq	1(%rsp), %rbp
	movaps	%xmm0, (%rsp)
	call	memset@PLT
	movq	%rbp, %rsi
	xorl	%eax, %eax
	movq	%rsp, %rbx
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	addq	%rbx, %rax
	movzbl	(%rax), %edx
	testb	%dl, %dl
	jne	.L2
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L23:
	cmpb	$97, -1(%rax)
	jne	.L6
	cmpb	$101, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$100, -4(%rax)
	jne	.L6
.L21:
	leaq	-4(%rax), %rdx
.L4:
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	je	.L3
.L2:
	cmpb	$109, %dl
	je	.L23
	cmpb	$114, %dl
	jne	.L5
	cmpb	$101, -1(%rax)
	jne	.L6
	cmpb	$109, -2(%rax)
	jne	.L7
	cmpb	$97, -3(%rax)
	jne	.L7
	cmpb	$101, -4(%rax)
	jne	.L7
	cmpb	$114, -5(%rax)
	jne	.L7
	cmpb	$100, -6(%rax)
	jne	.L7
	leaq	-6(%rax), %rdx
	leaq	-1(%rdx), %rax
	movzbl	-1(%rdx), %edx
	testb	%dl, %dl
	jne	.L2
.L3:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
.L8:
	movq	100008(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$100024, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	cmpb	$115, -2(%rax)
	jne	.L6
	cmpb	$97, -3(%rax)
	jne	.L6
	cmpb	$114, -4(%rax)
	jne	.L6
	cmpb	$101, -5(%rax)
	jne	.L6
	leaq	-5(%rax), %rdx
	jmp	.L4
.L5:
	cmpb	$101, %dl
	jne	.L6
	cmpb	$115, -1(%rax)
	jne	.L6
	cmpb	$97, -2(%rax)
	jne	.L6
	cmpb	$114, -3(%rax)
	jne	.L6
	cmpb	$101, -4(%rax)
	je	.L21
.L6:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L8
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE54:
	.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:
```