#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*/ ReportError(int, int, char *);
int ComputeLogic(float Left, float Right, char *Operator) {
  int Response = 1;
  switch (Operator[0]) {
  case '=':
    switch (Operator[1]) {
    case '\x00':
      ReportError(1, 11, "For logical EQUALS use ==");
      break;
    case '=':
      Response = (Left == Right) ? 0 : 1;
      break;
    default:
      ReportError(1, 12, "For logical EQUALS use ==");
      break;
    }
    break;
  case '!':
    switch (Operator[1]) {
    case '\x00':
      ReportError(1, 12, "For logical NOT EQUALS use !=");
      break;
    case '=':
      Response = (Left != Right) ? 0 : 1;
      break;
    default:
      ReportError(1, 11, "For logical NOT EQUALS use !=");
      break;
    }
    break;
  case '<':
    switch (Operator[1]) {
    case '\x00':
      Response = (Left < Right) ? 0 : 1;
      break;
    case '=':
      Response = (Left <= Right) ? 0 : 1;
      break;
    default:
      ReportError(1, 12, "For logical LESS THAN EQUALS use <=");
      break;
    }
    break;
  case '>':
    switch (Operator[1]) {
    case '\x00':
      Response = (Left > Right) ? 0 : 1;
      break;
    case '=':
      Response = (Left >= Right) ? 0 : 1;
      break;
    default:
      ReportError(1, 12, "For logical GREATER THAN EQUALS use >=");
      break;
    }
    break;
  case '&':
    switch (Operator[1]) {
    case '\x00':
      ReportError(1, 12, "For logical AND use &&");
      break;
    case '&':
      Response = ((Left == 0) && (Right == 0)) ? 0 : 1;
      break;
    default:
      ReportError(1, 12, "For logical AND use &&");
      break;
    }
    break;
  case '|':
    switch (Operator[1]) {
    case '\x00':
      ReportError(1, 13, "For logical OR use ||");
      break;
    case '|':
      Response = ((Left == 0) || (Right == 0)) ? 0 : 1;
      break;
    default:
      ReportError(1, 12, "For logical OR use ||");
      break;
    }
    break;
  default:
    ReportError(1, 12, Operator);
    break;
  }
  return (Response);
}


x86 assembly (clang, -O0):
<ComputeLogic>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movss  %xmm0,-0x4(%rbp)
movss  %xmm1,-0x8(%rbp)
mov    %rdi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
mov    -0x10(%rbp),%rax
movsbl (%rax),%eax
mov    %eax,-0x18(%rbp)
sub    $0x21,%eax
je     1222 <ComputeLogic+0x112>
jmp    1145 <ComputeLogic+0x35>
mov    -0x18(%rbp),%eax
sub    $0x26,%eax
je     13ae <ComputeLogic+0x29e>
jmp    1156 <ComputeLogic+0x46>
mov    -0x18(%rbp),%eax
sub    $0x3c,%eax
je     12aa <ComputeLogic+0x19a>
jmp    1167 <ComputeLogic+0x57>
mov    -0x18(%rbp),%eax
sub    $0x3d,%eax
je     119a <ComputeLogic+0x8a>
jmp    1178 <ComputeLogic+0x68>
mov    -0x18(%rbp),%eax
sub    $0x3e,%eax
je     132c <ComputeLogic+0x21c>
jmp    1189 <ComputeLogic+0x79>
mov    -0x18(%rbp),%eax
sub    $0x7c,%eax
je     1457 <ComputeLogic+0x347>
jmp    1505 <ComputeLogic+0x3f5>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
mov    %eax,-0x1c(%rbp)
test   %eax,%eax
je     11c3 <ComputeLogic+0xb3>
jmp    11b2 <ComputeLogic+0xa2>
mov    -0x1c(%rbp),%eax
sub    $0x3d,%eax
je     11de <ComputeLogic+0xce>
jmp    1207 <ComputeLogic+0xf7>
mov    $0x1,%edi
mov    $0xb,%esi
lea    0xe2c(%rip),%rdx
call   1030 <ReportError@plt>
jmp    121d <ComputeLogic+0x10d>
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
mov    $0x1,%eax
xor    %ecx,%ecx
ucomiss %xmm1,%xmm0
setnp  %sil
sete   %dl
test   %sil,%dl
cmovne %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    121d <ComputeLogic+0x10d>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xde8(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1518 <ComputeLogic+0x408>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
mov    %eax,-0x20(%rbp)
test   %eax,%eax
je     124b <ComputeLogic+0x13b>
jmp    123a <ComputeLogic+0x12a>
mov    -0x20(%rbp),%eax
sub    $0x3d,%eax
je     1266 <ComputeLogic+0x156>
jmp    128f <ComputeLogic+0x17f>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xdbe(%rip),%rdx
call   1030 <ReportError@plt>
jmp    12a5 <ComputeLogic+0x195>
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
mov    $0x1,%eax
xor    %ecx,%ecx
ucomiss %xmm1,%xmm0
setp   %sil
setne  %dl
or     %sil,%dl
cmovne %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    12a5 <ComputeLogic+0x195>
mov    $0x1,%edi
mov    $0xb,%esi
lea    0xd7a(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1518 <ComputeLogic+0x408>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
mov    %eax,-0x24(%rbp)
test   %eax,%eax
je     12d3 <ComputeLogic+0x1c3>
jmp    12c2 <ComputeLogic+0x1b2>
mov    -0x24(%rbp),%eax
sub    $0x3d,%eax
je     12f2 <ComputeLogic+0x1e2>
jmp    1311 <ComputeLogic+0x201>
movss  -0x4(%rbp),%xmm1
movss  -0x8(%rbp),%xmm0
mov    $0x1,%eax
xor    %ecx,%ecx
ucomiss %xmm1,%xmm0
cmova  %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    1327 <ComputeLogic+0x217>
movss  -0x4(%rbp),%xmm1
movss  -0x8(%rbp),%xmm0
mov    $0x1,%eax
xor    %ecx,%ecx
ucomiss %xmm1,%xmm0
cmovae %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    1327 <ComputeLogic+0x217>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xd16(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1518 <ComputeLogic+0x408>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
mov    %eax,-0x28(%rbp)
test   %eax,%eax
je     1355 <ComputeLogic+0x245>
jmp    1344 <ComputeLogic+0x234>
mov    -0x28(%rbp),%eax
sub    $0x3d,%eax
je     1374 <ComputeLogic+0x264>
jmp    1393 <ComputeLogic+0x283>
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
mov    $0x1,%eax
xor    %ecx,%ecx
ucomiss %xmm1,%xmm0
cmova  %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    13a9 <ComputeLogic+0x299>
movss  -0x4(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
mov    $0x1,%eax
xor    %ecx,%ecx
ucomiss %xmm1,%xmm0
cmovae %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    13a9 <ComputeLogic+0x299>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xcb8(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1518 <ComputeLogic+0x408>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
mov    %eax,-0x2c(%rbp)
test   %eax,%eax
je     13d7 <ComputeLogic+0x2c7>
jmp    13c6 <ComputeLogic+0x2b6>
mov    -0x2c(%rbp),%eax
sub    $0x26,%eax
je     13f2 <ComputeLogic+0x2e2>
jmp    143c <ComputeLogic+0x32c>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xc9b(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1452 <ComputeLogic+0x342>
movss  -0x4(%rbp),%xmm0
xor    %eax,%eax
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0x2d(%rbp)
jne    1424 <ComputeLogic+0x314>
jp     1424 <ComputeLogic+0x314>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
mov    %al,-0x2d(%rbp)
mov    -0x2d(%rbp),%dl
mov    $0x1,%eax
xor    %ecx,%ecx
test   $0x1,%dl
cmovne %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    1452 <ComputeLogic+0x342>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xc36(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1518 <ComputeLogic+0x408>
mov    -0x10(%rbp),%rax
movsbl 0x1(%rax),%eax
mov    %eax,-0x34(%rbp)
test   %eax,%eax
je     1480 <ComputeLogic+0x370>
jmp    146f <ComputeLogic+0x35f>
mov    -0x34(%rbp),%eax
sub    $0x7c,%eax
je     149b <ComputeLogic+0x38b>
jmp    14ea <ComputeLogic+0x3da>
mov    $0x1,%edi
mov    $0xd,%esi
lea    0xc09(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1500 <ComputeLogic+0x3f0>
movss  -0x4(%rbp),%xmm0
mov    $0x1,%al
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
mov    %al,-0x35(%rbp)
jne    14bc <ComputeLogic+0x3ac>
jp     14bc <ComputeLogic+0x3ac>
jmp    14d2 <ComputeLogic+0x3c2>
movss  -0x8(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
sete   %al
setnp  %cl
and    %cl,%al
mov    %al,-0x35(%rbp)
mov    -0x35(%rbp),%dl
mov    $0x1,%eax
xor    %ecx,%ecx
test   $0x1,%dl
cmovne %ecx,%eax
mov    %eax,-0x14(%rbp)
jmp    1500 <ComputeLogic+0x3f0>
mov    $0x1,%edi
mov    $0xc,%esi
lea    0xb9f(%rip),%rdx
call   1030 <ReportError@plt>
jmp    1518 <ComputeLogic+0x408>
mov    -0x10(%rbp),%rdx
mov    $0x1,%edi
mov    $0xc,%esi
call   1030 <ReportError@plt>
mov    -0x14(%rbp),%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ComputeLogic>:
push   %rax
mov    %rdi,%rdx
movsbl (%rdi),%ecx
lea    -0x21(%rcx),%eax
cmp    $0x1d,%eax
ja     114d <ComputeLogic+0x3d>
lea    0xeda(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movsbl 0x1(%rdx),%eax
cmp    $0x3d,%eax
je     11e5 <ComputeLogic+0xd5>
lea    0xf4f(%rip),%rdx
test   %eax,%eax
je     1237 <ComputeLogic+0x127>
jmp    11c4 <ComputeLogic+0xb4>
cmp    $0x7c,%ecx
jne    1237 <ComputeLogic+0x127>
movsbl 0x1(%rdx),%eax
cmp    $0x7c,%eax
je     124d <ComputeLogic+0x13d>
lea    0xfa8(%rip),%rdx
test   %eax,%eax
jne    1237 <ComputeLogic+0x127>
mov    $0x1,%edi
mov    $0xd,%esi
jmp    1241 <ComputeLogic+0x131>
movsbl 0x1(%rdx),%eax
cmp    $0x26,%eax
je     11ec <ComputeLogic+0xdc>
test   %eax,%eax
lea    0xf68(%rip),%rdx
jmp    1237 <ComputeLogic+0x127>
movsbl 0x1(%rdx),%eax
cmp    $0x3d,%eax
je     1209 <ComputeLogic+0xf9>
test   %eax,%eax
jne    1211 <ComputeLogic+0x101>
ucomiss %xmm0,%xmm1
setbe  %al
jmp    1248 <ComputeLogic+0x138>
movsbl 0x1(%rdx),%eax
cmp    $0x3d,%eax
je     121a <ComputeLogic+0x10a>
lea    0xeb8(%rip),%rdx
test   %eax,%eax
jne    1237 <ComputeLogic+0x127>
mov    $0x1,%edi
mov    $0xb,%esi
jmp    1241 <ComputeLogic+0x131>
movsbl 0x1(%rdx),%eax
cmp    $0x3d,%eax
je     1228 <ComputeLogic+0x118>
test   %eax,%eax
jne    1230 <ComputeLogic+0x120>
ucomiss %xmm1,%xmm0
setbe  %al
jmp    1248 <ComputeLogic+0x138>
cmpeqss %xmm1,%xmm0
jmp    121f <ComputeLogic+0x10f>
xorps  %xmm2,%xmm2
ucomiss %xmm2,%xmm0
setp   %al
setne  %cl
or     %al,%cl
ucomiss %xmm2,%xmm1
setp   %dl
setne  %al
or     %dl,%al
or     %cl,%al
jmp    1248 <ComputeLogic+0x138>
ucomiss %xmm0,%xmm1
setb   %al
jmp    1248 <ComputeLogic+0x138>
lea    0xe98(%rip),%rdx
jmp    1237 <ComputeLogic+0x127>
cmpneqss %xmm1,%xmm0
movd   %xmm0,%eax
and    $0x1,%eax
jmp    1248 <ComputeLogic+0x138>
ucomiss %xmm1,%xmm0
setb   %al
jmp    1248 <ComputeLogic+0x138>
lea    0xe9d(%rip),%rdx
mov    $0x1,%edi
mov    $0xc,%esi
call   1030 <ReportError@plt>
mov    $0x1,%al
movzbl %al,%eax
pop    %rcx
ret
xorps  %xmm2,%xmm2
ucomiss %xmm2,%xmm0
setp   %al
setne  %cl
or     %al,%cl
ucomiss %xmm2,%xmm1
setp   %dl
setne  %al
or     %dl,%al
and    %cl,%al
jmp    1248 <ComputeLogic+0x138>

LLVM IR (-O0):
@.str = [26 x i8] c"For logical EQUALS use ==\00"
@.str.1 = [30 x i8] c"For logical NOT EQUALS use !=\00"
@.str.2 = [36 x i8] c"For logical LESS THAN EQUALS use <=\00"
@.str.3 = [39 x i8] c"For logical GREATER THAN EQUALS use >=\00"
@.str.4 = [23 x i8] c"For logical AND use &&\00"
@.str.5 = [22 x i8] c"For logical OR use ||\00"
define i32 @ComputeLogic(float %0, float %1, i8* %2) {
%4 = alloca float
%5 = alloca float
%6 = alloca i8*
%7 = alloca i32
store float %0, float* %4
store float %1, float* %5
store i8* %2, i8** %6
store i32 1, i32* %7
%8 = load i8*, i8** %6
%9 = getelementptr inbounds i8, i8* %8, i64 0
%10 = load i8, i8* %9
%11 = sext i8 %10 to i32
switch i32 %11, label %124 [
i32 61, label %12
i32 33, label %28
i32 60, label %44
i32 62, label %64
i32 38, label %84
i32 124, label %104
]
12: ; preds = %3
%13 = load i8*, i8** %6
%14 = getelementptr inbounds i8, i8* %13, i64 1
%15 = load i8, i8* %14
%16 = sext i8 %15 to i32
switch i32 %16, label %25 [
i32 0, label %17
i32 61, label %19
]
17: ; preds = %12
%18 = call i32 @ReportError(i32 1, i32 11, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %27
19: ; preds = %12
%20 = load float, float* %4
%21 = load float, float* %5
%22 = fcmp oeq float %20, %21
%23 = zext i1 %22 to i64
%24 = select i1 %22, i32 0, i32 1
store i32 %24, i32* %7
br label %27
25: ; preds = %12
%26 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %27
27: ; preds = %25, %19, %17
br label %127
28: ; preds = %3
%29 = load i8*, i8** %6
%30 = getelementptr inbounds i8, i8* %29, i64 1
%31 = load i8, i8* %30
%32 = sext i8 %31 to i32
switch i32 %32, label %41 [
i32 0, label %33
i32 61, label %35
]
33: ; preds = %28
%34 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
br label %43
35: ; preds = %28
%36 = load float, float* %4
%37 = load float, float* %5
%38 = fcmp une float %36, %37
%39 = zext i1 %38 to i64
%40 = select i1 %38, i32 0, i32 1
store i32 %40, i32* %7
br label %43
41: ; preds = %28
%42 = call i32 @ReportError(i32 1, i32 11, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
br label %43
43: ; preds = %41, %35, %33
br label %127
44: ; preds = %3
%45 = load i8*, i8** %6
%46 = getelementptr inbounds i8, i8* %45, i64 1
%47 = load i8, i8* %46
%48 = sext i8 %47 to i32
switch i32 %48, label %61 [
i32 0, label %49
i32 61, label %55
]
49: ; preds = %44
%50 = load float, float* %4
%51 = load float, float* %5
%52 = fcmp olt float %50, %51
%53 = zext i1 %52 to i64
%54 = select i1 %52, i32 0, i32 1
store i32 %54, i32* %7
br label %63
55: ; preds = %44
%56 = load float, float* %4
%57 = load float, float* %5
%58 = fcmp ole float %56, %57
%59 = zext i1 %58 to i64
%60 = select i1 %58, i32 0, i32 1
store i32 %60, i32* %7
br label %63
61: ; preds = %44
%62 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
br label %63
63: ; preds = %61, %55, %49
br label %127
64: ; preds = %3
%65 = load i8*, i8** %6
%66 = getelementptr inbounds i8, i8* %65, i64 1
%67 = load i8, i8* %66
%68 = sext i8 %67 to i32
switch i32 %68, label %81 [
i32 0, label %69
i32 61, label %75
]
69: ; preds = %64
%70 = load float, float* %4
%71 = load float, float* %5
%72 = fcmp ogt float %70, %71
%73 = zext i1 %72 to i64
%74 = select i1 %72, i32 0, i32 1
store i32 %74, i32* %7
br label %83
75: ; preds = %64
%76 = load float, float* %4
%77 = load float, float* %5
%78 = fcmp oge float %76, %77
%79 = zext i1 %78 to i64
%80 = select i1 %78, i32 0, i32 1
store i32 %80, i32* %7
br label %83
81: ; preds = %64
%82 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0))
br label %83
83: ; preds = %81, %75, %69
br label %127
84: ; preds = %3
%85 = load i8*, i8** %6
%86 = getelementptr inbounds i8, i8* %85, i64 1
%87 = load i8, i8* %86
%88 = sext i8 %87 to i32
switch i32 %88, label %101 [
i32 0, label %89
i32 38, label %91
]
89: ; preds = %84
%90 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
br label %103
91: ; preds = %84
%92 = load float, float* %4
%93 = fcmp oeq float %92, 0.000000e+00
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = load float, float* %5
%96 = fcmp oeq float %95, 0.000000e+00
br label %97
97: ; preds = %94, %91
%98 = phi i1 [ false, %91 ], [ %96, %94 ]
%99 = zext i1 %98 to i64
%100 = select i1 %98, i32 0, i32 1
store i32 %100, i32* %7
br label %103
101: ; preds = %84
%102 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
br label %103
103: ; preds = %101, %97, %89
br label %127
104: ; preds = %3
%105 = load i8*, i8** %6
%106 = getelementptr inbounds i8, i8* %105, i64 1
%107 = load i8, i8* %106
%108 = sext i8 %107 to i32
switch i32 %108, label %121 [
i32 0, label %109
i32 124, label %111
]
109: ; preds = %104
%110 = call i32 @ReportError(i32 1, i32 13, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %123
111: ; preds = %104
%112 = load float, float* %4
%113 = fcmp oeq float %112, 0.000000e+00
br i1 %113, label %117, label %114
114: ; preds = %111
%115 = load float, float* %5
%116 = fcmp oeq float %115, 0.000000e+00
br label %117
117: ; preds = %114, %111
%118 = phi i1 [ true, %111 ], [ %116, %114 ]
%119 = zext i1 %118 to i64
%120 = select i1 %118, i32 0, i32 1
store i32 %120, i32* %7
br label %123
121: ; preds = %104
%122 = call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %123
123: ; preds = %121, %117, %109
br label %127
124: ; preds = %3
%125 = load i8*, i8** %6
%126 = call i32 @ReportError(i32 1, i32 12, i8* %125)
br label %127
127: ; preds = %124, %123, %103, %83, %63, %43, %27
%128 = load i32, i32* %7
ret i32 %128
}

LLVM IR (-O2):
@.str = [26 x i8] c"For logical EQUALS use ==\00"
@.str.1 = [30 x i8] c"For logical NOT EQUALS use !=\00"
@.str.2 = [36 x i8] c"For logical LESS THAN EQUALS use <=\00"
@.str.3 = [39 x i8] c"For logical GREATER THAN EQUALS use >=\00"
@.str.4 = [23 x i8] c"For logical AND use &&\00"
@.str.5 = [22 x i8] c"For logical OR use ||\00"
define i32 @ComputeLogic(float %0, float %1, i8* %2) {
%4 = load i8, i8* %2
%5 = sext i8 %4 to i32
switch i32 %5, label %70 [
i32 61, label %6
i32 33, label %16
i32 60, label %26
i32 62, label %36
i32 38, label %46
i32 124, label %58
]
6: ; preds = %3
%7 = getelementptr inbounds i8, i8* %2, i64 1
%8 = load i8, i8* %7
%9 = sext i8 %8 to i32
switch i32 %9, label %14 [
i32 0, label %10
i32 61, label %12
]
10: ; preds = %6
%11 = tail call i32 @ReportError(i32 1, i32 11, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %72
12: ; preds = %6
%13 = fcmp une float %0, %1
br label %72
14: ; preds = %6
%15 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
br label %72
16: ; preds = %3
%17 = getelementptr inbounds i8, i8* %2, i64 1
%18 = load i8, i8* %17
%19 = sext i8 %18 to i32
switch i32 %19, label %24 [
i32 0, label %20
i32 61, label %22
]
20: ; preds = %16
%21 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
br label %72
22: ; preds = %16
%23 = fcmp oeq float %0, %1
br label %72
24: ; preds = %16
%25 = tail call i32 @ReportError(i32 1, i32 11, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
br label %72
26: ; preds = %3
%27 = getelementptr inbounds i8, i8* %2, i64 1
%28 = load i8, i8* %27
%29 = sext i8 %28 to i32
switch i32 %29, label %34 [
i32 0, label %30
i32 61, label %32
]
30: ; preds = %26
%31 = fcmp uge float %0, %1
br label %72
32: ; preds = %26
%33 = fcmp ugt float %0, %1
br label %72
34: ; preds = %26
%35 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.2, i64 0, i64 0))
br label %72
36: ; preds = %3
%37 = getelementptr inbounds i8, i8* %2, i64 1
%38 = load i8, i8* %37
%39 = sext i8 %38 to i32
switch i32 %39, label %44 [
i32 0, label %40
i32 61, label %42
]
40: ; preds = %36
%41 = fcmp ule float %0, %1
br label %72
42: ; preds = %36
%43 = fcmp ult float %0, %1
br label %72
44: ; preds = %36
%45 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.3, i64 0, i64 0))
br label %72
46: ; preds = %3
%47 = getelementptr inbounds i8, i8* %2, i64 1
%48 = load i8, i8* %47
%49 = sext i8 %48 to i32
switch i32 %49, label %56 [
i32 0, label %50
i32 38, label %52
]
50: ; preds = %46
%51 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
br label %72
52: ; preds = %46
%53 = fcmp une float %0, 0.000000e+00
%54 = fcmp une float %1, 0.000000e+00
%55 = or i1 %53, %54
br label %72
56: ; preds = %46
%57 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
br label %72
58: ; preds = %3
%59 = getelementptr inbounds i8, i8* %2, i64 1
%60 = load i8, i8* %59
%61 = sext i8 %60 to i32
switch i32 %61, label %68 [
i32 0, label %62
i32 124, label %64
]
62: ; preds = %58
%63 = tail call i32 @ReportError(i32 1, i32 13, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %72
64: ; preds = %58
%65 = fcmp une float %0, 0.000000e+00
%66 = fcmp une float %1, 0.000000e+00
%67 = and i1 %65, %66
br label %72
68: ; preds = %58
%69 = tail call i32 @ReportError(i32 1, i32 12, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %72
70: ; preds = %3
%71 = tail call i32 @ReportError(i32 1, i32 12, i8* %2)
br label %72
72: ; preds = %62, %64, %68, %50, %52, %56, %40, %42, %44, %30, %32, %34, %20, %22, %24, %10, %12, %14, %70
%73 = phi i1 [ true, %70 ], [ true, %68 ], [ %67, %64 ], [ true, %62 ], [ true, %56 ], [ %55, %52 ], [ true, %50 ], [ true, %44 ], [ %43, %42 ], [ %41, %40 ], [ true, %34 ], [ %33, %32 ], [ %31, %30 ], [ true, %24 ], [ %23, %22 ], [ true, %20 ], [ true, %14 ], [ %13, %12 ], [ true, %10 ]
%74 = zext i1 %73 to i32
ret i32 %74
}