// File: /workspace/github_cpp_makefile_star2_O1/rishabh-battulwar[P]imageprocessing/./include/colorspace.h
// Function: IdFromName(char const*)
static int IdFromName(const char *Name)
{
	if(!strcmp(Name, "rgb") || *Name == 0)
		return RGB_SPACE;
	else if(!strcmp(Name, "yuv"))
		return YUV_SPACE;
	else if(!strcmp(Name, "ycbcr"))
		return YCBCR_SPACE;
	else if(!strcmp(Name, "jpegycbcr"))
		return YCBCR_SPACE;
	else if(!strcmp(Name, "ypbpr"))
		return YPBPR_SPACE;
	else if(!strcmp(Name, "ydbdr"))
		return YDBDR_SPACE;
	else if(!strcmp(Name, "yiq"))
		return YIQ_SPACE;
	else if(!strcmp(Name, "hsv") || !strcmp(Name, "hsb"))
		return HSV_SPACE;
	else if(!strcmp(Name, "hsl") || !strcmp(Name, "hls"))
		return HSL_SPACE;
	else if(!strcmp(Name, "hsi"))
		return HSI_SPACE;
	else if(!strcmp(Name, "xyz") || !strcmp(Name, "ciexyz"))
		return XYZ_SPACE;
	else if(!strcmp(Name, "lab") || !strcmp(Name, "cielab"))
		return LAB_SPACE;
	else if(!strcmp(Name, "luv") || !strcmp(Name, "cieluv"))
		return LUV_SPACE;
	else if(!strcmp(Name, "lch") || !strcmp(Name, "cielch"))
		return LCH_SPACE;
	else if(!strcmp(Name, "cat02lms") || !strcmp(Name, "ciecat02lms"))
		return CAT02LMS_SPACE;
	else
		return UNKNOWN_SPACE;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xb2f2(%rip), %rsi      # 0x1235c
callq 0x2200
movl $0x1, %ebp
testl %eax, %eax
je 0x7282
cmpb $0x0, (%rbx)
je 0x7282
leaq 0xb2d4(%rip), %rsi      # 0x12360
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x727d
leaq 0xb2c5(%rip), %rsi      # 0x12368
movq %rbx, %rdi
callq 0x2200
movl $0x3, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb2a5(%rip), %rsi      # 0x12364
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb298(%rip), %rsi      # 0x1236e
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x728b
leaq 0xb287(%rip), %rsi      # 0x12374
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7292
leaq 0xb276(%rip), %rsi      # 0x1237a
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7299
leaq 0xb263(%rip), %rsi      # 0x1237e
movq %rbx, %rdi
callq 0x2200
movl $0x8, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb24b(%rip), %rsi      # 0x12382
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb238(%rip), %rsi      # 0x12386
movq %rbx, %rdi
callq 0x2200
movl $0x9, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb220(%rip), %rsi      # 0x1238a
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb20d(%rip), %rsi      # 0x1238e
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x72a0
leaq 0xb1fd(%rip), %rsi      # 0x12395
movq %rbx, %rdi
callq 0x2200
movl $0xb, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb1de(%rip), %rsi      # 0x12392
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb1d1(%rip), %rsi      # 0x1239c
movq %rbx, %rdi
callq 0x2200
movl $0xc, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb1b2(%rip), %rsi      # 0x12399
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb1a5(%rip), %rsi      # 0x123a3
movq %rbx, %rdi
callq 0x2200
movl $0xd, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb18a(%rip), %rsi      # 0x123a0
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb181(%rip), %rsi      # 0x123aa
movq %rbx, %rdi
callq 0x2200
movl $0xe, %ebp
testl %eax, %eax
je 0x7282
leaq 0xb166(%rip), %rsi      # 0x123a7
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x7282
leaq 0xb15d(%rip), %rsi      # 0x123b1
movq %rbx, %rdi
callq 0x2200
testl %eax, %eax
je 0x72a7
leaq 0xb147(%rip), %rsi      # 0x123ae
movq %rbx, %rdi
callq 0x2200
xorl %ecx, %ecx
testl %eax, %eax
movl $0xf, %ebp
cmovnel %ecx, %ebp
jmp 0x7282
movl $0x2, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movl $0x5, %ebp
jmp 0x7282
movl $0x6, %ebp
jmp 0x7282
movl $0x7, %ebp
jmp 0x7282
movl $0xa, %ebp
jmp 0x7282
movl $0xf, %ebp
jmp 0x7282