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>


enum in
{
	M = 1867 ,
	T = 1911 ,
	S = 1925 ,
	H = 1988 ,

	e = 0 ,
	m ,
	t ,
	s ,
	h 
} ;



int when( int ,char* ,int ) ;



int main()
{
	int year ;

	char y_type ;


	int type ;
	scanf( "%d" ,&type ) ;


	if( type != e )
	{
		scanf( "%c" ,&y_type ) ;
	}

	scanf( "%d" ,&year ) ;


	if( type == e )
	{
		year -= when( year ,&y_type ,type ) ;

		printf( "%c" ,y_type ) ;
	}

	else
	{
		year += when( year ,&y_type ,type ) ;
	}


	printf( "%d\n" ,year ) ;


	return 0 ;
}




int when( int y ,char* c ,int type )
{
	if( type == e )
	{
		if( y > H )
		{
			y = H ;

			*c = 'H' ;
		}

		else if( y > S )
		{
			y = S ;

			*c = 'S' ;
		}

		else if( y > T )
		{
			y = T ;

			*c = 'T' ;
		}

		else
		{
			y = M ;

			*c = 'M' ;
		}
	}

	else
	{
		switch( type )
		{
			case h :
				y = H ;

				break ;


			case s :
				y = S ;

				break ;


			case t :
				y = T ;

				break ;


			case m :
				y = M ;

				break ;
		}
	}


	return y ;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	when
	.type	when, @function
when:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jne	.L2
	cmpl	$1988, %edi
	jg	.L9
	cmpl	$1925, %edi
	jg	.L10
	cmpl	$1911, %edi
	jle	.L6
	movb	$84, (%rsi)
	movl	$1911, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %edx
	movl	%edi, %eax
	cmpl	$3, %edx
	ja	.L1
	leaq	CSWTCH.12(%rip), %rax
	movl	(%rax,%rdx,4), %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movb	$72, (%rsi)
	movl	$1988, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	movb	$77, (%rsi)
	movl	$1867, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movb	$83, (%rsi)
	movl	$1925, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	when, .-when
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%c"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	15(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jne	.L18
.L12:
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %ecx
	movl	20(%rsp), %edx
	movq	%r12, %rsi
	movl	%ecx, %edi
	testl	%edx, %edx
	jne	.L13
	call	when
	movsbl	15(%rsp), %edi
	subl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	call	putchar@PLT
.L14:
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	when
	addl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	jmp	.L14
.L18:
	movq	%r12, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	jmp	.L12
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	CSWTCH.12, @object
	.size	CSWTCH.12, 16
CSWTCH.12:
	.long	1867
	.long	1911
	.long	1925
	.long	1988
	.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
	.p2align 4
	.globl	when
	.type	when, @function
when:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jne	.L2
	cmpl	$1988, %edi
	jg	.L9
	cmpl	$1925, %edi
	jg	.L10
	cmpl	$1911, %edi
	jle	.L6
	movb	$84, (%rsi)
	movl	$1911, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %edx
	movl	%edi, %eax
	cmpl	$3, %edx
	ja	.L1
	leaq	CSWTCH.12(%rip), %rax
	movl	(%rax,%rdx,4), %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movb	$72, (%rsi)
	movl	$1988, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	movb	$77, (%rsi)
	movl	$1867, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movb	$83, (%rsi)
	movl	$1925, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	when, .-when
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%c"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	15(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jne	.L18
.L12:
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %ecx
	movl	20(%rsp), %edx
	movq	%r12, %rsi
	movl	%ecx, %edi
	testl	%edx, %edx
	jne	.L13
	call	when
	movsbl	15(%rsp), %edi
	subl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	call	putchar@PLT
.L14:
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	when
	addl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	jmp	.L14
.L18:
	movq	%r12, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	jmp	.L12
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	CSWTCH.12, @object
	.size	CSWTCH.12, 16
CSWTCH.12:
	.long	1867
	.long	1911
	.long	1925
	.long	1988
	.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
	.p2align 4
	.globl	when
	.type	when, @function
when:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jne	.L2
	cmpl	$1988, %edi
	jg	.L9
	cmpl	$1925, %edi
	jg	.L10
	cmpl	$1911, %edi
	jle	.L6
	movb	$84, (%rsi)
	movl	$1911, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %edx
	movl	%edi, %eax
	cmpl	$3, %edx
	ja	.L1
	leaq	CSWTCH.12(%rip), %rax
	movl	(%rax,%rdx,4), %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movb	$72, (%rsi)
	movl	$1988, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	movb	$77, (%rsi)
	movl	$1867, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movb	$83, (%rsi)
	movl	$1925, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	when, .-when
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%c"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	15(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jne	.L18
.L12:
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %ecx
	movl	20(%rsp), %edx
	movq	%r12, %rsi
	movl	%ecx, %edi
	testl	%edx, %edx
	jne	.L13
	call	when
	movsbl	15(%rsp), %edi
	subl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	call	putchar@PLT
.L14:
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	when
	addl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	jmp	.L14
.L18:
	movq	%r12, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	jmp	.L12
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	CSWTCH.12, @object
	.size	CSWTCH.12, 16
CSWTCH.12:
	.long	1867
	.long	1911
	.long	1925
	.long	1988
	.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>


enum in
{
	M = 1867 ,
	T = 1911 ,
	S = 1925 ,
	H = 1988 ,

	e = 0 ,
	m ,
	t ,
	s ,
	h 
} ;



int when( int ,char* ,int ) ;



int main()
{
	int year ;

	char y_type ;


	int type ;
	scanf( "%d" ,&type ) ;


	if( type != e )
	{
		scanf( "%c" ,&y_type ) ;
	}

	scanf( "%d" ,&year ) ;


	if( type == e )
	{
		year -= when( year ,&y_type ,type ) ;

		printf( "%c" ,y_type ) ;
	}

	else
	{
		year += when( year ,&y_type ,type ) ;
	}


	printf( "%d\n" ,year ) ;


	return 0 ;
}




int when( int y ,char* c ,int type )
{
	if( type == e )
	{
		if( y > H )
		{
			y = H ;

			*c = 'H' ;
		}

		else if( y > S )
		{
			y = S ;

			*c = 'S' ;
		}

		else if( y > T )
		{
			y = T ;

			*c = 'T' ;
		}

		else
		{
			y = M ;

			*c = 'M' ;
		}
	}

	else
	{
		switch( type )
		{
			case h :
				y = H ;

				break ;


			case s :
				y = S ;

				break ;


			case t :
				y = T ;

				break ;


			case m :
				y = M ;

				break ;
		}
	}


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

```c
#include<stdio.h>


enum in
{
	M = 1867 ,
	T = 1911 ,
	S = 1925 ,
	H = 1988 ,

	e = 0 ,
	m ,
	t ,
	s ,
	h 
} ;



int when( int ,char* ,int ) ;



int main()
{
	int year ;

	char y_type ;


	int type ;
	scanf( "%d" ,&type ) ;


	if( type != e )
	{
		scanf( "%c" ,&y_type ) ;
	}

	scanf( "%d" ,&year ) ;


	if( type == e )
	{
		year -= when( year ,&y_type ,type ) ;

		printf( "%c" ,y_type ) ;
	}

	else
	{
		year += when( year ,&y_type ,type ) ;
	}


	printf( "%d\n" ,year ) ;


	return 0 ;
}




int when( int y ,char* c ,int type )
{
	if( type == e )
	{
		if( y > H )
		{
			y = H ;

			*c = 'H' ;
		}

		else if( y > S )
		{
			y = S ;

			*c = 'S' ;
		}

		else if( y > T )
		{
			y = T ;

			*c = 'T' ;
		}

		else
		{
			y = M ;

			*c = 'M' ;
		}
	}

	else
	{
		switch( type )
		{
			case h :
				y = H ;

				break ;


			case s :
				y = S ;

				break ;


			case t :
				y = T ;

				break ;


			case m :
				y = M ;

				break ;
		}
	}


	return y ;
}```

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>


enum in
{
	M = 1867 ,
	T = 1911 ,
	S = 1925 ,
	H = 1988 ,

	e = 0 ,
	m ,
	t ,
	s ,
	h 
} ;



int when( int ,char* ,int ) ;



int main()
{
	int year ;

	char y_type ;


	int type ;
	scanf( "%d" ,&type ) ;


	if( type != e )
	{
		scanf( "%c" ,&y_type ) ;
	}

	scanf( "%d" ,&year ) ;


	if( type == e )
	{
		year -= when( year ,&y_type ,type ) ;

		printf( "%c" ,y_type ) ;
	}

	else
	{
		year += when( year ,&y_type ,type ) ;
	}


	printf( "%d\n" ,year ) ;


	return 0 ;
}




int when( int y ,char* c ,int type )
{
	if( type == e )
	{
		if( y > H )
		{
			y = H ;

			*c = 'H' ;
		}

		else if( y > S )
		{
			y = S ;

			*c = 'S' ;
		}

		else if( y > T )
		{
			y = T ;

			*c = 'T' ;
		}

		else
		{
			y = M ;

			*c = 'M' ;
		}
	}

	else
	{
		switch( type )
		{
			case h :
				y = H ;

				break ;


			case s :
				y = S ;

				break ;


			case t :
				y = T ;

				break ;


			case m :
				y = M ;

				break ;
		}
	}


	return y ;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	when
	.type	when, @function
when:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jne	.L2
	cmpl	$1988, %edi
	jg	.L9
	cmpl	$1925, %edi
	jg	.L10
	cmpl	$1911, %edi
	jle	.L6
	movb	$84, (%rsi)
	movl	$1911, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %edx
	movl	%edi, %eax
	cmpl	$3, %edx
	ja	.L1
	leaq	CSWTCH.12(%rip), %rax
	movl	(%rax,%rdx,4), %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movb	$72, (%rsi)
	movl	$1988, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	movb	$77, (%rsi)
	movl	$1867, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movb	$83, (%rsi)
	movl	$1925, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	when, .-when
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%c"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	15(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jne	.L18
.L12:
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %ecx
	movl	20(%rsp), %edx
	movq	%r12, %rsi
	movl	%ecx, %edi
	testl	%edx, %edx
	jne	.L13
	call	when
	movsbl	15(%rsp), %edi
	subl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	call	putchar@PLT
.L14:
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	when
	addl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	jmp	.L14
.L18:
	movq	%r12, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	jmp	.L12
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	CSWTCH.12, @object
	.size	CSWTCH.12, 16
CSWTCH.12:
	.long	1867
	.long	1911
	.long	1925
	.long	1988
	.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
	.p2align 4
	.globl	when
	.type	when, @function
when:
.LFB24:
	.cfi_startproc
	endbr64
	testl	%edx, %edx
	jne	.L2
	cmpl	$1988, %edi
	jg	.L9
	cmpl	$1925, %edi
	jg	.L10
	cmpl	$1911, %edi
	jle	.L6
	movb	$84, (%rsi)
	movl	$1911, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	subl	$1, %edx
	movl	%edi, %eax
	cmpl	$3, %edx
	ja	.L1
	leaq	CSWTCH.12(%rip), %rax
	movl	(%rax,%rdx,4), %eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	movb	$72, (%rsi)
	movl	$1988, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	movb	$77, (%rsi)
	movl	$1867, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	movb	$83, (%rsi)
	movl	$1925, %eax
	ret
	.cfi_endproc
.LFE24:
	.size	when, .-when
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%c"
.LC2:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leaq	.LC0(%rip), %rbp
	movq	%rbp, %rdi
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rsi
	leaq	15(%rsp), %r12
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	jne	.L18
.L12:
	leaq	16(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %ecx
	movl	20(%rsp), %edx
	movq	%r12, %rsi
	movl	%ecx, %edi
	testl	%edx, %edx
	jne	.L13
	call	when
	movsbl	15(%rsp), %edi
	subl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	call	putchar@PLT
.L14:
	movl	16(%rsp), %edx
	xorl	%eax, %eax
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	call	when
	addl	%eax, %ecx
	movl	%ecx, 16(%rsp)
	jmp	.L14
.L18:
	movq	%r12, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	jmp	.L12
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 16
	.type	CSWTCH.12, @object
	.size	CSWTCH.12, 16
CSWTCH.12:
	.long	1867
	.long	1911
	.long	1925
	.long	1988
	.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:
```