#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*/ fprintf(int /*<<< orphan*/, char *, int, ...);
char *skip_whitespace(char *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
scalar_t__ strncmp(char *, char *, int);
int do_make_intrinsic(unsigned int linenum, char *p) {
  char *e;
  char *name;
  int ret_type;
  e = p;
  while (*e && (*e != ' ') && (*e != '\t') && (*e != '('))
    e++;
  if (*e == 0) {
    return -1;
  }
  *e++ = 0;
  while (*e && (*e != ','))
    e++;
  if (*e == 0) {
    return -1;
  }
  e = skip_whitespace(e + 1);
  name = e;
  if (*name == 0) {
    return -1;
  }
  while (*e && (*e != ','))
    e++;
  if (*e == 0) {
    return -1;
  }
  *e = 0;
  e = skip_whitespace(e + 1);
  if (0 == strncmp(e, "SLANG_", 6))
    e += 6;
  if (0 == strncmp(e, "VOID_TYPE", 8))
    ret_type = 'V';
  else if (0 == strncmp(e, "STRING_TYPE", 11))
    ret_type = 'S';
  else if (0 == strncmp(e, "INT_TYPE", 8))
    ret_type = 'I';
  else if (0 == strncmp(e, "DOUBLE_TYPE", 8))
    ret_type = 'D';
  else {
    fprintf(stderr, "return type on line %u is not supported\n", linenum);
    return -1;
  }
  fprintf(stdout, "  %c_F%s = %s;\n", ret_type, p, name);
  return 0;
}


x86 assembly (clang, -O0):
<do_make_intrinsic>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x25(%rbp)
je     1196 <do_make_intrinsic+0x66>
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x20,%ecx
mov    %al,-0x25(%rbp)
je     1196 <do_make_intrinsic+0x66>
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x9,%ecx
mov    %al,-0x25(%rbp)
je     1196 <do_make_intrinsic+0x66>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x28,%eax
setne  %al
mov    %al,-0x25(%rbp)
mov    -0x25(%rbp),%al
test   $0x1,%al
jne    11a6 <do_make_intrinsic+0x76>
jmp    11b7 <do_make_intrinsic+0x87>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1147 <do_make_intrinsic+0x17>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    11d3 <do_make_intrinsic+0xa3>
movl   $0xffffffff,-0x4(%rbp)
jmp    1444 <do_make_intrinsic+0x314>
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x18(%rbp)
movb   $0x0,(%rax)
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x26(%rbp)
je     120a <do_make_intrinsic+0xda>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2c,%eax
setne  %al
mov    %al,-0x26(%rbp)
mov    -0x26(%rbp),%al
test   $0x1,%al
jne    121a <do_make_intrinsic+0xea>
jmp    122b <do_make_intrinsic+0xfb>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    11e5 <do_make_intrinsic+0xb5>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    1247 <do_make_intrinsic+0x117>
movl   $0xffffffff,-0x4(%rbp)
jmp    1444 <do_make_intrinsic+0x314>
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1040 <skip_whitespace@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    127c <do_make_intrinsic+0x14c>
movl   $0xffffffff,-0x4(%rbp)
jmp    1444 <do_make_intrinsic+0x314>
jmp    1281 <do_make_intrinsic+0x151>
mov    -0x18(%rbp),%rax
movsbl (%rax),%ecx
xor    %eax,%eax
cmp    $0x0,%ecx
mov    %al,-0x27(%rbp)
je     12a6 <do_make_intrinsic+0x176>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2c,%eax
setne  %al
mov    %al,-0x27(%rbp)
mov    -0x27(%rbp),%al
test   $0x1,%al
jne    12b6 <do_make_intrinsic+0x186>
jmp    12c7 <do_make_intrinsic+0x197>
mov    -0x18(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    1281 <do_make_intrinsic+0x151>
mov    -0x18(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x0,%eax
jne    12e3 <do_make_intrinsic+0x1b3>
movl   $0xffffffff,-0x4(%rbp)
jmp    1444 <do_make_intrinsic+0x314>
mov    -0x18(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x18(%rbp),%rdi
add    $0x1,%rdi
call   1040 <skip_whitespace@plt>
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xcfa(%rip),%rsi
mov    $0x6,%edx
call   1030 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    132a <do_make_intrinsic+0x1fa>
mov    -0x18(%rbp),%rax
add    $0x6,%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rdi
lea    0xcd2(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1359 <do_make_intrinsic+0x229>
movl   $0x56,-0x24(%rbp)
jmp    141b <do_make_intrinsic+0x2eb>
mov    -0x18(%rbp),%rdi
lea    0xcad(%rip),%rsi
mov    $0xb,%edx
call   1030 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    1388 <do_make_intrinsic+0x258>
movl   $0x53,-0x24(%rbp)
jmp    1416 <do_make_intrinsic+0x2e6>
mov    -0x18(%rbp),%rdi
lea    0xc8a(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    13b7 <do_make_intrinsic+0x287>
movl   $0x49,-0x24(%rbp)
jmp    1411 <do_make_intrinsic+0x2e1>
mov    -0x18(%rbp),%rdi
lea    0xc64(%rip),%rsi
mov    $0x8,%edx
call   1030 <strncmp@plt>
mov    %rax,%rcx
xor    %eax,%eax
cmp    %rcx,%rax
jne    13e6 <do_make_intrinsic+0x2b6>
movl   $0x44,-0x24(%rbp)
jmp    140c <do_make_intrinsic+0x2dc>
mov    0x2bf3(%rip),%rax
mov    (%rax),%edi
mov    -0x8(%rbp),%edx
lea    0xc39(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0xffffffff,-0x4(%rbp)
jmp    1444 <do_make_intrinsic+0x314>
jmp    1411 <do_make_intrinsic+0x2e1>
jmp    1416 <do_make_intrinsic+0x2e6>
jmp    141b <do_make_intrinsic+0x2eb>
mov    0x2bb6(%rip),%rax
mov    (%rax),%edi
mov    -0x24(%rbp),%edx
mov    -0x10(%rbp),%rcx
mov    -0x20(%rbp),%r8
lea    0xc25(%rip),%rsi
mov    $0x0,%al
call   1050 <fprintf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<do_make_intrinsic>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r13
mov    %edi,%r14d
lea    0x1(%rsi),%rdi
jmp    1154 <do_make_intrinsic+0x24>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rdi
movzbl -0x1(%rdi),%eax
cmp    $0x1f,%al
jg     1170 <do_make_intrinsic+0x40>
test   %al,%al
je     11c1 <do_make_intrinsic+0x91>
cmp    $0x9,%al
jne    1150 <do_make_intrinsic+0x20>
jmp    1178 <do_make_intrinsic+0x48>
cs nopw 0x0(%rax,%rax,1)
cmp    $0x20,%al
je     1178 <do_make_intrinsic+0x48>
cmp    $0x28,%al
jne    1150 <do_make_intrinsic+0x20>
movb   $0x0,-0x1(%rdi)
nopl   0x0(%rax)
movzbl (%rdi),%eax
test   %al,%al
je     11c1 <do_make_intrinsic+0x91>
add    $0x1,%rdi
cmp    $0x2c,%al
jne    1180 <do_make_intrinsic+0x50>
call   1040 <skip_whitespace@plt>
mov    %rax,%r15
mov    (%rax),%al
mov    $0xffffffff,%ebp
test   %al,%al
je     11c6 <do_make_intrinsic+0x96>
mov    %r15,%rdi
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%rdi
test   %al,%al
je     11c6 <do_make_intrinsic+0x96>
cmp    $0x2c,%al
je     11d7 <do_make_intrinsic+0xa7>
movzbl (%rdi),%eax
jmp    11b0 <do_make_intrinsic+0x80>
mov    $0xffffffff,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movb   $0x0,-0x1(%rdi)
call   1040 <skip_whitespace@plt>
mov    %rax,%rbx
lea    0xe16(%rip),%rsi
mov    %rax,%rdi
mov    $0x6,%edx
call   1030 <strncmp@plt>
lea    0x6(%rbx),%r12
test   %rax,%rax
cmovne %rbx,%r12
lea    0xdfe(%rip),%rsi
mov    %r12,%rdi
mov    $0x8,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1285 <do_make_intrinsic+0x155>
lea    0xdef(%rip),%rsi
mov    %r12,%rdi
mov    $0xb,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     128c <do_make_intrinsic+0x15c>
lea    0xde2(%rip),%rsi
mov    %r12,%rdi
mov    $0x8,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     1293 <do_make_intrinsic+0x163>
lea    0xdd2(%rip),%rsi
mov    %r12,%rdi
mov    $0x8,%edx
call   1030 <strncmp@plt>
test   %rax,%rax
je     129a <do_make_intrinsic+0x16a>
mov    0x2d73(%rip),%rax
mov    (%rax),%edi
lea    0xdbc(%rip),%rsi
mov    %r14d,%edx
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    11c6 <do_make_intrinsic+0x96>
mov    $0x56,%edx
jmp    129f <do_make_intrinsic+0x16f>
mov    $0x53,%edx
jmp    129f <do_make_intrinsic+0x16f>
mov    $0x49,%edx
jmp    129f <do_make_intrinsic+0x16f>
mov    $0x44,%edx
mov    0x2d32(%rip),%rax
mov    (%rax),%edi
lea    0xdac(%rip),%rsi
xor    %ebp,%ebp
mov    %r13,%rcx
mov    %r15,%r8
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    11c6 <do_make_intrinsic+0x96>

LLVM IR (-O0):
@.str = [7 x i8] c"SLANG_\00"
@.str.1 = [10 x i8] c"VOID_TYPE\00"
@.str.2 = [12 x i8] c"STRING_TYPE\00"
@.str.3 = [9 x i8] c"INT_TYPE\00"
@.str.4 = [12 x i8] c"DOUBLE_TYPE\00"
@stderr = global i32 0
@.str.5 = [41 x i8] c"return type on line %u is not supported\0A\00"
@stdout = global i32 0
@.str.6 = [16 x i8] c" %c_F%s = %s;\0A\00"
define i32 @do_make_intrinsic(i32 %0, i8* %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i32
store i32 %0, i32* %4
store i8* %1, i8** %5
%9 = load i8*, i8** %5
store i8* %9, i8** %6
br label %10
10: ; preds = %32, %2
%11 = load i8*, i8** %6
%12 = load i8, i8* %11
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %30
15: ; preds = %10
%16 = load i8*, i8** %6
%17 = load i8, i8* %16
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 32
br i1 %19, label %20, label %30
20: ; preds = %15
%21 = load i8*, i8** %6
%22 = load i8, i8* %21
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 9
br i1 %24, label %25, label %30
25: ; preds = %20
%26 = load i8*, i8** %6
%27 = load i8, i8* %26
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 40
br label %30
30: ; preds = %25, %20, %15, %10
%31 = phi i1 [ false, %20 ], [ false, %15 ], [ false, %10 ], [ %29, %25 ]
br i1 %31, label %32, label %35
32: ; preds = %30
%33 = load i8*, i8** %6
%34 = getelementptr inbounds i8, i8* %33, i32 1
store i8* %34, i8** %6
br label %10
35: ; preds = %30
%36 = load i8*, i8** %6
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
store i32 -1, i32* %3
br label %141
41: ; preds = %35
%42 = load i8*, i8** %6
%43 = getelementptr inbounds i8, i8* %42, i32 1
store i8* %43, i8** %6
store i8 0, i8* %42
br label %44
44: ; preds = %56, %41
%45 = load i8*, i8** %6
%46 = load i8, i8* %45
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %54
49: ; preds = %44
%50 = load i8*, i8** %6
%51 = load i8, i8* %50
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 44
br label %54
54: ; preds = %49, %44
%55 = phi i1 [ false, %44 ], [ %53, %49 ]
br i1 %55, label %56, label %59
56: ; preds = %54
%57 = load i8*, i8** %6
%58 = getelementptr inbounds i8, i8* %57, i32 1
store i8* %58, i8** %6
br label %44
59: ; preds = %54
%60 = load i8*, i8** %6
%61 = load i8, i8* %60
%62 = sext i8 %61 to i32
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %59
store i32 -1, i32* %3
br label %141
65: ; preds = %59
%66 = load i8*, i8** %6
%67 = getelementptr inbounds i8, i8* %66, i64 1
%68 = call i8* @skip_whitespace(i8* %67)
store i8* %68, i8** %6
%69 = load i8*, i8** %6
store i8* %69, i8** %7
%70 = load i8*, i8** %7
%71 = load i8, i8* %70
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %65
store i32 -1, i32* %3
br label %141
75: ; preds = %65
br label %76
76: ; preds = %88, %75
%77 = load i8*, i8** %6
%78 = load i8, i8* %77
%79 = sext i8 %78 to i32
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %86
81: ; preds = %76
%82 = load i8*, i8** %6
%83 = load i8, i8* %82
%84 = sext i8 %83 to i32
%85 = icmp ne i32 %84, 44
br label %86
86: ; preds = %81, %76
%87 = phi i1 [ false, %76 ], [ %85, %81 ]
br i1 %87, label %88, label %91
88: ; preds = %86
%89 = load i8*, i8** %6
%90 = getelementptr inbounds i8, i8* %89, i32 1
store i8* %90, i8** %6
br label %76
91: ; preds = %86
%92 = load i8*, i8** %6
%93 = load i8, i8* %92
%94 = sext i8 %93 to i32
%95 = icmp eq i32 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %91
store i32 -1, i32* %3
br label %141
97: ; preds = %91
%98 = load i8*, i8** %6
store i8 0, i8* %98
%99 = load i8*, i8** %6
%100 = getelementptr inbounds i8, i8* %99, i64 1
%101 = call i8* @skip_whitespace(i8* %100)
store i8* %101, i8** %6
%102 = load i8*, i8** %6
%103 = call i64 @strncmp(i8* %102, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%104 = icmp eq i64 0, %103
br i1 %104, label %105, label %108
105: ; preds = %97
%106 = load i8*, i8** %6
%107 = getelementptr inbounds i8, i8* %106, i64 6
store i8* %107, i8** %6
br label %108
108: ; preds = %105, %97
%109 = load i8*, i8** %6
%110 = call i64 @strncmp(i8* %109, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 8)
%111 = icmp eq i64 0, %110
br i1 %111, label %112, label %113
112: ; preds = %108
store i32 86, i32* %8
br label %135
113: ; preds = %108
%114 = load i8*, i8** %6
%115 = call i64 @strncmp(i8* %114, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 11)
%116 = icmp eq i64 0, %115
br i1 %116, label %117, label %118
117: ; preds = %113
store i32 83, i32* %8
br label %134
118: ; preds = %113
%119 = load i8*, i8** %6
%120 = call i64 @strncmp(i8* %119, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 8)
%121 = icmp eq i64 0, %120
br i1 %121, label %122, label %123
122: ; preds = %118
store i32 73, i32* %8
br label %133
123: ; preds = %118
%124 = load i8*, i8** %6
%125 = call i64 @strncmp(i8* %124, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 8)
%126 = icmp eq i64 0, %125
br i1 %126, label %127, label %128
127: ; preds = %123
store i32 68, i32* %8
br label %132
128: ; preds = %123
%129 = load i32, i32* @stderr
%130 = load i32, i32* %4
%131 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %129, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %130)
store i32 -1, i32* %3
br label %141
132: ; preds = %127
br label %133
133: ; preds = %132, %122
br label %134
134: ; preds = %133, %117
br label %135
135: ; preds = %134, %112
%136 = load i32, i32* @stdout
%137 = load i32, i32* %8
%138 = load i8*, i8** %5
%139 = load i8*, i8** %7
%140 = call i32 (i32, i8*, i32, ...) @fprintf(i32 %136, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %137, i8* %138, i8* %139)
store i32 0, i32* %3
br label %141
141: ; preds = %135, %128, %96, %74, %64, %40
%142 = load i32, i32* %3
ret i32 %142
}

LLVM IR (-O2):
@.str = [7 x i8] c"SLANG_\00"
@.str.1 = [10 x i8] c"VOID_TYPE\00"
@.str.2 = [12 x i8] c"STRING_TYPE\00"
@.str.3 = [9 x i8] c"INT_TYPE\00"
@.str.4 = [12 x i8] c"DOUBLE_TYPE\00"
@stderr = global i32 0
@.str.5 = [41 x i8] c"return type on line %u is not supported\0A\00"
@stdout = global i32 0
@.str.6 = [16 x i8] c" %c_F%s = %s;\0A\00"
define i32 @do_make_intrinsic(i32 %0, i8* %1) {
br label %3
3: ; preds = %6, %2
%4 = phi i8* [ %1, %2 ], [ %7, %6 ]
%5 = load i8, i8* %4
switch i8 %5, label %6 [
i8 0, label %49
i8 9, label %8
i8 32, label %8
i8 40, label %8
]
6: ; preds = %3
%7 = getelementptr inbounds i8, i8* %4, i64 1
br label %3
8: ; preds = %3, %3, %3
store i8 0, i8* %4
br label %9
9: ; preds = %9, %8
%10 = phi i8* [ %4, %8 ], [ %11, %9 ]
%11 = getelementptr inbounds i8, i8* %10, i64 1
%12 = load i8, i8* %11
switch i8 %12, label %9 [
i8 0, label %49
i8 44, label %13
]
13: ; preds = %9
%14 = getelementptr inbounds i8, i8* %10, i64 2
%15 = tail call i8* @skip_whitespace(i8* %14)
%16 = load i8, i8* %15
%17 = icmp eq i8 %16, 0
br i1 %17, label %49, label %18
18: ; preds = %13, %21
%19 = phi i8 [ %23, %21 ], [ %16, %13 ]
%20 = phi i8* [ %22, %21 ], [ %15, %13 ]
switch i8 %19, label %21 [
i8 0, label %49
i8 44, label %24
]
21: ; preds = %18
%22 = getelementptr inbounds i8, i8* %20, i64 1
%23 = load i8, i8* %22
br label %18
24: ; preds = %18
store i8 0, i8* %20
%25 = getelementptr inbounds i8, i8* %20, i64 1
%26 = tail call i8* @skip_whitespace(i8* %25)
%27 = tail call i64 @strncmp(i8* %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 6)
%28 = icmp eq i64 %27, 0
%29 = select i1 %28, i64 6, i64 0
%30 = getelementptr i8, i8* %26, i64 %29
%31 = tail call i64 @strncmp(i8* %30, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 8)
%32 = icmp eq i64 %31, 0
br i1 %32, label %45, label %33
33: ; preds = %24
%34 = tail call i64 @strncmp(i8* %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 11)
%35 = icmp eq i64 %34, 0
br i1 %35, label %45, label %36
36: ; preds = %33
%37 = tail call i64 @strncmp(i8* %30, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i32 8)
%38 = icmp eq i64 %37, 0
br i1 %38, label %45, label %39
39: ; preds = %36
%40 = tail call i64 @strncmp(i8* %30, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0), i32 8)
%41 = icmp eq i64 %40, 0
br i1 %41, label %45, label %42
42: ; preds = %39
%43 = load i32, i32* @stderr
%44 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %43, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0), i32 %0)
br label %49
45: ; preds = %39, %36, %33, %24
%46 = phi i32 [ 86, %24 ], [ 83, %33 ], [ 73, %36 ], [ 68, %39 ]
%47 = load i32, i32* @stdout
%48 = tail call i32 (i32, i8*, i32, ...) @fprintf(i32 %47, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.6, i64 0, i64 0), i32 %46, i8* %1, i8* %15)
br label %49
49: ; preds = %3, %9, %18, %13, %45, %42
%50 = phi i32 [ 0, %45 ], [ -1, %42 ], [ -1, %13 ], [ -1, %18 ], [ -1, %9 ], [ -1, %3 ]
ret i32 %50
}