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 count=0;
    int N,M,h,m,k,g,i;
    int bus[24][60];

       
    for(h=0;h<=23;h++){
        for(m=0;m<=59;m++){
            bus[h][m]=0;
        }
    }
    scanf("%d",&N);
    for(i=0;i<N;i++){
        scanf("%d %d",&h,&m);
        bus[h][m]=1;
    }
    scanf("%d",&M);
    for(i=0;i<M;i++){
        scanf("%d %d",&k,&g);
        bus[k][g]=1;
    }
    for(h=0;h<=23;h++){
        for(m=0;m<=59;m++){
            if(bus[h][m]==1){
                if(count!=0)printf(" ");
                count++;
                printf("%d:%02d",h,m);
            }
        }
    }
    printf("\n");
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d:%02d"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1712, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -5784(%rbp)
	movl	$0, -5800(%rbp)
	jmp	.L2
.L5:
	movl	$0, -5796(%rbp)
	jmp	.L3
.L4:
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$0, -5776(%rbp,%rax,4)
	movl	-5796(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5796(%rbp)
.L3:
	movl	-5796(%rbp), %eax
	cmpl	$59, %eax
	jle	.L4
	movl	-5800(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5800(%rbp)
.L2:
	movl	-5800(%rbp), %eax
	cmpl	$23, %eax
	jle	.L5
	leaq	-5808(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5780(%rbp)
	jmp	.L6
.L7:
	leaq	-5796(%rbp), %rdx
	leaq	-5800(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1, -5776(%rbp,%rax,4)
	addl	$1, -5780(%rbp)
.L6:
	movl	-5808(%rbp), %eax
	cmpl	%eax, -5780(%rbp)
	jl	.L7
	leaq	-5804(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5780(%rbp)
	jmp	.L8
.L9:
	leaq	-5788(%rbp), %rdx
	leaq	-5792(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-5792(%rbp), %eax
	movl	-5788(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1, -5776(%rbp,%rax,4)
	addl	$1, -5780(%rbp)
.L8:
	movl	-5804(%rbp), %eax
	cmpl	%eax, -5780(%rbp)
	jl	.L9
	movl	$0, -5800(%rbp)
	jmp	.L10
.L15:
	movl	$0, -5796(%rbp)
	jmp	.L11
.L14:
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-5776(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jne	.L12
	cmpl	$0, -5784(%rbp)
	je	.L13
	movl	$32, %edi
	call	putchar@PLT
.L13:
	addl	$1, -5784(%rbp)
	movl	-5796(%rbp), %edx
	movl	-5800(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	-5796(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5796(%rbp)
.L11:
	movl	-5796(%rbp), %eax
	cmpl	$59, %eax
	jle	.L14
	movl	-5800(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5800(%rbp)
.L10:
	movl	-5800(%rbp), %eax
	cmpl	$23, %eax
	jle	.L15
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d:%02d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$1712, %rsp
	.cfi_def_cfa_offset 5856
	movl	$720, %ecx
	leaq	.LC0(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 5800(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movl	$60, 20(%rsp)
	movq	%rdx, %rdi
	movl	$24, 16(%rsp)
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L5
	xorl	%r14d, %r14d
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	16(%rsp), %rdx
	movslq	20(%rsp), %rcx
	addl	$1, %r14d
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	leaq	(%rcx,%rax,4), %rax
	movl	$1, 32(%rsp,%rax,4)
	cmpl	%r14d, 8(%rsp)
	jg	.L2
.L5:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	xorl	%ebx, %ebx
	leaq	28(%rsp), %r13
	leaq	24(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	24(%rsp), %rdx
	movslq	28(%rsp), %rcx
	addl	$1, %ebx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	leaq	(%rcx,%rax,4), %rax
	movl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 12(%rsp)
	jg	.L3
.L4:
	movl	$0, 16(%rsp)
	xorl	%r8d, %r8d
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$0, 20(%rsp)
	xorl	%ecx, %ecx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ecx
	movl	%ecx, 20(%rsp)
	cmpl	$59, %ecx
	jg	.L22
.L9:
	movslq	%r8d, %rsi
	movslq	%ecx, %rax
	movq	%rsi, %rdx
	salq	$4, %rdx
	subq	%rsi, %rdx
	leaq	(%rax,%rdx,4), %rax
	cmpl	$1, 32(%rsp,%rax,4)
	jne	.L7
	testl	%ebp, %ebp
	jne	.L23
.L8:
	movl	%r8d, %edx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	20(%rsp), %ecx
	movl	16(%rsp), %r8d
	addl	$1, %ebp
	addl	$1, %ecx
	movl	%ecx, 20(%rsp)
	cmpl	$59, %ecx
	jle	.L9
.L22:
	addl	$1, %r8d
	movl	%r8d, 16(%rsp)
	cmpl	$23, %r8d
	jle	.L6
	movl	$10, %edi
	call	putchar@PLT
	movq	5800(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$5808, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	movl	$32, %edi
	call	putchar@PLT
	movl	20(%rsp), %ecx
	movl	16(%rsp), %r8d
	jmp	.L8
.L24:
	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"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d:%02d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4144
	orq	$0, (%rsp)
	subq	$1712, %rsp
	.cfi_def_cfa_offset 5856
	movl	$720, %ecx
	leaq	.LC0(%rip), %r13
	movq	%fs:40, %rax
	movq	%rax, 5800(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rdx
	leaq	8(%rsp), %rsi
	movl	$60, 20(%rsp)
	movq	%rdx, %rdi
	movl	$24, 16(%rsp)
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L5
	xorl	%r14d, %r14d
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbx
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L2:
	movq	%r12, %rdx
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	16(%rsp), %rdx
	movslq	20(%rsp), %rcx
	addl	$1, %r14d
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	leaq	(%rcx,%rax,4), %rax
	movl	$1, 32(%rsp,%rax,4)
	cmpl	%r14d, 8(%rsp)
	jg	.L2
.L5:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L4
	xorl	%ebx, %ebx
	leaq	28(%rsp), %r13
	leaq	24(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r13, %rdx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	24(%rsp), %rdx
	movslq	28(%rsp), %rcx
	addl	$1, %ebx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	leaq	(%rcx,%rax,4), %rax
	movl	$1, 32(%rsp,%rax,4)
	cmpl	%ebx, 12(%rsp)
	jg	.L3
.L4:
	movl	$0, 16(%rsp)
	xorl	%r8d, %r8d
	xorl	%ebp, %ebp
	leaq	.LC2(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$0, 20(%rsp)
	xorl	%ecx, %ecx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ecx
	movl	%ecx, 20(%rsp)
	cmpl	$59, %ecx
	jg	.L22
.L9:
	movslq	%r8d, %rsi
	movslq	%ecx, %rax
	movq	%rsi, %rdx
	salq	$4, %rdx
	subq	%rsi, %rdx
	leaq	(%rax,%rdx,4), %rax
	cmpl	$1, 32(%rsp,%rax,4)
	jne	.L7
	testl	%ebp, %ebp
	jne	.L23
.L8:
	movl	%r8d, %edx
	movq	%rbx, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	20(%rsp), %ecx
	movl	16(%rsp), %r8d
	addl	$1, %ebp
	addl	$1, %ecx
	movl	%ecx, 20(%rsp)
	cmpl	$59, %ecx
	jle	.L9
.L22:
	addl	$1, %r8d
	movl	%r8d, 16(%rsp)
	cmpl	$23, %r8d
	jle	.L6
	movl	$10, %edi
	call	putchar@PLT
	movq	5800(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	addq	$5808, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	movl	$32, %edi
	call	putchar@PLT
	movl	20(%rsp), %ecx
	movl	16(%rsp), %r8d
	jmp	.L8
.L24:
	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 count=0;
    int N,M,h,m,k,g,i;
    int bus[24][60];

       
    for(h=0;h<=23;h++){
        for(m=0;m<=59;m++){
            bus[h][m]=0;
        }
    }
    scanf("%d",&N);
    for(i=0;i<N;i++){
        scanf("%d %d",&h,&m);
        bus[h][m]=1;
    }
    scanf("%d",&M);
    for(i=0;i<M;i++){
        scanf("%d %d",&k,&g);
        bus[k][g]=1;
    }
    for(h=0;h<=23;h++){
        for(m=0;m<=59;m++){
            if(bus[h][m]==1){
                if(count!=0)printf(" ");
                count++;
                printf("%d:%02d",h,m);
            }
        }
    }
    printf("\n");
    return 0;
}
2 9 8 15 59
1 8 27

8:27 9:08 15:59

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 count=0;
    int N,M,h,m,k,g,i;
    int bus[24][60];

       
    for(h=0;h<=23;h++){
        for(m=0;m<=59;m++){
            bus[h][m]=0;
        }
    }
    scanf("%d",&N);
    for(i=0;i<N;i++){
        scanf("%d %d",&h,&m);
        bus[h][m]=1;
    }
    scanf("%d",&M);
    for(i=0;i<M;i++){
        scanf("%d %d",&k,&g);
        bus[k][g]=1;
    }
    for(h=0;h<=23;h++){
        for(m=0;m<=59;m++){
            if(bus[h][m]==1){
                if(count!=0)printf(" ");
                count++;
                printf("%d:%02d",h,m);
            }
        }
    }
    printf("\n");
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d:%02d"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1712, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -5784(%rbp)
	movl	$0, -5800(%rbp)
	jmp	.L2
.L5:
	movl	$0, -5796(%rbp)
	jmp	.L3
.L4:
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$0, -5776(%rbp,%rax,4)
	movl	-5796(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5796(%rbp)
.L3:
	movl	-5796(%rbp), %eax
	cmpl	$59, %eax
	jle	.L4
	movl	-5800(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5800(%rbp)
.L2:
	movl	-5800(%rbp), %eax
	cmpl	$23, %eax
	jle	.L5
	leaq	-5808(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5780(%rbp)
	jmp	.L6
.L7:
	leaq	-5796(%rbp), %rdx
	leaq	-5800(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1, -5776(%rbp,%rax,4)
	addl	$1, -5780(%rbp)
.L6:
	movl	-5808(%rbp), %eax
	cmpl	%eax, -5780(%rbp)
	jl	.L7
	leaq	-5804(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5780(%rbp)
	jmp	.L8
.L9:
	leaq	-5788(%rbp), %rdx
	leaq	-5792(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-5792(%rbp), %eax
	movl	-5788(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1, -5776(%rbp,%rax,4)
	addl	$1, -5780(%rbp)
.L8:
	movl	-5804(%rbp), %eax
	cmpl	%eax, -5780(%rbp)
	jl	.L9
	movl	$0, -5800(%rbp)
	jmp	.L10
.L15:
	movl	$0, -5796(%rbp)
	jmp	.L11
.L14:
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-5776(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jne	.L12
	cmpl	$0, -5784(%rbp)
	je	.L13
	movl	$32, %edi
	call	putchar@PLT
.L13:
	addl	$1, -5784(%rbp)
	movl	-5796(%rbp), %edx
	movl	-5800(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	-5796(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5796(%rbp)
.L11:
	movl	-5796(%rbp), %eax
	cmpl	$59, %eax
	jle	.L14
	movl	-5800(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5800(%rbp)
.L10:
	movl	-5800(%rbp), %eax
	cmpl	$23, %eax
	jle	.L15
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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"
.LC1:
	.string	"%d %d"
.LC2:
	.string	"%d:%02d"
	.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	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1712, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -5784(%rbp)
	movl	$0, -5800(%rbp)
	jmp	.L2
.L5:
	movl	$0, -5796(%rbp)
	jmp	.L3
.L4:
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$0, -5776(%rbp,%rax,4)
	movl	-5796(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5796(%rbp)
.L3:
	movl	-5796(%rbp), %eax
	cmpl	$59, %eax
	jle	.L4
	movl	-5800(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5800(%rbp)
.L2:
	movl	-5800(%rbp), %eax
	cmpl	$23, %eax
	jle	.L5
	leaq	-5808(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5780(%rbp)
	jmp	.L6
.L7:
	leaq	-5796(%rbp), %rdx
	leaq	-5800(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1, -5776(%rbp,%rax,4)
	addl	$1, -5780(%rbp)
.L6:
	movl	-5808(%rbp), %eax
	cmpl	%eax, -5780(%rbp)
	jl	.L7
	leaq	-5804(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5780(%rbp)
	jmp	.L8
.L9:
	leaq	-5788(%rbp), %rdx
	leaq	-5792(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-5792(%rbp), %eax
	movl	-5788(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	$1, -5776(%rbp,%rax,4)
	addl	$1, -5780(%rbp)
.L8:
	movl	-5804(%rbp), %eax
	cmpl	%eax, -5780(%rbp)
	jl	.L9
	movl	$0, -5800(%rbp)
	jmp	.L10
.L15:
	movl	$0, -5796(%rbp)
	jmp	.L11
.L14:
	movl	-5800(%rbp), %eax
	movl	-5796(%rbp), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$4, %rax
	subq	%rdx, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movl	-5776(%rbp,%rax,4), %eax
	cmpl	$1, %eax
	jne	.L12
	cmpl	$0, -5784(%rbp)
	je	.L13
	movl	$32, %edi
	call	putchar@PLT
.L13:
	addl	$1, -5784(%rbp)
	movl	-5796(%rbp), %edx
	movl	-5800(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	movl	-5796(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5796(%rbp)
.L11:
	movl	-5796(%rbp), %eax
	cmpl	$59, %eax
	jle	.L14
	movl	-5800(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -5800(%rbp)
.L10:
	movl	-5800(%rbp), %eax
	cmpl	$23, %eax
	jle	.L15
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	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:
