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 i;
	int mat,eng,jpn;
	while(scanf("%d",&n)){
		if(n == 0){
			break;
		}
		for(i = 0;i < n;i++){
			scanf("%d %d %d",&mat,&eng,&jpn);
			if(mat == 100 || eng == 100 || jpn == 100 || (mat + eng) / 2 >= 90 || (eng + mat + jpn) / 3 >= 80){
				printf("A\n");
			}
			else if((mat + eng + jpn) / 3 >= 70 || ((mat + eng + jpn) / 3 >= 50 && (mat >= 80 || eng >= 80))){
				printf("B\n");
			}
			else{
				printf("C\n");
			}
		}
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"A"
.LC2:
	.string	"B"
.LC3:
	.string	"C"
.LC4:
	.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
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%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
	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	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L2
	xorl	%ebx, %ebx
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	movl	36(%rsp), %ecx
	cmpl	$100, %ecx
	je	.L5
	leal	(%rax,%rdx), %esi
	cmpl	$179, %esi
	jg	.L5
	addl	%esi, %ecx
	cmpl	$239, %ecx
	jg	.L5
	cmpl	$209, %ecx
	jg	.L8
	cmpl	$149, %ecx
	jle	.L9
	cmpl	$79, %eax
	jg	.L8
	cmpl	$79, %edx
	jle	.L9
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ebx
	cmpl	%ebx, 24(%rsp)
	jle	.L2
.L11:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$100, %eax
	je	.L5
	movl	32(%rsp), %edx
	cmpl	$100, %edx
	jne	.L32
.L5:
	movq	%r15, %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	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
.L33:
	.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:
```

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 %d %d"
.LC1:
	.string	"A"
.LC2:
	.string	"B"
.LC3:
	.string	"C"
.LC4:
	.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
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%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
	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	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L2
	xorl	%ebx, %ebx
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	movl	36(%rsp), %ecx
	cmpl	$100, %ecx
	je	.L5
	leal	(%rax,%rdx), %esi
	cmpl	$179, %esi
	jg	.L5
	addl	%esi, %ecx
	cmpl	$239, %ecx
	jg	.L5
	cmpl	$209, %ecx
	jg	.L8
	cmpl	$149, %ecx
	jle	.L9
	cmpl	$79, %eax
	jg	.L8
	cmpl	$79, %edx
	jle	.L9
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ebx
	cmpl	%ebx, 24(%rsp)
	jle	.L2
.L11:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$100, %eax
	je	.L5
	movl	32(%rsp), %edx
	cmpl	$100, %edx
	jne	.L32
.L5:
	movq	%r15, %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	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
.L33:
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"A"
.LC2:
	.string	"B"
.LC3:
	.string	"C"
.LC4:
	.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
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%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
	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	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L2
	xorl	%ebx, %ebx
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	movl	36(%rsp), %ecx
	cmpl	$100, %ecx
	je	.L5
	leal	(%rax,%rdx), %esi
	cmpl	$179, %esi
	jg	.L5
	addl	%esi, %ecx
	cmpl	$239, %ecx
	jg	.L5
	cmpl	$209, %ecx
	jg	.L8
	cmpl	$149, %ecx
	jle	.L9
	cmpl	$79, %eax
	jg	.L8
	cmpl	$79, %edx
	jle	.L9
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ebx
	cmpl	%ebx, 24(%rsp)
	jle	.L2
.L11:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$100, %eax
	je	.L5
	movl	32(%rsp), %edx
	cmpl	$100, %edx
	jne	.L32
.L5:
	movq	%r15, %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	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
.L33:
	.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:
```
```c
#include<stdio.h>
int main(void){
	int n;
	int i;
	int mat,eng,jpn;
	while(scanf("%d",&n)){
		if(n == 0){
			break;
		}
		for(i = 0;i < n;i++){
			scanf("%d %d %d",&mat,&eng,&jpn);
			if(mat == 100 || eng == 100 || jpn == 100 || (mat + eng) / 2 >= 90 || (eng + mat + jpn) / 3 >= 80){
				printf("A\n");
			}
			else if((mat + eng + jpn) / 3 >= 70 || ((mat + eng + jpn) / 3 >= 50 && (mat >= 80 || eng >= 80))){
				printf("B\n");
			}
			else{
				printf("C\n");
			}
		}
	}
	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 i;
	int mat,eng,jpn;
	while(scanf("%d",&n)){
		if(n == 0){
			break;
		}
		for(i = 0;i < n;i++){
			scanf("%d %d %d",&mat,&eng,&jpn);
			if(mat == 100 || eng == 100 || jpn == 100 || (mat + eng) / 2 >= 90 || (eng + mat + jpn) / 3 >= 80){
				printf("A\n");
			}
			else if((mat + eng + jpn) / 3 >= 70 || ((mat + eng + jpn) / 3 >= 50 && (mat >= 80 || eng >= 80))){
				printf("B\n");
			}
			else{
				printf("C\n");
			}
		}
	}
	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:

4
100 70 20
98 86 55
80 34 39
65 79 65
2
99 81 20
66 72 90
0
 4
100 70 20
98 86 55
80 34 36
65 140 65
2
99 81 20
66 72 90
0
 4
100 70 20
98 86 19
80 34 39
65 79 65
2
99 75 20
66 72 90
0
 4
010 70 20
98 86 19
80 34 39
65 79 65
2
120 81 20
66 72 90
0
 4
010 133 20
98 86 19
80 34 39
65 79 65
2
120 81 20
66 72 90
0
 4
110 74 20
98 86 19
80 34 64
65 79 65
2
120 81 20
66 110 90
0
 4
100 70 20
143 86 55
80 34 20
65 53 65
2
99 81 20
66 72 90
0
 4
110 16 20
98 86 19
80 8 39
65 79 65
2
99 81 9
66 72 90
0
 4
010 133 20
98 86 19
80 34 39
65 79 65
2
120 81 20
66 47 90
0
 4
100 70 20
98 86 55
80 34 36
65 140 94
2
99 113 20
110 72 90
0

A
A
B
C
A
B
 A
A
B
A
A
B
 A
A
B
C
B
B
 C
A
B
C
A
B
 B
A
B
C
A
B
 A
A
B
C
A
A
 A
A
C
C
A
B
 C
A
C
C
A
B
 B
A
B
C
A
C
 A
A
B
A
A
A

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 i;
	int mat,eng,jpn;
	while(scanf("%d",&n)){
		if(n == 0){
			break;
		}
		for(i = 0;i < n;i++){
			scanf("%d %d %d",&mat,&eng,&jpn);
			if(mat == 100 || eng == 100 || jpn == 100 || (mat + eng) / 2 >= 90 || (eng + mat + jpn) / 3 >= 80){
				printf("A\n");
			}
			else if((mat + eng + jpn) / 3 >= 70 || ((mat + eng + jpn) / 3 >= 50 && (mat >= 80 || eng >= 80))){
				printf("B\n");
			}
			else{
				printf("C\n");
			}
		}
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d %d %d"
.LC1:
	.string	"A"
.LC2:
	.string	"B"
.LC3:
	.string	"C"
.LC4:
	.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
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%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
	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	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L2
	xorl	%ebx, %ebx
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	movl	36(%rsp), %ecx
	cmpl	$100, %ecx
	je	.L5
	leal	(%rax,%rdx), %esi
	cmpl	$179, %esi
	jg	.L5
	addl	%esi, %ecx
	cmpl	$239, %ecx
	jg	.L5
	cmpl	$209, %ecx
	jg	.L8
	cmpl	$149, %ecx
	jle	.L9
	cmpl	$79, %eax
	jg	.L8
	cmpl	$79, %edx
	jle	.L9
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ebx
	cmpl	%ebx, 24(%rsp)
	jle	.L2
.L11:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$100, %eax
	je	.L5
	movl	32(%rsp), %edx
	cmpl	$100, %edx
	jne	.L32
.L5:
	movq	%r15, %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	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
.L33:
	.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:
```

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 %d %d"
.LC1:
	.string	"A"
.LC2:
	.string	"B"
.LC3:
	.string	"C"
.LC4:
	.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
	leaq	.LC1(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC0(%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
	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	24(%rsp), %rax
	movq	%rax, 8(%rsp)
	.p2align 4,,10
	.p2align 3
.L2:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	leaq	.LC4(%rip), %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L3
	movl	24(%rsp), %eax
	testl	%eax, %eax
	je	.L3
	jle	.L2
	xorl	%ebx, %ebx
	leaq	36(%rsp), %r13
	leaq	32(%rsp), %r12
	leaq	28(%rsp), %rbp
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L32:
	movl	36(%rsp), %ecx
	cmpl	$100, %ecx
	je	.L5
	leal	(%rax,%rdx), %esi
	cmpl	$179, %esi
	jg	.L5
	addl	%esi, %ecx
	cmpl	$239, %ecx
	jg	.L5
	cmpl	$209, %ecx
	jg	.L8
	cmpl	$149, %ecx
	jle	.L9
	cmpl	$79, %eax
	jg	.L8
	cmpl	$79, %edx
	jle	.L9
.L8:
	leaq	.LC2(%rip), %rdi
	call	puts@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %ebx
	cmpl	%ebx, 24(%rsp)
	jle	.L2
.L11:
	movq	%r13, %rcx
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	cmpl	$100, %eax
	je	.L5
	movl	32(%rsp), %edx
	cmpl	$100, %edx
	jne	.L32
.L5:
	movq	%r15, %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	leaq	.LC3(%rip), %rdi
	call	puts@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	movq	40(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	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
.L33:
	.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:
```