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 <stdlib.h>

int time_num;
int time_list[100];

int qsort_comp(const void* x,const void* y) {
	int* a=(int*)x;
	int* b=(int*)y;
	if(*a>*b)return 1;
	if(*a<*b)return -1;
	return 0;
}

int main(void) {
	int i;
	int time_sum;
	int result;
	while(scanf("%d",&time_num)==1) {
		for(i=0;i<time_num;i++)scanf("%d",&time_list[i]);
		qsort(time_list,time_num,sizeof(int),qsort_comp);
		for(i=0,result=0,time_sum=0;i<time_num;i++) {
			time_sum+=time_list[i];
			result+=time_sum;
		}
		printf("%d\n",result);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	qsort_comp
	.type	qsort_comp, @function
qsort_comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	qsort_comp, .-qsort_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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
	leaq	qsort_comp(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	time_num(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	time_list(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L10
	movslq	time_num(%rip), %rsi
	movq	%rbp, %r13
	xorl	%r15d, %r15d
	testl	%esi, %esi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	time_num(%rip), %rsi
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L7
.L12:
	movl	$4, %edx
	movq	%r14, %rcx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	time_num(%rip), %edx
	testl	%edx, %edx
	jle	.L13
	leaq	time_list(%rip), %rax
	subl	$1, %edx
	xorl	%r8d, %r8d
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rax), %edx
	addq	$4, %rax
	addl	%edx, %r8d
	cmpq	%rcx, %rax
	jne	.L9
.L8:
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	addq	$8, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L8
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	time_list
	.bss
	.align 32
	.type	time_list, @object
	.size	time_list, 400
time_list:
	.zero	400
	.globl	time_num
	.align 4
	.type	time_num, @object
	.size	time_num, 4
time_num:
	.zero	4
	.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	qsort_comp
	.type	qsort_comp, @function
qsort_comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	qsort_comp, .-qsort_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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
	leaq	qsort_comp(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	time_num(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	time_list(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L10
	movslq	time_num(%rip), %rsi
	movq	%rbp, %r13
	xorl	%r15d, %r15d
	testl	%esi, %esi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	time_num(%rip), %rsi
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L7
.L12:
	movl	$4, %edx
	movq	%r14, %rcx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	time_num(%rip), %edx
	testl	%edx, %edx
	jle	.L13
	leaq	time_list(%rip), %rax
	subl	$1, %edx
	xorl	%r8d, %r8d
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rax), %edx
	addq	$4, %rax
	addl	%edx, %r8d
	cmpq	%rcx, %rax
	jne	.L9
.L8:
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	addq	$8, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L8
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	time_list
	.bss
	.align 32
	.type	time_list, @object
	.size	time_list, 400
time_list:
	.zero	400
	.globl	time_num
	.align 4
	.type	time_num, @object
	.size	time_num, 4
time_num:
	.zero	4
	.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	qsort_comp
	.type	qsort_comp, @function
qsort_comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	qsort_comp, .-qsort_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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
	leaq	qsort_comp(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	time_num(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	time_list(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L10
	movslq	time_num(%rip), %rsi
	movq	%rbp, %r13
	xorl	%r15d, %r15d
	testl	%esi, %esi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	time_num(%rip), %rsi
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L7
.L12:
	movl	$4, %edx
	movq	%r14, %rcx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	time_num(%rip), %edx
	testl	%edx, %edx
	jle	.L13
	leaq	time_list(%rip), %rax
	subl	$1, %edx
	xorl	%r8d, %r8d
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rax), %edx
	addq	$4, %rax
	addl	%edx, %r8d
	cmpq	%rcx, %rax
	jne	.L9
.L8:
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	addq	$8, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L8
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	time_list
	.bss
	.align 32
	.type	time_list, @object
	.size	time_list, 400
time_list:
	.zero	400
	.globl	time_num
	.align 4
	.type	time_num, @object
	.size	time_num, 4
time_num:
	.zero	4
	.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 <stdlib.h>

int time_num;
int time_list[100];

int qsort_comp(const void* x,const void* y) {
	int* a=(int*)x;
	int* b=(int*)y;
	if(*a>*b)return 1;
	if(*a<*b)return -1;
	return 0;
}

int main(void) {
	int i;
	int time_sum;
	int result;
	while(scanf("%d",&time_num)==1) {
		for(i=0;i<time_num;i++)scanf("%d",&time_list[i]);
		qsort(time_list,time_num,sizeof(int),qsort_comp);
		for(i=0,result=0,time_sum=0;i<time_num;i++) {
			time_sum+=time_list[i];
			result+=time_sum;
		}
		printf("%d\n",result);
	}
	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 <stdlib.h>

int time_num;
int time_list[100];

int qsort_comp(const void* x,const void* y) {
	int* a=(int*)x;
	int* b=(int*)y;
	if(*a>*b)return 1;
	if(*a<*b)return -1;
	return 0;
}

int main(void) {
	int i;
	int time_sum;
	int result;
	while(scanf("%d",&time_num)==1) {
		for(i=0;i<time_num;i++)scanf("%d",&time_list[i]);
		qsort(time_list,time_num,sizeof(int),qsort_comp);
		for(i=0,result=0,time_sum=0;i<time_num;i++) {
			time_sum+=time_list[i];
			result+=time_sum;
		}
		printf("%d\n",result);
	}
	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:

3
10 20 30
7
56 26 62 43 38 80 7
 3
10 20 47
7
56 26 62 43 38 80 7
 3
19 20 47
7
56 26 62 43 38 80 7
 3
19 20 47
7
56 26 49 43 38 80 7
 3
19 20 2
7
56 26 49 43 38 80 7
 3
19 20 2
7
72 26 49 43 38 80 7
 3
19 20 2
7
72 26 49 43 38 80 3
 3
19 20 2
7
72 26 20 43 38 80 3
 3
19 20 2
7
72 26 20 43 66 80 3
 3
19 21 2
7
72 26 20 43 66 80 3

100
939
 117
939
 144
939
 144
906
 64
906
 64
938
 64
910
 64
776
 64
865
 65
865

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 <stdlib.h>

int time_num;
int time_list[100];

int qsort_comp(const void* x,const void* y) {
	int* a=(int*)x;
	int* b=(int*)y;
	if(*a>*b)return 1;
	if(*a<*b)return -1;
	return 0;
}

int main(void) {
	int i;
	int time_sum;
	int result;
	while(scanf("%d",&time_num)==1) {
		for(i=0;i<time_num;i++)scanf("%d",&time_list[i]);
		qsort(time_list,time_num,sizeof(int),qsort_comp);
		for(i=0,result=0,time_sum=0;i<time_num;i++) {
			time_sum+=time_list[i];
			result+=time_sum;
		}
		printf("%d\n",result);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	qsort_comp
	.type	qsort_comp, @function
qsort_comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	qsort_comp, .-qsort_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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
	leaq	qsort_comp(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	time_num(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	time_list(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L10
	movslq	time_num(%rip), %rsi
	movq	%rbp, %r13
	xorl	%r15d, %r15d
	testl	%esi, %esi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	time_num(%rip), %rsi
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L7
.L12:
	movl	$4, %edx
	movq	%r14, %rcx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	time_num(%rip), %edx
	testl	%edx, %edx
	jle	.L13
	leaq	time_list(%rip), %rax
	subl	$1, %edx
	xorl	%r8d, %r8d
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rax), %edx
	addq	$4, %rax
	addl	%edx, %r8d
	cmpq	%rcx, %rax
	jne	.L9
.L8:
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	addq	$8, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L8
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	time_list
	.bss
	.align 32
	.type	time_list, @object
	.size	time_list, 400
time_list:
	.zero	400
	.globl	time_num
	.align 4
	.type	time_num, @object
	.size	time_num, 4
time_num:
	.zero	4
	.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	qsort_comp
	.type	qsort_comp, @function
qsort_comp:
.LFB39:
	.cfi_startproc
	endbr64
	movl	(%rsi), %edx
	movl	$1, %eax
	cmpl	%edx, (%rdi)
	jg	.L1
	setl	%al
	movzbl	%al, %eax
	negl	%eax
.L1:
	ret
	.cfi_endproc
.LFE39:
	.size	qsort_comp, .-qsort_comp
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB40:
	.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
	leaq	qsort_comp(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	time_num(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	time_list(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC0(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L6:
	xorl	%eax, %eax
	movq	%r12, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$1, %eax
	jne	.L10
	movslq	time_num(%rip), %rsi
	movq	%rbp, %r13
	xorl	%r15d, %r15d
	testl	%esi, %esi
	jle	.L12
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movslq	time_num(%rip), %rsi
	addq	$4, %r13
	cmpl	%r15d, %esi
	jg	.L7
.L12:
	movl	$4, %edx
	movq	%r14, %rcx
	movq	%rbp, %rdi
	call	qsort@PLT
	movl	time_num(%rip), %edx
	testl	%edx, %edx
	jle	.L13
	leaq	time_list(%rip), %rax
	subl	$1, %edx
	xorl	%r8d, %r8d
	leaq	4(%rax), %rcx
	leaq	(%rcx,%rdx,4), %rcx
	xorl	%edx, %edx
	.p2align 4,,10
	.p2align 3
.L9:
	addl	(%rax), %edx
	addq	$4, %rax
	addl	%edx, %r8d
	cmpq	%rcx, %rax
	jne	.L9
.L8:
	movl	%r8d, %edx
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	addq	$8, %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
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	xorl	%r8d, %r8d
	jmp	.L8
	.cfi_endproc
.LFE40:
	.size	main, .-main
	.globl	time_list
	.bss
	.align 32
	.type	time_list, @object
	.size	time_list, 400
time_list:
	.zero	400
	.globl	time_num
	.align 4
	.type	time_num, @object
	.size	time_num, 4
time_num:
	.zero	4
	.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:
```