// File: kipa00[P]AplusB-mc/compiler/color.cpp
// Function: color_to_int(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
int color_to_int(string s) {
	if (s == "white") return 0;
	else if (s == "orange") return 1;
	else if (s == "magenta") return 2;
	else if (s == "light_blue") return 3;
	else if (s == "yellow") return 4;
	else if (s == "lime") return 5;
	else if (s == "pink") return 6;
	else if (s == "gray") return 7;
	else if (s == "light_gray") return 8;
	else if (s == "cyan") return 9;
	else if (s == "purple") return 10;
	else if (s == "blue") return 11;
	else if (s == "brown") return 12;
	else if (s == "green") return 13;
	else if (s == "red") return 14;
	else if (s == "black") return 15;
	return -1;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, (%rsp)
movq %rdi, 0x8(%rsp)
leaq 0x11cc(%rip), %rsi      # 0x13cb0
callq 0x9810
testb $0x1, %al
jne 0x12aef
jmp 0x12afc
movl $0x0, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x11af(%rip), %rsi      # 0x13cb6
callq 0x9810
testb $0x1, %al
jne 0x12b12
jmp 0x12b1f
movl $0x1, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1193(%rip), %rsi      # 0x13cbd
callq 0x9810
testb $0x1, %al
jne 0x12b35
jmp 0x12b42
movl $0x2, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1178(%rip), %rsi      # 0x13cc5
callq 0x9810
testb $0x1, %al
jne 0x12b58
jmp 0x12b65
movl $0x3, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1160(%rip), %rsi      # 0x13cd0
callq 0x9810
testb $0x1, %al
jne 0x12b7b
jmp 0x12b88
movl $0x4, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1144(%rip), %rsi      # 0x13cd7
callq 0x9810
testb $0x1, %al
jne 0x12b9e
jmp 0x12bab
movl $0x5, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1126(%rip), %rsi      # 0x13cdc
callq 0x9810
testb $0x1, %al
jne 0x12bc1
jmp 0x12bce
movl $0x6, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x110e(%rip), %rsi      # 0x13ce7
callq 0x9810
testb $0x1, %al
jne 0x12be4
jmp 0x12bf1
movl $0x7, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x10e5(%rip), %rsi      # 0x13ce1
callq 0x9810
testb $0x1, %al
jne 0x12c07
jmp 0x12c14
movl $0x8, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x10cd(%rip), %rsi      # 0x13cec
callq 0x9810
testb $0x1, %al
jne 0x12c2a
jmp 0x12c37
movl $0x9, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x10af(%rip), %rsi      # 0x13cf1
callq 0x9810
testb $0x1, %al
jne 0x12c4d
jmp 0x12c5a
movl $0xa, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1066(%rip), %rsi      # 0x13ccb
callq 0x9810
testb $0x1, %al
jne 0x12c70
jmp 0x12c7d
movl $0xb, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1070(%rip), %rsi      # 0x13cf8
callq 0x9810
testb $0x1, %al
jne 0x12c93
jmp 0x12ca0
movl $0xc, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1053(%rip), %rsi      # 0x13cfe
callq 0x9810
testb $0x1, %al
jne 0x12cb6
jmp 0x12cc0
movl $0xd, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x7db(%rip), %rsi       # 0x134a6
callq 0x9810
testb $0x1, %al
jne 0x12cd6
jmp 0x12ce0
movl $0xe, 0x14(%rsp)
jmp 0x12d26
movq (%rsp), %rdi
leaq 0x1019(%rip), %rsi      # 0x13d04
callq 0x9810
testb $0x1, %al
jne 0x12cf6
jmp 0x12d00
movl $0xf, 0x14(%rsp)
jmp 0x12d26
jmp 0x12d02
jmp 0x12d04
jmp 0x12d06
jmp 0x12d08
jmp 0x12d0a
jmp 0x12d0c
jmp 0x12d0e
jmp 0x12d10
jmp 0x12d12
jmp 0x12d14
jmp 0x12d16
jmp 0x12d18
jmp 0x12d1a
jmp 0x12d1c
jmp 0x12d1e
movl $0xffffffff, 0x14(%rsp) # imm = 0xFFFFFFFF
movl 0x14(%rsp), %eax
addq $0x18, %rsp
retq