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>

void judge(int pm, int pe, int pj)
{
	char class;
	if(pm == 100 || pe == 100 || pj == 100){
		class='A';
	}else if(pm + pe >= 180){
		class='A';
	}else if(pm + pe + pj >= 240){
		class='A';
	}else if(pm + pe + pj >= 210){
		class='B';
	}else if(pm + pe + pj >= 150 && (pm >= 80 || pe >= 80)){
		class='B';
	}else{
		class='C';
	}
	printf("%c\n", class);
}
int main(void)
{
	int n,pm,pe,pj;
	
	while(1){
		scanf("%d", &n);
		if(n == 0){
			break;
		}
		while(n--){
			scanf("%d%d%d", &pm, &pe, &pj);
			judge(pm, pe, pj);
		}
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c\n"
	.text
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$100, %esi
	sete	%al
	cmpl	$100, %edx
	sete	%cl
	orb	%cl, %al
	jne	.L3
	cmpl	$100, %edi
	jne	.L9
.L3:
	movl	$65, %r8d
.L2:
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rdi,%rsi), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L2
	addl	%edx, %eax
	cmpl	$239, %eax
	jg	.L2
	movl	$66, %r8d
	cmpl	$209, %eax
	jg	.L2
	movl	$67, %r8d
	cmpl	$149, %eax
	jle	.L2
	cmpl	$79, %edi
	setg	%al
	cmpl	$79, %esi
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	jmp	.L2
	.cfi_endproc
.LFE23:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r15, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	subl	$1, %eax
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	movl	%eax, 8(%rsp)
	leaq	12(%rsp), %rbx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$100, %esi
	je	.L16
	leal	(%rdx,%rcx), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L12
	addl	%eax, %esi
	cmpl	$239, %esi
	jg	.L12
	movl	$66, %r8d
	cmpl	$209, %esi
	jg	.L12
	movl	$67, %r8d
	cmpl	$149, %esi
	jle	.L12
	cmpl	$79, %ecx
	setg	%al
	cmpl	$79, %edx
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r8d, %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L14
.L13:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %edx
	movl	20(%rsp), %esi
	cmpl	$100, %ecx
	sete	%al
	cmpl	$100, %edx
	sete	%dil
	orb	%dil, %al
	je	.L23
.L16:
	movl	$65, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	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
.L24:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"%c\n"
	.text
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$100, %esi
	sete	%al
	cmpl	$100, %edx
	sete	%cl
	orb	%cl, %al
	jne	.L3
	cmpl	$100, %edi
	jne	.L9
.L3:
	movl	$65, %r8d
.L2:
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rdi,%rsi), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L2
	addl	%edx, %eax
	cmpl	$239, %eax
	jg	.L2
	movl	$66, %r8d
	cmpl	$209, %eax
	jg	.L2
	movl	$67, %r8d
	cmpl	$149, %eax
	jle	.L2
	cmpl	$79, %edi
	setg	%al
	cmpl	$79, %esi
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	jmp	.L2
	.cfi_endproc
.LFE23:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r15, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	subl	$1, %eax
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	movl	%eax, 8(%rsp)
	leaq	12(%rsp), %rbx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$100, %esi
	je	.L16
	leal	(%rdx,%rcx), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L12
	addl	%eax, %esi
	cmpl	$239, %esi
	jg	.L12
	movl	$66, %r8d
	cmpl	$209, %esi
	jg	.L12
	movl	$67, %r8d
	cmpl	$149, %esi
	jle	.L12
	cmpl	$79, %ecx
	setg	%al
	cmpl	$79, %edx
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r8d, %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L14
.L13:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %edx
	movl	20(%rsp), %esi
	cmpl	$100, %ecx
	sete	%al
	cmpl	$100, %edx
	sete	%dil
	orb	%dil, %al
	je	.L23
.L16:
	movl	$65, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	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
.L24:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"%c\n"
	.text
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$100, %esi
	sete	%al
	cmpl	$100, %edx
	sete	%cl
	orb	%cl, %al
	jne	.L3
	cmpl	$100, %edi
	jne	.L9
.L3:
	movl	$65, %r8d
.L2:
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rdi,%rsi), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L2
	addl	%edx, %eax
	cmpl	$239, %eax
	jg	.L2
	movl	$66, %r8d
	cmpl	$209, %eax
	jg	.L2
	movl	$67, %r8d
	cmpl	$149, %eax
	jle	.L2
	cmpl	$79, %edi
	setg	%al
	cmpl	$79, %esi
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	jmp	.L2
	.cfi_endproc
.LFE23:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r15, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	subl	$1, %eax
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	movl	%eax, 8(%rsp)
	leaq	12(%rsp), %rbx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$100, %esi
	je	.L16
	leal	(%rdx,%rcx), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L12
	addl	%eax, %esi
	cmpl	$239, %esi
	jg	.L12
	movl	$66, %r8d
	cmpl	$209, %esi
	jg	.L12
	movl	$67, %r8d
	cmpl	$149, %esi
	jle	.L12
	cmpl	$79, %ecx
	setg	%al
	cmpl	$79, %edx
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r8d, %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L14
.L13:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %edx
	movl	20(%rsp), %esi
	cmpl	$100, %ecx
	sete	%al
	cmpl	$100, %edx
	sete	%dil
	orb	%dil, %al
	je	.L23
.L16:
	movl	$65, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	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
.L24:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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>

