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 main(void)
{
	int n;
	int x, y, h, w;
	int sum;
	int kane = 0;
	int i;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d %d %d %d", &x, &y, &h, &w);
			
			sum = x + y + h;
			
			if ((sum <= 60) && (w <= 2)){
				kane += 600;
			}
			else if ((sum <= 80) && (w <= 5)){
				kane += 800;
			}
			else if ((sum <= 100) && (w <= 10)){
				kane += 1000;
			}
			else if ((sum <= 120) && (w <= 15)){
				kane += 1200;
			}
			else if ((sum <= 140) && (w <= 20)){
				kane += 1400;
			}
			else if ((sum <= 160) && (w <= 25)){
				kane += 1600;
			}
		}
		printf("%d\n", kane);
		kane = 0;
	}
	
	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.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
	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
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	36(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L18
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbp
	leaq	24(%rsp), %rbx
	xorl	%r12d, %r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L22:
	movl	36(%rsp), %eax
	cmpl	$2, %eax
	jg	.L5
	addl	$600, %r12d
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jle	.L3
.L15:
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addl	24(%rsp), %eax
	addl	32(%rsp), %eax
	cmpl	$60, %eax
	jle	.L22
	cmpl	$80, %eax
	jle	.L23
	cmpl	$100, %eax
	jle	.L24
	cmpl	$120, %eax
	jle	.L25
	cmpl	$140, %eax
	jle	.L26
	cmpl	$160, %eax
	jg	.L6
	movl	36(%rsp), %eax
.L14:
	cmpl	$26, %eax
	leal	1600(%r12), %edx
	cmovl	%edx, %r12d
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L15
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%r12d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	36(%rsp), %eax
.L5:
	cmpl	$5, %eax
	jg	.L8
	addl	$800, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	movl	36(%rsp), %eax
.L8:
	cmpl	$10, %eax
	jg	.L10
	addl	$1000, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	movl	36(%rsp), %eax
.L10:
	cmpl	$15, %eax
	jg	.L12
	addl	$1200, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	movl	36(%rsp), %eax
.L12:
	cmpl	$20, %eax
	jg	.L14
	addl	$1400, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %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
.L18:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L27:
	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:
```

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 %d %d %d"
.LC2:
	.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
	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
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	36(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L18
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbp
	leaq	24(%rsp), %rbx
	xorl	%r12d, %r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L22:
	movl	36(%rsp), %eax
	cmpl	$2, %eax
	jg	.L5
	addl	$600, %r12d
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jle	.L3
.L15:
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addl	24(%rsp), %eax
	addl	32(%rsp), %eax
	cmpl	$60, %eax
	jle	.L22
	cmpl	$80, %eax
	jle	.L23
	cmpl	$100, %eax
	jle	.L24
	cmpl	$120, %eax
	jle	.L25
	cmpl	$140, %eax
	jle	.L26
	cmpl	$160, %eax
	jg	.L6
	movl	36(%rsp), %eax
.L14:
	cmpl	$26, %eax
	leal	1600(%r12), %edx
	cmovl	%edx, %r12d
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L15
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%r12d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	36(%rsp), %eax
.L5:
	cmpl	$5, %eax
	jg	.L8
	addl	$800, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	movl	36(%rsp), %eax
.L8:
	cmpl	$10, %eax
	jg	.L10
	addl	$1000, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	movl	36(%rsp), %eax
.L10:
	cmpl	$15, %eax
	jg	.L12
	addl	$1200, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	movl	36(%rsp), %eax
.L12:
	cmpl	$20, %eax
	jg	.L14
	addl	$1400, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %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
.L18:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L27:
	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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.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
	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
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	36(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L18
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbp
	leaq	24(%rsp), %rbx
	xorl	%r12d, %r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L22:
	movl	36(%rsp), %eax
	cmpl	$2, %eax
	jg	.L5
	addl	$600, %r12d
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jle	.L3
.L15:
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addl	24(%rsp), %eax
	addl	32(%rsp), %eax
	cmpl	$60, %eax
	jle	.L22
	cmpl	$80, %eax
	jle	.L23
	cmpl	$100, %eax
	jle	.L24
	cmpl	$120, %eax
	jle	.L25
	cmpl	$140, %eax
	jle	.L26
	cmpl	$160, %eax
	jg	.L6
	movl	36(%rsp), %eax
.L14:
	cmpl	$26, %eax
	leal	1600(%r12), %edx
	cmovl	%edx, %r12d
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L15
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%r12d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	36(%rsp), %eax
.L5:
	cmpl	$5, %eax
	jg	.L8
	addl	$800, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	movl	36(%rsp), %eax
.L8:
	cmpl	$10, %eax
	jg	.L10
	addl	$1000, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	movl	36(%rsp), %eax
.L10:
	cmpl	$15, %eax
	jg	.L12
	addl	$1200, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	movl	36(%rsp), %eax
.L12:
	cmpl	$20, %eax
	jg	.L14
	addl	$1400, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %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
.L18:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L27:
	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:
```
```c
#include <stdio.h>

int main(void)
{
	int n;
	int x, y, h, w;
	int sum;
	int kane = 0;
	int i;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d %d %d %d", &x, &y, &h, &w);
			
			sum = x + y + h;
			
			if ((sum <= 60) && (w <= 2)){
				kane += 600;
			}
			else if ((sum <= 80) && (w <= 5)){
				kane += 800;
			}
			else if ((sum <= 100) && (w <= 10)){
				kane += 1000;
			}
			else if ((sum <= 120) && (w <= 15)){
				kane += 1200;
			}
			else if ((sum <= 140) && (w <= 20)){
				kane += 1400;
			}
			else if ((sum <= 160) && (w <= 25)){
				kane += 1600;
			}
		}
		printf("%d\n", kane);
		kane = 0;
	}
	
	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 main(void)
{
	int n;
	int x, y, h, w;
	int sum;
	int kane = 0;
	int i;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d %d %d %d", &x, &y, &h, &w);
			
			sum = x + y + h;
			
			if ((sum <= 60) && (w <= 2)){
				kane += 600;
			}
			else if ((sum <= 80) && (w <= 5)){
				kane += 800;
			}
			else if ((sum <= 100) && (w <= 10)){
				kane += 1000;
			}
			else if ((sum <= 120) && (w <= 15)){
				kane += 1200;
			}
			else if ((sum <= 140) && (w <= 20)){
				kane += 1400;
			}
			else if ((sum <= 160) && (w <= 25)){
				kane += 1600;
			}
		}
		printf("%d\n", kane);
		kane = 0;
	}
	
	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:

2
50 25 5 5
80 60 10 30
3
10 7 25 24
5 8 12 5
30 30 30 18
0
 2
50 25 5 5
80 60 10 30
3
10 7 25 24
5 8 12 5
30 30 30 3
0
 2
50 25 5 5
135 60 10 30
3
10 7 25 24
5 8 13 5
30 30 30 14
0
 2
50 36 5 5
135 60 8 30
3
10 8 25 24
5 1 13 5
30 30 30 14
0
 2
74 2 5 5
80 82 1 0
0
7 2 0 24
2 -1 12 3
30 30 -1 11
0
 2
74 2 3 5
115 94 1 0
0
7 2 0 24
2 -1 12 3
54 30 -2 11
0
 2
50 34 5 5
80 60 10 30
3
10 15 25 24
5 8 12 5
30 30 30 18
0
 2
50 1 5 2
80 60 10 30
3
10 15 25 24
5 8 12 5
30 30 30 18
0
 2
86 25 5 5
135 60 10 30
3
10 8 25 24
5 8 13 5
30 30 30 14
0
 2
51 1 5 5
80 95 3 30
3
10 15 25 47
2 12 12 3
30 30 30 11
0

800
3800
 800
3400
 800
3600
 1000
3600
 1000
 800
 1000
3800
 600
3800
 1200
3600
 800
2000

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 main(void)
{
	int n;
	int x, y, h, w;
	int sum;
	int kane = 0;
	int i;
	
	while (1){
		scanf("%d", &n);
		if (n == 0){
			break;
		}
		for (i = 0; i < n; i++){
			scanf("%d %d %d %d", &x, &y, &h, &w);
			
			sum = x + y + h;
			
			if ((sum <= 60) && (w <= 2)){
				kane += 600;
			}
			else if ((sum <= 80) && (w <= 5)){
				kane += 800;
			}
			else if ((sum <= 100) && (w <= 10)){
				kane += 1000;
			}
			else if ((sum <= 120) && (w <= 15)){
				kane += 1200;
			}
			else if ((sum <= 140) && (w <= 20)){
				kane += 1400;
			}
			else if ((sum <= 160) && (w <= 25)){
				kane += 1600;
			}
		}
		printf("%d\n", kane);
		kane = 0;
	}
	
	return (0);
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%d %d %d %d"
.LC2:
	.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
	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
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	36(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L18
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbp
	leaq	24(%rsp), %rbx
	xorl	%r12d, %r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L22:
	movl	36(%rsp), %eax
	cmpl	$2, %eax
	jg	.L5
	addl	$600, %r12d
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jle	.L3
.L15:
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addl	24(%rsp), %eax
	addl	32(%rsp), %eax
	cmpl	$60, %eax
	jle	.L22
	cmpl	$80, %eax
	jle	.L23
	cmpl	$100, %eax
	jle	.L24
	cmpl	$120, %eax
	jle	.L25
	cmpl	$140, %eax
	jle	.L26
	cmpl	$160, %eax
	jg	.L6
	movl	36(%rsp), %eax
.L14:
	cmpl	$26, %eax
	leal	1600(%r12), %edx
	cmovl	%edx, %r12d
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L15
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%r12d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	36(%rsp), %eax
.L5:
	cmpl	$5, %eax
	jg	.L8
	addl	$800, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	movl	36(%rsp), %eax
.L8:
	cmpl	$10, %eax
	jg	.L10
	addl	$1000, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	movl	36(%rsp), %eax
.L10:
	cmpl	$15, %eax
	jg	.L12
	addl	$1200, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	movl	36(%rsp), %eax
.L12:
	cmpl	$20, %eax
	jg	.L14
	addl	$1400, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %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
.L18:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L27:
	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:
```

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 %d %d %d"
.LC2:
	.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
	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
	subq	$56, %rsp
	.cfi_def_cfa_offset 112
	movq	%fs:40, %rax
	movq	%rax, 40(%rsp)
	xorl	%eax, %eax
	leaq	20(%rsp), %rax
	leaq	36(%rsp), %r15
	movq	%rax, 8(%rsp)
	leaq	32(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L16:
	movq	8(%rsp), %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	20(%rsp), %eax
	testl	%eax, %eax
	je	.L2
	jle	.L18
	xorl	%r13d, %r13d
	leaq	28(%rsp), %rbp
	leaq	24(%rsp), %rbx
	xorl	%r12d, %r12d
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L22:
	movl	36(%rsp), %eax
	cmpl	$2, %eax
	jg	.L5
	addl	$600, %r12d
.L6:
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jle	.L3
.L15:
	movq	%r15, %r8
	movq	%r14, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	addl	24(%rsp), %eax
	addl	32(%rsp), %eax
	cmpl	$60, %eax
	jle	.L22
	cmpl	$80, %eax
	jle	.L23
	cmpl	$100, %eax
	jle	.L24
	cmpl	$120, %eax
	jle	.L25
	cmpl	$140, %eax
	jle	.L26
	cmpl	$160, %eax
	jg	.L6
	movl	36(%rsp), %eax
.L14:
	cmpl	$26, %eax
	leal	1600(%r12), %edx
	cmovl	%edx, %r12d
	addl	$1, %r13d
	cmpl	%r13d, 20(%rsp)
	jg	.L15
	.p2align 4,,10
	.p2align 3
.L3:
	movl	%r12d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L23:
	movl	36(%rsp), %eax
.L5:
	cmpl	$5, %eax
	jg	.L8
	addl	$800, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L24:
	movl	36(%rsp), %eax
.L8:
	cmpl	$10, %eax
	jg	.L10
	addl	$1000, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	movl	36(%rsp), %eax
.L10:
	cmpl	$15, %eax
	jg	.L12
	addl	$1200, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L26:
	movl	36(%rsp), %eax
.L12:
	cmpl	$20, %eax
	jg	.L14
	addl	$1400, %r12d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L2:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L27
	addq	$56, %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
.L18:
	.cfi_restore_state
	xorl	%r12d, %r12d
	jmp	.L3
.L27:
	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:
```