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>

int main(){
  int time[86400]={},h,m,s,i,n,sum,ans;
  while(scanf("%d",&n)){
    if(n==0) break;
    for(i=0;i<n;i++){
      scanf("%d:%d:%d",&h,&m,&s);
      s+=3600*h+60*m;
      time[s]+=1;
      scanf("%d:%d:%d",&h,&m,&s);
      s+=3600*h+60*m;
      time[s]-=1;
    }
    ans=0;
    sum=0;
    for(i=0;i<86400;i++){
      sum+=time[i];
      time[i]=0;
      if(sum>ans) ans=sum;
    }
    printf("%d\n",ans);
  }
  return 0;
}


```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d:%d:%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d"
	.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
	leaq	-344064(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1584, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-345616(%rbp), %rax
	movl	$345600, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L2
.L10:
	movl	-345632(%rbp), %eax
	testl	%eax, %eax
	je	.L13
	movl	$0, -345628(%rbp)
	jmp	.L5
.L6:
	leaq	-345636(%rbp), %rcx
	leaq	-345640(%rbp), %rdx
	leaq	-345644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-345644(%rbp), %eax
	imull	$3600, %eax, %edx
	movl	-345640(%rbp), %eax
	imull	$60, %eax, %eax
	addl	%eax, %edx
	movl	-345636(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -345636(%rbp)
	movl	-345636(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %edx
	movl	-345636(%rbp), %eax
	addl	$1, %edx
	cltq
	movl	%edx, -345616(%rbp,%rax,4)
	leaq	-345636(%rbp), %rcx
	leaq	-345640(%rbp), %rdx
	leaq	-345644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-345644(%rbp), %eax
	imull	$3600, %eax, %edx
	movl	-345640(%rbp), %eax
	imull	$60, %eax, %eax
	addl	%eax, %edx
	movl	-345636(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -345636(%rbp)
	movl	-345636(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %edx
	movl	-345636(%rbp), %eax
	subl	$1, %edx
	cltq
	movl	%edx, -345616(%rbp,%rax,4)
	addl	$1, -345628(%rbp)
.L5:
	movl	-345632(%rbp), %eax
	cmpl	%eax, -345628(%rbp)
	jl	.L6
	movl	$0, -345620(%rbp)
	movl	$0, -345624(%rbp)
	movl	$0, -345628(%rbp)
	jmp	.L7
.L9:
	movl	-345628(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %eax
	addl	%eax, -345624(%rbp)
	movl	-345628(%rbp), %eax
	cltq
	movl	$0, -345616(%rbp,%rax,4)
	movl	-345624(%rbp), %eax
	cmpl	-345620(%rbp), %eax
	jle	.L8
	movl	-345624(%rbp), %eax
	movl	%eax, -345620(%rbp)
.L8:
	addl	$1, -345628(%rbp)
.L7:
	cmpl	$86399, -345628(%rbp)
	jle	.L9
	movl	-345620(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-345632(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	jne	.L10
	jmp	.L4
.L13:
	nop
.L4:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d:%d:%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-344064(%rsp), %r11
	.cfi_def_cfa 11, 344120
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1592, %rsp
	.cfi_def_cfa_offset 345712
	movl	$345600, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 345640(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rax
	leaq	28(%rsp), %r15
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	leaq	24(%rsp), %r13
	leaq	20(%rsp), %r12
	call	memset@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r15, %rsi
	leaq	.LC2(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L4
	xorl	%r14d, %r14d
	leaq	16(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	imull	$60, 20(%rsp), %edx
	movq	%r13, %rcx
	movq	%rbx, %rsi
	imull	$3600, 16(%rsp), %eax
	movq	%rbp, %rdi
	addl	%edx, %eax
	addl	24(%rsp), %eax
	movq	%r12, %rdx
	movl	%eax, 24(%rsp)
	cltq
	addl	$1, 32(%rsp,%rax,4)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$3600, 16(%rsp), %eax
	imull	$60, 20(%rsp), %edx
	addl	%edx, %eax
	addl	24(%rsp), %eax
	movl	%eax, 24(%rsp)
	cltq
	subl	$1, 32(%rsp,%rax,4)
	cmpl	%r14d, 28(%rsp)
	jg	.L5
.L4:
	movq	8(%rsp), %rax
	leaq	345632(%rsp), %rcx
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	addl	(%rax), %edx
	movl	$0, (%rax)
	cmpl	%edx, %r8d
	cmovl	%edx, %r8d
	addq	$4, %rax
	cmpq	%rcx, %rax
	jne	.L6
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
.L3:
	movq	345640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$345656, %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
.L16:
	.cfi_restore_state
	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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d:%d:%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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	-344064(%rsp), %r11
	.cfi_def_cfa 11, 344120
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	.cfi_def_cfa_register 7
	subq	$1592, %rsp
	.cfi_def_cfa_offset 345712
	movl	$345600, %edx
	xorl	%esi, %esi
	leaq	.LC0(%rip), %rbp
	movq	%fs:40, %rax
	movq	%rax, 345640(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rax
	leaq	28(%rsp), %r15
	movq	%rax, %rdi
	movq	%rax, 8(%rsp)
	leaq	24(%rsp), %r13
	leaq	20(%rsp), %r12
	call	memset@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r15, %rsi
	leaq	.LC2(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	28(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L4
	xorl	%r14d, %r14d
	leaq	16(%rsp), %rbx
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	imull	$60, 20(%rsp), %edx
	movq	%r13, %rcx
	movq	%rbx, %rsi
	imull	$3600, 16(%rsp), %eax
	movq	%rbp, %rdi
	addl	%edx, %eax
	addl	24(%rsp), %eax
	movq	%r12, %rdx
	movl	%eax, 24(%rsp)
	cltq
	addl	$1, 32(%rsp,%rax,4)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	imull	$3600, 16(%rsp), %eax
	imull	$60, 20(%rsp), %edx
	addl	%edx, %eax
	addl	24(%rsp), %eax
	movl	%eax, 24(%rsp)
	cltq
	subl	$1, 32(%rsp,%rax,4)
	cmpl	%r14d, 28(%rsp)
	jg	.L5
.L4:
	movq	8(%rsp), %rax
	leaq	345632(%rsp), %rcx
	xorl	%r8d, %r8d
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L6:
	addl	(%rax), %edx
	movl	$0, (%rax)
	cmpl	%edx, %r8d
	cmovl	%edx, %r8d
	addq	$4, %rax
	cmpq	%rcx, %rax
	jne	.L6
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
.L3:
	movq	345640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$345656, %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
.L16:
	.cfi_restore_state
	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:

#include <stdio.h>

int main(){
  int time[86400]={},h,m,s,i,n,sum,ans;
  while(scanf("%d",&n)){
    if(n==0) break;
    for(i=0;i<n;i++){
      scanf("%d:%d:%d",&h,&m,&s);
      s+=3600*h+60*m;
      time[s]+=1;
      scanf("%d:%d:%d",&h,&m,&s);
      s+=3600*h+60*m;
      time[s]-=1;
    }
    ans=0;
    sum=0;
    for(i=0;i<86400;i++){
      sum+=time[i];
      time[i]=0;
      if(sum>ans) ans=sum;
    }
    printf("%d\n",ans);
  }
  return 0;
}



3
05:47:15 04:45:90
12:12:59 12:13:00
16:30:20 21:18:53
6
00:00:00 03:00:00
01:00:00 03:00:00
02:00:00 03:00:00
03:00:00 04:00:00
03:00:00 05:00:00
03:00:00 06:00:00
0
 3
05:47:15 09:54:40
12:12:59 12:13:00
16:30:20 21:18:53
6
00:00:00 03:00:00
01:00:00 03:00:00
02:00:00 03:00:00
03:00:00 04:00:00
00:30:00 05:00:00
03:00:00 06:00:00
0
 3
05:67:15 09:54:40
12:12:59 12:13:00
02:03:61 21:18:53
6
00:00:00 03:00:00
01:00:00 03:00:00
02:00:00 03:00:00
03:00:00 04:00:00
00:30:00 05:00:00
03:00:00 06:00:00
0
 3
05:67:15 09:54:40
12:12:59 12:13:00
16:30:20 21:18:53
6
00:00:00 03:00:00
01:00:00 03:00:00
02:00:00 03:00:00
02:00:00 04:00:00
00:30:00 05:00:00
03:00:00 06:00:00
0
 3
05:57:15 09:54:40
12:12:59 12:13:00
16:30:20 21:18:53
6
00:00:00 00:00:30
01:00:00 00:00:30
02:00:00 03:00:00
03:00:00 04:00:00
00:30:00 05:00:00
00:01:30 00:00:70
0
 3
05:57:15 09:54:40
12:12:59 12:13:00
02:03:61 21:18:53
6
00:00:00 00:00:30
01:00:00 03:00:00
02:00:00 03:00:00
03:00:00 04:00:00
00:30:00 05:00:00
03:10:00 06:00:00
0
 3
05:57:15 19:54:40
12:12:59 12:13:00
16:30:20 21:18:53
6
00:00:00 00:00:30
01:00:00 00:00:30
02:00:00 03:00:00
03:00:00 04:00:00
00:30:00 05:00:00
00:01:30 00:00:70
0
 3
05:67:15 09:54:40
12:12:59 12:13:00
02:03:61 21:18:63
6
00:00:00 03:00:00
00:00:10 03:00:00
02:00:00 03:00:00
02:00:00 04:00:00
00:30:00 05:00:00
03:00:00 06:00:00
0
 3
05:67:15 09:54:41
11:12:59 00:31:21
15:40:20 21:18:53
0
00:00:00 03:00:00
00:00:10 00:00:30
20:00:00 03:00:00
03:00:00 04:00:00
00:30:00 05:00:00
00:10:30 06:00:00
0
 3
05:67:15 09:53:40
11:12:59 00:31:21
15:30:20 21:18:53
6
00:00:00 03:00:00
01:00:00 03:00:00
02:00:00 03:00:00
00:00:30 04:00:00
00:30:00 05:00:00
00:00:30 06:00:00
0

1
3
 1
4
 2
4
 1
5
 1
2
 2
3
 2
2
 2
5
 1
 1
6

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>

int main(){
  int time[86400]={},h,m,s,i,n,sum,ans;
  while(scanf("%d",&n)){
    if(n==0) break;
    for(i=0;i<n;i++){
      scanf("%d:%d:%d",&h,&m,&s);
      s+=3600*h+60*m;
      time[s]+=1;
      scanf("%d:%d:%d",&h,&m,&s);
      s+=3600*h+60*m;
      time[s]-=1;
    }
    ans=0;
    sum=0;
    for(i=0;i<86400;i++){
      sum+=time[i];
      time[i]=0;
      if(sum>ans) ans=sum;
    }
    printf("%d\n",ans);
  }
  return 0;
}


```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d:%d:%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d"
	.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
	leaq	-344064(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1584, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-345616(%rbp), %rax
	movl	$345600, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L2
.L10:
	movl	-345632(%rbp), %eax
	testl	%eax, %eax
	je	.L13
	movl	$0, -345628(%rbp)
	jmp	.L5
.L6:
	leaq	-345636(%rbp), %rcx
	leaq	-345640(%rbp), %rdx
	leaq	-345644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-345644(%rbp), %eax
	imull	$3600, %eax, %edx
	movl	-345640(%rbp), %eax
	imull	$60, %eax, %eax
	addl	%eax, %edx
	movl	-345636(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -345636(%rbp)
	movl	-345636(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %edx
	movl	-345636(%rbp), %eax
	addl	$1, %edx
	cltq
	movl	%edx, -345616(%rbp,%rax,4)
	leaq	-345636(%rbp), %rcx
	leaq	-345640(%rbp), %rdx
	leaq	-345644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-345644(%rbp), %eax
	imull	$3600, %eax, %edx
	movl	-345640(%rbp), %eax
	imull	$60, %eax, %eax
	addl	%eax, %edx
	movl	-345636(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -345636(%rbp)
	movl	-345636(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %edx
	movl	-345636(%rbp), %eax
	subl	$1, %edx
	cltq
	movl	%edx, -345616(%rbp,%rax,4)
	addl	$1, -345628(%rbp)
.L5:
	movl	-345632(%rbp), %eax
	cmpl	%eax, -345628(%rbp)
	jl	.L6
	movl	$0, -345620(%rbp)
	movl	$0, -345624(%rbp)
	movl	$0, -345628(%rbp)
	jmp	.L7
.L9:
	movl	-345628(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %eax
	addl	%eax, -345624(%rbp)
	movl	-345628(%rbp), %eax
	cltq
	movl	$0, -345616(%rbp,%rax,4)
	movl	-345624(%rbp), %eax
	cmpl	-345620(%rbp), %eax
	jle	.L8
	movl	-345624(%rbp), %eax
	movl	%eax, -345620(%rbp)
.L8:
	addl	$1, -345628(%rbp)
.L7:
	cmpl	$86399, -345628(%rbp)
	jle	.L9
	movl	-345620(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-345632(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	jne	.L10
	jmp	.L4
.L13:
	nop
.L4:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d:%d:%d"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d"
	.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
	leaq	-344064(%rsp), %r11
.LPSRL0:
	subq	$4096, %rsp
	orq	$0, (%rsp)
	cmpq	%r11, %rsp
	jne	.LPSRL0
	subq	$1584, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-345616(%rbp), %rax
	movl	$345600, %edx
	movl	$0, %esi
	movq	%rax, %rdi
	call	memset@PLT
	jmp	.L2
.L10:
	movl	-345632(%rbp), %eax
	testl	%eax, %eax
	je	.L13
	movl	$0, -345628(%rbp)
	jmp	.L5
.L6:
	leaq	-345636(%rbp), %rcx
	leaq	-345640(%rbp), %rdx
	leaq	-345644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-345644(%rbp), %eax
	imull	$3600, %eax, %edx
	movl	-345640(%rbp), %eax
	imull	$60, %eax, %eax
	addl	%eax, %edx
	movl	-345636(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -345636(%rbp)
	movl	-345636(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %edx
	movl	-345636(%rbp), %eax
	addl	$1, %edx
	cltq
	movl	%edx, -345616(%rbp,%rax,4)
	leaq	-345636(%rbp), %rcx
	leaq	-345640(%rbp), %rdx
	leaq	-345644(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-345644(%rbp), %eax
	imull	$3600, %eax, %edx
	movl	-345640(%rbp), %eax
	imull	$60, %eax, %eax
	addl	%eax, %edx
	movl	-345636(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -345636(%rbp)
	movl	-345636(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %edx
	movl	-345636(%rbp), %eax
	subl	$1, %edx
	cltq
	movl	%edx, -345616(%rbp,%rax,4)
	addl	$1, -345628(%rbp)
.L5:
	movl	-345632(%rbp), %eax
	cmpl	%eax, -345628(%rbp)
	jl	.L6
	movl	$0, -345620(%rbp)
	movl	$0, -345624(%rbp)
	movl	$0, -345628(%rbp)
	jmp	.L7
.L9:
	movl	-345628(%rbp), %eax
	cltq
	movl	-345616(%rbp,%rax,4), %eax
	addl	%eax, -345624(%rbp)
	movl	-345628(%rbp), %eax
	cltq
	movl	$0, -345616(%rbp,%rax,4)
	movl	-345624(%rbp), %eax
	cmpl	-345620(%rbp), %eax
	jle	.L8
	movl	-345624(%rbp), %eax
	movl	%eax, -345620(%rbp)
.L8:
	addl	$1, -345628(%rbp)
.L7:
	cmpl	$86399, -345628(%rbp)
	jle	.L9
	movl	-345620(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-345632(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	jne	.L10
	jmp	.L4
.L13:
	nop
.L4:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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:
