#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
scalar_t__ matchString(char const **, char *);
int matchColorName(const char **strptr) {
  return (matchString(strptr, "maroon") || matchString(strptr, "red") ||
          matchString(strptr, "orange") || matchString(strptr, "yellow") ||
          matchString(strptr, "olive") || matchString(strptr, "purple") ||
          matchString(strptr, "fuchsia") || matchString(strptr, "white") ||
          matchString(strptr, "lime") || matchString(strptr, "green") ||
          matchString(strptr, "navy") || matchString(strptr, "blue") ||
          matchString(strptr, "aqua") || matchString(strptr, "teal") ||
          matchString(strptr, "black") || matchString(strptr, "silver") ||
          matchString(strptr, "gray"));
}


x86 assembly (clang, -O0):
<matchColorName>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xebe(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xea0(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xe85(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xe6a(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xe4e(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xe33(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xe19(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xdfd(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xde0(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xdc4(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xda7(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xd8a(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xd6d(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xd50(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xd34(%rip),%rsi
call   1030 <matchString@plt>
mov    %rax,%rcx
mov    $0x1,%al
cmp    $0x0,%rcx
mov    %al,-0x9(%rbp)
jne    1356 <matchColorName+0x246>
mov    -0x8(%rbp),%rdi
lea    0xd19(%rip),%rsi
call   1030 <matchString@plt>
cmp    $0x0,%rax
setne  %al
mov    %al,-0x9(%rbp)
mov    -0x9(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<matchColorName>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
lea    0xee3(%rip),%rsi
call   1030 <matchString@plt>
mov    $0x1,%ebp
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xed0(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xebc(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xeab(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe9a(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe88(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe77(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe67(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe55(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe42(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe30(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe21(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe12(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xe03(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xdf4(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xde6(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
test   %rax,%rax
jne    1298 <matchColorName+0x188>
lea    0xdd9(%rip),%rsi
mov    %rbx,%rdi
call   1030 <matchString@plt>
xor    %ebp,%ebp
test   %rax,%rax
setne  %bpl
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [7 x i8] c"maroon\00"
@.str.1 = [4 x i8] c"red\00"
@.str.2 = [7 x i8] c"orange\00"
@.str.3 = [7 x i8] c"yellow\00"
@.str.4 = [6 x i8] c"olive\00"
@.str.5 = [7 x i8] c"purple\00"
@.str.6 = [8 x i8] c"fuchsia\00"
@.str.7 = [6 x i8] c"white\00"
@.str.8 = [5 x i8] c"lime\00"
@.str.9 = [6 x i8] c"green\00"
@.str.10 = [5 x i8] c"navy\00"
@.str.11 = [5 x i8] c"blue\00"
@.str.12 = [5 x i8] c"aqua\00"
@.str.13 = [5 x i8] c"teal\00"
@.str.14 = [6 x i8] c"black\00"
@.str.15 = [7 x i8] c"silver\00"
@.str.16 = [5 x i8] c"gray\00"
define i32 @matchColorName(i8** %0) {
%2 = alloca i8**
store i8** %0, i8*** %2
%3 = load i8**, i8*** %2
%4 = call i64 @matchString(i8** %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%5 = icmp ne i64 %4, 0
br i1 %5, label %70, label %6
6: ; preds = %1
%7 = load i8**, i8*** %2
%8 = call i64 @matchString(i8** %7, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%9 = icmp ne i64 %8, 0
br i1 %9, label %70, label %10
10: ; preds = %6
%11 = load i8**, i8*** %2
%12 = call i64 @matchString(i8** %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%13 = icmp ne i64 %12, 0
br i1 %13, label %70, label %14
14: ; preds = %10
%15 = load i8**, i8*** %2
%16 = call i64 @matchString(i8** %15, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%17 = icmp ne i64 %16, 0
br i1 %17, label %70, label %18
18: ; preds = %14
%19 = load i8**, i8*** %2
%20 = call i64 @matchString(i8** %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%21 = icmp ne i64 %20, 0
br i1 %21, label %70, label %22
22: ; preds = %18
%23 = load i8**, i8*** %2
%24 = call i64 @matchString(i8** %23, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%25 = icmp ne i64 %24, 0
br i1 %25, label %70, label %26
26: ; preds = %22
%27 = load i8**, i8*** %2
%28 = call i64 @matchString(i8** %27, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%29 = icmp ne i64 %28, 0
br i1 %29, label %70, label %30
30: ; preds = %26
%31 = load i8**, i8*** %2
%32 = call i64 @matchString(i8** %31, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%33 = icmp ne i64 %32, 0
br i1 %33, label %70, label %34
34: ; preds = %30
%35 = load i8**, i8*** %2
%36 = call i64 @matchString(i8** %35, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%37 = icmp ne i64 %36, 0
br i1 %37, label %70, label %38
38: ; preds = %34
%39 = load i8**, i8*** %2
%40 = call i64 @matchString(i8** %39, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%41 = icmp ne i64 %40, 0
br i1 %41, label %70, label %42
42: ; preds = %38
%43 = load i8**, i8*** %2
%44 = call i64 @matchString(i8** %43, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%45 = icmp ne i64 %44, 0
br i1 %45, label %70, label %46
46: ; preds = %42
%47 = load i8**, i8*** %2
%48 = call i64 @matchString(i8** %47, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%49 = icmp ne i64 %48, 0
br i1 %49, label %70, label %50
50: ; preds = %46
%51 = load i8**, i8*** %2
%52 = call i64 @matchString(i8** %51, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%53 = icmp ne i64 %52, 0
br i1 %53, label %70, label %54
54: ; preds = %50
%55 = load i8**, i8*** %2
%56 = call i64 @matchString(i8** %55, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%57 = icmp ne i64 %56, 0
br i1 %57, label %70, label %58
58: ; preds = %54
%59 = load i8**, i8*** %2
%60 = call i64 @matchString(i8** %59, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0))
%61 = icmp ne i64 %60, 0
br i1 %61, label %70, label %62
62: ; preds = %58
%63 = load i8**, i8*** %2
%64 = call i64 @matchString(i8** %63, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0))
%65 = icmp ne i64 %64, 0
br i1 %65, label %70, label %66
66: ; preds = %62
%67 = load i8**, i8*** %2
%68 = call i64 @matchString(i8** %67, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%69 = icmp ne i64 %68, 0
br label %70
70: ; preds = %66, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6, %1
%71 = phi i1 [ true, %62 ], [ true, %58 ], [ true, %54 ], [ true, %50 ], [ true, %46 ], [ true, %42 ], [ true, %38 ], [ true, %34 ], [ true, %30 ], [ true, %26 ], [ true, %22 ], [ true, %18 ], [ true, %14 ], [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %69, %66 ]
%72 = zext i1 %71 to i32
ret i32 %72
}

LLVM IR (-O2):
@.str = [7 x i8] c"maroon\00"
@.str.1 = [4 x i8] c"red\00"
@.str.2 = [7 x i8] c"orange\00"
@.str.3 = [7 x i8] c"yellow\00"
@.str.4 = [6 x i8] c"olive\00"
@.str.5 = [7 x i8] c"purple\00"
@.str.6 = [8 x i8] c"fuchsia\00"
@.str.7 = [6 x i8] c"white\00"
@.str.8 = [5 x i8] c"lime\00"
@.str.9 = [6 x i8] c"green\00"
@.str.10 = [5 x i8] c"navy\00"
@.str.11 = [5 x i8] c"blue\00"
@.str.12 = [5 x i8] c"aqua\00"
@.str.13 = [5 x i8] c"teal\00"
@.str.14 = [6 x i8] c"black\00"
@.str.15 = [7 x i8] c"silver\00"
@.str.16 = [5 x i8] c"gray\00"
define i32 @matchColorName(i8** %0) {
%2 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
br i1 %3, label %4, label %53
4: ; preds = %1
%5 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %53
7: ; preds = %4
%8 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %53
10: ; preds = %7
%11 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %53
13: ; preds = %10
%14 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0))
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %53
16: ; preds = %13
%17 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %53
19: ; preds = %16
%20 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %53
22: ; preds = %19
%23 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %53
25: ; preds = %22
%26 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %53
28: ; preds = %25
%29 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0))
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %53
31: ; preds = %28
%32 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %53
34: ; preds = %31
%35 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %53
37: ; preds = %34
%38 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %53
40: ; preds = %37
%41 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %53
43: ; preds = %40
%44 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0))
%45 = icmp eq i64 %44, 0
br i1 %45, label %46, label %53
46: ; preds = %43
%47 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0))
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = tail call i64 @matchString(i8** %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
%51 = icmp ne i64 %50, 0
%52 = zext i1 %51 to i32
br label %53
53: ; preds = %49, %46, %43, %40, %37, %34, %31, %28, %25, %22, %19, %16, %13, %10, %7, %4, %1
%54 = phi i32 [ 1, %46 ], [ 1, %43 ], [ 1, %40 ], [ 1, %37 ], [ 1, %34 ], [ 1, %31 ], [ 1, %28 ], [ 1, %25 ], [ 1, %22 ], [ 1, %19 ], [ 1, %16 ], [ 1, %13 ], [ 1, %10 ], [ 1, %7 ], [ 1, %4 ], [ 1, %1 ], [ %52, %49 ]
ret i32 %54
}