Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<math.h>
int main(){
int i,r,g,b,y[9],sum,ans;
int a[9][4]={{0,0,0},{0,0,255},{0,255,0},
              {0,255,255},{255,0,0},{255,0,255},
              {255,255,0},{255,255,255}};              
char z[8];
double min=1000000,dk,dka;
while(1){
scanf("%c",&z[0]);
if(z[0]=='0'){
break;
}
for(i=1;i<7;i++){
scanf("%c",&z[i]);
}
scanf("\n");
for(i=1;i<7;i++){
if(z[i]=='a'){
y[i]=10;
}
else if(z[i]=='b'){
y[i]=11;
}
else if(z[i]=='c'){
y[i]=12;
}
else if(z[i]=='d'){
y[i]=13;
}
else if(z[i]=='e'){
y[i]=14;
}
else if(z[i]=='f'){
y[i]=15;
}
else{
y[i]=z[i]-'0';
}
}
r=16*y[1]+y[2];
g=16*y[3]+y[4];
b=16*y[5]+y[6];
for(i=0;i<8;i++){
sum=(r-a[i][0])*(r-a[i][0])+(g-a[i][1])*(g-a[i][1])+(b-a[i][2])*(b-a[i][2]);
dka=sum;
dk=sqrt(dka);
if(dk<min){
min=dk;
ans=i;
}
}
min=1000000;
if(ans==0){
printf("black\n");
}
else if(ans==1){
printf("blue\n");
}
else if(ans==2){
printf("lime\n");
}
else if(ans==3){
printf("aqua\n");
}
else if(ans==4){
printf("red\n");
}
else if(ans==5){
printf("fuchsia\n");
}
else if(ans==6){
printf("yellow\n");
}
else if(ans==7){
printf("white\n");
}
}
return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC1:
	.string	"%c"
.LC2:
	.string	"\n"
.LC3:
	.string	"black"
.LC4:
	.string	"blue"
.LC5:
	.string	"lime"
.LC6:
	.string	"aqua"
.LC7:
	.string	"red"
.LC8:
	.string	"fuchsia"
.LC9:
	.string	"yellow"
.LC10:
	.string	"white"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$256, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-160(%rbp), %rdx
	movl	$0, %eax
	movl	$18, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$255, -136(%rbp)
	movl	$255, -124(%rbp)
	movl	$255, -108(%rbp)
	movl	$255, -104(%rbp)
	movl	$255, -96(%rbp)
	movl	$255, -80(%rbp)
	movl	$255, -72(%rbp)
	movl	$255, -64(%rbp)
	movl	$255, -60(%rbp)
	movl	$255, -48(%rbp)
	movl	$255, -44(%rbp)
	movl	$255, -40(%rbp)
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -232(%rbp)
.L27:
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-16(%rbp), %eax
	cmpb	$48, %al
	je	.L32
	movl	$1, -256(%rbp)
	jmp	.L4
.L5:
	leaq	-16(%rbp), %rdx
	movl	-256(%rbp), %eax
	cltq
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -256(%rbp)
.L4:
	cmpl	$6, -256(%rbp)
	jle	.L5
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -256(%rbp)
	jmp	.L6
.L14:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L7
	movl	-256(%rbp), %eax
	cltq
	movl	$10, -208(%rbp,%rax,4)
	jmp	.L8
.L7:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L9
	movl	-256(%rbp), %eax
	cltq
	movl	$11, -208(%rbp,%rax,4)
	jmp	.L8
.L9:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L10
	movl	-256(%rbp), %eax
	cltq
	movl	$12, -208(%rbp,%rax,4)
	jmp	.L8
.L10:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$100, %al
	jne	.L11
	movl	-256(%rbp), %eax
	cltq
	movl	$13, -208(%rbp,%rax,4)
	jmp	.L8
.L11:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L12
	movl	-256(%rbp), %eax
	cltq
	movl	$14, -208(%rbp,%rax,4)
	jmp	.L8
.L12:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$102, %al
	jne	.L13
	movl	-256(%rbp), %eax
	cltq
	movl	$15, -208(%rbp,%rax,4)
	jmp	.L8
.L13:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-256(%rbp), %eax
	cltq
	movl	%edx, -208(%rbp,%rax,4)
.L8:
	addl	$1, -256(%rbp)
.L6:
	cmpl	$6, -256(%rbp)
	jle	.L14
	movl	-204(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-200(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -248(%rbp)
	movl	-196(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-192(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -244(%rbp)
	movl	-188(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-184(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -240(%rbp)
	movl	$0, -256(%rbp)
	jmp	.L15
.L18:
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$160, %rax
	movl	(%rax), %ecx
	movl	-248(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$160, %rax
	movl	(%rax), %ecx
	movl	-248(%rbp), %eax
	subl	%ecx, %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$156, %rax
	movl	(%rax), %esi
	movl	-244(%rbp), %eax
	subl	%esi, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$156, %rax
	movl	(%rax), %esi
	movl	-244(%rbp), %eax
	subl	%esi, %eax
	imull	%edx, %eax
	leal	(%rcx,%rax), %esi
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$152, %rax
	movl	(%rax), %ecx
	movl	-240(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$152, %rax
	movl	(%rax), %ecx
	movl	-240(%rbp), %eax
	subl	%ecx, %eax
	imull	%edx, %eax
	addl	%esi, %eax
	movl	%eax, -236(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-236(%rbp), %xmm0
	movsd	%xmm0, -224(%rbp)
	movq	-224(%rbp), %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -216(%rbp)
	movsd	-232(%rbp), %xmm0
	comisd	-216(%rbp), %xmm0
	jbe	.L16
	movsd	-216(%rbp), %xmm0
	movsd	%xmm0, -232(%rbp)
	movl	-256(%rbp), %eax
	movl	%eax, -252(%rbp)
.L16:
	addl	$1, -256(%rbp)
.L15:
	cmpl	$7, -256(%rbp)
	jle	.L18
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -232(%rbp)
	cmpl	$0, -252(%rbp)
	jne	.L19
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L19:
	cmpl	$1, -252(%rbp)
	jne	.L21
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L21:
	cmpl	$2, -252(%rbp)
	jne	.L22
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L22:
	cmpl	$3, -252(%rbp)
	jne	.L23
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L23:
	cmpl	$4, -252(%rbp)
	jne	.L24
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L24:
	cmpl	$5, -252(%rbp)
	jne	.L25
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L25:
	cmpl	$6, -252(%rbp)
	jne	.L26
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L26:
	cmpl	$7, -252(%rbp)
	jne	.L27
	leaq	.LC10(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L32:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%c"
.LC2:
	.string	"\n"
.LC4:
	.string	"black"
.LC5:
	.string	"blue"
.LC6:
	.string	"lime"
.LC7:
	.string	"aqua"
.LC8:
	.string	"red"
.LC9:
	.string	"fuchsia"
.LC10:
	.string	"yellow"
.LC11:
	.string	"white"
	.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	.LC2(%rip), %r15
	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
	leaq	.LC1(%rip), %rbx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpb	$48, 48(%rsp)
	je	.L3
	leaq	49(%rsp), %r13
	leaq	55(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$1, %r13
	call	__isoc99_scanf@PLT
	cmpq	%r13, %rbp
	jne	.L4
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	49(%rsp), %edx
	movl	$160, %eax
	cmpb	$97, %dl
	je	.L5
	leal	-98(%rdx), %eax
	cmpb	$4, %al
	ja	.L6
	leaq	.L8(%rip), %rsi
	movzbl	%al, %eax
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L90-.L8
	.long	.L7-.L8
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L90:
	movl	$224, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	50(%rsp), %ecx
	movl	$10, %edi
	cmpb	$97, %cl
	je	.L12
	leal	-98(%rcx), %edx
	cmpb	$4, %dl
	ja	.L13
	leaq	.L15(%rip), %rcx
	movzbl	%dl, %edx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	notrack jmp	*%rdx
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L18-.L15
	.long	.L17-.L15
	.long	.L16-.L15
	.long	.L92-.L15
	.long	.L14-.L15
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L92:
	movl	$14, %edi
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	51(%rsp), %ecx
	movl	$160, %esi
	cmpb	$97, %cl
	je	.L19
	leal	-98(%rcx), %edx
	cmpb	$4, %dl
	ja	.L20
	leaq	.L22(%rip), %rcx
	movzbl	%dl, %edx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	notrack jmp	*%rdx
	.section	.rodata
	.align 4
	.align 4
.L22:
	.long	.L25-.L22
	.long	.L24-.L22
	.long	.L23-.L22
	.long	.L94-.L22
	.long	.L21-.L22
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L94:
	movl	$224, %esi
	.p2align 4,,10
	.p2align 3
.L19:
	movsbl	52(%rsp), %ecx
	movl	$10, %edx
	cmpb	$97, %cl
	je	.L26
	leal	-98(%rcx), %edx
	cmpb	$4, %dl
	ja	.L27
	leaq	.L29(%rip), %rcx
	movzbl	%dl, %edx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	notrack jmp	*%rdx
	.section	.rodata
	.align 4
	.align 4
.L29:
	.long	.L32-.L29
	.long	.L31-.L29
	.long	.L30-.L29
	.long	.L96-.L29
	.long	.L28-.L29
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L96:
	movl	$14, %edx
	.p2align 4,,10
	.p2align 3
.L26:
	movzbl	53(%rsp), %r8d
	movl	$160, %ebp
	cmpb	$97, %r8b
	je	.L33
	leal	-98(%r8), %ecx
	cmpb	$4, %cl
	ja	.L34
	leaq	.L36(%rip), %r8
	movzbl	%cl, %ecx
	movslq	(%r8,%rcx,4), %rcx
	addq	%r8, %rcx
	notrack jmp	*%rcx
	.section	.rodata
	.align 4
	.align 4
.L36:
	.long	.L39-.L36
	.long	.L38-.L36
	.long	.L37-.L36
	.long	.L98-.L36
	.long	.L35-.L36
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L98:
	movl	$224, %ebp
	.p2align 4,,10
	.p2align 3
.L33:
	movsbl	54(%rsp), %r8d
	movl	$10, %ecx
	cmpb	$97, %r8b
	je	.L40
	leal	-98(%r8), %ecx
	cmpb	$4, %cl
	ja	.L41
	leaq	.L43(%rip), %r8
	movzbl	%cl, %ecx
	movslq	(%r8,%rcx,4), %rcx
	addq	%r8, %rcx
	notrack jmp	*%rcx
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L46-.L43
	.long	.L45-.L43
	.long	.L44-.L43
	.long	.L100-.L43
	.long	.L42-.L43
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L100:
	movl	$14, %ecx
	.p2align 4,,10
	.p2align 3
.L40:
	addl	%esi, %edx
	addl	%edi, %eax
	pxor	%xmm1, %xmm1
	addl	%ecx, %ebp
	movl	%eax, %edi
	movl	%edx, %ecx
	pxor	%xmm2, %xmm2
	movl	%ebp, %esi
	imull	%eax, %edi
	imull	%edx, %ecx
	imull	%ebp, %esi
	leal	(%rcx,%rdi), %r8d
	leal	(%rsi,%r8), %r9d
	cvtsi2sdl	%r9d, %xmm1
	ucomisd	%xmm1, %xmm2
	ja	.L121
	sqrtsd	%xmm1, %xmm1
.L48:
	movsd	.LC0(%rip), %xmm3
	comisd	%xmm1, %xmm3
	jbe	.L117
	xorl	%r12d, %r12d
.L49:
	subl	$255, %ebp
	pxor	%xmm0, %xmm0
	imull	%ebp, %ebp
	addl	%ebp, %r8d
	cvtsi2sdl	%r8d, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L122
	sqrtsd	%xmm0, %xmm0
.L52:
	comisd	%xmm0, %xmm1
	jbe	.L53
	movapd	%xmm0, %xmm1
	movl	$1, %r12d
.L53:
	subl	$255, %edx
	pxor	%xmm0, %xmm0
	imull	%edx, %edx
	addl	%edx, %edi
	leal	(%rsi,%rdi), %r8d
	cvtsi2sdl	%r8d, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L123
	sqrtsd	%xmm0, %xmm0
.L56:
	comisd	%xmm0, %xmm1
	jbe	.L57
	movapd	%xmm0, %xmm1
	movl	$2, %r12d
.L57:
	addl	%ebp, %edi
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%edi, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L124
	sqrtsd	%xmm0, %xmm0
.L60:
	comisd	%xmm0, %xmm1
	jbe	.L61
	movapd	%xmm0, %xmm1
	movl	$3, %r12d
.L61:
	subl	$255, %eax
	pxor	%xmm0, %xmm0
	imull	%eax, %eax
	addl	%eax, %ecx
	leal	(%rsi,%rcx), %edi
	cvtsi2sdl	%edi, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L125
	sqrtsd	%xmm0, %xmm0
.L64:
	comisd	%xmm0, %xmm1
	jbe	.L65
	movapd	%xmm0, %xmm1
	movl	$4, %r12d
.L65:
	addl	%ebp, %ecx
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L126
	sqrtsd	%xmm0, %xmm0
.L68:
	comisd	%xmm0, %xmm1
	jbe	.L69
	movapd	%xmm0, %xmm1
	movl	$5, %r12d
.L69:
	addl	%eax, %edx
	pxor	%xmm0, %xmm0
	addl	%edx, %esi
	cvtsi2sdl	%esi, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L127
	sqrtsd	%xmm0, %xmm0
.L72:
	comisd	%xmm0, %xmm1
	jbe	.L73
	movapd	%xmm0, %xmm1
	movl	$6, %r12d
.L73:
	addl	%edx, %ebp
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ebp, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L118
	sqrtsd	%xmm0, %xmm0
.L77:
	comisd	%xmm0, %xmm1
	jbe	.L128
.L78:
	leaq	.LC11(%rip), %rdi
	movl	$7, %r12d
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L42:
	movl	$15, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L35:
	movl	$240, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$15, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L21:
	movl	$240, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$240, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	movl	$15, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L18:
	movl	$11, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	$13, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$12, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L32:
	movl	$11, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$13, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L31:
	movl	$12, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L24:
	movl	$192, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L25:
	movl	$176, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L23:
	movl	$208, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L46:
	movl	$11, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$192, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$176, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$208, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L44:
	movl	$13, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L45:
	movl	$12, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$192, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L39:
	movl	$176, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L37:
	movl	$208, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L128:
	testl	%r12d, %r12d
	jne	.L79
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L79:
	cmpl	$7, %r12d
	ja	.L81
	leaq	.L82(%rip), %rdx
	movl	%r12d, %eax
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L82:
	.long	.L81-.L82
	.long	.L81-.L82
	.long	.L87-.L82
	.long	.L86-.L82
	.long	.L85-.L82
	.long	.L84-.L82
	.long	.L83-.L82
	.long	.L78-.L82
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L83:
	leaq	.LC10(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L84:
	leaq	.LC9(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L85:
	leaq	.LC8(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L86:
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L87:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L81:
	leaq	.LC5(%rip), %rdi
	movl	$1, %r12d
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L117:
	movapd	%xmm3, %xmm1
	jmp	.L49
	.p2align 4,,10
	.p2align 3
.L3:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L129
	addq	$72, %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
.L41:
	.cfi_restore_state
	leal	-48(%r8), %ecx
	jmp	.L40
.L27:
	leal	-48(%rcx), %edx
	jmp	.L26
.L34:
	movsbl	%r8b, %ecx
	subl	$48, %ecx
	sall	$4, %ecx
	movl	%ecx, %ebp
	jmp	.L33
.L13:
	leal	-48(%rcx), %edi
	jmp	.L12
.L20:
	movsbl	%cl, %edx
	subl	$48, %edx
	movl	%edx, %esi
	sall	$4, %esi
	jmp	.L19
.L6:
	movsbl	%dl, %eax
	subl	$48, %eax
	sall	$4, %eax
	jmp	.L5
.L121:
	movapd	%xmm1, %xmm0
	movl	%edi, 40(%rsp)
	movl	%ecx, 32(%rsp)
	movl	%r8d, 28(%rsp)
	movl	%edx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %edx
	movl	28(%rsp), %r8d
	movapd	%xmm0, %xmm1
	movl	32(%rsp), %ecx
	movl	40(%rsp), %edi
	jmp	.L48
.L118:
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm1
	jmp	.L77
.L127:
	movl	%edx, 24(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm1
	movl	24(%rsp), %edx
	pxor	%xmm2, %xmm2
	jmp	.L72
.L126:
	movl	%eax, 28(%rsp)
	movl	%edx, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 16(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %edx
	pxor	%xmm2, %xmm2
	movsd	16(%rsp), %xmm1
	movl	28(%rsp), %eax
	jmp	.L68
.L125:
	movl	%ecx, 32(%rsp)
	movl	%eax, 28(%rsp)
	movl	%edx, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 16(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %edx
	pxor	%xmm2, %xmm2
	movsd	16(%rsp), %xmm1
	movl	28(%rsp), %eax
	movl	32(%rsp), %ecx
	jmp	.L64
.L124:
	movl	%edx, 28(%rsp)
	movl	%ecx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 32(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %ecx
	movl	28(%rsp), %edx
	movsd	32(%rsp), %xmm1
	jmp	.L60
.L123:
	movl	%edx, 32(%rsp)
	movl	%edi, 28(%rsp)
	movl	%ecx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 40(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %ecx
	movl	28(%rsp), %edi
	movl	32(%rsp), %edx
	movsd	40(%rsp), %xmm1
	jmp	.L56
.L122:
	movl	%edi, 32(%rsp)
	movl	%ecx, 28(%rsp)
	movl	%edx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 40(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %edx
	movl	28(%rsp), %ecx
	movl	32(%rsp), %edi
	movsd	40(%rsp), %xmm1
	jmp	.L52
.L129:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%c"
.LC2:
	.string	"\n"
.LC4:
	.string	"black"
.LC5:
	.string	"blue"
.LC6:
	.string	"lime"
.LC7:
	.string	"aqua"
.LC8:
	.string	"red"
.LC9:
	.string	"fuchsia"
.LC10:
	.string	"yellow"
.LC11:
	.string	"white"
	.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	.LC2(%rip), %r15
	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
	leaq	.LC1(%rip), %rbx
	subq	$72, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 56(%rsp)
	xorl	%eax, %eax
	leaq	48(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%r14, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpb	$48, 48(%rsp)
	je	.L3
	leaq	49(%rsp), %r13
	leaq	55(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$1, %r13
	call	__isoc99_scanf@PLT
	cmpq	%r13, %rbp
	jne	.L4
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movzbl	49(%rsp), %edx
	movl	$160, %eax
	cmpb	$97, %dl
	je	.L5
	leal	-98(%rdx), %eax
	cmpb	$4, %al
	ja	.L6
	leaq	.L8(%rip), %rsi
	movzbl	%al, %eax
	movslq	(%rsi,%rax,4), %rax
	addq	%rsi, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L8:
	.long	.L11-.L8
	.long	.L10-.L8
	.long	.L9-.L8
	.long	.L90-.L8
	.long	.L7-.L8
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L90:
	movl	$224, %eax
	.p2align 4,,10
	.p2align 3
.L5:
	movsbl	50(%rsp), %ecx
	movl	$10, %edi
	cmpb	$97, %cl
	je	.L12
	leal	-98(%rcx), %edx
	cmpb	$4, %dl
	ja	.L13
	leaq	.L15(%rip), %rcx
	movzbl	%dl, %edx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	notrack jmp	*%rdx
	.section	.rodata
	.align 4
	.align 4
.L15:
	.long	.L18-.L15
	.long	.L17-.L15
	.long	.L16-.L15
	.long	.L92-.L15
	.long	.L14-.L15
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L92:
	movl	$14, %edi
	.p2align 4,,10
	.p2align 3
.L12:
	movzbl	51(%rsp), %ecx
	movl	$160, %esi
	cmpb	$97, %cl
	je	.L19
	leal	-98(%rcx), %edx
	cmpb	$4, %dl
	ja	.L20
	leaq	.L22(%rip), %rcx
	movzbl	%dl, %edx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	notrack jmp	*%rdx
	.section	.rodata
	.align 4
	.align 4
.L22:
	.long	.L25-.L22
	.long	.L24-.L22
	.long	.L23-.L22
	.long	.L94-.L22
	.long	.L21-.L22
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L94:
	movl	$224, %esi
	.p2align 4,,10
	.p2align 3
.L19:
	movsbl	52(%rsp), %ecx
	movl	$10, %edx
	cmpb	$97, %cl
	je	.L26
	leal	-98(%rcx), %edx
	cmpb	$4, %dl
	ja	.L27
	leaq	.L29(%rip), %rcx
	movzbl	%dl, %edx
	movslq	(%rcx,%rdx,4), %rdx
	addq	%rcx, %rdx
	notrack jmp	*%rdx
	.section	.rodata
	.align 4
	.align 4
.L29:
	.long	.L32-.L29
	.long	.L31-.L29
	.long	.L30-.L29
	.long	.L96-.L29
	.long	.L28-.L29
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L96:
	movl	$14, %edx
	.p2align 4,,10
	.p2align 3
.L26:
	movzbl	53(%rsp), %r8d
	movl	$160, %ebp
	cmpb	$97, %r8b
	je	.L33
	leal	-98(%r8), %ecx
	cmpb	$4, %cl
	ja	.L34
	leaq	.L36(%rip), %r8
	movzbl	%cl, %ecx
	movslq	(%r8,%rcx,4), %rcx
	addq	%r8, %rcx
	notrack jmp	*%rcx
	.section	.rodata
	.align 4
	.align 4
.L36:
	.long	.L39-.L36
	.long	.L38-.L36
	.long	.L37-.L36
	.long	.L98-.L36
	.long	.L35-.L36
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L98:
	movl	$224, %ebp
	.p2align 4,,10
	.p2align 3
.L33:
	movsbl	54(%rsp), %r8d
	movl	$10, %ecx
	cmpb	$97, %r8b
	je	.L40
	leal	-98(%r8), %ecx
	cmpb	$4, %cl
	ja	.L41
	leaq	.L43(%rip), %r8
	movzbl	%cl, %ecx
	movslq	(%r8,%rcx,4), %rcx
	addq	%r8, %rcx
	notrack jmp	*%rcx
	.section	.rodata
	.align 4
	.align 4
.L43:
	.long	.L46-.L43
	.long	.L45-.L43
	.long	.L44-.L43
	.long	.L100-.L43
	.long	.L42-.L43
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L100:
	movl	$14, %ecx
	.p2align 4,,10
	.p2align 3
.L40:
	addl	%esi, %edx
	addl	%edi, %eax
	pxor	%xmm1, %xmm1
	addl	%ecx, %ebp
	movl	%eax, %edi
	movl	%edx, %ecx
	pxor	%xmm2, %xmm2
	movl	%ebp, %esi
	imull	%eax, %edi
	imull	%edx, %ecx
	imull	%ebp, %esi
	leal	(%rcx,%rdi), %r8d
	leal	(%rsi,%r8), %r9d
	cvtsi2sdl	%r9d, %xmm1
	ucomisd	%xmm1, %xmm2
	ja	.L121
	sqrtsd	%xmm1, %xmm1
.L48:
	movsd	.LC0(%rip), %xmm3
	comisd	%xmm1, %xmm3
	jbe	.L117
	xorl	%r12d, %r12d
.L49:
	subl	$255, %ebp
	pxor	%xmm0, %xmm0
	imull	%ebp, %ebp
	addl	%ebp, %r8d
	cvtsi2sdl	%r8d, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L122
	sqrtsd	%xmm0, %xmm0
.L52:
	comisd	%xmm0, %xmm1
	jbe	.L53
	movapd	%xmm0, %xmm1
	movl	$1, %r12d
.L53:
	subl	$255, %edx
	pxor	%xmm0, %xmm0
	imull	%edx, %edx
	addl	%edx, %edi
	leal	(%rsi,%rdi), %r8d
	cvtsi2sdl	%r8d, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L123
	sqrtsd	%xmm0, %xmm0
.L56:
	comisd	%xmm0, %xmm1
	jbe	.L57
	movapd	%xmm0, %xmm1
	movl	$2, %r12d
.L57:
	addl	%ebp, %edi
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%edi, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L124
	sqrtsd	%xmm0, %xmm0
.L60:
	comisd	%xmm0, %xmm1
	jbe	.L61
	movapd	%xmm0, %xmm1
	movl	$3, %r12d
.L61:
	subl	$255, %eax
	pxor	%xmm0, %xmm0
	imull	%eax, %eax
	addl	%eax, %ecx
	leal	(%rsi,%rcx), %edi
	cvtsi2sdl	%edi, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L125
	sqrtsd	%xmm0, %xmm0
.L64:
	comisd	%xmm0, %xmm1
	jbe	.L65
	movapd	%xmm0, %xmm1
	movl	$4, %r12d
.L65:
	addl	%ebp, %ecx
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ecx, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L126
	sqrtsd	%xmm0, %xmm0
.L68:
	comisd	%xmm0, %xmm1
	jbe	.L69
	movapd	%xmm0, %xmm1
	movl	$5, %r12d
.L69:
	addl	%eax, %edx
	pxor	%xmm0, %xmm0
	addl	%edx, %esi
	cvtsi2sdl	%esi, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L127
	sqrtsd	%xmm0, %xmm0
.L72:
	comisd	%xmm0, %xmm1
	jbe	.L73
	movapd	%xmm0, %xmm1
	movl	$6, %r12d
.L73:
	addl	%edx, %ebp
	pxor	%xmm0, %xmm0
	cvtsi2sdl	%ebp, %xmm0
	ucomisd	%xmm0, %xmm2
	ja	.L118
	sqrtsd	%xmm0, %xmm0
.L77:
	comisd	%xmm0, %xmm1
	jbe	.L128
.L78:
	leaq	.LC11(%rip), %rdi
	movl	$7, %r12d
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L42:
	movl	$15, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L35:
	movl	$240, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L28:
	movl	$15, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L21:
	movl	$240, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$240, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	movl	$15, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L18:
	movl	$11, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L16:
	movl	$13, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L17:
	movl	$12, %edi
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L32:
	movl	$11, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L30:
	movl	$13, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L31:
	movl	$12, %edx
	jmp	.L26
	.p2align 4,,10
	.p2align 3
.L24:
	movl	$192, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L25:
	movl	$176, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L23:
	movl	$208, %esi
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L46:
	movl	$11, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L10:
	movl	$192, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L11:
	movl	$176, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	movl	$208, %eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L44:
	movl	$13, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L45:
	movl	$12, %ecx
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L38:
	movl	$192, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L39:
	movl	$176, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L37:
	movl	$208, %ebp
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L128:
	testl	%r12d, %r12d
	jne	.L79
	leaq	.LC4(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L79:
	cmpl	$7, %r12d
	ja	.L81
	leaq	.L82(%rip), %rdx
	movl	%r12d, %eax
	movslq	(%rdx,%rax,4), %rax
	addq	%rdx, %rax
	notrack jmp	*%rax
	.section	.rodata
	.align 4
	.align 4
.L82:
	.long	.L81-.L82
	.long	.L81-.L82
	.long	.L87-.L82
	.long	.L86-.L82
	.long	.L85-.L82
	.long	.L84-.L82
	.long	.L83-.L82
	.long	.L78-.L82
	.section	.text.startup
	.p2align 4,,10
	.p2align 3
.L83:
	leaq	.LC10(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L84:
	leaq	.LC9(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L85:
	leaq	.LC8(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L86:
	leaq	.LC7(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L87:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L81:
	leaq	.LC5(%rip), %rdi
	movl	$1, %r12d
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L117:
	movapd	%xmm3, %xmm1
	jmp	.L49
	.p2align 4,,10
	.p2align 3
.L3:
	movq	56(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L129
	addq	$72, %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
.L41:
	.cfi_restore_state
	leal	-48(%r8), %ecx
	jmp	.L40
.L27:
	leal	-48(%rcx), %edx
	jmp	.L26
.L34:
	movsbl	%r8b, %ecx
	subl	$48, %ecx
	sall	$4, %ecx
	movl	%ecx, %ebp
	jmp	.L33
.L13:
	leal	-48(%rcx), %edi
	jmp	.L12
.L20:
	movsbl	%cl, %edx
	subl	$48, %edx
	movl	%edx, %esi
	sall	$4, %esi
	jmp	.L19
.L6:
	movsbl	%dl, %eax
	subl	$48, %eax
	sall	$4, %eax
	jmp	.L5
.L121:
	movapd	%xmm1, %xmm0
	movl	%edi, 40(%rsp)
	movl	%ecx, 32(%rsp)
	movl	%r8d, 28(%rsp)
	movl	%edx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %edx
	movl	28(%rsp), %r8d
	movapd	%xmm0, %xmm1
	movl	32(%rsp), %ecx
	movl	40(%rsp), %edi
	jmp	.L48
.L118:
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm1
	jmp	.L77
.L127:
	movl	%edx, 24(%rsp)
	movsd	%xmm1, 8(%rsp)
	call	sqrt@PLT
	movsd	8(%rsp), %xmm1
	movl	24(%rsp), %edx
	pxor	%xmm2, %xmm2
	jmp	.L72
.L126:
	movl	%eax, 28(%rsp)
	movl	%edx, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 16(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %edx
	pxor	%xmm2, %xmm2
	movsd	16(%rsp), %xmm1
	movl	28(%rsp), %eax
	jmp	.L68
.L125:
	movl	%ecx, 32(%rsp)
	movl	%eax, 28(%rsp)
	movl	%edx, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 16(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %edx
	pxor	%xmm2, %xmm2
	movsd	16(%rsp), %xmm1
	movl	28(%rsp), %eax
	movl	32(%rsp), %ecx
	jmp	.L64
.L124:
	movl	%edx, 28(%rsp)
	movl	%ecx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 32(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %ecx
	movl	28(%rsp), %edx
	movsd	32(%rsp), %xmm1
	jmp	.L60
.L123:
	movl	%edx, 32(%rsp)
	movl	%edi, 28(%rsp)
	movl	%ecx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 40(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %ecx
	movl	28(%rsp), %edi
	movl	32(%rsp), %edx
	movsd	40(%rsp), %xmm1
	jmp	.L56
.L122:
	movl	%edi, 32(%rsp)
	movl	%ecx, 28(%rsp)
	movl	%edx, 16(%rsp)
	movl	%eax, 24(%rsp)
	movl	%esi, 8(%rsp)
	movsd	%xmm1, 40(%rsp)
	call	sqrt@PLT
	movl	8(%rsp), %esi
	movl	24(%rsp), %eax
	pxor	%xmm2, %xmm2
	movl	16(%rsp), %edx
	movl	28(%rsp), %ecx
	movl	32(%rsp), %edi
	movsd	40(%rsp), %xmm1
	jmp	.L52
.L129:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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:

#include<stdio.h>
#include<math.h>
int main(){
int i,r,g,b,y[9],sum,ans;
int a[9][4]={{0,0,0},{0,0,255},{0,255,0},
              {0,255,255},{255,0,0},{255,0,255},
              {255,255,0},{255,255,255}};              
char z[8];
double min=1000000,dk,dka;
while(1){
scanf("%c",&z[0]);
if(z[0]=='0'){
break;
}
for(i=1;i<7;i++){
scanf("%c",&z[i]);
}
scanf("\n");
for(i=1;i<7;i++){
if(z[i]=='a'){
y[i]=10;
}
else if(z[i]=='b'){
y[i]=11;
}
else if(z[i]=='c'){
y[i]=12;
}
else if(z[i]=='d'){
y[i]=13;
}
else if(z[i]=='e'){
y[i]=14;
}
else if(z[i]=='f'){
y[i]=15;
}
else{
y[i]=z[i]-'0';
}
}
r=16*y[1]+y[2];
g=16*y[3]+y[4];
b=16*y[5]+y[6];
for(i=0;i<8;i++){
sum=(r-a[i][0])*(r-a[i][0])+(g-a[i][1])*(g-a[i][1])+(b-a[i][2])*(b-a[i][2]);
dka=sum;
dk=sqrt(dka);
if(dk<min){
min=dk;
ans=i;
}
}
min=1000000;
if(ans==0){
printf("black\n");
}
else if(ans==1){
printf("blue\n");
}
else if(ans==2){
printf("lime\n");
}
else if(ans==3){
printf("aqua\n");
}
else if(ans==4){
printf("red\n");
}
else if(ans==5){
printf("fuchsia\n");
}
else if(ans==6){
printf("yellow\n");
}
else if(ans==7){
printf("white\n");
}
}
return 0;
}

ffe085
787878
dfcade
ff55ff
0
 #ffe085
#787878
"decade
#ff55ff
0
 8fe0f5
976991
debade
ff55ff
0
 8fe0f5
1006397
debade
ff55ff
0
 #ffe075
#787878
#decade
#ff55ff
0
 ffe085
1502551
dfcaed
ff55ff
0
 ff80e5
787878
dfcade
ff5f5f
0
 8fe0f5
1830286
bedade
ff55ff
0
 ffe085
935354
dfaced
f5f5ff
0
 580eff
310329
debade
gf55ff
0

red
yellow
white
fuchsia
 white
black
white
fuchsia
 red
lime
white
fuchsia
 red
blue
white
fuchsia
 yellow
black
white
fuchsia
 red
black
white
fuchsia
 red
yellow
white
white
 red
fuchsia
white
fuchsia
 red
black
white
blue
 white
black
white
fuchsia

Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<math.h>
int main(){
int i,r,g,b,y[9],sum,ans;
int a[9][4]={{0,0,0},{0,0,255},{0,255,0},
              {0,255,255},{255,0,0},{255,0,255},
              {255,255,0},{255,255,255}};              
char z[8];
double min=1000000,dk,dka;
while(1){
scanf("%c",&z[0]);
if(z[0]=='0'){
break;
}
for(i=1;i<7;i++){
scanf("%c",&z[i]);
}
scanf("\n");
for(i=1;i<7;i++){
if(z[i]=='a'){
y[i]=10;
}
else if(z[i]=='b'){
y[i]=11;
}
else if(z[i]=='c'){
y[i]=12;
}
else if(z[i]=='d'){
y[i]=13;
}
else if(z[i]=='e'){
y[i]=14;
}
else if(z[i]=='f'){
y[i]=15;
}
else{
y[i]=z[i]-'0';
}
}
r=16*y[1]+y[2];
g=16*y[3]+y[4];
b=16*y[5]+y[6];
for(i=0;i<8;i++){
sum=(r-a[i][0])*(r-a[i][0])+(g-a[i][1])*(g-a[i][1])+(b-a[i][2])*(b-a[i][2]);
dka=sum;
dk=sqrt(dka);
if(dk<min){
min=dk;
ans=i;
}
}
min=1000000;
if(ans==0){
printf("black\n");
}
else if(ans==1){
printf("blue\n");
}
else if(ans==2){
printf("lime\n");
}
else if(ans==3){
printf("aqua\n");
}
else if(ans==4){
printf("red\n");
}
else if(ans==5){
printf("fuchsia\n");
}
else if(ans==6){
printf("yellow\n");
}
else if(ans==7){
printf("white\n");
}
}
return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC1:
	.string	"%c"
.LC2:
	.string	"\n"
.LC3:
	.string	"black"
.LC4:
	.string	"blue"
.LC5:
	.string	"lime"
.LC6:
	.string	"aqua"
.LC7:
	.string	"red"
.LC8:
	.string	"fuchsia"
.LC9:
	.string	"yellow"
.LC10:
	.string	"white"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$256, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-160(%rbp), %rdx
	movl	$0, %eax
	movl	$18, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$255, -136(%rbp)
	movl	$255, -124(%rbp)
	movl	$255, -108(%rbp)
	movl	$255, -104(%rbp)
	movl	$255, -96(%rbp)
	movl	$255, -80(%rbp)
	movl	$255, -72(%rbp)
	movl	$255, -64(%rbp)
	movl	$255, -60(%rbp)
	movl	$255, -48(%rbp)
	movl	$255, -44(%rbp)
	movl	$255, -40(%rbp)
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -232(%rbp)
.L27:
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-16(%rbp), %eax
	cmpb	$48, %al
	je	.L32
	movl	$1, -256(%rbp)
	jmp	.L4
.L5:
	leaq	-16(%rbp), %rdx
	movl	-256(%rbp), %eax
	cltq
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -256(%rbp)
.L4:
	cmpl	$6, -256(%rbp)
	jle	.L5
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -256(%rbp)
	jmp	.L6
.L14:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L7
	movl	-256(%rbp), %eax
	cltq
	movl	$10, -208(%rbp,%rax,4)
	jmp	.L8
.L7:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L9
	movl	-256(%rbp), %eax
	cltq
	movl	$11, -208(%rbp,%rax,4)
	jmp	.L8
.L9:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L10
	movl	-256(%rbp), %eax
	cltq
	movl	$12, -208(%rbp,%rax,4)
	jmp	.L8
.L10:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$100, %al
	jne	.L11
	movl	-256(%rbp), %eax
	cltq
	movl	$13, -208(%rbp,%rax,4)
	jmp	.L8
.L11:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L12
	movl	-256(%rbp), %eax
	cltq
	movl	$14, -208(%rbp,%rax,4)
	jmp	.L8
.L12:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$102, %al
	jne	.L13
	movl	-256(%rbp), %eax
	cltq
	movl	$15, -208(%rbp,%rax,4)
	jmp	.L8
.L13:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-256(%rbp), %eax
	cltq
	movl	%edx, -208(%rbp,%rax,4)
.L8:
	addl	$1, -256(%rbp)
.L6:
	cmpl	$6, -256(%rbp)
	jle	.L14
	movl	-204(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-200(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -248(%rbp)
	movl	-196(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-192(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -244(%rbp)
	movl	-188(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-184(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -240(%rbp)
	movl	$0, -256(%rbp)
	jmp	.L15
.L18:
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$160, %rax
	movl	(%rax), %ecx
	movl	-248(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$160, %rax
	movl	(%rax), %ecx
	movl	-248(%rbp), %eax
	subl	%ecx, %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$156, %rax
	movl	(%rax), %esi
	movl	-244(%rbp), %eax
	subl	%esi, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$156, %rax
	movl	(%rax), %esi
	movl	-244(%rbp), %eax
	subl	%esi, %eax
	imull	%edx, %eax
	leal	(%rcx,%rax), %esi
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$152, %rax
	movl	(%rax), %ecx
	movl	-240(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$152, %rax
	movl	(%rax), %ecx
	movl	-240(%rbp), %eax
	subl	%ecx, %eax
	imull	%edx, %eax
	addl	%esi, %eax
	movl	%eax, -236(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-236(%rbp), %xmm0
	movsd	%xmm0, -224(%rbp)
	movq	-224(%rbp), %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -216(%rbp)
	movsd	-232(%rbp), %xmm0
	comisd	-216(%rbp), %xmm0
	jbe	.L16
	movsd	-216(%rbp), %xmm0
	movsd	%xmm0, -232(%rbp)
	movl	-256(%rbp), %eax
	movl	%eax, -252(%rbp)
.L16:
	addl	$1, -256(%rbp)
.L15:
	cmpl	$7, -256(%rbp)
	jle	.L18
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -232(%rbp)
	cmpl	$0, -252(%rbp)
	jne	.L19
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L19:
	cmpl	$1, -252(%rbp)
	jne	.L21
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L21:
	cmpl	$2, -252(%rbp)
	jne	.L22
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L22:
	cmpl	$3, -252(%rbp)
	jne	.L23
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L23:
	cmpl	$4, -252(%rbp)
	jne	.L24
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L24:
	cmpl	$5, -252(%rbp)
	jne	.L25
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L25:
	cmpl	$6, -252(%rbp)
	jne	.L26
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L26:
	cmpl	$7, -252(%rbp)
	jne	.L27
	leaq	.LC10(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L32:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC1:
	.string	"%c"
.LC2:
	.string	"\n"
.LC3:
	.string	"black"
.LC4:
	.string	"blue"
.LC5:
	.string	"lime"
.LC6:
	.string	"aqua"
.LC7:
	.string	"red"
.LC8:
	.string	"fuchsia"
.LC9:
	.string	"yellow"
.LC10:
	.string	"white"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$256, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-160(%rbp), %rdx
	movl	$0, %eax
	movl	$18, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$255, -136(%rbp)
	movl	$255, -124(%rbp)
	movl	$255, -108(%rbp)
	movl	$255, -104(%rbp)
	movl	$255, -96(%rbp)
	movl	$255, -80(%rbp)
	movl	$255, -72(%rbp)
	movl	$255, -64(%rbp)
	movl	$255, -60(%rbp)
	movl	$255, -48(%rbp)
	movl	$255, -44(%rbp)
	movl	$255, -40(%rbp)
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -232(%rbp)
.L27:
	leaq	-16(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movzbl	-16(%rbp), %eax
	cmpb	$48, %al
	je	.L32
	movl	$1, -256(%rbp)
	jmp	.L4
.L5:
	leaq	-16(%rbp), %rdx
	movl	-256(%rbp), %eax
	cltq
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -256(%rbp)
.L4:
	cmpl	$6, -256(%rbp)
	jle	.L5
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$1, -256(%rbp)
	jmp	.L6
.L14:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$97, %al
	jne	.L7
	movl	-256(%rbp), %eax
	cltq
	movl	$10, -208(%rbp,%rax,4)
	jmp	.L8
.L7:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$98, %al
	jne	.L9
	movl	-256(%rbp), %eax
	cltq
	movl	$11, -208(%rbp,%rax,4)
	jmp	.L8
.L9:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L10
	movl	-256(%rbp), %eax
	cltq
	movl	$12, -208(%rbp,%rax,4)
	jmp	.L8
.L10:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$100, %al
	jne	.L11
	movl	-256(%rbp), %eax
	cltq
	movl	$13, -208(%rbp,%rax,4)
	jmp	.L8
.L11:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L12
	movl	-256(%rbp), %eax
	cltq
	movl	$14, -208(%rbp,%rax,4)
	jmp	.L8
.L12:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	cmpb	$102, %al
	jne	.L13
	movl	-256(%rbp), %eax
	cltq
	movl	$15, -208(%rbp,%rax,4)
	jmp	.L8
.L13:
	movl	-256(%rbp), %eax
	cltq
	movzbl	-16(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-48(%rax), %edx
	movl	-256(%rbp), %eax
	cltq
	movl	%edx, -208(%rbp,%rax,4)
.L8:
	addl	$1, -256(%rbp)
.L6:
	cmpl	$6, -256(%rbp)
	jle	.L14
	movl	-204(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-200(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -248(%rbp)
	movl	-196(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-192(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -244(%rbp)
	movl	-188(%rbp), %eax
	sall	$4, %eax
	movl	%eax, %edx
	movl	-184(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -240(%rbp)
	movl	$0, -256(%rbp)
	jmp	.L15
.L18:
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$160, %rax
	movl	(%rax), %ecx
	movl	-248(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$160, %rax
	movl	(%rax), %ecx
	movl	-248(%rbp), %eax
	subl	%ecx, %eax
	movl	%edx, %ecx
	imull	%eax, %ecx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$156, %rax
	movl	(%rax), %esi
	movl	-244(%rbp), %eax
	subl	%esi, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$156, %rax
	movl	(%rax), %esi
	movl	-244(%rbp), %eax
	subl	%esi, %eax
	imull	%edx, %eax
	leal	(%rcx,%rax), %esi
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$152, %rax
	movl	(%rax), %ecx
	movl	-240(%rbp), %eax
	subl	%ecx, %eax
	movl	%eax, %edx
	movl	-256(%rbp), %eax
	cltq
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$152, %rax
	movl	(%rax), %ecx
	movl	-240(%rbp), %eax
	subl	%ecx, %eax
	imull	%edx, %eax
	addl	%esi, %eax
	movl	%eax, -236(%rbp)
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-236(%rbp), %xmm0
	movsd	%xmm0, -224(%rbp)
	movq	-224(%rbp), %rax
	movq	%rax, %xmm0
	call	sqrt@PLT
	movq	%xmm0, %rax
	movq	%rax, -216(%rbp)
	movsd	-232(%rbp), %xmm0
	comisd	-216(%rbp), %xmm0
	jbe	.L16
	movsd	-216(%rbp), %xmm0
	movsd	%xmm0, -232(%rbp)
	movl	-256(%rbp), %eax
	movl	%eax, -252(%rbp)
.L16:
	addl	$1, -256(%rbp)
.L15:
	cmpl	$7, -256(%rbp)
	jle	.L18
	movsd	.LC0(%rip), %xmm0
	movsd	%xmm0, -232(%rbp)
	cmpl	$0, -252(%rbp)
	jne	.L19
	leaq	.LC3(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L19:
	cmpl	$1, -252(%rbp)
	jne	.L21
	leaq	.LC4(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L21:
	cmpl	$2, -252(%rbp)
	jne	.L22
	leaq	.LC5(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L22:
	cmpl	$3, -252(%rbp)
	jne	.L23
	leaq	.LC6(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L23:
	cmpl	$4, -252(%rbp)
	jne	.L24
	leaq	.LC7(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L24:
	cmpl	$5, -252(%rbp)
	jne	.L25
	leaq	.LC8(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L25:
	cmpl	$6, -252(%rbp)
	jne	.L26
	leaq	.LC9(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L26:
	cmpl	$7, -252(%rbp)
	jne	.L27
	leaq	.LC10(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L27
.L32:
	nop
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1093567616
	.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:
