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>
int main(){
    char s[11];
    int f=0;
    scanf("%s",s);
    if(s[0]>'2') f=1;
    else if(s[0]=='2'&&s[1]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]>'1') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]>'9') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]=='0'&&s[6]>'4') f=1;

    if(f==1)
        printf("TBD");
    else
        printf("Heisei");

    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"TBD"
.LC2:
	.string	"Heisei"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpb	$50, 13(%rsp)
	jg	.L2
	je	.L10
.L3:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	cmpb	$48, 14(%rsp)
	jg	.L2
	jne	.L3
	cmpb	$49, 15(%rsp)
	jle	.L12
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L12:
	je	.L13
.L4:
	cmpb	$49, 15(%rsp)
	je	.L14
.L5:
	cmpb	$49, 15(%rsp)
	jne	.L3
	cmpb	$57, 16(%rsp)
	jne	.L3
	cmpb	$48, 18(%rsp)
	jne	.L3
	cmpb	$52, 19(%rsp)
	jle	.L3
	jmp	.L2
.L13:
	cmpb	$57, 16(%rsp)
	jg	.L2
	jmp	.L4
.L14:
	cmpb	$57, 16(%rsp)
	jne	.L5
	cmpb	$48, 18(%rsp)
	jg	.L2
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"TBD"
.LC2:
	.string	"Heisei"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpb	$50, 13(%rsp)
	jg	.L2
	je	.L10
.L3:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	cmpb	$48, 14(%rsp)
	jg	.L2
	jne	.L3
	cmpb	$49, 15(%rsp)
	jle	.L12
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L12:
	je	.L13
.L4:
	cmpb	$49, 15(%rsp)
	je	.L14
.L5:
	cmpb	$49, 15(%rsp)
	jne	.L3
	cmpb	$57, 16(%rsp)
	jne	.L3
	cmpb	$48, 18(%rsp)
	jne	.L3
	cmpb	$52, 19(%rsp)
	jle	.L3
	jmp	.L2
.L13:
	cmpb	$57, 16(%rsp)
	jg	.L2
	jmp	.L4
.L14:
	cmpb	$57, 16(%rsp)
	jne	.L5
	cmpb	$48, 18(%rsp)
	jg	.L2
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"TBD"
.LC2:
	.string	"Heisei"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpb	$50, 13(%rsp)
	jg	.L2
	je	.L10
.L3:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	cmpb	$48, 14(%rsp)
	jg	.L2
	jne	.L3
	cmpb	$49, 15(%rsp)
	jle	.L12
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L12:
	je	.L13
.L4:
	cmpb	$49, 15(%rsp)
	je	.L14
.L5:
	cmpb	$49, 15(%rsp)
	jne	.L3
	cmpb	$57, 16(%rsp)
	jne	.L3
	cmpb	$48, 18(%rsp)
	jne	.L3
	cmpb	$52, 19(%rsp)
	jle	.L3
	jmp	.L2
.L13:
	cmpb	$57, 16(%rsp)
	jg	.L2
	jmp	.L4
.L14:
	cmpb	$57, 16(%rsp)
	jne	.L5
	cmpb	$48, 18(%rsp)
	jg	.L2
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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<stdio.h>
int main(){
    char s[11];
    int f=0;
    scanf("%s",s);
    if(s[0]>'2') f=1;
    else if(s[0]=='2'&&s[1]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]>'1') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]>'9') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]=='0'&&s[6]>'4') f=1;

    if(f==1)
        printf("TBD");
    else
        printf("Heisei");

    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(){
    char s[11];
    int f=0;
    scanf("%s",s);
    if(s[0]>'2') f=1;
    else if(s[0]=='2'&&s[1]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]>'1') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]>'9') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]=='0'&&s[6]>'4') f=1;

    if(f==1)
        printf("TBD");
    else
        printf("Heisei");

    return 0;
}```

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:

2019/03/30
 2019/11/00
 2019/04/20
 2019/12/01
 2019/14/20
 2119/12/01
 2019/24/10
 1019/04/30
 2119/10/01
 2029/11/00

Heisei TBD Heisei TBD TBD TBD TBD Heisei TBD TBD
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>
int main(){
    char s[11];
    int f=0;
    scanf("%s",s);
    if(s[0]>'2') f=1;
    else if(s[0]=='2'&&s[1]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]>'1') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]>'9') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]>'0') f=1;
    else if(s[0]=='2'&&s[1]=='0'&&s[2]=='1'&&s[3]=='9'&&s[5]=='0'&&s[6]>'4') f=1;

    if(f==1)
        printf("TBD");
    else
        printf("Heisei");

    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"TBD"
.LC2:
	.string	"Heisei"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpb	$50, 13(%rsp)
	jg	.L2
	je	.L10
.L3:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	cmpb	$48, 14(%rsp)
	jg	.L2
	jne	.L3
	cmpb	$49, 15(%rsp)
	jle	.L12
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L12:
	je	.L13
.L4:
	cmpb	$49, 15(%rsp)
	je	.L14
.L5:
	cmpb	$49, 15(%rsp)
	jne	.L3
	cmpb	$57, 16(%rsp)
	jne	.L3
	cmpb	$48, 18(%rsp)
	jne	.L3
	cmpb	$52, 19(%rsp)
	jle	.L3
	jmp	.L2
.L13:
	cmpb	$57, 16(%rsp)
	jg	.L2
	jmp	.L4
.L14:
	cmpb	$57, 16(%rsp)
	jne	.L5
	cmpb	$48, 18(%rsp)
	jg	.L2
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"TBD"
.LC2:
	.string	"Heisei"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$40, %rsp
	.cfi_def_cfa_offset 48
	leaq	.LC0(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	13(%rsp), %rsi
	call	__isoc99_scanf@PLT
	cmpb	$50, 13(%rsp)
	jg	.L2
	je	.L10
.L3:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L6:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L11
	xorl	%eax, %eax
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore_state
	cmpb	$48, 14(%rsp)
	jg	.L2
	jne	.L3
	cmpb	$49, 15(%rsp)
	jle	.L12
.L2:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
.L12:
	je	.L13
.L4:
	cmpb	$49, 15(%rsp)
	je	.L14
.L5:
	cmpb	$49, 15(%rsp)
	jne	.L3
	cmpb	$57, 16(%rsp)
	jne	.L3
	cmpb	$48, 18(%rsp)
	jne	.L3
	cmpb	$52, 19(%rsp)
	jle	.L3
	jmp	.L2
.L13:
	cmpb	$57, 16(%rsp)
	jg	.L2
	jmp	.L4
.L14:
	cmpb	$57, 16(%rsp)
	jne	.L5
	cmpb	$48, 18(%rsp)
	jg	.L2
	jmp	.L5
.L11:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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:
```