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 Seireki(int );
void Wareki(int ,int );

int main(void) {
  int E, Y;

  scanf("%d %d", &E, &Y);

  if(E == 0) Seireki(Y);
  else Wareki(E, Y);

  return 0;
}

void Seireki(int y) {
  if(y <= 1911) {
    printf("M%d", y-1867);
  } else if(y <= 1925) {
    printf("T%d", y-1911);
  } else if(y <= 1988) {
    printf("S%d", y-1925);
  } else {
    printf("H%d", y-1988);
  }

  printf("\n");
}

void Wareki(int e,int y) {
  switch(e) {
    case 1: printf("%d", y+1867);
            break;
    case 2: printf("%d", y+1911);
            break;
    case 3: printf("%d", y+1925);
            break;
    case 4: printf("%d", y+1988);
            break;
  }

  printf("\n");
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"M%d"
.LC1:
	.string	"T%d"
.LC2:
	.string	"S%d"
.LC3:
	.string	"H%d"
	.text
	.p2align 4
	.globl	Seireki
	.type	Seireki, @function
Seireki:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$1911, %edi
	jle	.L8
	cmpl	$1925, %edi
	jle	.L9
	cmpl	$1988, %edi
	jg	.L5
	leal	-1925(%rdi), %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	leal	-1911(%rdi), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	leal	-1867(%rdi), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	leal	-1988(%rdi), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE24:
	.size	Seireki, .-Seireki
	.section	.rodata.str1.1
.LC4:
	.string	"%d"
	.text
	.p2align 4
	.globl	Wareki
	.type	Wareki, @function
Wareki:
.LFB25:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$3, %edi
	je	.L11
	jg	.L12
	cmpl	$1, %edi
	je	.L13
	cmpl	$2, %edi
	jne	.L15
	leal	1911(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
.L15:
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmpl	$4, %edi
	jne	.L15
	leal	1988(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	leal	1925(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	leal	1867(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE25:
	.size	Wareki, .-Wareki
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L19
	movl	4(%rsp), %edi
	call	Seireki
.L20:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movl	4(%rsp), %esi
	call	Wareki
	jmp	.L20
.L23:
	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	"M%d"
.LC1:
	.string	"T%d"
.LC2:
	.string	"S%d"
.LC3:
	.string	"H%d"
	.text
	.p2align 4
	.globl	Seireki
	.type	Seireki, @function
Seireki:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$1911, %edi
	jle	.L8
	cmpl	$1925, %edi
	jle	.L9
	cmpl	$1988, %edi
	jg	.L5
	leal	-1925(%rdi), %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	leal	-1911(%rdi), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	leal	-1867(%rdi), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	leal	-1988(%rdi), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE24:
	.size	Seireki, .-Seireki
	.section	.rodata.str1.1
.LC4:
	.string	"%d"
	.text
	.p2align 4
	.globl	Wareki
	.type	Wareki, @function
Wareki:
.LFB25:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$3, %edi
	je	.L11
	jg	.L12
	cmpl	$1, %edi
	je	.L13
	cmpl	$2, %edi
	jne	.L15
	leal	1911(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
.L15:
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmpl	$4, %edi
	jne	.L15
	leal	1988(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	leal	1925(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	leal	1867(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE25:
	.size	Wareki, .-Wareki
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L19
	movl	4(%rsp), %edi
	call	Seireki
.L20:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movl	4(%rsp), %esi
	call	Wareki
	jmp	.L20
.L23:
	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	"M%d"
.LC1:
	.string	"T%d"
.LC2:
	.string	"S%d"
.LC3:
	.string	"H%d"
	.text
	.p2align 4
	.globl	Seireki
	.type	Seireki, @function
Seireki:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$1911, %edi
	jle	.L8
	cmpl	$1925, %edi
	jle	.L9
	cmpl	$1988, %edi
	jg	.L5
	leal	-1925(%rdi), %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	leal	-1911(%rdi), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	leal	-1867(%rdi), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	leal	-1988(%rdi), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE24:
	.size	Seireki, .-Seireki
	.section	.rodata.str1.1
.LC4:
	.string	"%d"
	.text
	.p2align 4
	.globl	Wareki
	.type	Wareki, @function
Wareki:
.LFB25:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$3, %edi
	je	.L11
	jg	.L12
	cmpl	$1, %edi
	je	.L13
	cmpl	$2, %edi
	jne	.L15
	leal	1911(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
.L15:
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmpl	$4, %edi
	jne	.L15
	leal	1988(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	leal	1925(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	leal	1867(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE25:
	.size	Wareki, .-Wareki
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L19
	movl	4(%rsp), %edi
	call	Seireki
.L20:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movl	4(%rsp), %esi
	call	Wareki
	jmp	.L20
.L23:
	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>

void Seireki(int );
void Wareki(int ,int );

int main(void) {
  int E, Y;

  scanf("%d %d", &E, &Y);

  if(E == 0) Seireki(Y);
  else Wareki(E, Y);

  return 0;
}

void Seireki(int y) {
  if(y <= 1911) {
    printf("M%d", y-1867);
  } else if(y <= 1925) {
    printf("T%d", y-1911);
  } else if(y <= 1988) {
    printf("S%d", y-1925);
  } else {
    printf("H%d", y-1988);
  }

  printf("\n");
}

void Wareki(int e,int y) {
  switch(e) {
    case 1: printf("%d", y+1867);
            break;
    case 2: printf("%d", y+1911);
            break;
    case 3: printf("%d", y+1925);
            break;
    case 4: printf("%d", y+1988);
            break;
  }

  printf("\n");
}

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

```c
#include <stdio.h>

void Seireki(int );
void Wareki(int ,int );

int main(void) {
  int E, Y;

  scanf("%d %d", &E, &Y);

  if(E == 0) Seireki(Y);
  else Wareki(E, Y);

  return 0;
}

void Seireki(int y) {
  if(y <= 1911) {
    printf("M%d", y-1867);
  } else if(y <= 1925) {
    printf("T%d", y-1911);
  } else if(y <= 1988) {
    printf("S%d", y-1925);
  } else {
    printf("H%d", y-1988);
  }

  printf("\n");
}

void Wareki(int e,int y) {
  switch(e) {
    case 1: printf("%d", y+1867);
            break;
    case 2: printf("%d", y+1911);
            break;
    case 3: printf("%d", y+1925);
            break;
    case 4: printf("%d", y+1988);
            break;
  }

  printf("\n");
}

```

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 2
 3 1
 1 28
 2 0
 3 2
 4 1
 1 42
 1 0
 3 0
 4 0

1990
 1926
 1895
 1911
 1927
 1989
 1909
 1867
 1925
 1988

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 Seireki(int );
void Wareki(int ,int );

int main(void) {
  int E, Y;

  scanf("%d %d", &E, &Y);

  if(E == 0) Seireki(Y);
  else Wareki(E, Y);

  return 0;
}

void Seireki(int y) {
  if(y <= 1911) {
    printf("M%d", y-1867);
  } else if(y <= 1925) {
    printf("T%d", y-1911);
  } else if(y <= 1988) {
    printf("S%d", y-1925);
  } else {
    printf("H%d", y-1988);
  }

  printf("\n");
}

void Wareki(int e,int y) {
  switch(e) {
    case 1: printf("%d", y+1867);
            break;
    case 2: printf("%d", y+1911);
            break;
    case 3: printf("%d", y+1925);
            break;
    case 4: printf("%d", y+1988);
            break;
  }

  printf("\n");
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"M%d"
.LC1:
	.string	"T%d"
.LC2:
	.string	"S%d"
.LC3:
	.string	"H%d"
	.text
	.p2align 4
	.globl	Seireki
	.type	Seireki, @function
Seireki:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$1911, %edi
	jle	.L8
	cmpl	$1925, %edi
	jle	.L9
	cmpl	$1988, %edi
	jg	.L5
	leal	-1925(%rdi), %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	leal	-1911(%rdi), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	leal	-1867(%rdi), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	leal	-1988(%rdi), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE24:
	.size	Seireki, .-Seireki
	.section	.rodata.str1.1
.LC4:
	.string	"%d"
	.text
	.p2align 4
	.globl	Wareki
	.type	Wareki, @function
Wareki:
.LFB25:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$3, %edi
	je	.L11
	jg	.L12
	cmpl	$1, %edi
	je	.L13
	cmpl	$2, %edi
	jne	.L15
	leal	1911(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
.L15:
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmpl	$4, %edi
	jne	.L15
	leal	1988(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	leal	1925(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	leal	1867(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE25:
	.size	Wareki, .-Wareki
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L19
	movl	4(%rsp), %edi
	call	Seireki
.L20:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movl	4(%rsp), %esi
	call	Wareki
	jmp	.L20
.L23:
	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	"M%d"
.LC1:
	.string	"T%d"
.LC2:
	.string	"S%d"
.LC3:
	.string	"H%d"
	.text
	.p2align 4
	.globl	Seireki
	.type	Seireki, @function
Seireki:
.LFB24:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$1911, %edi
	jle	.L8
	cmpl	$1925, %edi
	jle	.L9
	cmpl	$1988, %edi
	jg	.L5
	leal	-1925(%rdi), %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	leal	-1911(%rdi), %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	leal	-1867(%rdi), %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	leal	-1988(%rdi), %edx
	leaq	.LC3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE24:
	.size	Seireki, .-Seireki
	.section	.rodata.str1.1
.LC4:
	.string	"%d"
	.text
	.p2align 4
	.globl	Wareki
	.type	Wareki, @function
Wareki:
.LFB25:
	.cfi_startproc
	endbr64
	subq	$8, %rsp
	.cfi_def_cfa_offset 16
	cmpl	$3, %edi
	je	.L11
	jg	.L12
	cmpl	$1, %edi
	je	.L13
	cmpl	$2, %edi
	jne	.L15
	leal	1911(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
.L15:
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	cmpl	$4, %edi
	jne	.L15
	leal	1988(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	leal	1925(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	leal	1867(%rsi), %edx
	movl	$1, %edi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rsi
	call	__printf_chk@PLT
	movl	$10, %edi
	addq	$8, %rsp
	.cfi_def_cfa_offset 8
	jmp	putchar@PLT
	.cfi_endproc
.LFE25:
	.size	Wareki, .-Wareki
	.section	.rodata.str1.1
.LC5:
	.string	"%d %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	subq	$24, %rsp
	.cfi_def_cfa_offset 32
	leaq	.LC5(%rip), %rdi
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	leaq	4(%rsp), %rdx
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movl	(%rsp), %edi
	testl	%edi, %edi
	jne	.L19
	movl	4(%rsp), %edi
	call	Seireki
.L20:
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L23
	xorl	%eax, %eax
	addq	$24, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L19:
	.cfi_restore_state
	movl	4(%rsp), %esi
	call	Wareki
	jmp	.L20
.L23:
	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:
```