void judge(int pm, int pe, int pj)
{
	char class;
	if(pm == 100 || pe == 100 || pj == 100){
		class='A';
	}else if(pm + pe >= 180){
		class='A';
	}else if(pm + pe + pj >= 240){
		class='A';
	}else if(pm + pe + pj >= 210){
		class='B';
	}else if(pm + pe + pj >= 150 && (pm >= 80 || pe >= 80)){
		class='B';
	}else{
		class='C';
	}
	printf("%c\n", class);
}
int main(void)
{
	int n,pm,pe,pj;
	
	while(1){
		scanf("%d", &n);
		if(n == 0){
			break;
		}
		while(n--){
			scanf("%d%d%d", &pm, &pe, &pj);
			judge(pm, pe, pj);
		}
	}
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>

void judge(int pm, int pe, int pj)
{
	char class;
	if(pm == 100 || pe == 100 || pj == 100){
		class='A';
	}else if(pm + pe >= 180){
		class='A';
	}else if(pm + pe + pj >= 240){
		class='A';
	}else if(pm + pe + pj >= 210){
		class='B';
	}else if(pm + pe + pj >= 150 && (pm >= 80 || pe >= 80)){
		class='B';
	}else{
		class='C';
	}
	printf("%c\n", class);
}
int main(void)
{
	int n,pm,pe,pj;
	
	while(1){
		scanf("%d", &n);
		if(n == 0){
			break;
		}
		while(n--){
			scanf("%d%d%d", &pm, &pe, &pj);
			judge(pm, pe, pj);
		}
	}
	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>

void judge(int pm, int pe, int pj)
{
	char class;
	if(pm == 100 || pe == 100 || pj == 100){
		class='A';
	}else if(pm + pe >= 180){
		class='A';
	}else if(pm + pe + pj >= 240){
		class='A';
	}else if(pm + pe + pj >= 210){
		class='B';
	}else if(pm + pe + pj >= 150 && (pm >= 80 || pe >= 80)){
		class='B';
	}else{
		class='C';
	}
	printf("%c\n", class);
}
int main(void)
{
	int n,pm,pe,pj;
	
	while(1){
		scanf("%d", &n);
		if(n == 0){
			break;
		}
		while(n--){
			scanf("%d%d%d", &pm, &pe, &pj);
			judge(pm, pe, pj);
		}
	}
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c\n"
	.text
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$100, %esi
	sete	%al
	cmpl	$100, %edx
	sete	%cl
	orb	%cl, %al
	jne	.L3
	cmpl	$100, %edi
	jne	.L9
.L3:
	movl	$65, %r8d
.L2:
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rdi,%rsi), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L2
	addl	%edx, %eax
	cmpl	$239, %eax
	jg	.L2
	movl	$66, %r8d
	cmpl	$209, %eax
	jg	.L2
	movl	$67, %r8d
	cmpl	$149, %eax
	jle	.L2
	cmpl	$79, %edi
	setg	%al
	cmpl	$79, %esi
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	jmp	.L2
	.cfi_endproc
.LFE23:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r15, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	subl	$1, %eax
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	movl	%eax, 8(%rsp)
	leaq	12(%rsp), %rbx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$100, %esi
	je	.L16
	leal	(%rdx,%rcx), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L12
	addl	%eax, %esi
	cmpl	$239, %esi
	jg	.L12
	movl	$66, %r8d
	cmpl	$209, %esi
	jg	.L12
	movl	$67, %r8d
	cmpl	$149, %esi
	jle	.L12
	cmpl	$79, %ecx
	setg	%al
	cmpl	$79, %edx
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r8d, %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L14
.L13:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %edx
	movl	20(%rsp), %esi
	cmpl	$100, %ecx
	sete	%al
	cmpl	$100, %edx
	sete	%dil
	orb	%dil, %al
	je	.L23
.L16:
	movl	$65, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	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
.L24:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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	"%c\n"
	.text
	.p2align 4
	.globl	judge
	.type	judge, @function
judge:
.LFB23:
	.cfi_startproc
	endbr64
	cmpl	$100, %esi
	sete	%al
	cmpl	$100, %edx
	sete	%cl
	orb	%cl, %al
	jne	.L3
	cmpl	$100, %edi
	jne	.L9
.L3:
	movl	$65, %r8d
.L2:
	movl	%r8d, %edx
	leaq	.LC0(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	jmp	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	leal	(%rdi,%rsi), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L2
	addl	%edx, %eax
	cmpl	$239, %eax
	jg	.L2
	movl	$66, %r8d
	cmpl	$209, %eax
	jg	.L2
	movl	$67, %r8d
	cmpl	$149, %eax
	jle	.L2
	cmpl	$79, %edi
	setg	%al
	cmpl	$79, %esi
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	jmp	.L2
	.cfi_endproc
.LFE23:
	.size	judge, .-judge
	.section	.rodata.str1.1
.LC1:
	.string	"%d"
.LC2:
	.string	"%d%d%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.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	.LC2(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	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	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %r15
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%r15, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %eax
	testl	%eax, %eax
	je	.L11
	subl	$1, %eax
	leaq	20(%rsp), %r12
	leaq	16(%rsp), %rbp
	movl	%eax, 8(%rsp)
	leaq	12(%rsp), %rbx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	cmpl	$100, %esi
	je	.L16
	leal	(%rdx,%rcx), %eax
	movl	$65, %r8d
	cmpl	$179, %eax
	jg	.L12
	addl	%eax, %esi
	cmpl	$239, %esi
	jg	.L12
	movl	$66, %r8d
	cmpl	$209, %esi
	jg	.L12
	movl	$67, %r8d
	cmpl	$149, %esi
	jle	.L12
	cmpl	$79, %ecx
	setg	%al
	cmpl	$79, %edx
	setg	%dl
	orl	%edx, %eax
	movzbl	%al, %eax
	subl	%eax, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movl	%r8d, %edx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	movl	8(%rsp), %eax
	leal	-1(%rax), %edx
	movl	%edx, 8(%rsp)
	testl	%eax, %eax
	je	.L14
.L13:
	movq	%r12, %rcx
	movq	%rbp, %rdx
	movq	%rbx, %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ecx
	movl	16(%rsp), %edx
	movl	20(%rsp), %esi
	cmpl	$100, %ecx
	sete	%al
	cmpl	$100, %edx
	sete	%dil
	orb	%dil, %al
	je	.L23
.L16:
	movl	$65, %r8d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L24
	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
.L24:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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:
```