Given the following C code and unoptimized 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;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L3:
	leaq	-100(%rbp), %r8
	leaq	-108(%rbp), %rdi
	leaq	-96(%rbp), %rcx
	leaq	-104(%rbp), %rdx
	leaq	-112(%rbp), %rax
	subq	$8, %rsp
	leaq	-92(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-104(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-112(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-96(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-100(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-108(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-92(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	leaq	-64(%rbp), %rax
	movl	$56, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	-112(%rbp), %eax
	subl	$1900, %eax
	movl	%eax, -44(%rbp)
	movl	-104(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-96(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	mktime@PLT
	movq	%rax, -88(%rbp)
	movl	-108(%rbp), %eax
	subl	$1900, %eax
	movl	%eax, -44(%rbp)
	movl	-100(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-92(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	mktime@PLT
	movq	%rax, -80(%rbp)
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	movq	%xmm0, %rax
	movq	%rax, -72(%rbp)
	movsd	-72(%rbp), %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LC2(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	.LC3(%rip), %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L3
.L2:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.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.
user
	.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
	.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:

#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;
}
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 unoptimized 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;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L3:
	leaq	-100(%rbp), %r8
	leaq	-108(%rbp), %rdi
	leaq	-96(%rbp), %rcx
	leaq	-104(%rbp), %rdx
	leaq	-112(%rbp), %rax
	subq	$8, %rsp
	leaq	-92(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-104(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-112(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-96(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-100(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-108(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-92(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	leaq	-64(%rbp), %rax
	movl	$56, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	-112(%rbp), %eax
	subl	$1900, %eax
	movl	%eax, -44(%rbp)
	movl	-104(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-96(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	mktime@PLT
	movq	%rax, -88(%rbp)
	movl	-108(%rbp), %eax
	subl	$1900, %eax
	movl	%eax, -44(%rbp)
	movl	-100(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-92(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	mktime@PLT
	movq	%rax, -80(%rbp)
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	movq	%xmm0, %rax
	movq	%rax, -72(%rbp)
	movsd	-72(%rbp), %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LC2(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	.LC3(%rip), %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L3
.L2:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d %d %d %d %d %d"
.LC4:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$112, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
.L3:
	leaq	-100(%rbp), %r8
	leaq	-108(%rbp), %rdi
	leaq	-96(%rbp), %rcx
	leaq	-104(%rbp), %rdx
	leaq	-112(%rbp), %rax
	subq	$8, %rsp
	leaq	-92(%rbp), %rsi
	pushq	%rsi
	movq	%r8, %r9
	movq	%rdi, %r8
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addq	$16, %rsp
	movl	-104(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-112(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-96(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-100(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-108(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	movl	-92(%rbp), %eax
	cmpl	$-1, %eax
	je	.L2
	leaq	-64(%rbp), %rax
	movl	$56, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	movl	-112(%rbp), %eax
	subl	$1900, %eax
	movl	%eax, -44(%rbp)
	movl	-104(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-96(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	mktime@PLT
	movq	%rax, -88(%rbp)
	movl	-108(%rbp), %eax
	subl	$1900, %eax
	movl	%eax, -44(%rbp)
	movl	-100(%rbp), %eax
	subl	$1, %eax
	movl	%eax, -48(%rbp)
	movl	-92(%rbp), %eax
	movl	%eax, -52(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, %rdi
	call	mktime@PLT
	movq	%rax, -80(%rbp)
	movq	-88(%rbp), %rdx
	movq	-80(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	difftime@PLT
	movq	%xmm0, %rax
	movq	%rax, -72(%rbp)
	movsd	-72(%rbp), %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LC1(%rip), %xmm1
	divsd	%xmm1, %xmm0
	movsd	.LC2(%rip), %xmm2
	movapd	%xmm0, %xmm1
	divsd	%xmm2, %xmm1
	movsd	.LC3(%rip), %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2sil	%xmm0, %eax
	movl	%eax, %esi
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L3
.L2:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.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:
