#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 */
char *strchr(char *, char);
int /*<<< orphan*/ strcpy(char *, char *);
short CompExpr(char *str, char *name1, char *name2, char *name3) {
  char s[100];
  char *p1, *p2;
  strcpy(s, str);
  p1 = strchr(s, '=');
  *p1 = 0;
  p1++;
  strcpy(name1, s);
  if (*p1 == '-') {
    name3[0] = 0;
    strcpy(name2, p1 + 1);
    return 0x21;
  }
  if (*p1 == '~') {
    name3[0] = 0;
    strcpy(name2, p1 + 1);
    return 0x2A;
  }
  p2 = strchr(p1, '+');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x22;
  }
  p2 = strchr(p1, '-');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x23;
  }
  p2 = strchr(p1, '/');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x24;
  }
  p2 = strchr(p1, '*');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x25;
  }
  p2 = strchr(p1, '%');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x26;
  }
  p2 = strchr(p1, '&');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x27;
  }
  p2 = strchr(p1, '|');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x28;
  }
  p2 = strchr(p1, '^');
  if (p2 != NULL) {
    *p2 = 0;
    p2++;
    strcpy(name2, p1);
    strcpy(name3, p2);
    return 0x29;
  }
  strcpy(name2, p1);
  name3[0] = 0;
  return 0x20;
}


x86 assembly (clang, -O0):
<CompExpr>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %rdx,-0x20(%rbp)
mov    %rcx,-0x28(%rbp)
lea    -0x90(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x90(%rbp),%rdi
mov    $0x3d,%esi
call   1040 <strchr@plt>
mov    %rax,-0x98(%rbp)
mov    -0x98(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x98(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x98(%rbp)
mov    -0x18(%rbp),%rdi
lea    -0x90(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x98(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x2d,%eax
jne    11c8 <CompExpr+0xa8>
mov    -0x28(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
add    $0x1,%rsi
call   1030 <strcpy@plt>
movw   $0x21,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rax
movsbl (%rax),%eax
cmp    $0x7e,%eax
jne    1201 <CompExpr+0xe1>
mov    -0x28(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
add    $0x1,%rsi
call   1030 <strcpy@plt>
movw   $0x2a,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x2b,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     126e <CompExpr+0x14e>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x22,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x2d,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     12db <CompExpr+0x1bb>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x23,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x2f,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     1348 <CompExpr+0x228>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x24,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x2a,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     13b5 <CompExpr+0x295>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x25,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x25,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     1422 <CompExpr+0x302>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x26,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x26,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     148f <CompExpr+0x36f>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x27,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x7c,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     14fc <CompExpr+0x3dc>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x28,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x98(%rbp),%rdi
mov    $0x5e,%esi
call   1040 <strchr@plt>
mov    %rax,-0xa0(%rbp)
cmpq   $0x0,-0xa0(%rbp)
je     1569 <CompExpr+0x449>
mov    -0xa0(%rbp),%rax
movb   $0x0,(%rax)
mov    -0xa0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0xa0(%rbp)
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rdi
mov    -0xa0(%rbp),%rsi
call   1030 <strcpy@plt>
movw   $0x29,-0x2(%rbp)
jmp    1586 <CompExpr+0x466>
mov    -0x20(%rbp),%rdi
mov    -0x98(%rbp),%rsi
call   1030 <strcpy@plt>
mov    -0x28(%rbp),%rax
movb   $0x0,(%rax)
movw   $0x20,-0x2(%rbp)
movswl -0x2(%rbp),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<CompExpr>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x70,%rsp
mov    %rcx,%r14
mov    %rdx,%r15
mov    %rsi,%r13
mov    %rdi,%rsi
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1030 <strcpy@plt>
mov    %rbx,%rdi
mov    $0x3d,%esi
call   1040 <strchr@plt>
mov    %rax,%r12
movb   $0x0,(%rax)
mov    %r13,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    0x1(%r12),%al
cmp    $0x7e,%al
je     118b <CompExpr+0x6b>
cmp    $0x2d,%al
jne    11a7 <CompExpr+0x87>
movb   $0x0,(%r14)
add    $0x2,%r12
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    $0x21,%ax
jmp    1390 <CompExpr+0x270>
movb   $0x0,(%r14)
add    $0x2,%r12
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    $0x2a,%ax
jmp    1390 <CompExpr+0x270>
add    $0x1,%r12
mov    %r12,%rdi
mov    $0x2b,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     11e6 <CompExpr+0xc6>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x22,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x2d,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     1221 <CompExpr+0x101>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x23,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x2f,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     125c <CompExpr+0x13c>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x24,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x2a,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     1297 <CompExpr+0x177>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x25,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x25,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     12d2 <CompExpr+0x1b2>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x26,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x26,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     130d <CompExpr+0x1ed>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x27,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x7c,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     1345 <CompExpr+0x225>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x28,%ax
jmp    1390 <CompExpr+0x270>
mov    %r12,%rdi
mov    $0x5e,%esi
call   1040 <strchr@plt>
test   %rax,%rax
je     137d <CompExpr+0x25d>
mov    %rax,%rbx
movb   $0x0,(%rax)
add    $0x1,%rbx
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
call   1030 <strcpy@plt>
mov    $0x29,%ax
jmp    1390 <CompExpr+0x270>
mov    %r15,%rdi
mov    %r12,%rsi
call   1030 <strcpy@plt>
movb   $0x0,(%r14)
mov    $0x20,%ax
add    $0x70,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
define signext i16 @CompExpr(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca i16
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
%9 = alloca i8*
%10 = alloca [100 x i8]
%11 = alloca i8*
%12 = alloca i8*
store i8* %0, i8** %6
store i8* %1, i8** %7
store i8* %2, i8** %8
store i8* %3, i8** %9
%13 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%14 = load i8*, i8** %6
%15 = call i32 @strcpy(i8* %13, i8* %14)
%16 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%17 = call i8* @strchr(i8* %16, i8 signext 61)
store i8* %17, i8** %11
%18 = load i8*, i8** %11
store i8 0, i8* %18
%19 = load i8*, i8** %11
%20 = getelementptr inbounds i8, i8* %19, i32 1
store i8* %20, i8** %11
%21 = load i8*, i8** %7
%22 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
%23 = call i32 @strcpy(i8* %21, i8* %22)
%24 = load i8*, i8** %11
%25 = load i8, i8* %24
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 45
br i1 %27, label %28, label %35
28: ; preds = %4
%29 = load i8*, i8** %9
%30 = getelementptr inbounds i8, i8* %29, i64 0
store i8 0, i8* %30
%31 = load i8*, i8** %8
%32 = load i8*, i8** %11
%33 = getelementptr inbounds i8, i8* %32, i64 1
%34 = call i32 @strcpy(i8* %31, i8* %33)
store i16 33, i16* %5
br label %173
35: ; preds = %4
%36 = load i8*, i8** %11
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 126
br i1 %39, label %40, label %47
40: ; preds = %35
%41 = load i8*, i8** %9
%42 = getelementptr inbounds i8, i8* %41, i64 0
store i8 0, i8* %42
%43 = load i8*, i8** %8
%44 = load i8*, i8** %11
%45 = getelementptr inbounds i8, i8* %44, i64 1
%46 = call i32 @strcpy(i8* %43, i8* %45)
store i16 42, i16* %5
br label %173
47: ; preds = %35
%48 = load i8*, i8** %11
%49 = call i8* @strchr(i8* %48, i8 signext 43)
store i8* %49, i8** %12
%50 = load i8*, i8** %12
%51 = icmp ne i8* %50, null
br i1 %51, label %52, label %62
52: ; preds = %47
%53 = load i8*, i8** %12
store i8 0, i8* %53
%54 = load i8*, i8** %12
%55 = getelementptr inbounds i8, i8* %54, i32 1
store i8* %55, i8** %12
%56 = load i8*, i8** %8
%57 = load i8*, i8** %11
%58 = call i32 @strcpy(i8* %56, i8* %57)
%59 = load i8*, i8** %9
%60 = load i8*, i8** %12
%61 = call i32 @strcpy(i8* %59, i8* %60)
store i16 34, i16* %5
br label %173
62: ; preds = %47
%63 = load i8*, i8** %11
%64 = call i8* @strchr(i8* %63, i8 signext 45)
store i8* %64, i8** %12
%65 = load i8*, i8** %12
%66 = icmp ne i8* %65, null
br i1 %66, label %67, label %77
67: ; preds = %62
%68 = load i8*, i8** %12
store i8 0, i8* %68
%69 = load i8*, i8** %12
%70 = getelementptr inbounds i8, i8* %69, i32 1
store i8* %70, i8** %12
%71 = load i8*, i8** %8
%72 = load i8*, i8** %11
%73 = call i32 @strcpy(i8* %71, i8* %72)
%74 = load i8*, i8** %9
%75 = load i8*, i8** %12
%76 = call i32 @strcpy(i8* %74, i8* %75)
store i16 35, i16* %5
br label %173
77: ; preds = %62
%78 = load i8*, i8** %11
%79 = call i8* @strchr(i8* %78, i8 signext 47)
store i8* %79, i8** %12
%80 = load i8*, i8** %12
%81 = icmp ne i8* %80, null
br i1 %81, label %82, label %92
82: ; preds = %77
%83 = load i8*, i8** %12
store i8 0, i8* %83
%84 = load i8*, i8** %12
%85 = getelementptr inbounds i8, i8* %84, i32 1
store i8* %85, i8** %12
%86 = load i8*, i8** %8
%87 = load i8*, i8** %11
%88 = call i32 @strcpy(i8* %86, i8* %87)
%89 = load i8*, i8** %9
%90 = load i8*, i8** %12
%91 = call i32 @strcpy(i8* %89, i8* %90)
store i16 36, i16* %5
br label %173
92: ; preds = %77
%93 = load i8*, i8** %11
%94 = call i8* @strchr(i8* %93, i8 signext 42)
store i8* %94, i8** %12
%95 = load i8*, i8** %12
%96 = icmp ne i8* %95, null
br i1 %96, label %97, label %107
97: ; preds = %92
%98 = load i8*, i8** %12
store i8 0, i8* %98
%99 = load i8*, i8** %12
%100 = getelementptr inbounds i8, i8* %99, i32 1
store i8* %100, i8** %12
%101 = load i8*, i8** %8
%102 = load i8*, i8** %11
%103 = call i32 @strcpy(i8* %101, i8* %102)
%104 = load i8*, i8** %9
%105 = load i8*, i8** %12
%106 = call i32 @strcpy(i8* %104, i8* %105)
store i16 37, i16* %5
br label %173
107: ; preds = %92
%108 = load i8*, i8** %11
%109 = call i8* @strchr(i8* %108, i8 signext 37)
store i8* %109, i8** %12
%110 = load i8*, i8** %12
%111 = icmp ne i8* %110, null
br i1 %111, label %112, label %122
112: ; preds = %107
%113 = load i8*, i8** %12
store i8 0, i8* %113
%114 = load i8*, i8** %12
%115 = getelementptr inbounds i8, i8* %114, i32 1
store i8* %115, i8** %12
%116 = load i8*, i8** %8
%117 = load i8*, i8** %11
%118 = call i32 @strcpy(i8* %116, i8* %117)
%119 = load i8*, i8** %9
%120 = load i8*, i8** %12
%121 = call i32 @strcpy(i8* %119, i8* %120)
store i16 38, i16* %5
br label %173
122: ; preds = %107
%123 = load i8*, i8** %11
%124 = call i8* @strchr(i8* %123, i8 signext 38)
store i8* %124, i8** %12
%125 = load i8*, i8** %12
%126 = icmp ne i8* %125, null
br i1 %126, label %127, label %137
127: ; preds = %122
%128 = load i8*, i8** %12
store i8 0, i8* %128
%129 = load i8*, i8** %12
%130 = getelementptr inbounds i8, i8* %129, i32 1
store i8* %130, i8** %12
%131 = load i8*, i8** %8
%132 = load i8*, i8** %11
%133 = call i32 @strcpy(i8* %131, i8* %132)
%134 = load i8*, i8** %9
%135 = load i8*, i8** %12
%136 = call i32 @strcpy(i8* %134, i8* %135)
store i16 39, i16* %5
br label %173
137: ; preds = %122
%138 = load i8*, i8** %11
%139 = call i8* @strchr(i8* %138, i8 signext 124)
store i8* %139, i8** %12
%140 = load i8*, i8** %12
%141 = icmp ne i8* %140, null
br i1 %141, label %142, label %152
142: ; preds = %137
%143 = load i8*, i8** %12
store i8 0, i8* %143
%144 = load i8*, i8** %12
%145 = getelementptr inbounds i8, i8* %144, i32 1
store i8* %145, i8** %12
%146 = load i8*, i8** %8
%147 = load i8*, i8** %11
%148 = call i32 @strcpy(i8* %146, i8* %147)
%149 = load i8*, i8** %9
%150 = load i8*, i8** %12
%151 = call i32 @strcpy(i8* %149, i8* %150)
store i16 40, i16* %5
br label %173
152: ; preds = %137
%153 = load i8*, i8** %11
%154 = call i8* @strchr(i8* %153, i8 signext 94)
store i8* %154, i8** %12
%155 = load i8*, i8** %12
%156 = icmp ne i8* %155, null
br i1 %156, label %157, label %167
157: ; preds = %152
%158 = load i8*, i8** %12
store i8 0, i8* %158
%159 = load i8*, i8** %12
%160 = getelementptr inbounds i8, i8* %159, i32 1
store i8* %160, i8** %12
%161 = load i8*, i8** %8
%162 = load i8*, i8** %11
%163 = call i32 @strcpy(i8* %161, i8* %162)
%164 = load i8*, i8** %9
%165 = load i8*, i8** %12
%166 = call i32 @strcpy(i8* %164, i8* %165)
store i16 41, i16* %5
br label %173
167: ; preds = %152
%168 = load i8*, i8** %8
%169 = load i8*, i8** %11
%170 = call i32 @strcpy(i8* %168, i8* %169)
%171 = load i8*, i8** %9
%172 = getelementptr inbounds i8, i8* %171, i64 0
store i8 0, i8* %172
store i16 32, i16* %5
br label %173
173: ; preds = %167, %157, %142, %127, %112, %97, %82, %67, %52, %40, %28
%174 = load i16, i16* %5
ret i16 %174
}

LLVM IR (-O2):
define signext i16 @CompExpr(i8* %0, i8* %1, i8* %2, i8* %3) {
%5 = alloca [100 x i8]
%6 = getelementptr inbounds [100 x i8], [100 x i8]* %5, i64 0, i64 0
%7 = call i32 @strcpy(i8* %6, i8* %0)
%8 = call i8* @strchr(i8* %6, i8 signext 61)
store i8 0, i8* %8
%9 = getelementptr inbounds i8, i8* %8, i64 1
%10 = call i32 @strcpy(i8* %1, i8* %6)
%11 = load i8, i8* %9
switch i8 %11, label %18 [
i8 45, label %12
i8 126, label %15
]
12: ; preds = %4
store i8 0, i8* %3
%13 = getelementptr inbounds i8, i8* %8, i64 2
%14 = call i32 @strcpy(i8* %2, i8* %13)
br label %76
15: ; preds = %4
store i8 0, i8* %3
%16 = getelementptr inbounds i8, i8* %8, i64 2
%17 = call i32 @strcpy(i8* %2, i8* %16)
br label %76
18: ; preds = %4
%19 = call i8* @strchr(i8* %9, i8 signext 43)
%20 = icmp eq i8* %19, null
br i1 %20, label %25, label %21
21: ; preds = %18
store i8 0, i8* %19
%22 = getelementptr inbounds i8, i8* %19, i64 1
%23 = call i32 @strcpy(i8* %2, i8* %9)
%24 = call i32 @strcpy(i8* %3, i8* %22)
br label %76
25: ; preds = %18
%26 = call i8* @strchr(i8* %9, i8 signext 45)
%27 = icmp eq i8* %26, null
br i1 %27, label %32, label %28
28: ; preds = %25
store i8 0, i8* %26
%29 = getelementptr inbounds i8, i8* %26, i64 1
%30 = call i32 @strcpy(i8* %2, i8* %9)
%31 = call i32 @strcpy(i8* %3, i8* %29)
br label %76
32: ; preds = %25
%33 = call i8* @strchr(i8* %9, i8 signext 47)
%34 = icmp eq i8* %33, null
br i1 %34, label %39, label %35
35: ; preds = %32
store i8 0, i8* %33
%36 = getelementptr inbounds i8, i8* %33, i64 1
%37 = call i32 @strcpy(i8* %2, i8* %9)
%38 = call i32 @strcpy(i8* %3, i8* %36)
br label %76
39: ; preds = %32
%40 = call i8* @strchr(i8* %9, i8 signext 42)
%41 = icmp eq i8* %40, null
br i1 %41, label %46, label %42
42: ; preds = %39
store i8 0, i8* %40
%43 = getelementptr inbounds i8, i8* %40, i64 1
%44 = call i32 @strcpy(i8* %2, i8* %9)
%45 = call i32 @strcpy(i8* %3, i8* %43)
br label %76
46: ; preds = %39
%47 = call i8* @strchr(i8* %9, i8 signext 37)
%48 = icmp eq i8* %47, null
br i1 %48, label %53, label %49
49: ; preds = %46
store i8 0, i8* %47
%50 = getelementptr inbounds i8, i8* %47, i64 1
%51 = call i32 @strcpy(i8* %2, i8* %9)
%52 = call i32 @strcpy(i8* %3, i8* %50)
br label %76
53: ; preds = %46
%54 = call i8* @strchr(i8* %9, i8 signext 38)
%55 = icmp eq i8* %54, null
br i1 %55, label %60, label %56
56: ; preds = %53
store i8 0, i8* %54
%57 = getelementptr inbounds i8, i8* %54, i64 1
%58 = call i32 @strcpy(i8* %2, i8* %9)
%59 = call i32 @strcpy(i8* %3, i8* %57)
br label %76
60: ; preds = %53
%61 = call i8* @strchr(i8* %9, i8 signext 124)
%62 = icmp eq i8* %61, null
br i1 %62, label %67, label %63
63: ; preds = %60
store i8 0, i8* %61
%64 = getelementptr inbounds i8, i8* %61, i64 1
%65 = call i32 @strcpy(i8* %2, i8* %9)
%66 = call i32 @strcpy(i8* %3, i8* %64)
br label %76
67: ; preds = %60
%68 = call i8* @strchr(i8* %9, i8 signext 94)
%69 = icmp eq i8* %68, null
br i1 %69, label %74, label %70
70: ; preds = %67
store i8 0, i8* %68
%71 = getelementptr inbounds i8, i8* %68, i64 1
%72 = call i32 @strcpy(i8* %2, i8* %9)
%73 = call i32 @strcpy(i8* %3, i8* %71)
br label %76
74: ; preds = %67
%75 = call i32 @strcpy(i8* %2, i8* %9)
store i8 0, i8* %3
br label %76
76: ; preds = %74, %70, %63, %56, %49, %42, %35, %28, %21, %15, %12
%77 = phi i16 [ 33, %12 ], [ 42, %15 ], [ 34, %21 ], [ 35, %28 ], [ 36, %35 ], [ 37, %42 ], [ 38, %49 ], [ 39, %56 ], [ 40, %63 ], [ 41, %70 ], [ 32, %74 ]
ret i16 %77
}