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>
#include<time.h>
#include<string.h>
int main(void) {
	time_t tim1,tim2;
	struct tm d;
	double diff;
	int year1, year2, month1, month2, day1, day2;
	while (1) {
		scanf("%d %d %d %d %d %d",&year1,&month1,&day1,&year2,&month2,&day2);
		if (month1 == -1 || year1 == -1 || day1 == -1 ||month2 == -1 || year2 == -1 || day2 == -1) break;
		memset(&d,0,sizeof(d));
		d.tm_year = year1 - 1900;
		d.tm_mon = month1 - 1;
		d.tm_mday = day1;
		tim1 = mktime(&d);
		d.tm_year = year2 - 1900;
		d.tm_mon = month2 - 1;
		d.tm_mday = day2;
		tim2 = mktime(&d);

		diff = difftime(tim2, tim1);

		printf("%d\n",(int)(diff/60/60/24+0.5));
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.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	.LC0(%rip), %rbx
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	60(%rsp), %rax
	leaq	52(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	44(%rsp), %r14
	leaq	56(%rsp), %r13
	leaq	48(%rsp), %r12
	leaq	40(%rsp), %rbp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	40(%rsp), %edx
	cmpl	$-1, %edx
	je	.L2
	movl	56(%rsp), %ecx
	cmpl	$-1, %ecx
	je	.L2
	cmpl	$-1, 52(%rsp)
	je	.L2
	cmpl	$-1, 44(%rsp)
	je	.L2
	cmpl	$-1, 60(%rsp)
	je	.L2
	pxor	%xmm0, %xmm0
	subl	$1, %eax
	subl	$1900, %edx
	movq	$0, 112(%rsp)
	movaps	%xmm0, 80(%rsp)
	movd	%eax, %xmm1
	leaq	64(%rsp), %rdi
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 96(%rsp)
	movd	%ecx, %xmm0
	punpckldq	%xmm1, %xmm0
	movl	%edx, 84(%rsp)
	movq	%rdi, 16(%rsp)
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movd	60(%rsp), %xmm0
	movq	16(%rsp), %rdi
	movq	%rax, 8(%rsp)
	movl	44(%rsp), %eax
	subl	$1900, %eax
	movl	%eax, 84(%rsp)
	movl	52(%rsp), %eax
	subl	$1, %eax
	movd	%eax, %xmm2
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	divsd	.LC1(%rip), %xmm0
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	divsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	xorl	%eax, %eax
	addsd	.LC3(%rip), %xmm0
	cvttsd2sil	%xmm0, %edx
	call	__printf_chk@PLT
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r14, %r8
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	64(%rsp), %eax
	popq	%rdx
	.cfi_def_cfa_offset 200
	popq	%rcx
	.cfi_def_cfa_offset 192
	cmpl	$-1, %eax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$136, %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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1078853632
	.align 8
.LC2:
	.long	0
	.long	1077411840
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.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	.LC0(%rip), %rbx
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	60(%rsp), %rax
	leaq	52(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	44(%rsp), %r14
	leaq	56(%rsp), %r13
	leaq	48(%rsp), %r12
	leaq	40(%rsp), %rbp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	40(%rsp), %edx
	cmpl	$-1, %edx
	je	.L2
	movl	56(%rsp), %ecx
	cmpl	$-1, %ecx
	je	.L2
	cmpl	$-1, 52(%rsp)
	je	.L2
	cmpl	$-1, 44(%rsp)
	je	.L2
	cmpl	$-1, 60(%rsp)
	je	.L2
	pxor	%xmm0, %xmm0
	subl	$1, %eax
	subl	$1900, %edx
	movq	$0, 112(%rsp)
	movaps	%xmm0, 80(%rsp)
	movd	%eax, %xmm1
	leaq	64(%rsp), %rdi
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 96(%rsp)
	movd	%ecx, %xmm0
	punpckldq	%xmm1, %xmm0
	movl	%edx, 84(%rsp)
	movq	%rdi, 16(%rsp)
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movd	60(%rsp), %xmm0
	movq	16(%rsp), %rdi
	movq	%rax, 8(%rsp)
	movl	44(%rsp), %eax
	subl	$1900, %eax
	movl	%eax, 84(%rsp)
	movl	52(%rsp), %eax
	subl	$1, %eax
	movd	%eax, %xmm2
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	divsd	.LC1(%rip), %xmm0
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	divsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	xorl	%eax, %eax
	addsd	.LC3(%rip), %xmm0
	cvttsd2sil	%xmm0, %edx
	call	__printf_chk@PLT
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r14, %r8
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	64(%rsp), %eax
	popq	%rdx
	.cfi_def_cfa_offset 200
	popq	%rcx
	.cfi_def_cfa_offset 192
	cmpl	$-1, %eax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$136, %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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1078853632
	.align 8
.LC2:
	.long	0
	.long	1077411840
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.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	.LC0(%rip), %rbx
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	60(%rsp), %rax
	leaq	52(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	44(%rsp), %r14
	leaq	56(%rsp), %r13
	leaq	48(%rsp), %r12
	leaq	40(%rsp), %rbp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	40(%rsp), %edx
	cmpl	$-1, %edx
	je	.L2
	movl	56(%rsp), %ecx
	cmpl	$-1, %ecx
	je	.L2
	cmpl	$-1, 52(%rsp)
	je	.L2
	cmpl	$-1, 44(%rsp)
	je	.L2
	cmpl	$-1, 60(%rsp)
	je	.L2
	pxor	%xmm0, %xmm0
	subl	$1, %eax
	subl	$1900, %edx
	movq	$0, 112(%rsp)
	movaps	%xmm0, 80(%rsp)
	movd	%eax, %xmm1
	leaq	64(%rsp), %rdi
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 96(%rsp)
	movd	%ecx, %xmm0
	punpckldq	%xmm1, %xmm0
	movl	%edx, 84(%rsp)
	movq	%rdi, 16(%rsp)
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movd	60(%rsp), %xmm0
	movq	16(%rsp), %rdi
	movq	%rax, 8(%rsp)
	movl	44(%rsp), %eax
	subl	$1900, %eax
	movl	%eax, 84(%rsp)
	movl	52(%rsp), %eax
	subl	$1, %eax
	movd	%eax, %xmm2
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	divsd	.LC1(%rip), %xmm0
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	divsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	xorl	%eax, %eax
	addsd	.LC3(%rip), %xmm0
	cvttsd2sil	%xmm0, %edx
	call	__printf_chk@PLT
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r14, %r8
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	64(%rsp), %eax
	popq	%rdx
	.cfi_def_cfa_offset 200
	popq	%rcx
	.cfi_def_cfa_offset 192
	cmpl	$-1, %eax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$136, %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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1078853632
	.align 8
.LC2:
	.long	0
	.long	1077411840
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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>
#include<time.h>
#include<string.h>
int main(void) {
	time_t tim1,tim2;
	struct tm d;
	double diff;
	int year1, year2, month1, month2, day1, day2;
	while (1) {
		scanf("%d %d %d %d %d %d",&year1,&month1,&day1,&year2,&month2,&day2);
		if (month1 == -1 || year1 == -1 || day1 == -1 ||month2 == -1 || year2 == -1 || day2 == -1) break;
		memset(&d,0,sizeof(d));
		d.tm_year = year1 - 1900;
		d.tm_mon = month1 - 1;
		d.tm_mday = day1;
		tim1 = mktime(&d);
		d.tm_year = year2 - 1900;
		d.tm_mon = month2 - 1;
		d.tm_mday = day2;
		tim2 = mktime(&d);

		diff = difftime(tim2, tim1);

		printf("%d\n",(int)(diff/60/60/24+0.5));
	}
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<time.h>
#include<string.h>
int main(void) {
	time_t tim1,tim2;
	struct tm d;
	double diff;
	int year1, year2, month1, month2, day1, day2;
	while (1) {
		scanf("%d %d %d %d %d %d",&year1,&month1,&day1,&year2,&month2,&day2);
		if (month1 == -1 || year1 == -1 || day1 == -1 ||month2 == -1 || year2 == -1 || day2 == -1) break;
		memset(&d,0,sizeof(d));
		d.tm_year = year1 - 1900;
		d.tm_mon = month1 - 1;
		d.tm_mday = day1;
		tim1 = mktime(&d);
		d.tm_year = year2 - 1900;
		d.tm_mon = month2 - 1;
		d.tm_mday = day2;
		tim2 = mktime(&d);

		diff = difftime(tim2, tim1);

		printf("%d\n",(int)(diff/60/60/24+0.5));
	}
	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:

2006 9 2 522 9 3
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 2006 9 2
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 2006 9 2
2006 9 3 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 2 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 2 2005 1 1
1153 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 2 2005 1 1
218 1 1 2006 1 1
2000 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2703 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 2006 9 2
2006 9 2 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
963 1 1 2101 1 1
-1 -1 -1 -1 -1 -1
 2006 9 2 522 9 3
2006 9 1 2006 11 11
2004 1 1 2005 1 1
2000 1 1 2006 1 1
2000 1 1 2101 2 1
-1 -1 -1 -1 -1 -1

-542018
70
366
2192
36890
 0
70
366
2192
36890
 -542018
71
366
2192
36890
 0
69
366
2192
36890
 -542018
71
365
2192
36890
 -542018
71
365
311552
36890
 -542018
71
365
653054
36890
 -542018
70
366
2192
-219874
 0
70
366
2192
415646
 -542018
71
366
2192
36921

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>
#include<time.h>
#include<string.h>
int main(void) {
	time_t tim1,tim2;
	struct tm d;
	double diff;
	int year1, year2, month1, month2, day1, day2;
	while (1) {
		scanf("%d %d %d %d %d %d",&year1,&month1,&day1,&year2,&month2,&day2);
		if (month1 == -1 || year1 == -1 || day1 == -1 ||month2 == -1 || year2 == -1 || day2 == -1) break;
		memset(&d,0,sizeof(d));
		d.tm_year = year1 - 1900;
		d.tm_mon = month1 - 1;
		d.tm_mday = day1;
		tim1 = mktime(&d);
		d.tm_year = year2 - 1900;
		d.tm_mon = month2 - 1;
		d.tm_mday = day2;
		tim2 = mktime(&d);

		diff = difftime(tim2, tim1);

		printf("%d\n",(int)(diff/60/60/24+0.5));
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.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	.LC0(%rip), %rbx
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	60(%rsp), %rax
	leaq	52(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	44(%rsp), %r14
	leaq	56(%rsp), %r13
	leaq	48(%rsp), %r12
	leaq	40(%rsp), %rbp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	40(%rsp), %edx
	cmpl	$-1, %edx
	je	.L2
	movl	56(%rsp), %ecx
	cmpl	$-1, %ecx
	je	.L2
	cmpl	$-1, 52(%rsp)
	je	.L2
	cmpl	$-1, 44(%rsp)
	je	.L2
	cmpl	$-1, 60(%rsp)
	je	.L2
	pxor	%xmm0, %xmm0
	subl	$1, %eax
	subl	$1900, %edx
	movq	$0, 112(%rsp)
	movaps	%xmm0, 80(%rsp)
	movd	%eax, %xmm1
	leaq	64(%rsp), %rdi
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 96(%rsp)
	movd	%ecx, %xmm0
	punpckldq	%xmm1, %xmm0
	movl	%edx, 84(%rsp)
	movq	%rdi, 16(%rsp)
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movd	60(%rsp), %xmm0
	movq	16(%rsp), %rdi
	movq	%rax, 8(%rsp)
	movl	44(%rsp), %eax
	subl	$1900, %eax
	movl	%eax, 84(%rsp)
	movl	52(%rsp), %eax
	subl	$1, %eax
	movd	%eax, %xmm2
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	divsd	.LC1(%rip), %xmm0
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	divsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	xorl	%eax, %eax
	addsd	.LC3(%rip), %xmm0
	cvttsd2sil	%xmm0, %edx
	call	__printf_chk@PLT
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r14, %r8
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	64(%rsp), %eax
	popq	%rdx
	.cfi_def_cfa_offset 200
	popq	%rcx
	.cfi_def_cfa_offset 192
	cmpl	$-1, %eax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$136, %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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1078853632
	.align 8
.LC2:
	.long	0
	.long	1077411840
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.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	.LC0(%rip), %rbx
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movq	%fs:40, %rax
	movq	%rax, 120(%rsp)
	xorl	%eax, %eax
	leaq	60(%rsp), %rax
	leaq	52(%rsp), %r15
	movq	%rax, 24(%rsp)
	leaq	44(%rsp), %r14
	leaq	56(%rsp), %r13
	leaq	48(%rsp), %r12
	leaq	40(%rsp), %rbp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L16:
	movl	40(%rsp), %edx
	cmpl	$-1, %edx
	je	.L2
	movl	56(%rsp), %ecx
	cmpl	$-1, %ecx
	je	.L2
	cmpl	$-1, 52(%rsp)
	je	.L2
	cmpl	$-1, 44(%rsp)
	je	.L2
	cmpl	$-1, 60(%rsp)
	je	.L2
	pxor	%xmm0, %xmm0
	subl	$1, %eax
	subl	$1900, %edx
	movq	$0, 112(%rsp)
	movaps	%xmm0, 80(%rsp)
	movd	%eax, %xmm1
	leaq	64(%rsp), %rdi
	movaps	%xmm0, 64(%rsp)
	movaps	%xmm0, 96(%rsp)
	movd	%ecx, %xmm0
	punpckldq	%xmm1, %xmm0
	movl	%edx, 84(%rsp)
	movq	%rdi, 16(%rsp)
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movd	60(%rsp), %xmm0
	movq	16(%rsp), %rdi
	movq	%rax, 8(%rsp)
	movl	44(%rsp), %eax
	subl	$1900, %eax
	movl	%eax, 84(%rsp)
	movl	52(%rsp), %eax
	subl	$1, %eax
	movd	%eax, %xmm2
	punpckldq	%xmm2, %xmm0
	movq	%xmm0, 76(%rsp)
	call	mktime@PLT
	movq	8(%rsp), %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	divsd	.LC1(%rip), %xmm0
	leaq	.LC4(%rip), %rsi
	movl	$1, %edi
	divsd	.LC1(%rip), %xmm0
	divsd	.LC2(%rip), %xmm0
	xorl	%eax, %eax
	addsd	.LC3(%rip), %xmm0
	cvttsd2sil	%xmm0, %edx
	call	__printf_chk@PLT
.L3:
	subq	$8, %rsp
	.cfi_def_cfa_offset 200
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%r15, %r9
	pushq	32(%rsp)
	.cfi_def_cfa_offset 208
	movq	%r14, %r8
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	64(%rsp), %eax
	popq	%rdx
	.cfi_def_cfa_offset 200
	popq	%rcx
	.cfi_def_cfa_offset 192
	cmpl	$-1, %eax
	jne	.L16
	.p2align 4,,10
	.p2align 3
.L2:
	movq	120(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L17
	addq	$136, %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
.L17:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1078853632
	.align 8
.LC2:
	.long	0
	.long	1077411840
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.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:
```