#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 */
int /*<<< orphan*/ make_lower_temp(char *);
int /*<<< orphan*/ strcmp(int /*<<< orphan*/, char *);
int is_a_fast_interface_type(char *str) {
  int retval;
  retval = (!strcmp(make_lower_temp(str), "initinputtype") ||
            !strcmp(make_lower_temp(str), "initoutputtype") ||
            !strcmp(make_lower_temp(str), "inputtype") ||
            !strcmp(make_lower_temp(str), "outputtype") ||
            !strcmp(make_lower_temp(str), "continuousstatetype") ||
            !strcmp(make_lower_temp(str), "discretestatetype") ||
            !strcmp(make_lower_temp(str), "constraintstatetype") ||
            !strcmp(make_lower_temp(str), "otherstatetype") ||
            !strcmp(make_lower_temp(str), "parametertype") ||
            !strcmp(make_lower_temp(str), "miscvartype") ||
            !strcmp(make_lower_temp(str), "partialoutputpinputtype") ||
            !strcmp(make_lower_temp(str), "partialcontstatepinputtype") ||
            !strcmp(make_lower_temp(str), "partialdiscstatepinputtype") ||
            !strcmp(make_lower_temp(str), "partialconstrstatepinputtype") || 0);
  return (retval);
}


x86 assembly (clang, -O0):
<is_a_fast_interface_type>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xec2(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xea9(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xf38(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xe5f(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xe43(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xe30(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xe1b(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xe08(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xdf0(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xdd7(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xdbc(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xdad(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xda1(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
mov    -0x8(%rbp),%rdi
call   1040 <make_lower_temp@plt>
mov    %eax,%edi
lea    0xd95(%rip),%rsi
call   1030 <strcmp@plt>
mov    %eax,%ecx
mov    $0x1,%al
cmp    $0x0,%ecx
mov    %al,-0xd(%rbp)
je     1358 <is_a_fast_interface_type+0x238>
xor    %eax,%eax
mov    %al,-0xd(%rbp)
jmp    1358 <is_a_fast_interface_type+0x238>
mov    -0xd(%rbp),%al
and    $0x1,%al
movzbl %al,%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<is_a_fast_interface_type>:
push   %rbp
push   %rbx
push   %rax
mov    %rdi,%rbx
call   1040 <make_lower_temp@plt>
lea    0xece(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
mov    $0x1,%ebp
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xeb9(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xf51(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe81(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe6e(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe64(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe58(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe4e(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe3f(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe2f(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe21(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe1f(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe20(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
test   %eax,%eax
je     12bc <is_a_fast_interface_type+0x19c>
mov    %rbx,%rdi
call   1040 <make_lower_temp@plt>
lea    0xe21(%rip),%rsi
mov    %eax,%edi
call   1030 <strcmp@plt>
xor    %ebp,%ebp
test   %eax,%eax
sete   %bpl
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@.str = [14 x i8] c"initinputtype\00"
@.str.1 = [15 x i8] c"initoutputtype\00"
@.str.2 = [10 x i8] c"inputtype\00"
@.str.3 = [11 x i8] c"outputtype\00"
@.str.4 = [20 x i8] c"continuousstatetype\00"
@.str.5 = [18 x i8] c"discretestatetype\00"
@.str.6 = [20 x i8] c"constraintstatetype\00"
@.str.7 = [15 x i8] c"otherstatetype\00"
@.str.8 = [14 x i8] c"parametertype\00"
@.str.9 = [12 x i8] c"miscvartype\00"
@.str.10 = [24 x i8] c"partialoutputpinputtype\00"
@.str.11 = [27 x i8] c"partialcontstatepinputtype\00"
@.str.12 = [27 x i8] c"partialdiscstatepinputtype\00"
@.str.13 = [29 x i8] c"partialconstrstatepinputtype\00"
define i32 @is_a_fast_interface_type(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
store i8* %0, i8** %2
%4 = load i8*, i8** %2
%5 = call i32 @make_lower_temp(i8* %4)
%6 = call i32 @strcmp(i32 %5, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %74
8: ; preds = %1
%9 = load i8*, i8** %2
%10 = call i32 @make_lower_temp(i8* %9)
%11 = call i32 @strcmp(i32 %10, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %74
13: ; preds = %8
%14 = load i8*, i8** %2
%15 = call i32 @make_lower_temp(i8* %14)
%16 = call i32 @strcmp(i32 %15, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %74
18: ; preds = %13
%19 = load i8*, i8** %2
%20 = call i32 @make_lower_temp(i8* %19)
%21 = call i32 @strcmp(i32 %20, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %74
23: ; preds = %18
%24 = load i8*, i8** %2
%25 = call i32 @make_lower_temp(i8* %24)
%26 = call i32 @strcmp(i32 %25, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %74
28: ; preds = %23
%29 = load i8*, i8** %2
%30 = call i32 @make_lower_temp(i8* %29)
%31 = call i32 @strcmp(i32 %30, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %74
33: ; preds = %28
%34 = load i8*, i8** %2
%35 = call i32 @make_lower_temp(i8* %34)
%36 = call i32 @strcmp(i32 %35, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %74
38: ; preds = %33
%39 = load i8*, i8** %2
%40 = call i32 @make_lower_temp(i8* %39)
%41 = call i32 @strcmp(i32 %40, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %74
43: ; preds = %38
%44 = load i8*, i8** %2
%45 = call i32 @make_lower_temp(i8* %44)
%46 = call i32 @strcmp(i32 %45, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0))
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %74
48: ; preds = %43
%49 = load i8*, i8** %2
%50 = call i32 @make_lower_temp(i8* %49)
%51 = call i32 @strcmp(i32 %50, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %74
53: ; preds = %48
%54 = load i8*, i8** %2
%55 = call i32 @make_lower_temp(i8* %54)
%56 = call i32 @strcmp(i32 %55, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %74
58: ; preds = %53
%59 = load i8*, i8** %2
%60 = call i32 @make_lower_temp(i8* %59)
%61 = call i32 @strcmp(i32 %60, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %74
63: ; preds = %58
%64 = load i8*, i8** %2
%65 = call i32 @make_lower_temp(i8* %64)
%66 = call i32 @strcmp(i32 %65, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %74
68: ; preds = %63
%69 = load i8*, i8** %2
%70 = call i32 @make_lower_temp(i8* %69)
%71 = call i32 @strcmp(i32 %70, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0))
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %68
br label %74
74: ; preds = %73, %68, %63, %58, %53, %48, %43, %38, %33, %28, %23, %18, %13, %8, %1
%75 = phi i1 [ true, %68 ], [ true, %63 ], [ true, %58 ], [ true, %53 ], [ true, %48 ], [ true, %43 ], [ true, %38 ], [ true, %33 ], [ true, %28 ], [ true, %23 ], [ true, %18 ], [ true, %13 ], [ true, %8 ], [ true, %1 ], [ false, %73 ]
%76 = zext i1 %75 to i32
store i32 %76, i32* %3
%77 = load i32, i32* %3
ret i32 %77
}

LLVM IR (-O2):
@.str = [14 x i8] c"initinputtype\00"
@.str.1 = [15 x i8] c"initoutputtype\00"
@.str.2 = [10 x i8] c"inputtype\00"
@.str.3 = [11 x i8] c"outputtype\00"
@.str.4 = [20 x i8] c"continuousstatetype\00"
@.str.5 = [18 x i8] c"discretestatetype\00"
@.str.6 = [20 x i8] c"constraintstatetype\00"
@.str.7 = [15 x i8] c"otherstatetype\00"
@.str.8 = [14 x i8] c"parametertype\00"
@.str.9 = [12 x i8] c"miscvartype\00"
@.str.10 = [24 x i8] c"partialoutputpinputtype\00"
@.str.11 = [27 x i8] c"partialcontstatepinputtype\00"
@.str.12 = [27 x i8] c"partialdiscstatepinputtype\00"
@.str.13 = [29 x i8] c"partialconstrstatepinputtype\00"
define i32 @is_a_fast_interface_type(i8* %0) {
%2 = tail call i32 @make_lower_temp(i8* %0)
%3 = tail call i32 @strcmp(i32 %2, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%4 = icmp eq i32 %3, 0
br i1 %4, label %58, label %5
5: ; preds = %1
%6 = tail call i32 @make_lower_temp(i8* %0)
%7 = tail call i32 @strcmp(i32 %6, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.1, i64 0, i64 0))
%8 = icmp eq i32 %7, 0
br i1 %8, label %58, label %9
9: ; preds = %5
%10 = tail call i32 @make_lower_temp(i8* %0)
%11 = tail call i32 @strcmp(i32 %10, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
%12 = icmp eq i32 %11, 0
br i1 %12, label %58, label %13
13: ; preds = %9
%14 = tail call i32 @make_lower_temp(i8* %0)
%15 = tail call i32 @strcmp(i32 %14, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%16 = icmp eq i32 %15, 0
br i1 %16, label %58, label %17
17: ; preds = %13
%18 = tail call i32 @make_lower_temp(i8* %0)
%19 = tail call i32 @strcmp(i32 %18, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0))
%20 = icmp eq i32 %19, 0
br i1 %20, label %58, label %21
21: ; preds = %17
%22 = tail call i32 @make_lower_temp(i8* %0)
%23 = tail call i32 @strcmp(i32 %22, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%24 = icmp eq i32 %23, 0
br i1 %24, label %58, label %25
25: ; preds = %21
%26 = tail call i32 @make_lower_temp(i8* %0)
%27 = tail call i32 @strcmp(i32 %26, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%28 = icmp eq i32 %27, 0
br i1 %28, label %58, label %29
29: ; preds = %25
%30 = tail call i32 @make_lower_temp(i8* %0)
%31 = tail call i32 @strcmp(i32 %30, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.7, i64 0, i64 0))
%32 = icmp eq i32 %31, 0
br i1 %32, label %58, label %33
33: ; preds = %29
%34 = tail call i32 @make_lower_temp(i8* %0)
%35 = tail call i32 @strcmp(i32 %34, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.8, i64 0, i64 0))
%36 = icmp eq i32 %35, 0
br i1 %36, label %58, label %37
37: ; preds = %33
%38 = tail call i32 @make_lower_temp(i8* %0)
%39 = tail call i32 @strcmp(i32 %38, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.9, i64 0, i64 0))
%40 = icmp eq i32 %39, 0
br i1 %40, label %58, label %41
41: ; preds = %37
%42 = tail call i32 @make_lower_temp(i8* %0)
%43 = tail call i32 @strcmp(i32 %42, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%44 = icmp eq i32 %43, 0
br i1 %44, label %58, label %45
45: ; preds = %41
%46 = tail call i32 @make_lower_temp(i8* %0)
%47 = tail call i32 @strcmp(i32 %46, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.11, i64 0, i64 0))
%48 = icmp eq i32 %47, 0
br i1 %48, label %58, label %49
49: ; preds = %45
%50 = tail call i32 @make_lower_temp(i8* %0)
%51 = tail call i32 @strcmp(i32 %50, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.12, i64 0, i64 0))
%52 = icmp eq i32 %51, 0
br i1 %52, label %58, label %53
53: ; preds = %49
%54 = tail call i32 @make_lower_temp(i8* %0)
%55 = tail call i32 @strcmp(i32 %54, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.13, i64 0, i64 0))
%56 = icmp eq i32 %55, 0
%57 = zext i1 %56 to i32
br label %58
58: ; preds = %53, %49, %45, %41, %37, %33, %29, %25, %21, %17, %13, %9, %5, %1
%59 = phi i32 [ 1, %49 ], [ 1, %45 ], [ 1, %41 ], [ 1, %37 ], [ 1, %33 ], [ 1, %29 ], [ 1, %25 ], [ 1, %21 ], [ 1, %17 ], [ 1, %13 ], [ 1, %9 ], [ 1, %5 ], [ 1, %1 ], [ %57, %53 ]
ret i32 %59
}