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>
int olds[6] = {10, 20, 30, 40, 50, 60};
int mans[7];
int main() {
	int N, I, i, x;
	while(1) {
		scanf("%d", &N);
		if(N == 0) break;
		for(i = 0; i < 7; ++ i) mans[i] = 0;
		for(I = 0; I < N; ++ I) {
			scanf("%d", &x);
			for(i = 0; i < 6 && x >= olds[i]; ++ i);
			mans[i] ++;
		}
		for(i = 0; i < 7; ++ i) printf("%d\n", mans[i]);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.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:
.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
	leaq	.LC1(%rip), %r14
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	mans(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	8(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	movq	$0, 16+mans(%rip)
	pxor	%xmm0, %xmm0
	movl	$0, 24+mans(%rip)
	movaps	%xmm0, (%rbx)
	jle	.L3
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	olds(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%eax, (%r12)
	jg	.L9
	cmpl	4+olds(%rip), %eax
	jl	.L10
	cmpl	8+olds(%rip), %eax
	jl	.L11
	cmpl	12+olds(%rip), %eax
	jl	.L12
	cmpl	16+olds(%rip), %eax
	jl	.L13
	cmpl	20+olds(%rip), %eax
	setge	%al
	movzbl	%al, %eax
	addl	$5, %eax
.L4:
	cltq
	addl	$1, %r15d
	addl	$1, (%rbx,%rax,4)
	cmpl	%r15d, 16(%rsp)
	jg	.L5
.L3:
	leaq	mans(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r12
	call	__printf_chk@PLT
	leaq	28+mans(%rip), %rax
	cmpq	%r12, %rax
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%eax, %eax
	jmp	.L4
.L10:
	movl	$1, %eax
	jmp	.L4
.L11:
	movl	$2, %eax
	jmp	.L4
.L12:
	movl	$3, %eax
	jmp	.L4
.L13:
	movl	$4, %eax
	jmp	.L4
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	mans
	.bss
	.align 16
	.type	mans, @object
	.size	mans, 28
mans:
	.zero	28
	.globl	olds
	.data
	.align 16
	.type	olds, @object
	.size	olds, 24
olds:
	.long	10
	.long	20
	.long	30
	.long	40
	.long	50
	.long	60
	.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"
.LC1:
	.string	"%d\n"
	.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
	leaq	.LC1(%rip), %r14
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	mans(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	8(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	movq	$0, 16+mans(%rip)
	pxor	%xmm0, %xmm0
	movl	$0, 24+mans(%rip)
	movaps	%xmm0, (%rbx)
	jle	.L3
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	olds(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%eax, (%r12)
	jg	.L9
	cmpl	4+olds(%rip), %eax
	jl	.L10
	cmpl	8+olds(%rip), %eax
	jl	.L11
	cmpl	12+olds(%rip), %eax
	jl	.L12
	cmpl	16+olds(%rip), %eax
	jl	.L13
	cmpl	20+olds(%rip), %eax
	setge	%al
	movzbl	%al, %eax
	addl	$5, %eax
.L4:
	cltq
	addl	$1, %r15d
	addl	$1, (%rbx,%rax,4)
	cmpl	%r15d, 16(%rsp)
	jg	.L5
.L3:
	leaq	mans(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r12
	call	__printf_chk@PLT
	leaq	28+mans(%rip), %rax
	cmpq	%r12, %rax
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%eax, %eax
	jmp	.L4
.L10:
	movl	$1, %eax
	jmp	.L4
.L11:
	movl	$2, %eax
	jmp	.L4
.L12:
	movl	$3, %eax
	jmp	.L4
.L13:
	movl	$4, %eax
	jmp	.L4
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	mans
	.bss
	.align 16
	.type	mans, @object
	.size	mans, 28
mans:
	.zero	28
	.globl	olds
	.data
	.align 16
	.type	olds, @object
	.size	olds, 24
olds:
	.long	10
	.long	20
	.long	30
	.long	40
	.long	50
	.long	60
	.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"
.LC1:
	.string	"%d\n"
	.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
	leaq	.LC1(%rip), %r14
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	mans(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	8(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	movq	$0, 16+mans(%rip)
	pxor	%xmm0, %xmm0
	movl	$0, 24+mans(%rip)
	movaps	%xmm0, (%rbx)
	jle	.L3
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	olds(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%eax, (%r12)
	jg	.L9
	cmpl	4+olds(%rip), %eax
	jl	.L10
	cmpl	8+olds(%rip), %eax
	jl	.L11
	cmpl	12+olds(%rip), %eax
	jl	.L12
	cmpl	16+olds(%rip), %eax
	jl	.L13
	cmpl	20+olds(%rip), %eax
	setge	%al
	movzbl	%al, %eax
	addl	$5, %eax
.L4:
	cltq
	addl	$1, %r15d
	addl	$1, (%rbx,%rax,4)
	cmpl	%r15d, 16(%rsp)
	jg	.L5
.L3:
	leaq	mans(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r12
	call	__printf_chk@PLT
	leaq	28+mans(%rip), %rax
	cmpq	%r12, %rax
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%eax, %eax
	jmp	.L4
.L10:
	movl	$1, %eax
	jmp	.L4
.L11:
	movl	$2, %eax
	jmp	.L4
.L12:
	movl	$3, %eax
	jmp	.L4
.L13:
	movl	$4, %eax
	jmp	.L4
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	mans
	.bss
	.align 16
	.type	mans, @object
	.size	mans, 28
mans:
	.zero	28
	.globl	olds
	.data
	.align 16
	.type	olds, @object
	.size	olds, 24
olds:
	.long	10
	.long	20
	.long	30
	.long	40
	.long	50
	.long	60
	.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>
int olds[6] = {10, 20, 30, 40, 50, 60};
int mans[7];
int main() {
	int N, I, i, x;
	while(1) {
		scanf("%d", &N);
		if(N == 0) break;
		for(i = 0; i < 7; ++ i) mans[i] = 0;
		for(I = 0; I < N; ++ I) {
			scanf("%d", &x);
			for(i = 0; i < 6 && x >= olds[i]; ++ i);
			mans[i] ++;
		}
		for(i = 0; i < 7; ++ i) printf("%d\n", mans[i]);
	}
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
int olds[6] = {10, 20, 30, 40, 50, 60};
int mans[7];
int main() {
	int N, I, i, x;
	while(1) {
		scanf("%d", &N);
		if(N == 0) break;
		for(i = 0; i < 7; ++ i) mans[i] = 0;
		for(I = 0; I < N; ++ I) {
			scanf("%d", &x);
			for(i = 0; i < 6 && x >= olds[i]; ++ i);
			mans[i] ++;
		}
		for(i = 0; i < 7; ++ i) printf("%d\n", mans[i]);
	}
	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:

8
71
34
65
11
41
39
3
5
4
67
81
78
65
0
 8
71
34
65
11
12
39
6
5
4
67
81
78
65
0
 8
71
34
65
0
41
39
3
5
4
67
81
78
65
0
 8
71
34
65
11
12
39
6
5
4
16
81
78
65
0
 8
71
34
65
0
41
39
3
5
4
67
81
78
21
0
 8
71
34
65
11
1
39
6
5
4
16
81
78
65
0
 8
71
67
65
0
41
39
3
5
4
67
81
78
21
0
 8
71
34
65
11
37
39
6
5
4
67
81
78
65
0
 8
71
34
65
0
41
39
3
5
4
67
13
78
21
0
 8
71
67
65
0
41
7
3
5
4
67
81
78
21
0

2
1
0
2
1
0
2
0
0
0
0
0
0
4
 2
2
0
2
0
0
2
0
0
0
0
0
0
4
 3
0
0
2
1
0
2
0
0
0
0
0
0
4
 2
2
0
2
0
0
2
0
1
0
0
0
0
3
 3
0
0
2
1
0
2
0
0
1
0
0
0
3
 3
1
0
2
0
0
2
0
1
0
0
0
0
3
 3
0
0
1
1
0
3
0
0
1
0
0
0
3
 2
1
0
3
0
0
2
0
0
0
0
0
0
4
 3
0
0
2
1
0
2
0
1
1
0
0
0
2
 4
0
0
0
1
0
3
0
0
1
0
0
0
3

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>
int olds[6] = {10, 20, 30, 40, 50, 60};
int mans[7];
int main() {
	int N, I, i, x;
	while(1) {
		scanf("%d", &N);
		if(N == 0) break;
		for(i = 0; i < 7; ++ i) mans[i] = 0;
		for(I = 0; I < N; ++ I) {
			scanf("%d", &x);
			for(i = 0; i < 6 && x >= olds[i]; ++ i);
			mans[i] ++;
		}
		for(i = 0; i < 7; ++ i) printf("%d\n", mans[i]);
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.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:
.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
	leaq	.LC1(%rip), %r14
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	mans(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	8(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	movq	$0, 16+mans(%rip)
	pxor	%xmm0, %xmm0
	movl	$0, 24+mans(%rip)
	movaps	%xmm0, (%rbx)
	jle	.L3
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	olds(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%eax, (%r12)
	jg	.L9
	cmpl	4+olds(%rip), %eax
	jl	.L10
	cmpl	8+olds(%rip), %eax
	jl	.L11
	cmpl	12+olds(%rip), %eax
	jl	.L12
	cmpl	16+olds(%rip), %eax
	jl	.L13
	cmpl	20+olds(%rip), %eax
	setge	%al
	movzbl	%al, %eax
	addl	$5, %eax
.L4:
	cltq
	addl	$1, %r15d
	addl	$1, (%rbx,%rax,4)
	cmpl	%r15d, 16(%rsp)
	jg	.L5
.L3:
	leaq	mans(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r12
	call	__printf_chk@PLT
	leaq	28+mans(%rip), %rax
	cmpq	%r12, %rax
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%eax, %eax
	jmp	.L4
.L10:
	movl	$1, %eax
	jmp	.L4
.L11:
	movl	$2, %eax
	jmp	.L4
.L12:
	movl	$3, %eax
	jmp	.L4
.L13:
	movl	$4, %eax
	jmp	.L4
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	mans
	.bss
	.align 16
	.type	mans, @object
	.size	mans, 28
mans:
	.zero	28
	.globl	olds
	.data
	.align 16
	.type	olds, @object
	.size	olds, 24
olds:
	.long	10
	.long	20
	.long	30
	.long	40
	.long	50
	.long	60
	.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"
.LC1:
	.string	"%d\n"
	.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
	leaq	.LC1(%rip), %r14
	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
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	mans(%rip), %rbx
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L7:
	movq	8(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	16(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	movq	$0, 16+mans(%rip)
	pxor	%xmm0, %xmm0
	movl	$0, 24+mans(%rip)
	movaps	%xmm0, (%rbx)
	jle	.L3
	xorl	%r15d, %r15d
	leaq	20(%rsp), %r13
	leaq	olds(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	cmpl	%eax, (%r12)
	jg	.L9
	cmpl	4+olds(%rip), %eax
	jl	.L10
	cmpl	8+olds(%rip), %eax
	jl	.L11
	cmpl	12+olds(%rip), %eax
	jl	.L12
	cmpl	16+olds(%rip), %eax
	jl	.L13
	cmpl	20+olds(%rip), %eax
	setge	%al
	movzbl	%al, %eax
	addl	$5, %eax
.L4:
	cltq
	addl	$1, %r15d
	addl	$1, (%rbx,%rax,4)
	cmpl	%r15d, 16(%rsp)
	jg	.L5
.L3:
	leaq	mans(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L6:
	movl	(%r12), %edx
	movq	%r14, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$4, %r12
	call	__printf_chk@PLT
	leaq	28+mans(%rip), %rax
	cmpq	%r12, %rax
	jne	.L6
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	xorl	%eax, %eax
	jmp	.L4
.L10:
	movl	$1, %eax
	jmp	.L4
.L11:
	movl	$2, %eax
	jmp	.L4
.L12:
	movl	$3, %eax
	jmp	.L4
.L13:
	movl	$4, %eax
	jmp	.L4
.L2:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$40, %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
.L19:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.globl	mans
	.bss
	.align 16
	.type	mans, @object
	.size	mans, 28
mans:
	.zero	28
	.globl	olds
	.data
	.align 16
	.type	olds, @object
	.size	olds, 24
olds:
	.long	10
	.long	20
	.long	30
	.long	40
	.long	50
	.long	60
	.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:
```